Skip to content

Commit 16c4905

Browse files
fix: update dependency @dword-design/base to v11 (#127)
BREAKING CHANGE: node.js >= 18
1 parent c949824 commit 16c4905

File tree

10 files changed

+6484
-6124
lines changed

10 files changed

+6484
-6124
lines changed

.baserc.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"name": "@dword-design/node",
3-
"nodeVersion": 18,
4-
"supportedNodeVersions": [16, 18],
53
"seeAlso": [
64
{ "repository": "nuxt-content-body-html", "description": "Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string." },
75
{ "repository": "nuxt-mail", "description": "Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails." },

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"features": {
33
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
44
},
5-
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
5+
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-20",
66
"updateContentCommand": "yarn --frozen-lockfile"
77
}

.github/workflows/build.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
needs: test
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
lfs: true
1616
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository &&
1717
github.event.pull_request.head.ref || '' }}
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1919
with:
20-
node-version: 18
20+
node-version: 20
2121
- run: git config --global user.email "actions@github.com"
2222
- run: git config --global user.name "GitHub Actions"
2323
- run: yarn --frozen-lockfile
@@ -38,11 +38,11 @@ jobs:
3838
needs: cancel-existing
3939
runs-on: ${{ matrix.os }}
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0
4444
lfs: true
45-
- uses: actions/setup-node@v3
45+
- uses: actions/setup-node@v4
4646
with:
4747
node-version: ${{ matrix.node }}
4848
- run: yarn --frozen-lockfile
@@ -54,20 +54,20 @@ jobs:
5454
with:
5555
name: Image Snapshot Diffs
5656
path: "**/__image_snapshots__/__diff_output__"
57-
- if: matrix.os == 'ubuntu-latest' && matrix.node == 18
57+
- if: matrix.os == 'ubuntu-latest' && matrix.node == 20
5858
uses: codecov/codecov-action@v3
5959
with:
6060
token: ${{ secrets.CODECOV_TOKEN }}
6161
strategy:
6262
matrix:
6363
include:
64-
- node: 16
65-
os: ubuntu-latest
6664
- node: 18
6765
os: ubuntu-latest
68-
- node: 18
66+
- node: 20
67+
os: ubuntu-latest
68+
- node: 20
6969
os: macos-latest
70-
- node: 18
70+
- node: 20
7171
os: windows-latest
7272
name: build
7373
on:

.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/action-sync-node-meta@v2.0.0
77
with:
88
approve: false

.gitpod.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN sudo apt-get install git-lfs
66
RUN git lfs install
77

88
# https://www.gitpod.io/docs/languages/javascript
9-
RUN bash -c 'VERSION="18" && source $HOME/.nvm/nvm.sh && nvm install $VERSION && nvm use $VERSION && nvm alias default $VERSION'
9+
RUN bash -c 'VERSION="20" && source $HOME/.nvm/nvm.sh && nvm install $VERSION && nvm use $VERSION && nvm alias default $VERSION'
1010

1111
RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
1212

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,22 @@
4242
"simple-git": "^3.15.1"
4343
},
4444
"devDependencies": {
45-
"@dword-design/base": "^10.0.5",
45+
"@dword-design/base": "^11.0.0",
4646
"@dword-design/tester": "^2.0.0",
4747
"@dword-design/tester-plugin-tmp-dir": "^2.1.26",
4848
"@nuxt/content": "^2.6.0",
4949
"axios": "^1.4.0",
5050
"depcheck-package-name": "^3.0.0",
51-
"execa": "^7.0.0",
51+
"execa": "^8.0.1",
5252
"fs-extra": "^11.1.1",
5353
"nuxt": "^3.5.3",
54-
"nuxt-dev-ready": "^2.0.1",
55-
"ora": "^6.3.1",
54+
"nuxt-dev-ready": "^3.0.0",
55+
"ora": "^8.0.1",
5656
"output-files": "^2.0.0",
5757
"tree-kill-promise": "^3.0.14"
5858
},
5959
"engines": {
60-
"node": ">=16"
60+
"node": ">=18"
6161
},
6262
"publishConfig": {
6363
"access": "public"

src/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export default tester(
208208
P.join('node_modules', '.cache', 'nuxt2', 'package.json'),
209209
JSON.stringify({}),
210210
)
211-
await execaCommand('yarn add nuxt@^2 @nuxt/content 1', {
211+
await execaCommand('yarn add nuxt@^2 @nuxt/content@^1', {
212212
cwd: P.join('node_modules', '.cache', 'nuxt2'),
213213
})
214214
spinner.stop()

0 commit comments

Comments
 (0)