Skip to content

Commit d621839

Browse files
chore: lock file maintenance (#98)
* chore: lock file maintenance * chore: update config files --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <[email protected]>
1 parent abf3d1f commit d621839

File tree

8 files changed

+1280
-1396
lines changed

8 files changed

+1280
-1396
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
4+
},
5+
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-16",
6+
"updateContentCommand": "yarn --frozen-lockfile"
7+
}

.gitpod.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ RUN git lfs install
77

88
# https://www.gitpod.io/docs/languages/javascript
99
RUN bash -c 'VERSION="16" && source $HOME/.nvm/nvm.sh && nvm install $VERSION && nvm use $VERSION && nvm alias default $VERSION'
10-
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
1110

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

.gitpod.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
image:
22
file: .gitpod.Dockerfile
33
tasks:
4-
- command: eval $(gitpod-env-per-project)
5-
init: git config --global user.name "Sebastian Landwehr" && git lfs pull && yarn
6-
--frozen-lockfile
4+
- before: >-
5+
echo "export
6+
PUPPETEER_CACHE_DIR=/workspace/expect-mocha-image-snapshot/node_modules/.cache/puppeteer"
7+
>> /home/gitpod/.bashrc
8+
9+
gitpod-env-per-project >> /home/gitpod/.bashrc && source /home/gitpod/.bashrc
10+
init: |-
11+
git config --global user.name "Sebastian Landwehr"
12+
git lfs pull && yarn --frozen-lockfile
713
vscode:
814
extensions:
915
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix

.renovaterc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
]
2525
}
2626
],
27+
"rangeStrategy": "auto",
2728
"semanticCommitScope": null
2829
}

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
".babelrc.json": true,
66
".commitlintrc.json": true,
77
".cz.json": true,
8+
".devcontainer": true,
89
".editorconfig": true,
910
".eslintrc.json": true,
1011
".gitattributes": true,
@@ -16,6 +17,7 @@
1617
".nyc_output": true,
1718
".releaserc.json": true,
1819
".renovaterc.json": true,
20+
".vscode": true,
1921
"CHANGELOG.md": true,
2022
"LICENSE.md": true,
2123
"coverage": true,

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const configureToMatchImageSnapshot =
2121
if (!context || !context.test) {
2222
throw new Error(
2323
'Missing `context` argument for .toMatchImageSnapshot().\n' +
24-
'Did you forget to pass `this` into expect().toMatchImageSnapshot(this)?'
24+
'Did you forget to pass `this` into expect().toMatchImageSnapshot(this)?',
2525
)
2626
}
2727
if (!context.imageSnapshotState) {

0 commit comments

Comments
 (0)