Преглед изворни кода

Remove docs from registry publish and prepare

master
Palash Bansal пре 3 година
родитељ
комит
b1f5725208
No account linked to committer's email address
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2
    1
      .github/workflows/deploy-pages.yml
  2. 1
    2
      package.json

+ 2
- 1
.github/workflows/deploy-pages.yml Прегледај датотеку

with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci
- run: npm ci # this will also run `npm run prepare` which will build
- run: npm run docs
- run: mkdir _site - run: mkdir _site
- run: mv -t _site docs dist examples README.md LICENSE index.html - run: mv -t _site docs dist examples README.md LICENSE index.html
- name: Setup Pages - name: Setup Pages

+ 1
- 2
package.json Прегледај датотеку

"serve-docs": "ws -d docs -p 8080", "serve-docs": "ws -d docs -p 8080",
"serve": "ws -d . -p 9229", "serve": "ws -d . -p 9229",
"docs": "npx typedoc && markdown-to-html", "docs": "npx typedoc && markdown-to-html",
"prepare": "npm run build && npm run build-examples && npm run docs"
"prepare": "npm run build && npm run build-examples"
}, },
"clean-package": { "clean-package": {
"remove": [ "remove": [
"files": [ "files": [
"dist", "dist",
"src", "src",
"docs",
"examples", "examples",
"plugins", "plugins",
"tsconfig.json" "tsconfig.json"

Loading…
Откажи
Сачувај