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/ .astro/
package-lock.json package-lock.json
package/README.md
*~ *~
*swo *swo
*swp *swp
.eslintcache .eslintcache

View file

@ -27,7 +27,7 @@
}, },
"files": [ "files": [
"dist", "dist",
"../README.md" "README.md"
], ],
"main": "./astro-sw.js", "main": "./astro-sw.js",
"type": "module", "type": "module",
@ -35,7 +35,7 @@
"node": ">=18.0.0" "node": ">=18.0.0"
}, },
"scripts": { "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", "test": "vitest run",
"publish": "npm publish", "publish": "npm publish",
"version:patch": "npm version patch", "version:patch": "npm version patch",