Skip to content

Commit adf8adb

Browse files
fix: lock file maintenance (#186)
BREAKING CHANGE: require node.js >= 18
1 parent 1f1509c commit adf8adb

17 files changed

+5159
-5428
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ jobs:
66
- env:
77
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88
uses: rokroskar/[email protected]
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
with:
1111
fetch-depth: 0
1212
lfs: true
1313
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository &&
1414
github.event.pull_request.head.ref || '' }}
15-
- uses: actions/setup-node@v3
15+
- uses: actions/setup-node@v4
1616
with:
1717
node-version: 18
1818
- run: git config --global user.email "[email protected]"

.github/workflows/deprecated-dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jobs:
22
run:
33
runs-on: ubuntu-latest
44
steps:
5-
- uses: actions/checkout@v3
5+
- uses: actions/checkout@v4
66
with:
77
lfs: true
88
- continue-on-error: true
@@ -20,7 +20,7 @@ jobs:
2020
update_existing: true
2121
- if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated &&
2222
steps.create-deprecation-issue.outputs.number }}
23-
uses: peter-evans/close-issue@v2
23+
uses: peter-evans/close-issue@v3
2424
with:
2525
comment: Auto-closing the issue
2626
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jobs:
22
build:
33
runs-on: ubuntu-latest
44
steps:
5-
- uses: actions/checkout@v3
5+
- uses: actions/checkout@v4
66
- env:
77
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
88
uses: micnncim/action-label-syncer@v1

.github/workflows/sync-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ jobs:
22
build:
33
runs-on: ubuntu-latest
44
steps:
5-
- uses: actions/checkout@v3
5+
- uses: actions/checkout@v4
66
- uses: jaid/[email protected]
77
with:
88
approve: false

.gitpod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ vscode:
1717
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix
1818
- https://sebastianlandwehr.com/vscode-extensions/adrianwilczynski.toggle-hidden-1.0.2.vsix
1919
20+
- Tobermory.es6-string-html
21+
- zjcompt.es6-string-javascript

.husky/post-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-checkout'.\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
33
git lfs post-checkout "$@"

.husky/post-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-commit'.\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
33
git lfs post-commit "$@"

.husky/post-merge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/post-merge'.\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
33
git lfs post-merge "$@"

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
2-
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting '.git/hooks/pre-push'.\n"; exit 2; }
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
33
git lfs pre-push "$@"

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"license": "MIT",
88
"author": "Sebastian Landwehr <[email protected]>",
99
"type": "module",
10-
"main": "dist/index.ssr.js",
10+
"exports": "./dist/index.esm.js",
11+
"main": "dist/index.esm.js",
1112
"unpkg": "dist/index.min.js",
12-
"module": "dist/index.esm.js",
13-
"browser": "dist/index.esm.js",
13+
"browser": "dist/index.min.js",
1414
"files": [
1515
"dist"
1616
],
@@ -26,19 +26,19 @@
2626
},
2727
"dependencies": {
2828
"mermaid": "^8.8.3",
29-
"nanoid": "^4.0.0"
29+
"nanoid": "^5.0.4"
3030
},
3131
"devDependencies": {
32-
"@dword-design/base": "^9.1.10",
33-
"@dword-design/base-config-component": "^2.0.0",
34-
"@dword-design/functions": "^4.0.0",
35-
"@dword-design/puppeteer": "^6.0.0",
32+
"@dword-design/base": "^11.0.2",
33+
"@dword-design/base-config-component": "^4.0.0",
34+
"@dword-design/functions": "^5.0.27",
35+
"@dword-design/puppeteer": "^7.0.0",
3636
"@dword-design/tester": "^2.0.0",
37-
"@dword-design/tester-plugin-component": "^3.0.0",
38-
"@dword-design/tester-plugin-puppeteer": "^2.0.0"
37+
"@dword-design/tester-plugin-component": "^5.0.0",
38+
"@dword-design/tester-plugin-puppeteer": "^3.0.0"
3939
},
4040
"engines": {
41-
"node": ">=14"
41+
"node": ">=18"
4242
},
4343
"publishConfig": {
4444
"access": "public"

0 commit comments

Comments
 (0)