File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 commands :
1010 - ' echo "output directory: ${READTHEDOCS_OUTPUT}html"'
1111 # shared-web build
12- - npm install
12+ - npm install --ignore-scripts
1313 - npm run build
1414 - npm pack
1515 - mkdir -p ${READTHEDOCS_OUTPUT}html/dist
@@ -18,13 +18,13 @@ build:
1818 - npm run generate-docs
1919 # jekyll example build
2020 - ' echo "baseurl: projects/shared-web/$READTHEDOCS_VERSION"/jekyll >> ./examples/jekyll/_config.yml'
21- - cd examples/jekyll && npm install
21+ - cd examples/jekyll && npm install # we need to include scripts for postinstall actions
2222 - cd examples/jekyll && npm run build
2323 # doxygen example build
24- - cd examples/doxygen && npm install
24+ - cd examples/doxygen && npm install --ignore-scripts
2525 - cd examples/doxygen && npm run build
2626 # sphinx example build
27- - cd examples/sphinx && npm install
27+ - cd examples/sphinx && npm install # we need to include scripts for postinstall actions
2828 - cd examples/sphinx && npm run build
2929 - cd examples/sphinx && npm run lint
3030 # debug output
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Common web assets for use in LizardByte projects.
1616
17171 . Add the dependency to your package.json file:
1818 ``` bash
19- npm install @lizardbyte/shared-web
19+ npm install @lizardbyte/shared-web --ignore-scripts
2020 ```
2121
2222### Install via GitHub Package Registry
@@ -35,5 +35,5 @@ Common web assets for use in LizardByte projects.
3535
36362 . Add the dependency to your package.json file:
3737 ``` bash
38- npm install @lizardbyte/shared-web
38+ npm install @lizardbyte/shared-web --ignore-scripts
3939 ```
You can’t perform that action at this time.
0 commit comments