Skip to content

Commit 27e0ad0

Browse files
committed
Manually copy LICENSE as template LICENSE prevents automatic inclusion by pnpm publish
1 parent 0029de5 commit 27e0ad0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dist-ssr
1414
coverage
1515
*.local
1616
packages/docs/.vitepress/cache
17+
packages/create-vue-lib/LICENSE
1718
packages/create-vue-lib/README.md
1819

1920
# Editor directories and files

packages/create-vue-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"typescript": "^5.7.3"
3838
},
3939
"scripts": {
40-
"clean": "rimraf dist README.md",
40+
"clean": "rimraf dist LICENSE README.md",
4141
"type-check": "tsc",
42-
"build:copy": "copyfiles -f ../../README.md .",
42+
"build:copy": "copyfiles -f ../../LICENSE ../../README.md .",
4343
"build:templates": "copyfiles -u 1 -a \"src/template/**\" dist",
4444
"build:ts": "tsup src/index.ts --format cjs --target node18",
4545
"build": "run-s clean build:copy build:templates build:ts",

0 commit comments

Comments
 (0)