Skip to content

Commit 669b604

Browse files
committed
Migrate to new release utility
1 parent 205b2d1 commit 669b604

6 files changed

Lines changed: 24 additions & 32 deletions

File tree

package-lock.json

Lines changed: 13 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@
1818
"test": "npm run metatest",
1919
"bin": "./bin.sh",
2020
"generate:suite": "npm run bin -- gen template --path ./packages/ --name @__generated",
21-
"validate-examples": "./scripts/validate-examples.sh"
21+
"validate-examples": "./scripts/validate-examples.sh",
22+
"release": "npx rjs-releasing --github",
23+
"release:testing": "npm run release -- ./packages/testing",
24+
"release:testing-cli": "npm run release -- ./packages/@cli",
25+
"release:testing-http": "npm run release -- ./packages/@http",
26+
"release:testing-unit": "npm run release -- ./packages/@unit"
2227
},
2328
"devDependencies": {
2429
"@eslint/js": "^9.2.0",
30+
"@rapidjs.org/releasing": "^0.1.0",
2531
"@typescript-eslint/eslint-plugin": "^7.8.0",
2632
"@typescript-eslint/parser": "^7.8.0",
2733
"eslint": "^8.57.0",

packages/@cli/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@
2323
"debug:watch": "npm run debug -- --watch",
2424
"build": "rm -rf ./build/ && rm -rf ./types/ && npx tsc --project ./tsconfig.build.json",
2525
"metatest": "../../bin.sh cli ./metatest/",
26-
"test": "npm run build && npm run metatest",
27-
"release:minor": "npm run test && npx release --minor",
28-
"release:patch": "npm run test && npx release --patch"
26+
"test": "npm run build && npm run metatest"
2927
},
3028
"devDependencies": {
31-
"@t-ski/gh-npm-release": "github:t-ski/gh-npm-release",
3229
"@types/node": "^20.10.6",
3330
"typescript": "^5.3.3"
3431
},

packages/@http/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@
2424
"build": "rm -rf ./build/ && rm -rf ./types/ && npx tsc --project ./tsconfig.build.json",
2525
"metatest:single-file": "../../bin.sh http ./metatest/http-1.test.js",
2626
"metatest": "../../bin.sh http ./metatest/",
27-
"test": "npm run build && npm run metatest && npm run metatest:single-file",
28-
"release:minor": "npm run test && npx release --minor",
29-
"release:patch": "npm run test && npx release --patch"
27+
"test": "npm run build && npm run metatest && npm run metatest:single-file"
3028
},
3129
"devDependencies": {
32-
"@t-ski/gh-npm-release": "github:t-ski/gh-npm-release",
3330
"@types/node": "^20.10.6",
3431
"typescript": "^5.3.3"
3532
},

packages/@unit/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@
2323
"debug:watch": "npm run debug -- --watch",
2424
"build": "rm -rf ./build/ && rm -rf ./types/ && npx tsc --project ./tsconfig.build.json",
2525
"metatest": "../../bin.sh unit ./metatest/",
26-
"test": "npm run build && npm run metatest",
27-
"release:minor": "npm run test && npx release --minor",
28-
"release:patch": "npm run test && npx release --patch"
26+
"test": "npm run build && npm run metatest"
2927
},
3028
"devDependencies": {
31-
"@t-ski/gh-npm-release": "github:t-ski/gh-npm-release",
3229
"@types/node": "^20.10.6",
3330
"typescript": "^5.3.3"
3431
},

packages/testing/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,9 @@
3434
"debug:watch": "npm run debug -- --watch",
3535
"build": "rm -rf ./build/ && rm -rf ./types/ && npx tsc --project ./tsconfig.build.json",
3636
"metatest": "../../scripts/metatest.sh",
37-
"test": "npm run build && npm run metatest",
38-
"release:minor": "npm run test && npx release --minor",
39-
"release:patch": "npm run test && npx release --patch"
37+
"test": "npm run build && npm run metatest"
4038
},
4139
"devDependencies": {
42-
"@t-ski/gh-npm-release": "github:t-ski/gh-npm-release",
4340
"@types/node": "^20.10.6",
4441
"typescript": "^5.3.3"
4542
}

0 commit comments

Comments
 (0)