Skip to content

Commit 2549e65

Browse files
fix: lock file maintenance (#267)
1 parent 1abe30e commit 2549e65

File tree

12 files changed

+2995
-3205
lines changed

12 files changed

+2995
-3205
lines changed

.baserc.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
{
2-
"name": "@dword-design/nuxt-module",
3-
"seeAlso": [
4-
{ "repository": "nuxt-route-meta", "description": "Adds Nuxt page data to route meta at build time." },
5-
{ "repository": "nuxt-modernizr", "description": "Adds a Modernizr build to your Nuxt.js app." },
6-
{ "repository": "nuxt-mermaid-string", "description": "Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string." },
7-
{ "repository": "nuxt-content-git", "description": "Additional module for @nuxt/content that replaces or adds createdAt and updatedAt dates based on the git history." },
8-
{ "repository": "nuxt-babel-runtime", "description": "Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime." }
9-
],
10-
"eslintConfig": {
11-
"extends": "@dword-design/eslint-config",
12-
"rules": {
13-
"import/no-unresolved": ["error", { "ignore": ["#imports", "#mail"] }]
14-
},
15-
"globals": {
16-
"$fetch": "readonly"
17-
}
18-
},
192
"depcheckConfig": {
203
"ignoreMatches": [
214
"playwright-chromium"
225
]
23-
}
6+
},
7+
"name": "@dword-design/nuxt-module",
8+
"seeAlso": [
9+
{ "description": "Adds Nuxt page data to route meta at build time.", "repository": "nuxt-route-meta" },
10+
{ "description": "Adds a Modernizr build to your Nuxt.js app.", "repository": "nuxt-modernizr" },
11+
{ "description": "Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string.", "repository": "nuxt-mermaid-string" },
12+
{ "description": "Additional module for @nuxt/content that replaces or adds createdAt and updatedAt dates based on the git history.", "repository": "nuxt-content-git" },
13+
{ "description": "Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.", "repository": "nuxt-babel-runtime" }
14+
],
15+
"virtualImports": ["#mail"]
2416
}

.devcontainer/devcontainer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"features": {
3-
"ghcr.io/devcontainers/features/node:1": {
4-
"version": 20
5-
}
6-
},
7-
"postCreateCommand": "COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile"
2+
"postCreateCommand": "pnpm install --frozen-lockfile"
83
}

.eslintrc.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ jobs:
2121
- run: corepack enable
2222
- run: git config --global user.email "actions@github.com"
2323
- run: git config --global user.name "GitHub Actions"
24-
- env:
25-
COREPACK_INTEGRITY_KEYS: 0
26-
run: pnpm install --frozen-lockfile
24+
- run: pnpm install --frozen-lockfile
2725
- run: pnpm checkUnknownFiles
2826
- run: pnpm lint
2927
- env:
@@ -50,17 +48,18 @@ jobs:
5048
check-latest: true
5149
node-version: ${{ matrix.node }}
5250
- run: corepack enable
53-
- env:
54-
COREPACK_INTEGRITY_KEYS: 0
55-
run: pnpm install --frozen-lockfile
51+
- run: pnpm install --frozen-lockfile
5652
- env:
5753
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5854
run: pnpm test
59-
- if: failure()
55+
- if: always()
6056
uses: actions/upload-artifact@v4
6157
with:
62-
name: Image Snapshot Diffs
63-
path: "**/__image_snapshots__/__diff_output__"
58+
if-no-files-found: ignore
59+
name: Images from tests
60+
path: |-
61+
**/__image_snapshots__/__diff_output__
62+
test-results/*/**
6463
- if: matrix.os == 'ubuntu-latest' && matrix.node == 20
6564
uses: codecov/codecov-action@v3
6665
with:

.github/workflows/deprecated-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
comment: Auto-closing the issue
2626
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
27-
- uses: gautamkrishnar/keepalive-workflow@v1
27+
- uses: liskin/gh-workflow-keepalive@v1
2828
name: deprecated-dependencies
2929
on:
3030
schedule:

.github/workflows/sync-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
approve: false
99
commitMessage: "fix: write GitHub metadata to package.json [{changes}]"
1010
githubToken: ${{ secrets.GITHUB_TOKEN }}
11-
- uses: gautamkrishnar/keepalive-workflow@v1
11+
- uses: liskin/gh-workflow-keepalive@v1
1212
name: sync-metadata
1313
on:
1414
schedule:

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tasks:
1919
git config --global user.name "Sebastian Landwehr"
2020
git config diff.lfs.textconv cat
2121
git lfs pull
22-
COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile
22+
pnpm install --frozen-lockfile
2323
vscode:
2424
extensions:
2525
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
".cz.json": true,
77
".devcontainer": true,
88
".editorconfig": true,
9-
".eslintrc.json": true,
109
".gitattributes": true,
1110
".github": true,
1211
".gitignore": true,
@@ -23,6 +22,7 @@
2322
"babel.config.json": true,
2423
"coverage": true,
2524
"dist": true,
25+
"eslint.config.js": true,
2626
"node_modules": true,
2727
"pnpm-lock.yaml": true
2828
},

eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import config from '@dword-design/eslint-config';
2+
import { createConfigForNuxt } from '@nuxt/eslint-config/flat';
3+
4+
export default createConfigForNuxt({ features: { standalone: false } }).prepend(
5+
config,
6+
{
7+
rules: {
8+
'import/no-unresolved': ['error', { ignore: ['#imports', '#mail'] }],
9+
},
10+
},
11+
{
12+
files: ['eslint.config.js'],
13+
rules: { 'import/no-extraneous-dependencies': 'off' },
14+
},
15+
);

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@
4141
},
4242
"dependencies": {
4343
"@dword-design/functions": "^6.0.2",
44-
"@nuxt/kit": "^3.16.2",
44+
"@nuxt/kit": "^3.17.4",
4545
"fs-extra": "^11.3.0",
46-
"h3": "^1.15.1",
47-
"nodemailer": "^6.10.1",
46+
"h3": "^1.15.3",
47+
"nodemailer": "^7.0.3",
4848
"nuxt-alias-path": "^2.0.0",
4949
"nuxt-push-plugins": "^2.1.34",
5050
"parse-packagejson-name": "^1.0.1"
5151
},
5252
"devDependencies": {
53-
"@dword-design/base": "^11.2.10",
54-
"@dword-design/base-config-nuxt-module": "^1.0.0",
55-
"axios": "^0.30.0",
56-
"execa": "^8.0.1",
53+
"@dword-design/base": "^12.0.5",
54+
"@dword-design/base-config-nuxt-module": "^1.0.3",
55+
"axios": "^1.9.0",
56+
"execa": "^9.6.0",
5757
"get-port": "^7.1.0",
58-
"nuxt": "^3.16.2",
58+
"nuxt": "^3.17.4",
5959
"nuxt-dev-ready": "^3.0.0",
6060
"output-files": "^2.0.32",
6161
"playwright": "^1.52.0",

0 commit comments

Comments
 (0)