simdeck 0.1.0
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/LICENSE +13 -0
- package/README.md +240 -0
- package/bin/simdeck.mjs +50 -0
- package/build/simdeck-bin +0 -0
- package/client/dist/assets/index-BL9Mcd6u.js +9 -0
- package/client/dist/assets/index-Cu4TL413.css +1 -0
- package/client/dist/assets/simulatorStream.worker-CH72C_tF.js +22 -0
- package/client/dist/index.html +28 -0
- package/package.json +82 -0
- package/packages/simdeck-test/dist/index.d.ts +75 -0
- package/packages/simdeck-test/dist/index.js +376 -0
- package/scripts/experimental/swiftui-preview.mjs +1438 -0
- package/scripts/postinstall.mjs +42 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const isGlobalInstall =
|
|
4
|
+
process.env.npm_config_global === "true" ||
|
|
5
|
+
process.env.npm_config_location === "global" ||
|
|
6
|
+
process.env.npm_config_global_style === "true";
|
|
7
|
+
|
|
8
|
+
const isCi =
|
|
9
|
+
process.env.CI === "true" ||
|
|
10
|
+
process.env.npm_config_loglevel === "silent" ||
|
|
11
|
+
process.env.npm_config_loglevel === "error";
|
|
12
|
+
|
|
13
|
+
if (!isGlobalInstall || isCi) {
|
|
14
|
+
process.exit(0);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const message = `
|
|
18
|
+
SimDeck is installed.
|
|
19
|
+
|
|
20
|
+
Open the simulator UI:
|
|
21
|
+
simdeck
|
|
22
|
+
|
|
23
|
+
Open a specific simulator:
|
|
24
|
+
simdeck "iPhone 17 Pro"
|
|
25
|
+
|
|
26
|
+
Detached daemon shortcuts:
|
|
27
|
+
simdeck -d
|
|
28
|
+
simdeck -k
|
|
29
|
+
simdeck -r
|
|
30
|
+
|
|
31
|
+
Install the Codex skill:
|
|
32
|
+
npx skills add NativeScript/SimDeck --skill simdeck -a codex -g
|
|
33
|
+
|
|
34
|
+
Recommended VS Code extension:
|
|
35
|
+
nativescript.simdeck
|
|
36
|
+
|
|
37
|
+
Recommended for always-on agent/editor access:
|
|
38
|
+
simdeck service on
|
|
39
|
+
simdeck service off
|
|
40
|
+
`;
|
|
41
|
+
|
|
42
|
+
console.log(message.trimEnd());
|