Bump pnpm version to 10.16.1 to support minimumReleaseAge (#2308)

* bump pnpm version to support minimumReleaseAge

* use pnpm only in TS SDK scripts
This commit is contained in:
Mohammed Nafees
2025-09-17 19:04:59 +02:00
committed by GitHub
parent c027dba449
commit b521521985
12 changed files with 29 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v5
@@ -35,7 +35,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v5

View File

@@ -13,7 +13,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v5
@@ -41,7 +41,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v5

View File

@@ -33,7 +33,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Go deps

View File

@@ -35,7 +35,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Compose
@@ -91,7 +91,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Install Atlas
@@ -139,7 +139,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Install Atlas
@@ -229,7 +229,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Install Atlas
@@ -324,7 +324,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Go deps
@@ -363,7 +363,7 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15.4
version: 10.16.1
run_install: false
- name: Go deps

View File

@@ -1 +1 @@
pnpm 9.15.4
pnpm 10.16.1

View File

@@ -11,8 +11,8 @@ FROM node:18-alpine as frontend-build
WORKDIR /app
COPY ./frontend/app/package.json ./frontend/app/pnpm-lock.yaml ./
RUN corepack pnpm@9.15.4 --version
RUN corepack pnpm@9.15.4 install --frozen-lockfile && corepack pnpm@9.15.4 store prune
RUN corepack pnpm@10.16.1 --version
RUN corepack pnpm@10.16.1 install --frozen-lockfile && corepack pnpm@10.16.1 store prune
COPY ./frontend/app ./

View File

@@ -4,8 +4,8 @@ FROM node:20-alpine3.21 AS build
WORKDIR /app
COPY ./frontend/app/package.json ./frontend/app/pnpm-lock.yaml ./
RUN corepack pnpm@9.15.4 --version
RUN corepack pnpm@9.15.4 install --frozen-lockfile && corepack pnpm@9.15.4 store prune
RUN corepack pnpm@10.16.1 --version
RUN corepack pnpm@10.16.1 install --frozen-lockfile && corepack pnpm@10.16.1 store prune
COPY ./frontend/app ./
RUN npm run build

View File

@@ -15,8 +15,8 @@ FROM node:18-alpine as frontend-build
WORKDIR /app
COPY ./frontend/app/package.json ./frontend/app/pnpm-lock.yaml ./
RUN corepack pnpm@9.15.4 --version
RUN corepack pnpm@9.15.4 install --frozen-lockfile && corepack pnpm@9.15.4 store prune
RUN corepack pnpm@10.16.1 --version
RUN corepack pnpm@10.16.1 install --frozen-lockfile && corepack pnpm@10.16.1 store prune
COPY ./frontend/app ./
RUN npm run build

View File

@@ -3,7 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.16.1",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",

View File

@@ -2,7 +2,7 @@
"name": "nextra-docs-template",
"version": "0.0.1",
"description": "Nextra docs template",
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.16.1",
"scripts": {
"taskfile-dev": "pnpm run generate-examples && next dev",
"dev": "next dev",

View File

@@ -2,7 +2,7 @@
"name": "nextra-docs-template",
"version": "0.0.1",
"description": "Nextra docs template",
"packageManager": "pnpm@9.15.4",
"packageManager": "pnpm@10.16.1",
"scripts": {
"dev": "next dev",
"build": "next build",

View File

@@ -1,6 +1,6 @@
{
"name": "@hatchet-dev/typescript-sdk",
"version": "1.9.6",
"version": "1.9.7",
"description": "Background task orchestration & visibility for developers",
"types": "dist/index.d.ts",
"files": [
@@ -17,25 +17,25 @@
},
"scripts": {
"build": "echo 'build hatchet sdk with `npm run tsc:build` to ensure it is not build during the publish step' && exit 0",
"prepare": "npm run build",
"prepare": "pnpm run build",
"postinstall": "node scripts/version-check.js",
"dump-version": "node -e \"console.log('export const HATCHET_VERSION = \\'' + require('./package.json').version + '\\';');\" > src/version.ts",
"tsc:build": "npm run dump-version && tsc && resolve-tspaths",
"tsc:build": "pnpm run dump-version && tsc && resolve-tspaths",
"test:unit": "jest --testMatch='**/*.test.ts'",
"test:e2e": "jest --testMatch='**/*.e2e.ts'",
"test:unit:watch": "jest --testMatch='**/*.test.ts' --watch",
"generate": "pnpm run '/generate-.*/'",
"generate-api": "npx --yes swagger-cli bundle ../../api-contracts/openapi/openapi.yaml --outfile openapi.yaml --type yaml && npx swagger-typescript-api@13.1.0 generate -p openapi.yaml -o src/clients/rest/generated -n hatchet.ts --modular --axios",
"generate-protoc": "./generate-protoc.sh",
"lint:check": "npm run eslint:check && npm run prettier:check",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"lint:check": "pnpm run eslint:check && pnpm run prettier:check",
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix",
"eslint:check": "eslint \"{src,tests}/**/*.{ts,tsx,js}\"",
"eslint:fix": "eslint \"{src,tests}/**/*.{ts,tsx,js}\" --fix",
"prettier:check": "prettier \"src/**/*.{ts,tsx}\" --list-different",
"prettier:fix": "prettier \"src/**/*.{ts,tsx}\" --write",
"prepublish": "cp package.json dist/package.json; cp README.md dist/; cp -r scripts dist/",
"publish:ci": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks",
"publish:ci:alpha": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks --tag alpha",
"publish:ci": "rm -rf ./dist && pnpm run dump-version && pnpm run tsc:build && pnpm run prepublish && cd dist && pnpm publish --access public --no-git-checks",
"publish:ci:alpha": "rm -rf ./dist && pnpm run dump-version && pnpm run tsc:build && pnpm run prepublish && cd dist && pnpm publish --access public --no-git-checks --tag alpha",
"generate-docs": "typedoc",
"exec": "npx dotenv -- ts-node -r tsconfig-paths/register --project tsconfig.json"
},
@@ -91,5 +91,5 @@
"yaml": "^2.7.1",
"zod": "^3.24.2"
},
"packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0"
"packageManager": "pnpm@10.16.1"
}