chore: copy packages/cli/README.md instead of linking for NPM to track the file (#1178)

This commit is contained in:
Andrew Tatomyr
2023-07-19 14:48:01 +03:00
committed by GitHub
parent 0de4e7c9bb
commit 4a4035744f
4 changed files with 2 additions and 5 deletions

View File

@@ -3,9 +3,6 @@ name: Smoke tests
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
env:
CI: true

1
.gitignore vendored
View File

@@ -12,3 +12,4 @@ output/
*.tsbuildinfo
*.tgz
redoc-static.html
packages/cli/README.md

View File

@@ -1 +0,0 @@
../../README.md

View File

@@ -13,7 +13,7 @@
"engineStrict": true,
"scripts": {
"compile": "tsc",
"copy-assets": "cp src/commands/preview-docs/preview-server/default.hbs lib/commands/preview-docs/preview-server/default.hbs && cp src/commands/preview-docs/preview-server/hot.js lib/commands/preview-docs/preview-server/hot.js && cp src/commands/preview-docs/preview-server/oauth2-redirect.html lib/commands/preview-docs/preview-server/oauth2-redirect.html && cp src/commands/build-docs/template.hbs lib/commands/build-docs/template.hbs",
"copy-assets": "cp src/commands/preview-docs/preview-server/default.hbs lib/commands/preview-docs/preview-server/default.hbs && cp src/commands/preview-docs/preview-server/hot.js lib/commands/preview-docs/preview-server/hot.js && cp src/commands/preview-docs/preview-server/oauth2-redirect.html lib/commands/preview-docs/preview-server/oauth2-redirect.html && cp src/commands/build-docs/template.hbs lib/commands/build-docs/template.hbs && cp ../../README.md .",
"prepack": "npm run copy-assets",
"prepublishOnly": "npm run copy-assets"
},