diff --git a/ember-graphql-mocking/package.json b/ember-graphql-mocking/package.json index b0afc8f..f1f196a 100644 --- a/ember-graphql-mocking/package.json +++ b/ember-graphql-mocking/package.json @@ -72,7 +72,6 @@ "@glint/environment-ember-loose": "^1.2.1", "@glint/environment-ember-template-imports": "^1.2.1", "@glint/template": "^1.2.1", - "@release-it-plugins/lerna-changelog": "^6.0.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.2", "@types/lodash.merge": "^4.6.9", @@ -91,7 +90,6 @@ "msw": "^2.2.2", "prettier": "^3.1.1", "prettier-plugin-ember-template-tag": "^1.1.0", - "release-it": "^17.0.3", "rollup": "^4.9.1", "rollup-plugin-copy": "^3.5.0", "typescript": "^5.3.3" @@ -113,24 +111,6 @@ "main": "addon-main.cjs", "app-js": {} }, - "release-it": { - "git": { - "commitMessage": "Release v${version}", - "tagName": "v${version}" - }, - "github": { - "release": true - }, - "hooks": { - "before:git:release": "git add ../" - }, - "plugins": { - "@release-it-plugins/lerna-changelog": { - "infile": "../CHANGELOG.md", - "launchEditor": false - } - } - }, "volta": { "extends": "../package.json" } diff --git a/package.json b/package.json index 10f0e5e..250c162 100644 --- a/package.json +++ b/package.json @@ -15,16 +15,40 @@ "test:ember": "pnpm --filter '*' test:ember" }, "devDependencies": { + "@glint/core": "^1.2.1", + "@release-it-plugins/lerna-changelog": "^6.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", - "@glint/core": "^1.2.1" + "release-it": "^17.0.3" }, "pnpm": { "overrides": { "@types/eslint": "^7.0.0" } }, + "release-it": { + "git": { + "commitMessage": "Release v${version}", + "tagName": "v${version}" + }, + "github": { + "release": true + }, + "npm": false, + "plugins": { + "@release-it-plugins/workspaces": { + "workspaces": [ + "ember-graphql-mocking" + ] + }, + "@release-it-plugins/lerna-changelog": { + "infile": "CHANGELOG.md", + "launchEditor": false + } + } + }, "volta": { "node": "18.19.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8e9eaf..47e1075 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,12 @@ importers: '@glint/core': specifier: ^1.2.1 version: 1.3.0(typescript@5.3.3) + '@release-it-plugins/lerna-changelog': + specifier: ^6.0.0 + version: 6.1.0(release-it@17.1.1) + '@release-it-plugins/workspaces': + specifier: ^4.2.0 + version: 4.2.0(release-it@17.1.1) 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.2.5) + release-it: + specifier: ^17.0.3 + version: 17.1.1(typescript@5.3.3) ember-graphql-mocking: dependencies: @@ -60,9 +69,6 @@ importers: '@glint/template': specifier: ^1.2.1 version: 1.3.0 - '@release-it-plugins/lerna-changelog': - specifier: ^6.0.0 - version: 6.1.0(release-it@17.1.1) '@rollup/plugin-babel': specifier: ^6.0.4 version: 6.0.4(@babel/core@7.24.0)(rollup@4.12.0) @@ -117,9 +123,6 @@ importers: prettier-plugin-ember-template-tag: specifier: ^1.1.0 version: 1.1.0(prettier@3.2.5) - release-it: - specifier: ^17.0.3 - version: 17.1.1(typescript@5.3.3) rollup: specifier: ^4.9.1 version: 4.12.0 @@ -2692,6 +2695,22 @@ packages: - supports-color dev: true + /@release-it-plugins/workspaces@4.2.0(release-it@17.1.1): + 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.1.1(typescript@5.3.3) + semver: 7.6.0 + url-join: 4.0.1 + validate-peer-dependencies: 1.2.0 + walk-sync: 2.2.0 + yaml: 2.4.1 + dev: true + /@rollup/plugin-babel@6.0.4(@babel/core@7.24.0)(rollup@4.12.0): resolution: {integrity: sha512-YF7Y52kFdFT/xVSuVdjkV5ZdX/3YtmX0QulG+x0taQOtJdHYzVU61aSSkAgVJ7NOv6qPkIYiJSgSWWN/DM5sGw==} engines: {node: '>=14.0.0'} @@ -14077,6 +14096,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} @@ -14580,6 +14603,12 @@ packages: lodash.merge: 4.6.2 dev: true + /yaml@2.4.1: + resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /yargs-parser@20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'}