-
Notifications
You must be signed in to change notification settings - Fork 124
chore: use vite+ #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
chore: use vite+ #643
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
efb68f9
chore: use vite+
fengmk2 6669a98
FIXUP
fengmk2 84508f2
FIXUP
fengmk2 fba5a32
FIXUP
fengmk2 928555f
FIXUP
fengmk2 717eca9
FIXUP
fengmk2 e1749d6
FIXUP
fengmk2 a8b92fc
FIXUP
fengmk2 0fb6055
FIXUP
fengmk2 679eceb
FIXUP
fengmk2 cb38bb9
FIXUP
fengmk2 45497a3
FIXUP
fengmk2 7f7b205
FIXUP
fengmk2 ee2dbb2
FIXUP
fengmk2 f10bc97
FIXUP
fengmk2 ad05ba1
FIXUP
fengmk2 8f54533
FIXUP
fengmk2 ac550ac
FIXUP
fengmk2 490e86d
FIXUP
fengmk2 6bd9b5a
FIXUP
fengmk2 9a26e45
FIXUP
fengmk2 fbca0e3
FIXUP
fengmk2 8fd6442
FIXUP
fengmk2 c25eed9
FIXUP
fengmk2 1a00a40
FIXUP
fengmk2 74dc086
FIXUP
fengmk2 4e9e399
FIXUP
fengmk2 2e3b7a1
FIXUP
fengmk2 ecb3686
FIXUP
fengmk2 795511f
FIXUP
fengmk2 bc80b67
FIXUP
fengmk2 fd1f1ce
FIXUP
fengmk2 5840c75
FIXUP
fengmk2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Node.js old versions CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| concurrency: | ||
| group: nodejs-old-versions-test-${{ github.workflow }}-#${{ github.event.pull_request.number || github.head_ref || github.ref }}-(${{ matrix.node }}) | ||
| cancel-in-progress: true | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| node: ['16', '18'] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - name: Use Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
| - run: npm install | ||
| - name: Patch vitest imports | ||
| run: | | ||
| for f in test/*.test.ts; do [ -e "$f" ] || exit 0; sed --version >/dev/null 2>&1 && sed -i "s@'vite-plus/test'@'vitest'@g" "$f" || sed -i '' "s@'vite-plus/test'@'vitest'@g" "$f"; done | ||
| sed --version >/dev/null 2>&1 && sed -i "s@'vite-plus'@'vite'@g" vite.config.ts || sed -i '' "s@'vite-plus'@'vite'@g" vite.config.ts | ||
| jq 'del(.overrides)' package.json > package.json.tmp && mv package.json.tmp package.json | ||
| npm install -D vitest@3 vite@7 | ||
| - run: npx vitest && npm run build:ts && npm run build:version && npm pack && npx attw --pack | ||
| env: | ||
| NODE_OPTIONS: --require ./test/patch-for-node16-18.cjs | ||
| - run: npm run test-node16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.