chore: cp monorepo README.md to package on build time
Some checks are pending
Demo / Explore-CI (push) Waiting to run
Some checks are pending
Demo / Explore-CI (push) Waiting to run
This commit is contained in:
parent
889931b719
commit
875ae5ee27
2 changed files with 5 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -3,8 +3,10 @@ dist/
|
|||
.astro/
|
||||
package-lock.json
|
||||
|
||||
package/README.md
|
||||
|
||||
*~
|
||||
*swo
|
||||
*swp
|
||||
|
||||
.eslintcache
|
||||
.eslintcache
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue