Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20",
"updateContentCommand": "yarn --frozen-lockfile"
"updateContentCommand": "pnpm install --frozen-lockfile"
}
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
github.event.pull_request.head.ref || '' }}
- uses: actions/setup-node@v4
with:
check-latest: true
node-version: 20
- run: corepack enable
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- 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 All @@ -29,18 +31,18 @@ jobs:
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
- run: yarn checkUnknownFiles
- run: pnpm checkUnknownFiles
- 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
name: build
on:
pull_request: {}
Expand Down
2 changes: 0 additions & 2 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ RUN git lfs install
RUN bash -c 'source $HOME/.nvm/nvm.sh && nvm install 20'
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

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

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

RUN sudo apt-get install -y graphviz
Expand Down
11 changes: 8 additions & 3 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +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/vue-mermaid-string/node_modules/.cache/puppeteer"
>> /home/gitpod/.bashrc

echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc

gitpod-env-per-project >> /home/gitpod/.bashrc && source
/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
13 changes: 12 additions & 1 deletion .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,20 @@
"\\.js$"
],
"matchStrings": [
"(^|\\s)gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
"(^|[^\\w])gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
],
"versioningTemplate": "npm"
},
{
"datasourceTemplate": "node-version",
"depNameTemplate": "node",
"fileMatch": [
"\\.js$"
],
"matchStrings": [
"(^|[^\\w])nodejsVersion`(?<currentValue>.*?)`"
],
"versioningTemplate": "node"
}
],
"semanticCommitScope": null
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"coverage": true,
"dist": true,
"node_modules": true,
"yarn.lock": true
"pnpm-lock.yaml": true
},
"workbench.editor.enablePreview": false
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
"@dword-design/base-config-component": "^4.0.0",
"@dword-design/functions": "^6.0.0",
"@dword-design/tester": "^2.0.0",
"@dword-design/tester-plugin-component": "^5.0.0",
"@dword-design/tester-plugin-component": "^5.1.0",
"@playwright/test": "^1.43.1",
"playwright": "^1.43.1",
"playwright-chromium": "^1.43.1"
},
"packageManager": "[email protected]+sha256.dd98691b127b5d2c4d0605b594e98ec0bcbe5fba86358184de706c3312a4e2ee",
"engines": {
"node": ">=18"
},
Expand Down
Loading