Skip to content

Commit 2c28b1d

Browse files
fix: lock file maintenance (#213)
1 parent 84434bd commit 2c28b1d

File tree

12 files changed

+18228
-15294
lines changed

12 files changed

+18228
-15294
lines changed

.devcontainer/devcontainer.json

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

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
github.event.pull_request.head.ref || '' }}
1515
- uses: actions/setup-node@v4
1616
with:
17+
check-latest: true
1718
node-version: 20
19+
- run: corepack enable
1820
- run: git config --global user.email "[email protected]"
1921
- run: git config --global user.name "GitHub Actions"
20-
- run: yarn --frozen-lockfile
22+
- run: pnpm install --frozen-lockfile
2123
- env:
2224
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23-
run: yarn test
25+
run: pnpm test
2426
- if: failure()
2527
uses: actions/upload-artifact@v3
2628
with:
@@ -29,18 +31,18 @@ jobs:
2931
- uses: codecov/codecov-action@v3
3032
with:
3133
token: ${{ secrets.CODECOV_TOKEN }}
32-
- run: yarn checkUnknownFiles
34+
- run: pnpm checkUnknownFiles
3335
- env:
3436
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
3537
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638
name: Push changed files
37-
run: yarn dw-ci push-changed-files
39+
run: pnpm dw-ci push-changed-files
3840
- env:
3941
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4042
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4143
if: github.ref == 'refs/heads/master'
4244
name: Release
43-
run: yarn semantic-release
45+
run: pnpm semantic-release
4446
name: build
4547
on:
4648
pull_request: {}

.gitpod.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ RUN git lfs install
1010
RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install 20'
1111
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
1212

13-
RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
14-
1513
RUN yarn global add gitpod-env-per-project @babel/node @babel/core
1614

1715
RUN sudo apt-get install -y graphviz

.gitpod.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@ image:
22
file: .gitpod.Dockerfile
33
tasks:
44
- before: >-
5+
echo "corepack enable" >> /home/gitpod/.bashrc
6+
7+
echo "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0" >> /home/gitpod/.bashrc
8+
9+
gitpod-env-per-project >> /home/gitpod/.bashrc
10+
511
echo "export
612
PUPPETEER_CACHE_DIR=/workspace/vue-mermaid-string/node_modules/.cache/puppeteer"
713
>> /home/gitpod/.bashrc
814
915
echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc
1016
11-
gitpod-env-per-project >> /home/gitpod/.bashrc && source
12-
/home/gitpod/.bashrc
17+
source /home/gitpod/.bashrc
1318
init: |-
1419
git config --global user.name "Sebastian Landwehr"
1520
git config diff.lfs.textconv cat
1621
git lfs pull
17-
yarn --frozen-lockfile
22+
pnpm install --frozen-lockfile
1823
vscode:
1924
extensions:
2025
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-linker=hoisted

.renovaterc.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,20 @@
2525
"\\.js$"
2626
],
2727
"matchStrings": [
28-
"(^|\\s)gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
28+
"(^|[^\\w])gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
2929
],
3030
"versioningTemplate": "npm"
31+
},
32+
{
33+
"datasourceTemplate": "node-version",
34+
"depNameTemplate": "node",
35+
"fileMatch": [
36+
"\\.js$"
37+
],
38+
"matchStrings": [
39+
"(^|[^\\w])nodejsVersion`(?<currentValue>.*?)`"
40+
],
41+
"versioningTemplate": "node"
3142
}
3243
],
3344
"semanticCommitScope": null

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"coverage": true,
2525
"dist": true,
2626
"node_modules": true,
27-
"yarn.lock": true
27+
"pnpm-lock.yaml": true
2828
},
2929
"workbench.editor.enablePreview": false
3030
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@
3333
"@dword-design/base-config-component": "^4.0.0",
3434
"@dword-design/functions": "^6.0.0",
3535
"@dword-design/tester": "^2.0.0",
36-
"@dword-design/tester-plugin-component": "^5.0.0",
36+
"@dword-design/tester-plugin-component": "^5.1.0",
3737
"@playwright/test": "^1.43.1",
3838
"playwright": "^1.43.1",
3939
"playwright-chromium": "^1.43.1"
4040
},
41+
"packageManager": "[email protected]+sha256.dd98691b127b5d2c4d0605b594e98ec0bcbe5fba86358184de706c3312a4e2ee",
4142
"engines": {
4243
"node": ">=18"
4344
},

0 commit comments

Comments
 (0)