From 147f512c46c71b6d87428f19d4f33e1c5fb9ff63 Mon Sep 17 00:00:00 2001 From: "tembo[bot]" <208362400+tembo[bot]@users.noreply.github.com> Date: Thu, 9 Apr 2026 19:38:18 +0000 Subject: [PATCH 1/3] chore: update publish workflows to use pnpm@10.33.0 with GitHub Packages and Node 24.14.1 --- .github/workflows/publish.yml | 71 +++++++---------------------------- .npmrc | 4 ++ package.json | 4 +- 3 files changed, 21 insertions(+), 58 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ec9f1b..e62da18 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,68 +2,25 @@ name: publish on: push: - branches: - - '*' tags: - 'v*' - pull_request: - branches: - - '*' - -env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - uses: pnpm/action-setup@v2 - name: Install pnpm - with: - version: 8 - run_install: true - - run: npm run lint - - run: npm run test:unit - - docs: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - uses: pnpm/action-setup@v2 - name: Install pnpm - with: - version: 8 - run_install: true - - name: Deploy docs - run: | - pnpm build - cd build - npx vercel -A ../deployment-config/vercel.json --prod --token ${{ secrets.VERCEL_TOKEN }} - env: - NOW_PROJECT_ID: 'prj_1kSWQ4j4fKqpjLgCiqAydPBQPlmB' - NOW_ORG_ID: 'team_ebDKq5BBTF4figtiNJc3VRH6' - publish-npm: if: startsWith(github.ref, 'refs/tags/v') - needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - uses: pnpm/action-setup@v2 - name: Install pnpm - with: - version: 8 - run_install: true - - name: Set publishing config - run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" - - run: pnpm publish --no-git-checks \ No newline at end of file + - name: checkout + uses: actions/checkout@v5 + + - name: set up node and pnpm + run: | + corepack enable + pnpm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}" + pnpm config set '//npm.pkg.github.com/:_authToken' "${{ secrets.GITHUB_TOKEN }}" + pnpm i + + - name: publish + run: | + pnpm publish --registry https://npm.pkg.github.com --no-git-checks + pnpm publish --registry https://registry.npmjs.org --no-git-checks diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..9133ab2 --- /dev/null +++ b/.npmrc @@ -0,0 +1,4 @@ +engine-strict=true +use-node-version=24.14.1 +node-version=24.14.1 +node-mirror:release=https://nodejs-org.b-cdn.net/download/release/ diff --git a/package.json b/package.json index 4446947..381e950 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,7 @@ }, "eslintConfig": { "extends": "@beyonk/eslint-config/svelte" - } + }, + "packageManager": "pnpm@10.33.0", + "repository": "https://github.com/beyonk/svelte-datepicker.git" } From c2a0fa25d5c8224fbf134ef60373688705add458 Mon Sep 17 00:00:00 2001 From: "tembo[bot]" <208362400+tembo[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 12:49:36 +0000 Subject: [PATCH 2/3] chore(node): use devengines for node 25.9.0 --- .npmrc | 4 ---- package.json | 9 ++++++++- 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 9133ab2..0000000 --- a/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -engine-strict=true -use-node-version=24.14.1 -node-version=24.14.1 -node-mirror:release=https://nodejs-org.b-cdn.net/download/release/ diff --git a/package.json b/package.json index 381e950..49df8d2 100644 --- a/package.json +++ b/package.json @@ -33,5 +33,12 @@ "extends": "@beyonk/eslint-config/svelte" }, "packageManager": "pnpm@10.33.0", - "repository": "https://github.com/beyonk/svelte-datepicker.git" + "repository": "https://github.com/beyonk/svelte-datepicker.git", + "devEngines": { + "runtime": { + "name": "node", + "version": "25.9.0", + "onFail": "error" + } + } } From 4a824e9b1ae4c336e538ef0d287882e775d5ff1d Mon Sep 17 00:00:00 2001 From: "tembo[bot]" <208362400+tembo[bot]@users.noreply.github.com> Date: Tue, 7 Jul 2026 21:12:03 +0000 Subject: [PATCH 3/3] chore: move to pnpm 11 and node 24.14.1 --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 49df8d2..456fd68 100644 --- a/package.json +++ b/package.json @@ -32,13 +32,16 @@ "eslintConfig": { "extends": "@beyonk/eslint-config/svelte" }, - "packageManager": "pnpm@10.33.0", + "packageManager": "pnpm@11.0.0", "repository": "https://github.com/beyonk/svelte-datepicker.git", "devEngines": { "runtime": { "name": "node", - "version": "25.9.0", + "version": "24.14.1", "onFail": "error" } + }, + "engines": { + "node": "24.14.1" } }