phibelle-kit 1.0.2 → 1.0.3
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/index.js +1 -1
- package/dist/package/npm-package.js +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import { cloneSceneCommand } from "./commands/clone-scene.js";
|
|
|
5
5
|
import { waitForToken } from "./lib/wait-for-token.js";
|
|
6
6
|
const USAGE = " Usage: phibelle-kit clone <sceneId> | phibelle-kit watch <sceneId>";
|
|
7
7
|
async function main() {
|
|
8
|
-
await waitForToken();
|
|
9
8
|
const command = process.argv[2];
|
|
10
9
|
const sceneId = process.argv[3];
|
|
11
10
|
if (!command || !sceneId) {
|
|
@@ -13,6 +12,7 @@ async function main() {
|
|
|
13
12
|
console.log(chalk.gray(USAGE));
|
|
14
13
|
process.exit(1);
|
|
15
14
|
}
|
|
15
|
+
await waitForToken();
|
|
16
16
|
if (command === "clone") {
|
|
17
17
|
await cloneSceneCommand(sceneId);
|
|
18
18
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phibelle-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "CLI tool for interacting with the Phibelle engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|
|
11
11
|
"dev": "tsc && NODE_ENV=development node dist/index.js",
|
|
12
|
-
"start": "node dist/index.js"
|
|
12
|
+
"start": "node dist/index.js",
|
|
13
|
+
"npm-publish": "pnpm build && npm publish"
|
|
13
14
|
},
|
|
14
15
|
"engines": {
|
|
15
16
|
"node": ">=20"
|