chore: cp monorepo README.md to package on build time
Some checks are pending
Demo / Explore-CI (push) Waiting to run

This commit is contained in:
ayo 2026-03-14 17:27:46 +01:00
parent 889931b719
commit 875ae5ee27
2 changed files with 5 additions and 3 deletions

4
.gitignore vendored
View file

@ -3,8 +3,10 @@ dist/
.astro/
package-lock.json
package/README.md
*~
*swo
*swp
.eslintcache
.eslintcache

View file

@ -27,7 +27,7 @@
},
"files": [
"dist",
"../README.md"
"README.md"
],
"main": "./astro-sw.js",
"type": "module",
@ -35,7 +35,7 @@
"node": ">=18.0.0"
},
"scripts": {
"build": "tsup src/index.ts src/presets/index.ts src/presets/**/index.ts src/eslint/globals.ts --format esm --dts --clean",
"build": "tsup src/index.ts src/presets/index.ts src/presets/**/index.ts src/eslint/globals.ts --format esm --dts --clean && cp ../README.md .",
"test": "vitest run",
"publish": "npm publish",
"version:patch": "npm version patch",