Skip to content

Commit dcd8da5

Browse files
authored
chore(repo): use @dot/versioner for releases (rollup#1612)
chore(repo): use versioner for releases
1 parent c72cf7c commit dcd8da5

File tree

35 files changed

+81
-489
lines changed

35 files changed

+81
-489
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"@ava/babel": "2.0.0",
21+
"@dot/versioner": "^0.2.0",
2122
"@rollup/plugin-typescript": "^9.0.1",
2223
"@types/conventional-commits-parser": "^3.0.2",
2324
"@types/node": "14.18.30",

packages/alias/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/auto-install/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/babel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/beep/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"ci:lint": "pnpm lint",
2323
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
2424
"ci:test": "ava --verbose",
25-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
25+
"release": "pnpm --workspace-root package:release $(pwd)",
2626
"test": "ava"
2727
},
2828
"files": [

packages/buble/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/commonjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prepublishOnly": "pnpm build",
3535
"prerelease": "pnpm build",
3636
"pretest": "pnpm build",
37-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
37+
"release": "pnpm --workspace-root package:release $(pwd)",
3838
"test": "ava",
3939
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
4040
},

packages/data-uri/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build --sourcemap",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/dsv/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3131
"prerelease": "pnpm build",
3232
"pretest": "pnpm build",
33-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
33+
"release": "pnpm --workspace-root package:release $(pwd)",
3434
"test": "ava"
3535
},
3636
"files": [

packages/dynamic-import-vars/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build --sourcemap",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/eslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/esm-shim/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3535
"prerelease": "pnpm build",
3636
"pretest": "pnpm build",
37-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
37+
"release": "pnpm --workspace-root package:release $(pwd)",
3838
"test": "ava",
3939
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
4040
},

packages/html/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/image/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/inject/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/json/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/legacy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/multi-entry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/node-resolve/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prepublishOnly": "pnpm build",
3535
"prerelease": "pnpm build",
3636
"pretest": "pnpm build",
37-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
37+
"release": "pnpm --workspace-root package:release $(pwd)",
3838
"test": "pnpm test:ts && ava",
3939
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
4040
},

packages/pluginutils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3737
"prerelease": "pnpm build",
3838
"pretest": "pnpm build --sourcemap",
39-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
39+
"release": "pnpm --workspace-root package:release $(pwd)",
4040
"test": "ava",
4141
"test:ts": "tsc --noEmit"
4242
},

packages/replace/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/strip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3333
"prerelease": "pnpm build",
3434
"pretest": "pnpm build",
35-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
35+
"release": "pnpm --workspace-root package:release $(pwd)",
3636
"test": "ava"
3737
},
3838
"files": [

packages/sucrase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3535
"prerelease": "pnpm build",
3636
"pretest": "pnpm build",
37-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
37+
"release": "pnpm --workspace-root package:release $(pwd)",
3838
"test": "ava",
3939
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
4040
},

packages/swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/terser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
3939
},

packages/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/url/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

packages/virtual/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava",
3838
"test:ts": "tsc --noEmit"
3939
},

packages/yaml/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
3434
"prerelease": "pnpm build",
3535
"pretest": "pnpm build",
36-
"release": "pnpm --workspace-root plugin:release --pkg $npm_package_name",
36+
"release": "pnpm --workspace-root package:release $(pwd)",
3737
"test": "ava"
3838
},
3939
"files": [

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)