Skip to content

Commit

Permalink
chore(scripts): use nx for (pre-)release (#4445)
Browse files Browse the repository at this point in the history
* chore(release): add @nx/js to enable nx release

* chore(release): use nx instead of bespoke script

* chore(release): add helper script for publish
  • Loading branch information
wjhsf authored Aug 8, 2024
1 parent 72a9dff commit 9d207fb
Show file tree
Hide file tree
Showing 4 changed files with 1,298 additions and 136 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,24 @@
"test:performance:best": "nx test:best @lwc/perf-benchmarks",
"test:performance:best:ci": "nx test:best:ci @lwc/perf-benchmarks",
"test:types": "nx test @lwc/integration-types",
"release:version": "./scripts/release/version.js"
"release:version": "nx release version",
"release:publish": "nx release publish --registry https://registry.npmjs.org"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.8.0",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
"@nx/js": "19.5.6",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-typescript": "^11.1.6",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.1.0",
"@vitest/coverage-v8": "^2.0.5",
Expand Down Expand Up @@ -96,5 +101,6 @@
},
"http-cache-semantics": "4.1.1",
"semver": "7.6.0"
}
},
"dependencies": {}
}
12 changes: 0 additions & 12 deletions scripts/release/README.md

This file was deleted.

101 changes: 0 additions & 101 deletions scripts/release/version.js

This file was deleted.

Loading

0 comments on commit 9d207fb

Please sign in to comment.