瀏覽代碼

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 查看文件

@@ -42,7 +42,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
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: mv -t _site docs dist examples README.md LICENSE index.html
- name: Setup Pages

+ 1
- 2
package.json 查看文件

@@ -17,7 +17,7 @@
"serve-docs": "ws -d docs -p 8080",
"serve": "ws -d . -p 9229",
"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": {
"remove": [
@@ -38,7 +38,6 @@
"files": [
"dist",
"src",
"docs",
"examples",
"plugins",
"tsconfig.json"

Loading…
取消
儲存