Skip to content

Commit 20e5c5d

Browse files
committed
try fix windows build
1 parent ba5287c commit 20e5c5d

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,21 +158,21 @@ jobs:
158158
pip install --no-cache-dir --upgrade -e .[ci,dev] --progress-bar off
159159
- run:
160160
command: |
161-
nvm install 18 && nvm use 18
161+
nvm install lts/iron && nvm use lts/iron
162162
- run:
163163
name: npm prereqs
164164
command: |
165-
nvm use 18
165+
nvm use lts/iron
166166
npm ci
167167
cd dash/dash-renderer && npm i && cd ../../
168168
cd components/dash-html-components && npm i && npm run extract && cd ../../
169169
- run:
170170
name: ️️🏗️ build dash
171171
command: |
172-
nvm use 18
172+
nvm use lts/iron
173173
. venv/Scripts/activate
174174
npm run private::build.jupyterlab && npm run private::build.renderer
175-
cd components/dash-html-components && npm run build
175+
cd components/dash-html-components && npm run build:windows
176176
no_output_timeout: 30m
177177

178178
test-312: &test

components/dash-html-components/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
"lint": "eslint src scripts",
2020
"build:js": "webpack --mode production",
2121
"build:backends": "dash-generate-components ./src/components dash_html_components -p package-info.json && cp dash_html_components_base/** dash_html_components && dash-generate-components ./src/components dash_html_components -p package-info.json --r-prefix 'html' --r-suggests 'dash,dashCoreComponents' --jl-prefix 'html' && black dash_html_components",
22+
"build:py": "dash-generate-components ./src/components dash_html_components -p package-info.json && cp dash_html_components_base/** dash_html_components && dash-generate-components ./src/components dash_html_components -p package-info.json && black dash_html_components",
2223
"build": "npm run build:js && npm run build:backends",
2324
"postbuild": "es-check es5 dash_html_components/*.js",
2425
"build:watch": "watch 'npm run build' src",
26+
"build:windows": "run-p build:js build:py",
2527
"test:py": "pytest --nopercyfinalize --headless tests/test_dash_html_components.py tests/test_integration.py",
2628
"test": "run-s -c test:py lint"
2729
},

0 commit comments

Comments
 (0)