Skip to content

Commit

Permalink
fix: lock file maintenance (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 18, 2024
1 parent 879829a commit 9652e2f
Show file tree
Hide file tree
Showing 15 changed files with 18,077 additions and 14,554 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-20",
"updateContentCommand": "yarn --frozen-lockfile"
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20",
"updateContentCommand": "pnpm install --frozen-lockfile"
}
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: corepack enable
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- run: yarn checkUnknownFiles
- run: yarn lint
- run: pnpm install --frozen-lockfile
- run: pnpm checkUnknownFiles
- run: pnpm lint
- env:
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Push changed files
run: yarn dw-ci push-changed-files
run: pnpm dw-ci push-changed-files
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
if: github.ref == 'refs/heads/master'
name: Release
run: yarn semantic-release
run: pnpm semantic-release
test:
needs: cancel-existing
runs-on: ${{ matrix.os }}
Expand All @@ -45,10 +46,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
- run: corepack enable
- run: pnpm install --frozen-lockfile
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn test
run: pnpm test
- if: failure()
uses: actions/upload-artifact@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Need to add :latest, otherwise old versions (e.g. of node) are installed
FROM gitpod/workspace-full:latest
FROM gitpod/workspace-full-vnc:latest

RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
RUN sudo apt-get install git-lfs
RUN git lfs install

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

RUN echo "\nexport PATH=$(yarn global bin):\$PATH" >> /home/gitpod/.bashrc
# https://github.com/gitpod-io/gitpod/issues/945
RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install 20'
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

RUN yarn global add gitpod-env-per-project @babel/node @babel/core

Expand Down
12 changes: 10 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@ image:
file: .gitpod.Dockerfile
tasks:
- before: >-
echo "corepack enable" >> /home/gitpod/.bashrc
echo "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0" >> /home/gitpod/.bashrc
gitpod-env-per-project >> /home/gitpod/.bashrc
echo "export
PUPPETEER_CACHE_DIR=/workspace/nuxt-babel-runtime/node_modules/.cache/puppeteer"
>> /home/gitpod/.bashrc
gitpod-env-per-project >> /home/gitpod/.bashrc && source /home/gitpod/.bashrc
echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc
source /home/gitpod/.bashrc
init: |-
git config --global user.name "Sebastian Landwehr"
git config diff.lfs.textconv cat
git lfs pull
yarn --frozen-lockfile
pnpm install --frozen-lockfile
vscode:
extensions:
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
3 changes: 3 additions & 0 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
":semanticCommits",
":semanticPrefixFix"
],
"gitIgnoredAuthors": [
"actions@github.com"
],
"github-actions": {
"enabled": false
},
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"editor.tabSize": 2,
"files.autoSave": "off",
"files.exclude": {
".babelrc.json": true,
".commitlintrc.json": true,
".cz.json": true,
".devcontainer": true,
Expand All @@ -20,10 +19,11 @@
".vscode": true,
"CHANGELOG.md": true,
"LICENSE.md": true,
"babel.config.json": true,
"coverage": true,
"dist": true,
"node_modules": true,
"yarn.lock": true
"pnpm-lock.yaml": true
},
"workbench.editor.enablePreview": false
}
File renamed without changes.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"@vitejs/plugin-vue": "^5.0.3",
"babel-register-esm": "npm:@dword-design/babel-register-esm@^2",
"depcheck-package-name": "^3.0.1",
"execa": "^8.0.1",
"execa": "^9.3.1",
"suppress-experimental-warnings": "^1.1.17",
"vite-plugin-babel": "^1.1.3"
},
"devDependencies": {
"@babel/plugin-proposal-pipeline-operator": "^7.22.5",
"@dword-design/base": "^11.0.2",
"@dword-design/functions": "^5.0.22",
"@dword-design/functions": "^6.0.1",
"@dword-design/puppeteer": "^7.0.0",
"@dword-design/tester": "^2.0.19",
"@dword-design/tester-plugin-puppeteer": "^3.0.0",
Expand All @@ -57,6 +57,7 @@
"@vue/compiler-dom": "*",
"nuxi": "^3"
},
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247",
"engines": {
"node": ">=18"
},
Expand Down
Loading

0 comments on commit 9652e2f

Please sign in to comment.