@juppytt/fws 0.1.1 → 0.1.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/.claude/settings.local.json +6 -1
- package/bin/fws-cli.js +12 -0
- package/package.json +2 -2
- package/bin/fws-cli +0 -4
|
@@ -66,7 +66,12 @@
|
|
|
66
66
|
"Bash(npm view:*)",
|
|
67
67
|
"Bash(mock-gws --help)",
|
|
68
68
|
"Bash(mock-gws gmail:*)",
|
|
69
|
-
"Bash(npm publish:*)"
|
|
69
|
+
"Bash(npm publish:*)",
|
|
70
|
+
"Bash(npm pkg:*)",
|
|
71
|
+
"Bash(sed:*)",
|
|
72
|
+
"Bash(gh issue:*)",
|
|
73
|
+
"Bash(gh pr:*)",
|
|
74
|
+
"Bash(npm version:*)"
|
|
70
75
|
]
|
|
71
76
|
}
|
|
72
77
|
}
|
package/bin/fws-cli.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { execFileSync } from "node:child_process";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
import path from "node:path";
|
|
5
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
6
|
+
const tsx = path.join(__dirname, "..", "node_modules", ".bin", "tsx");
|
|
7
|
+
const script = path.join(__dirname, "fws.ts");
|
|
8
|
+
try {
|
|
9
|
+
execFileSync(tsx, [script, ...process.argv.slice(2)], { stdio: "inherit" });
|
|
10
|
+
} catch (e) {
|
|
11
|
+
process.exit(e.status || 1);
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juppytt/fws",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Fake Google Workspace — local mock server for gws CLI testing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"fws": "
|
|
7
|
+
"fws": "bin/fws-cli.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "tsx bin/fws.ts server start",
|
package/bin/fws-cli
DELETED