Skip to content

Commit 6a9aa54

Browse files
committed
Update dependencies.
1 parent c07bc88 commit 6a9aa54

12 files changed

Lines changed: 2982 additions & 3910 deletions

.github/workflows/set-github-metadata.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,14 @@ jobs:
88
build:
99
name: Set GitHub Metadata
1010
runs-on: ubuntu-latest
11-
env:
12-
IS_VALID_TOKEN: false
13-
HAS_PACKAGE: false
1411

1512
steps:
1613
- name: Checkout
1714
uses: actions/checkout@v4
1815
with:
1916
fetch-depth: 0
2017

21-
- name: Check for package.json
22-
run: |
23-
if [ -f package.json ]; then
24-
echo "📦 Found package.json"
25-
echo "HAS_PACKAGE=true" >> "$GITHUB_ENV"
26-
else
27-
echo "❌ This action requires a package.json to run"
28-
echo "HAS_PACKAGE=false" >> "$GITHUB_ENV"
29-
fi
30-
31-
- name: Validate Access Token
32-
if: env.HAS_PACKAGE == 'true'
33-
run: |
34-
if [ -z ${{ secrets.PERSONAL_ACCESS_TOKEN }} ]; then
35-
echo "❌ This action requires a Personal Access token to run"
36-
echo "IS_VALID_TOKEN=false" >> "$GITHUB_ENV"
37-
else
38-
echo "🔑 Authenticated with Personal Access token"
39-
echo "IS_VALID_TOKEN=true" >> "$GITHUB_ENV"
40-
fi
41-
4218
- name: Sync Package info to GitHub
43-
if: env.IS_VALID_TOKEN == 'true' && env.HAS_PACKAGE == 'true'
44-
uses: kitschpatrol/github-action-repo-sync@v2
19+
uses: kitschpatrol/github-action-repo-sync@v3
4520
with:
46-
TYPE: npm
47-
PATH: package.json
4821
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.npmrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
publish-branch=main
22

3-
# Required for using @kitschpatrol/shared-config and the kpi command with pnpm
3+
# Required for using @kitschpatrol/shared-config and the ksc command with pnpm
44
public-hoist-pattern[]=@kitschpatrol/repo-config
55
public-hoist-pattern[]=@kitschpatrol/typescript-config
66
public-hoist-pattern[]=case-police
@@ -11,3 +11,6 @@ public-hoist-pattern[]=*mdat*
1111
public-hoist-pattern[]=*prettier*
1212
public-hoist-pattern[]=*remark*
1313
public-hoist-pattern[]=*stylelint*
14+
15+
# Required for automated local publishing
16+
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"explorer.fileNesting.enabled": true,
33
"explorer.fileNesting.expand": false,
44
"explorer.fileNesting.patterns": {
5+
"*.js": "${basename}.ts.map, ${basename}.js.map, ${basename}.d.ts, ${basename}.d.ts.map, ${basename}.d.js.map",
6+
"*.ts": "${basename}.ts.map, ${basename}.d.ts, ${basename}.d.ts.map",
57
".env": ".env.*",
68
"package.json": ".*.cjs, .*.js, .*.json, .*.mjs, .*.toml, .*.ts, .*.yaml, .*.yml, .*ignore, .*rc, *config.cjs, *config.js, *config.json, *config.mjs, *config.toml, *config.ts, *config.yaml, *config.yml, lerna.json, netlify.toml, package-lock.json, , pnpm*, turbo.json, vercel.json, workspace*, wrangler.toml, yarn.lock, yarn*",
79
"readme.md": "authors*, backers*, changelog*, citation*, code_of_conduct*, contributing*, contributors*, copying*, credits*, governance*, history*, license*, maintainers*, release_notes*, security*, sponsors*"

eslint.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { eslintConfig } from '@kitschpatrol/eslint-config'
33
export default eslintConfig({
44
rules: {
55
'node/no-unsupported-features/node-builtins': 'off',
6+
'unicorn/no-array-sort': 'off',
67
},
78
type: 'lib',
89
})

package.json

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,24 @@
4040
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
4141
"fix": "kpi fix",
4242
"lint": "kpi lint",
43-
"release": "bumpp --commit 'Release: %s' && pnpm run build && pnpm publish --otp $(op read 'op://Personal/Npmjs/one-time password?attribute=otp')",
43+
"release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
4444
"test": "head -n 1000 \"src/en-wiktionary.txt\" | cspell -c ./cspell-ext.json \"--locale=en,en-US\" \"--languageId=*\" stdin",
4545
"update": "tsx ./scripts/generate-dictionary.ts"
4646
},
4747
"devDependencies": {
48-
"@cspell/cspell-tools": "^8.17.5",
49-
"@kitschpatrol/shared-config": "^5.2.0",
50-
"@types/node": "^20.17.23",
51-
"bumpp": "^9.11.1",
52-
"pretty-bytes": "^6.1.1",
53-
"tsx": "^4.19.3",
54-
"typescript": "~5.7.3"
48+
"@cspell/cspell-tools": "^9.2.2",
49+
"@kitschpatrol/shared-config": "^5.8.1",
50+
"@types/node": "^20.19.24",
51+
"bumpp": "^10.3.1",
52+
"pretty-bytes": "^7.1.0",
53+
"tsx": "^4.20.6",
54+
"typescript": "~5.9.3"
5555
},
56-
"packageManager": "pnpm@10.5.2",
56+
"packageManager": "pnpm@10.20.0",
5757
"engines": {
5858
"node": ">=18.0.0"
5959
},
6060
"publishConfig": {
6161
"access": "public"
62-
},
63-
"pnpm": {
64-
"onlyBuiltDependencies": [
65-
"esbuild",
66-
"puppeteer"
67-
],
68-
"overrides": {
69-
"eslint-plugin-markdown": "^5.1.0"
70-
}
7162
}
7263
}

0 commit comments

Comments
 (0)