File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export function pythonVersionToJSVersion(version: string): string {
9191 . replace ( / \. d e v ( \d + ) $ / , '-dev.$1' ) ;
9292
9393 if ( ! semver . valid ( jsVersion ) ) {
94- throw new Error ( `Invalid JavaScript version: ${ version } ` ) ;
94+ throw new Error ( `Invalid JavaScript version: ${ jsVersion } (from Python version: ${ version } ) ` ) ;
9595 }
9696
9797 return jsVersion ;
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ build = "make -C docs html SPHINXOPTS='-W'"
125125serve = " cd docs/build/html && python -m http.server"
126126
127127[tool .hatch .envs .default .scripts ]
128- npm_pack = " node ./buildutils/lib/npm-pack.js"
128+ npm_pack = " jlpm run build:utils && node ./buildutils/lib/npm-pack.js"
129129js_test = " jlpm run build:test && jlpm run test"
130130
131131[tool .hatch .envs .test ]
You can’t perform that action at this time.
0 commit comments