Skip to content

Commit 2ab1e48

Browse files
authored
Unversion built artifacts (#135)
* unversion the build artifacts * build the app before: installing, publishing, and running the app * don't use prepare since it does not work well with npm workspaces See npm/cli#4139 (comment)
1 parent ca3ef8e commit 2ab1e48

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

packages/cli/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public/build/

packages/cli/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"lint": "eslint",
2323
"prepublishOnly": "npm run build",
2424
"serve": "node src/cli.js",
25-
"url": "node src/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet",
25+
"preserve": "npm run build",
26+
"url": "npm run serve -- https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet",
2627
"test": "vitest run --dir test",
2728
"typecheck": "tsc"
2829
},

packages/cli/public/build/app.min.js

-11
This file was deleted.

packages/cli/public/build/app.min.js.map

-1
This file was deleted.

0 commit comments

Comments
 (0)