Skip to content

Commit 39b1465

Browse files
authored
feat: remove upper bound on pnpm version (#927)
Allow users to use pnpm 10. Note: this repo remains on pnpm 8 since JSII packaging needs to be updated if using pnpm 10 Fixes #901
1 parent 3558363 commit 39b1465

File tree

7 files changed

+9
-10
lines changed

7 files changed

+9
-10
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ RUN set -ex \
181181
# ===== PDK dependencies =====
182182

183183
# Package managers
184-
RUN npm install -g @aws/pdk aws-cdk bun pnpm@8 projen yarn
184+
RUN npm install -g @aws/pdk aws-cdk bun pnpm@10 projen yarn
185185

186186
# Poetry setup
187187
RUN curl -sSL https://install.python-poetry.org | python

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/monorepo/src/components/nx-configurator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ export class NxConfigurator extends Component implements INxProjectCore {
464464
private: true,
465465
engines: {
466466
node: ">=16",
467-
pnpm: ">=8 <9",
467+
pnpm: ">=8",
468468
},
469469
scripts: Object.fromEntries(
470470
this.project.tasks.all

packages/monorepo/src/projects/typescript/monorepo-ts.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ export class MonorepoTsProject
226226
}
227227
case NodePackageManager.PNPM: {
228228
// https://pnpm.io/package_json
229-
// https://github.com/pnpm/pnpm/releases/tag/v8.0.0
230-
this.package.addEngine("pnpm", ">=8 <9");
229+
this.package.addEngine("pnpm", ">=8");
231230
break;
232231
}
233232
case NodePackageManager.YARN_CLASSIC:

packages/monorepo/test/__snapshots__/monorepo.test.ts.snap

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

packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/type-safe-api/test/project/__snapshots__/type-safe-websocket-api-project.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)