diff --git a/package.json b/package.json index f8d375d..af286b4 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,12 @@ }, "devDependencies": { "@glint/core": "^1.2.1", + "@release-it-plugins/lerna-changelog": "^7.0.0", + "@release-it-plugins/workspaces": "^4.2.0", "concurrently": "^8.2.0", "prettier": "^3.0.3", - "prettier-plugin-ember-template-tag": "^1.1.0" + "prettier-plugin-ember-template-tag": "^1.1.0", + "release-it": "^17.6.0" }, "pnpm": { "overrides": { @@ -27,5 +30,25 @@ }, "engines": { "node": ">= 18" + }, + "release-it": { + "plugins": { + "@release-it-plugins/workspaces": { + "workspaces": [ + "ember-highcharts" + ] + }, + "@release-it-plugins/lerna-changelog": { + "infile": "CHANGELOG.md" + } + }, + "git": { + "tagName": "v${version}" + }, + "github": { + "release": true, + "tokenRef": "GITHUB_AUTH" + }, + "npm": false } -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20aaf13..74f27bd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,12 @@ importers: '@glint/core': specifier: ^1.2.1 version: 1.4.0(typescript@5.5.3) + '@release-it-plugins/lerna-changelog': + specifier: ^7.0.0 + version: 7.0.0(release-it@17.6.0) + '@release-it-plugins/workspaces': + specifier: ^4.2.0 + version: 4.2.0(release-it@17.6.0) concurrently: specifier: ^8.2.0 version: 8.2.2 @@ -23,6 +29,9 @@ importers: prettier-plugin-ember-template-tag: specifier: ^1.1.0 version: 1.1.0(prettier@3.3.3) + release-it: + specifier: ^17.6.0 + version: 17.6.0(typescript@5.5.3) ember-highcharts: dependencies: @@ -238,9 +247,6 @@ importers: '@glint/template': specifier: ^1.4.0 version: 1.4.0 - '@release-it-plugins/lerna-changelog': - specifier: ^7.0.0 - version: 7.0.0(release-it@17.6.0) '@tsconfig/ember': specifier: ^3.0.8 version: 3.0.8 @@ -442,9 +448,6 @@ importers: qunit-dom: specifier: ^2.0.0 version: 2.0.0 - release-it: - specifier: ^17.6.0 - version: 17.6.0(typescript@5.5.3) stylelint: specifier: ^15.11.0 version: 15.11.0(typescript@5.5.3) @@ -2940,6 +2943,22 @@ packages: - supports-color dev: true + /@release-it-plugins/workspaces@4.2.0(release-it@17.6.0): + resolution: {integrity: sha512-hzQMdYWFnLBS/7dfasIWyeD2LUKeL7LT8ldxZgpzon90lW1cEU4Kpad78KmpZl1L188YHAbwVnboE+6i14jlEQ==} + engines: {node: '>= 16'} + peerDependencies: + release-it: ^14.0.0 || ^15.2.0 || ^16.0.0 || ^17.0.0 + dependencies: + detect-indent: 6.1.0 + detect-newline: 3.1.0 + release-it: 17.6.0(typescript@5.5.3) + semver: 7.6.2 + url-join: 4.0.1 + validate-peer-dependencies: 1.2.0 + walk-sync: 2.2.0 + yaml: 2.4.5 + dev: true + /@rollup/plugin-babel@6.0.4(@babel/core@7.24.9)(rollup@4.18.1): resolution: {integrity: sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==} engines: {node: '>=14.0.0'} @@ -14593,6 +14612,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} @@ -15087,6 +15110,12 @@ packages: lodash.merge: 4.6.2 dev: true + /yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /yargs-parser@20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} diff --git a/test-app/package.json b/test-app/package.json index 259f74a..fdaca7b 100644 --- a/test-app/package.json +++ b/test-app/package.json @@ -39,7 +39,6 @@ "@glint/core": "^1.4.0", "@glint/environment-ember-loose": "^1.4.0", "@glint/template": "^1.4.0", - "@release-it-plugins/lerna-changelog": "^7.0.0", "@tsconfig/ember": "^3.0.8", "@types/ember": "^4.0.11", "@types/ember-data": "^4.4.16", @@ -107,7 +106,6 @@ "prettier": "^3.3.2", "qunit": "^2.21.0", "qunit-dom": "^2.0.0", - "release-it": "^17.6.0", "stylelint": "^15.11.0", "stylelint-config-standard": "^34.0.0", "stylelint-prettier": "^4.1.0",