@devkong/cli 0.0.67-alpha.20 → 0.0.67-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
- @echo off
2
-
3
- set EXTENSION_DIR=%1
4
- echo %EXTENSION_DIR%
5
-
6
- where python >nul 2>&1
7
- if %errorlevel% equ 0 (
8
- set PYTHON_CMD=python
9
- ) else (
10
- set PYTHON_CMD=python3
11
- )
12
-
13
- cd %EXTENSION_DIR%
14
-
15
- REM Recreate the venv from scratch so a stale interpreter path (e.g. left over
16
- REM after a Python upgrade or a moved/copied project) can't leave pip pointing
17
- REM at a missing binary.
18
- %PYTHON_CMD% -m venv --clear .venv
19
- if errorlevel 1 exit /b 1
20
-
21
- call .venv\Scripts\activate.bat
22
-
23
- REM Invoke pip via `python -m pip` rather than the pip/pip3 wrapper so we don't
24
- REM depend on the wrapper script's (possibly stale) shebang.
25
- python -m pip freeze > requirements-lock.txt
26
- python -m pip install --default-timeout=120 -r requirements.txt -r requirements-dev.txt
27
- if errorlevel 1 exit /b 1
28
- python -m pip freeze > requirements-lock.txt
1
+ @echo off
2
+
3
+ set EXTENSION_DIR=%1
4
+ echo %EXTENSION_DIR%
5
+
6
+ where python >nul 2>&1
7
+ if %errorlevel% equ 0 (
8
+ set PYTHON_CMD=python
9
+ ) else (
10
+ set PYTHON_CMD=python3
11
+ )
12
+
13
+ cd %EXTENSION_DIR%
14
+
15
+ REM Recreate the venv from scratch so a stale interpreter path (e.g. left over
16
+ REM after a Python upgrade or a moved/copied project) can't leave pip pointing
17
+ REM at a missing binary.
18
+ %PYTHON_CMD% -m venv --clear .venv
19
+ if errorlevel 1 exit /b 1
20
+
21
+ call .venv\Scripts\activate.bat
22
+
23
+ REM Invoke pip via `python -m pip` rather than the pip/pip3 wrapper so we don't
24
+ REM depend on the wrapper script's (possibly stale) shebang.
25
+ python -m pip freeze > requirements-lock.txt
26
+ python -m pip install --default-timeout=120 -r requirements.txt -r requirements-dev.txt
27
+ if errorlevel 1 exit /b 1
28
+ python -m pip freeze > requirements-lock.txt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devkong/cli",
3
- "version": "0.0.67-alpha.20",
3
+ "version": "0.0.67-alpha.21",
4
4
  "type": "commonjs",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",