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
10 changes: 8 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
cat /proc/meminfo

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Expand All @@ -37,6 +37,12 @@ jobs:
- name: Installing dependencies
run: pnpm install --frozen-lockfile

- name: Audit dependencies
run: pnpm audit --ignore-registry-errors --audit-level=moderate --prod

- name: Verify registry signatures for installed packages
run: pnpm audit signatures

- name: Linting last commit message
if: github.event_name == 'push'
run: pnpm exec commitlint --last --verbose
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9

- name: Use Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Expand All @@ -38,9 +38,11 @@ jobs:
- name: Installing dependencies
run: pnpm install --frozen-lockfile

# https://github.com/pnpm/pnpm/issues/7909
# - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
# run: npm audit signatures
- name: Audit dependencies
run: pnpm audit --ignore-registry-errors --audit-level=moderate --prod

- name: Verify registry signatures for installed packages
run: pnpm audit signatures

- name: Release
env:
Expand Down
8 changes: 8 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "master" ]; then
echo "Error: do not commit directly to the master branch."
echo "Please create a feature branch and open a pull request."
exit 1
fi

pnpm exec lint-staged --relative
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"url": "https://github.com/webdeveric/utils/issues"
},
"homepage": "https://github.com/webdeveric/utils/#readme",
"packageManager": "pnpm@11.9.0+sha512.bd682d5d03fe525ef7c9fd6780c6884d1e756ac4c9c9fe00c538782824310dcf90e3ddc4f53835f06dfaebd5085e41855e0bcbb3b60de2ac5bbab89e5036f03b",
"packageManager": "pnpm@11.10.0+sha512.0b7f8b98060031904c017e3a41eb187a16d40eeb829b95c4f8cb03681761fc4ab53dd219115b9b447f4dce1a05a214764461e7d3703392a9f32f9511ce8c86c8",
"scripts": {
"clean": "rimraf ./dist/ ./cache/ ./coverage/",
"prebuild": "pnpm clean",
Expand All @@ -85,14 +85,15 @@
},
"prettier": "@webdeveric/prettier-config",
"devDependencies": {
"@commitlint/config-conventional": "^21.1.0",
"@commitlint/types": "^21.1.0",
"@commitlint/config-conventional": "^21.2.0",
"@commitlint/types": "^21.2.0",
"@types/node": "^24.13.2",
"@typescript/native-preview": "7.0.0-dev.20260629.1",
"@typescript/native-preview": "7.0.0-dev.20260704.1",
"@vitest/coverage-v8": "^4.1.9",
"@webdeveric/eslint-config-ts": "^0.12.0",
"@webdeveric/eslint-config-ts": "^0.12.1",
"@webdeveric/prettier-config": "^0.4.0",
"commitlint": "^21.1.0",
"@webdeveric/ts-data-structures": "^1.0.1",
"commitlint": "^21.2.0",
"commitlint-plugin-cspell": "^0.9.3",
"conventional-changelog-conventionalcommits": "^9.3.1",
"cspell": "^10.0.1",
Expand All @@ -103,10 +104,10 @@
"husky": "^9.1.7",
"jsdom": "^29.1.1",
"lint-staged": "^17.0.8",
"prettier": "^3.9.3",
"prettier": "^3.9.4",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.5",
"validate-package-exports": "^1.1.1",
"validate-package-exports": "^1.2.0",
"vitest": "^4.1.9"
}
}
Loading
Loading