mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
chore: copy packages/cli/README.md instead of linking for NPM to track the file (#1178)
This commit is contained in:
3
.github/workflows/smoke.yaml
vendored
3
.github/workflows/smoke.yaml
vendored
@@ -3,9 +3,6 @@ name: Smoke tests
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ output/
|
|||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
*.tgz
|
*.tgz
|
||||||
redoc-static.html
|
redoc-static.html
|
||||||
|
packages/cli/README.md
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../../README.md
|
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"engineStrict": true,
|
"engineStrict": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"compile": "tsc",
|
"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",
|
"prepack": "npm run copy-assets",
|
||||||
"prepublishOnly": "npm run copy-assets"
|
"prepublishOnly": "npm run copy-assets"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user