Skip to content
This repository was archived by the owner on Jul 30, 2023. It is now read-only.

Commit 270f770

Browse files
author
Tomio
committed
feat: monorepo & add rust
1 parent 14752bf commit 270f770

30 files changed

+1362
-1060
lines changed

.eslintrc.json

-3
This file was deleted.

.github/CODEOWNERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/src/ @1chiSensei
2-
/scripts/ @1chiSensei
1+
/packages/node/ @1chiSensei
2+
/packages/rust/ @1chiSensei

.yarn/releases/yarn-3.1.0-rc.1.cjs

-632
This file was deleted.
File renamed without changes.

packages/node/.eslintrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "@sapphire/eslint-config",
3+
"parserOptions": {
4+
"project": "./packages/node/tsconfig.eslint.json"
5+
}
6+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/node/.yarn/releases/yarn-3.2.0.cjs

+785
Large diffs are not rendered by default.

.yarnrc.yml packages/node/.yarnrc.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ nodeLinker: node-modules
44

55
plugins:
66
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
7-
spec: "@yarnpkg/plugin-typescript"
7+
spec: '@yarnpkg/plugin-typescript'
88
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
9-
spec: "@yarnpkg/plugin-interactive-tools"
9+
spec: '@yarnpkg/plugin-interactive-tools'
1010

11-
yarnPath: .yarn/releases/yarn-3.1.0-rc.1.cjs
11+
yarnPath: .yarn/releases/yarn-3.2.0.cjs
File renamed without changes.

LICENSE packages/node/LICENSE

File renamed without changes.

README.md packages/node/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# is-railway
1+
# is-railway (Node.js)
22

33
> Check if the current process is running inside Railway
44

package.json packages/node/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "is-railway",
3-
"version": "1.1.0",
3+
"version": "1.1.2",
44
"description": "Check if the current process is running inside Railway",
55
"license": "Apache-2.0",
66
"repository": "1chiSensei/is-railway",
77
"main": "./dist/index.js",
88
"module": "./dist/index.mjs",
99
"types": "./dist/index.d.ts",
1010
"bin": "./dist/cli.js",
11-
"homepage": "https://github.com/1chiSensei/is-railway",
11+
"homepage": "https://github.com/1chiSensei/is-railway/tree/main/packages/node",
1212
"exports": {
1313
"import": "./dist/index.mjs",
1414
"require": "./dist/index.js"
1515
},
1616
"author": {
17-
"name": "Yoshida Tomio",
17+
"name": "Tomio",
1818
"email": "mail@tomio.codes",
1919
"url": "https://github.com/1chiSensei"
2020
},
@@ -39,20 +39,20 @@
3939
"dist/index.mjs"
4040
],
4141
"devDependencies": {
42-
"@sapphire/eslint-config": "^3.2.3",
43-
"@sapphire/prettier-config": "^1.1.6",
44-
"@sapphire/ts-config": "^3.0.0",
42+
"@sapphire/eslint-config": "^4.2.1",
43+
"@sapphire/prettier-config": "^1.3.0",
44+
"@sapphire/ts-config": "^3.3.1",
4545
"@types/eslint": "^7",
4646
"@types/node": "^16.7.5",
4747
"@types/prettier": "^2",
4848
"@types/update-notifier": "^5",
49-
"eslint": "^7.32.0",
50-
"gen-esm-wrapper": "^1.1.2",
51-
"prettier": "^2.3.2",
52-
"typescript": "^4.4.2"
49+
"eslint": "^8.9.0",
50+
"gen-esm-wrapper": "^1.1.3",
51+
"prettier": "^2.5.1",
52+
"typescript": "^4.5.5"
5353
},
5454
"prettier": "@sapphire/prettier-config",
55-
"packageManager": "yarn@3.1.0-rc.1",
55+
"packageManager": "yarn@3.2.0",
5656
"dependencies": {
5757
"update-notifier": "^5.1.0"
5858
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/index.ts packages/node/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const isRailway = () =>
1515
exists(
1616
process.env.RAILWAY_STATIC_URL ||
1717
process.env.RAILWAY_ENVIRONMENT ||
18-
process.env.RAILWAY_DEPLOYMENT_OVERLAP_SECONDS ||
18+
process.env.RAILWAY_HEALTHCHECK_TIMEOUT_SEC ||
1919
process.env.RAILWAY_GIT_COMMIT_SHA ||
2020
process.env.RAILWAY_GIT_AUTHOR ||
2121
process.env.RAILWAY_GIT_BRANCH ||

src/tsconfig.json packages/node/src/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"noEmitHelpers": false
1010
},
1111
"include": ["."]
12-
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"extends": "@sapphire/ts-config"
3-
}
3+
}

tsconfig.eslint.json packages/node/tsconfig.eslint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"allowJs": true,
55
"checkJs": true
66
}
7-
}
7+
}

0 commit comments

Comments
 (0)