diff --git a/package.json b/package.json index 28fd749a..da5f06f8 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,29 @@ "test:watch:addon": "pnpm -F ember-math-helpers start" }, "devDependencies": { - "npm-run-all": "^4.1.5" + "@release-it-plugins/lerna-changelog": "^6.0.0", + "@release-it-plugins/workspaces": "^4.0.0", + "npm-run-all": "^4.1.5", + "release-it": "^16.1.5" + }, + "release-it": { + "plugins": { + "@release-it-plugins/workspaces": { + "publish": false + }, + "@release-it-plugins/lerna-changelog": { + "infile": "CHANGELOG.md", + "launchEditor": true + } + }, + "git": { + "tagName": "v${version}" + }, + "npm": false, + "github": { + "release": true, + "tokenRef": "GITHUB_AUTH" + } }, "pnpm": { "peerDependencyRules": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d482142b..3c1156ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,9 +9,18 @@ importers: .: devDependencies: + '@release-it-plugins/lerna-changelog': + specifier: ^6.0.0 + version: 6.0.0(release-it@16.2.1) + '@release-it-plugins/workspaces': + specifier: ^4.0.0 + version: 4.0.0(release-it@16.2.1) npm-run-all: specifier: ^4.1.5 version: 4.1.5 + release-it: + specifier: ^16.1.5 + version: 16.2.1(typescript@5.2.2) docs: dependencies: @@ -344,6 +353,12 @@ importers: prettier: specifier: ^3.0.3 version: 3.0.3 + release-it: + specifier: ^16.2.1 + version: 16.2.1(typescript@5.2.2) + release-it-lerna-changelog: + specifier: ^5.0.0 + version: 5.0.0(release-it@16.2.1) rollup: specifier: ^4.2.0 version: 4.2.0 @@ -495,12 +510,6 @@ importers: qunit-dom: specifier: ^3.0.0 version: 3.0.0 - release-it: - specifier: ^16.2.1 - version: 16.2.1 - release-it-lerna-changelog: - specifier: ^5.0.0 - version: 5.0.0(release-it@16.2.1) stylelint: specifier: ^15.11.0 version: 15.11.0 @@ -3560,6 +3569,41 @@ packages: write-yaml-file: 5.0.0 dev: true + /@release-it-plugins/lerna-changelog@6.0.0(release-it@16.2.1): + resolution: {integrity: sha512-/1xNLriHKKTdM+/LSQIng5V25gipw0brAXtWVQcOBR63NmW/Ftnd2IJpnM5WzFkOCcL9hoqc8rcIMMv1EOcaIg==} + engines: {node: '>= 16'} + peerDependencies: + release-it: ^14.0.0 || ^15.1.3 || ^16.0.0 + dependencies: + execa: 5.1.1 + lerna-changelog: 2.2.0 + lodash.template: 4.5.0 + mdast-util-from-markdown: 1.3.0 + release-it: 16.2.1(typescript@5.2.2) + tmp: 0.2.1 + validate-peer-dependencies: 2.2.0 + which: 2.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + + /@release-it-plugins/workspaces@4.0.0(release-it@16.2.1): + resolution: {integrity: sha512-79qsR770mvuQeTSMnOjrEJuJHQ4x1KyUkZjqCOQ/UxjK+igNYYDsLK26LpKTweeTjpbpmLYaOg6bl+28M5CO0A==} + engines: {node: '>= 16'} + peerDependencies: + release-it: ^14.0.0 || ^15.2.0 || ^16.0.0 + dependencies: + detect-indent: 6.1.0 + detect-newline: 3.1.0 + release-it: 16.2.1(typescript@5.2.2) + semver: 7.5.4 + url-join: 4.0.1 + validate-peer-dependencies: 1.2.0 + walk-sync: 2.2.0 + yaml: 2.3.1 + dev: true + /@rollup/plugin-babel@6.0.4(@babel/core@7.23.2)(rollup@4.2.0): resolution: {integrity: sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==} engines: {node: '>=14.0.0'} @@ -7481,7 +7525,7 @@ packages: path-type: 4.0.0 dev: true - /cosmiconfig@8.3.6: + /cosmiconfig@8.3.6(typescript@5.2.2): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} peerDependencies: @@ -7494,6 +7538,7 @@ packages: js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 + typescript: 5.2.2 dev: true /cross-spawn@5.1.0: @@ -15599,7 +15644,7 @@ packages: lerna-changelog: 2.2.0 lodash.template: 4.5.0 mdast-util-from-markdown: 1.3.0 - release-it: 16.2.1 + release-it: 16.2.1(typescript@5.2.2) tmp: 0.2.1 validate-peer-dependencies: 2.2.0 which: 2.0.2 @@ -15608,7 +15653,7 @@ packages: - supports-color dev: true - /release-it@16.2.1: + /release-it@16.2.1(typescript@5.2.2): resolution: {integrity: sha512-+bHiKPqkpld+NaiW+K/2WsjaHgfPB00J6uk8a+g8QyuBtzfFoMVe+GKsfaDO5ztEHRrSg+7luoXzd8IfvPNPig==} engines: {node: '>=16'} hasBin: true @@ -15617,7 +15662,7 @@ packages: '@octokit/rest': 19.0.13 async-retry: 1.3.3 chalk: 5.3.0 - cosmiconfig: 8.3.6 + cosmiconfig: 8.3.6(typescript@5.2.2) execa: 7.2.0 git-url-parse: 13.1.0 globby: 13.2.2 @@ -16961,7 +17006,7 @@ packages: '@csstools/selector-specificity': 3.0.0(postcss-selector-parser@6.0.13) balanced-match: 2.0.0 colord: 2.9.3 - cosmiconfig: 8.3.6 + cosmiconfig: 8.3.6(typescript@5.2.2) css-functions-list: 3.2.1 css-tree: 2.3.1 debug: 4.3.4(supports-color@9.4.0) @@ -17975,6 +18020,10 @@ packages: deprecated: Please see https://github.com/lydell/urix#deprecated dev: true + /url-join@4.0.1: + resolution: {integrity: sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==} + dev: true + /url-join@5.0.0: resolution: {integrity: sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} diff --git a/test-app/package.json b/test-app/package.json index 9c7df93e..2610e809 100644 --- a/test-app/package.json +++ b/test-app/package.json @@ -82,8 +82,6 @@ "prettier": "^3.0.3", "qunit": "^2.20.0", "qunit-dom": "^3.0.0", - "release-it": "^16.2.1", - "release-it-lerna-changelog": "^5.0.0", "stylelint": "^15.11.0", "stylelint-config-standard": "^34.0.0", "stylelint-prettier": "^4.0.2",