simplecloud 0.0.1-beta.2 → 0.0.1-beta.4
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.
- package/dist/cli.js +210 -209
- package/dist/index.js +219 -219
- package/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simplecloud",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.4",
|
|
4
4
|
"description": "simplecloud.app cli",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
28
|
"dev": "bun run build && bun scripts/build-dev.ts",
|
|
29
|
-
"build": "rm -rf dist && bun build src/index.ts --outdir dist --format esm --minify --target node && bun build src/cli.ts --outdir dist --format esm --minify --target node",
|
|
29
|
+
"build": "rm -rf dist && bun build src/index.ts --outdir dist --format esm --minify --target node && bun build src/cli.ts --outdir dist --format esm --minify --target node && echo '#!/usr/bin/env node' | cat - dist/cli.js > dist/cli.tmp && mv dist/cli.tmp dist/cli.js",
|
|
30
30
|
"prepublishOnly": "bun run build",
|
|
31
31
|
"test:cli": "bun run build && node dist/cli.js --help",
|
|
32
32
|
"local:setup": "bun run build && echo 'alias scl=\"node $(pwd)/dist/cli.js\"' >> ~/.zshrc && echo 'Local alias added! Run: source ~/.zshrc'",
|