Skip to content

Commit f085932

Browse files
fix: lock file maintenance (#193)
1 parent 29f4a2b commit f085932

File tree

7 files changed

+2009
-1696
lines changed

7 files changed

+2009
-1696
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"features": {
3-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
3+
"ghcr.io/devcontainers/features/node:1": {
4+
"version": 20
5+
}
46
},
5-
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20",
6-
"updateContentCommand": "pnpm install --frozen-lockfile"
7+
"postCreateCommand": "COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile"
78
}

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ 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-
- run: pnpm install --frozen-lockfile
24+
- env:
25+
COREPACK_INTEGRITY_KEYS: 0
26+
run: pnpm install --frozen-lockfile
2527
- run: pnpm checkUnknownFiles
2628
- run: pnpm lint
2729
- env:
@@ -45,14 +47,17 @@ jobs:
4547
lfs: true
4648
- uses: actions/setup-node@v4
4749
with:
50+
check-latest: true
4851
node-version: ${{ matrix.node }}
4952
- run: corepack enable
50-
- run: pnpm install --frozen-lockfile
53+
- env:
54+
COREPACK_INTEGRITY_KEYS: 0
55+
run: pnpm install --frozen-lockfile
5156
- env:
5257
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5358
run: pnpm test
5459
- if: failure()
55-
uses: actions/upload-artifact@v3
60+
uses: actions/upload-artifact@v4
5661
with:
5762
name: Image Snapshot Diffs
5863
path: "**/__image_snapshots__/__diff_output__"

.gitpod.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
image:
22
file: .gitpod.Dockerfile
33
tasks:
4-
- before: >-
4+
- before: |-
55
echo "corepack enable" >> /home/gitpod/.bashrc
6-
76
echo "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0" >> /home/gitpod/.bashrc
8-
97
gitpod-env-per-project >> /home/gitpod/.bashrc
10-
11-
echo "export
12-
PUPPETEER_CACHE_DIR=/workspace/eslint-plugin-import-alias/node_modules/.cache/puppeteer"
13-
>> /home/gitpod/.bashrc
14-
8+
echo "export PUPPETEER_CACHE_DIR=/workspace/eslint-plugin-import-alias/node_modules/.cache/puppeteer" >> /home/gitpod/.bashrc
159
echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc
16-
1710
source /home/gitpod/.bashrc
1811
init: |-
1912
git config --global user.name "Sebastian Landwehr"
2013
git config diff.lfs.textconv cat
2114
git lfs pull
22-
pnpm install --frozen-lockfile
15+
COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile
2316
vscode:
2417
extensions:
2518
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix

.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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
".gitpod.Dockerfile": true,
1414
".gitpod.yml": true,
1515
".husky": true,
16+
".npmrc": true,
1617
".nyc_output": true,
1718
".releaserc.json": true,
1819
".renovaterc.json": true,

LICENSE.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ MIT License
1414

1515
Copyright (c) <year> <copyright holders>
1616

17-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18-
19-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20-
21-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
18+
associated documentation files (the "Software"), to deal in the Software without restriction, including
19+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
21+
following conditions:
22+
23+
The above copyright notice and this permission notice shall be included in all copies or substantial
24+
portions of the Software.
25+
26+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
27+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
28+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
29+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
30+
USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)