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
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"

cache: 'yarn' # This enables caching for Yarn

- name: Install
run: yarn install
run: yarn install --immutable

- name: Lint
run: yarn lint

- name: Build
run: yarn build

- name: Test
run: yarn test run
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,5 @@ sketch
# .pnp.*

# End of https://www.toptal.com/developers/gitignore/api/react,node,yarn

.yarn/install-state.gz
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
Binary file modified examples/react-demo/.yarn/install-state.gz
Binary file not shown.
3 changes: 2 additions & 1 deletion examples/react-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.2.2",
"vite-plugin-preload": "link:../.."
}
},
"packageManager": "yarn@4.13.0"
}
2,908 changes: 1,695 additions & 1,213 deletions examples/react-demo/yarn.lock

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"build": "tsup",
"lint": "biome lint",
"format": "biome format",
"pretest": "yarn build",
"test": "vitest",
"prepack": "yarn build"
},
"main": "dist/index.js",
"module": "dist/index.mjs",

"exports": {
"types": "./dist/index.d.ts",
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand All @@ -40,7 +40,7 @@
],
"dependencies": {
"@rollup/pluginutils": "^5.3.0",
"jsdom": "^24.1.3",
"jsdom": "^29.0.1",
"prettier": "^3.8.1"
},
"peerDependencies": {
Expand All @@ -53,8 +53,9 @@
"@types/prettier": "^3.0.0",
"del-cli": "^7.0.0",
"tsup": "^8.5.1",
"typescript": "^5.2.2",
"typescript": "^5.9.3",
"vite": "^7.2.6",
"vitest": "^1.6.1"
}
"vitest": "^4.1.1"
},
"packageManager": "yarn@4.13.0"
}
4,936 changes: 3,034 additions & 1,902 deletions yarn.lock

Large diffs are not rendered by default.

Loading