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/
|
.astro/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
|
package/README.md
|
||||||
|
|
||||||
*~
|
*~
|
||||||
*swo
|
*swo
|
||||||
*swp
|
*swp
|
||||||
|
|
||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue