From 56e4355e4a57400811fbca75f0d239b4f8f5084b Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Wed, 6 May 2026 13:05:35 +0900 Subject: [PATCH 1/5] chore(workflow): switch npm release to OIDC --- .github/workflows/release.yml | 3 +-- package.json | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 050b68e..deed47a 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,6 +48,7 @@ jobs: runs-on: ubuntu-latest permissions: id-token: write + contents: read steps: - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 with: @@ -61,5 +62,3 @@ jobs: - run: pnpm install - run: pnpm build - run: NPM_CONFIG_PROVENANCE=true pnpm run release:npm:registry - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 53b7ff8..680a066 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "@himenon/openapi-typescript-code-generator", +<<<<<<< Updated upstream "version": "2.0.1", +======= + "version": "2.0P.0", +>>>>>>> Stashed changes "description": "OpenAPI Code Generator using Template literals.", "keywords": [ "openapi", From abfa6297b0f8f5419ae9dfe6462b6cd2969c3c08 Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Wed, 6 May 2026 13:15:34 +0900 Subject: [PATCH 2/5] fix: version --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 680a066..53b7ff8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,6 @@ { "name": "@himenon/openapi-typescript-code-generator", -<<<<<<< Updated upstream "version": "2.0.1", -======= - "version": "2.0P.0", ->>>>>>> Stashed changes "description": "OpenAPI Code Generator using Template literals.", "keywords": [ "openapi", From 2f9a2642a5bf851ba8f5710e5adcb4d19ec44bd1 Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Wed, 6 May 2026 13:17:41 +0900 Subject: [PATCH 3/5] chore: update package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 53b7ff8..8ae5285 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "openapi-generator", "typescript" ], - "homepage": "https://github.com/Himenon/openapi-typescript-code-generator#readme", + "homepage": "https://github.com/Himenon/openapi-typescript-code-generator", "bugs": { "url": "https://github.com/Himenon/openapi-typescript-code-generator/issues" }, @@ -66,8 +66,8 @@ "format": "biome check --write --unsafe .", "lerna:version:up": "lerna version --yes", "lint": "biome check .", - "release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}", - "release:npm:registry": "pnpm publish --no-git-checks", + "release:npm:registry": "pnpm publish --access public --no-git-checks", + "release:github:registry": "pnpm publish --access public --no-git-checks", "test": "run-p test:depcruise test:vitest test:code:gen:* test:snapshot", "test:code:gen": "run-p test:code:gen:*", "test:code:gen:class": "pnpm ts ./scripts/testCodeGenWithClass.ts", From 9c8948cd663f2e26662e59665f84ad965229a54c Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Wed, 6 May 2026 13:37:30 +0900 Subject: [PATCH 4/5] chore: bump minimum node version to v24 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b278b04..b8880cd 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ }, "packageManager": "pnpm@10.33.2", "engines": { - "node": ">=22.0.0" + "node": ">=24.0.0" }, "publishConfig": { "access": "public" From 2e099a8a8d962b5efe43fa293185a0373d2885b4 Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Wed, 6 May 2026 13:38:17 +0900 Subject: [PATCH 5/5] chore(workflow): bump node version to v24 and cleanup checkout steps --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/versionUp.yml | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 282859c..64ce24a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [22.x] + node-version: [24.x] os: [windows-latest, ubuntu-latest] steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index deed47a..12d41c2 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: "22.x" + node-version: "24.x" registry-url: https://npm.pkg.github.com scope: "@Himenon" cache: "pnpm" @@ -33,7 +33,7 @@ jobs: - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: "22.x" + node-version: "24.x" registry-url: https://npm.pkg.github.com scope: "@Himenon" cache: "pnpm" @@ -56,7 +56,7 @@ jobs: - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: "22.x" + node-version: "24.x" registry-url: "https://registry.npmjs.org" cache: "pnpm" - run: pnpm install diff --git a/.github/workflows/versionUp.yml b/.github/workflows/versionUp.yml index 799b662..07556a9 100644 --- a/.github/workflows/versionUp.yml +++ b/.github/workflows/versionUp.yml @@ -10,13 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - with: - ref: main - uses: ./.github/actions/initialize - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0 - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: "22.x" + node-version: "24.x" cache: "pnpm" - run: pnpm i --frozen-lockfile - name: Auto version update