File tree Expand file tree Collapse file tree 4 files changed +17
-6
lines changed
Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 23231 . Drop the legacy ` components.downloader ` module because it has been replaced by ` components.PlainDownloader ` now.
24242 . Update the ` examples/download_file ` to match the usage of the new ` Downloader ` component.
25253 . Update the ` .flake8 ` configurations.
26+ 4 . Update the ` docker ` configurations.
2627
2728### 0.1.2 @ 10/13/2024
2829
Original file line number Diff line number Diff line change @@ -133,11 +133,14 @@ jspm_packages/
133133
134134# Created by builder
135135# /dash_file_cache/_imports_.py
136- /dash_file_cache/*.js
137- /dash_file_cache/*.js.map
138- /dash_file_cache/*.LICENSE.txt
139- /dash_file_cache/metadata.json
140- /dash_file_cache/package-info.json
136+ /dash_file_cache/components/*.py
137+ /dash_file_cache/components/*.js
138+ /dash_file_cache/components/*.LICENSE.txt
139+ /dash_file_cache/components/*.js.map
140+ /dash_file_cache/components/metadata.json
141+ /dash_file_cache/components/package-info.json
142+ !/dash_file_cache/components/__init__.py
143+ !/dash_file_cache/components/__main__.py
141144/deps
142145/inst
143146/man
Original file line number Diff line number Diff line change 4747 case " $KEY " in
4848 --bash) BASH=true ;;
4949 --python) RUN_PYTHON=true ;;
50- --react) RUN_REACT=true ;;
5150 --demo) RUN_DEMO=true ;;
5251 --with-dash) WITH_DASH=true ;;
5352 demo) DEMO_NAME=" ${VALUE} " ;;
7978 fi
8079fi
8180
81+ # Compile the module if it has not been compiled yet.
82+ # This step ensures dash-json-grid to be available when entering the following modes.
83+ if [ ! -s " dash_file_cache/components/Downloader.py" ]; then
84+ msg " Compile the dash component from the React codes."
85+ yarn install || fail
86+ yarn build || fail
87+ fi
8288
8389if $RUN_PYTHON
8490then
Original file line number Diff line number Diff line change 9999
100100# Install Node.js and Yarn.
101101mcd /app || fail
102+ wget -O- https://gist.githubusercontent.com/cainmagi/f028e8ac4b06c3deefaf8ec38d5a7d8f/raw/install-nodejs.sh | bash -s -- --all || fail
102103${PYTHON} -m pip install --compile --no-cache-dir pip wheel setuptools --upgrade || fail
103104${PYTHON} -m pip install --compile --no-cache-dir -r ./requirements-docker.txt || fail
104105
You can’t perform that action at this time.
0 commit comments