Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/update-npm-oidc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@workleap/create-schemas": patch
---

Update NPM publishing to use OIDC authentication
1 change: 0 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ runs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false

- name: Install Node.js
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
publish: pnpm run changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.WORKLEAP_NPM_TOKEN }}

linearb:
needs: [release]
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minimum-release-age=1440
minimum-release-age-exclude[]="@workleap*"
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
24
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"postinstall": "pnpm -r --parallel --include-workspace-root exec pnpm dlx rimraf node_modules/.cache",
"dev": "pnpm --filter \"./packages/**\" -r dev",
"test": "pnpm --filter \"./packages/**\" -r test",
"test-update": "pnpm --filter \"./packages/**\" -r test-update",
"build": "pnpm --filter \"./packages/**\" -r build",
"lint": "pnpm run \"/^lint:.*/\"",
"lint:eslint": "eslint --ext .js,.ts,.tsx . --max-warnings=-1 --cache --cache-location node_modules/.cache/eslint",
Expand All @@ -33,6 +34,7 @@
"typescript": "5.5.3"
},
"engines": {
"node": ">=18.0.0"
}
}
"node": ">=24.0.0"
},
"packageManager": "pnpm@10.19.0"
}
Empty file modified packages/create-schemas/bin/create-schemas.js
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions packages/create-schemas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"scripts": {
"dev": "tsup --config tsup.dev.ts",
"test": "vitest",
"test-update": "vitest -- update-snapshots",
"build": "tsup --config tsup.build.ts"
},
"devDependencies": {
Expand All @@ -47,7 +48,7 @@
"vitest": "1.6.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=24.0.0"
},
"dependencies": {
"c12": "1.11.1",
Expand All @@ -58,4 +59,4 @@
"typescript": "5.5.3",
"zod": "3.23.8"
}
}
}
Loading