Skip to content

Commit

Permalink
feat!: update to support vite v5 (#183)
Browse files Browse the repository at this point in the history
* build: updated to node v20

* build(deps): added missing dependency to source-map

* feat!: updated to espree v10

BREAKING CHANGE: updating from espree v9 to v10 deprecates older node versions

* feat!: update to support vite v5

BREAKING CHANGE: least supported version changed from v2.9.1 to v4
  • Loading branch information
iFaxity authored Feb 18, 2024
1 parent 83ca38b commit 614f8bd
Show file tree
Hide file tree
Showing 6 changed files with 6,123 additions and 13,152 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: '.node-version'

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: '.node-version'

- name: Install dependencies
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.11.0
7 changes: 4 additions & 3 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { defineBuildConfig } from 'unbuild';

import { dependencies, peerDependencies } from './package.json';

export default defineBuildConfig({
entries: [
'src/index',
],
entries: ['src/index'],
externals: [...Object.keys(dependencies), ...Object.keys(peerDependencies)],
clean: true,
declaration: true,
rollup: {
Expand Down
Loading

0 comments on commit 614f8bd

Please sign in to comment.