@nextsparkjs/cli 0.1.0-beta.100 → 0.1.0-beta.102

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.d.ts DELETED
@@ -1,46 +0,0 @@
1
- interface DevOptions {
2
- port: string;
3
- registry: boolean;
4
- }
5
- declare function devCommand(options: DevOptions): Promise<void>;
6
-
7
- interface BuildOptions {
8
- registry: boolean;
9
- }
10
- declare function buildCommand(options: BuildOptions): Promise<void>;
11
-
12
- interface GenerateOptions {
13
- watch?: boolean;
14
- }
15
- declare function generateCommand(options: GenerateOptions): Promise<void>;
16
-
17
- /**
18
- * Build all registries (one-time generation)
19
- */
20
- declare function registryBuildCommand(): Promise<void>;
21
- /**
22
- * Watch registries for changes and rebuild automatically
23
- */
24
- declare function registryWatchCommand(): Promise<void>;
25
-
26
- /**
27
- * Detects the core package location
28
- * Priority:
29
- * 1. node_modules/@nextsparkjs/core (npm mode)
30
- * 2. ../../packages/core relative to cli (monorepo mode)
31
- */
32
- declare function getCoreDir(): string;
33
- /**
34
- * Gets the path to a core script
35
- */
36
- declare function getCoreScriptPath(scriptName: string): string;
37
- /**
38
- * Gets the current working directory (where the CLI is being run from)
39
- */
40
- declare function getProjectRoot(): string;
41
- /**
42
- * Checks if we are running in monorepo mode
43
- */
44
- declare function isMonorepoMode(): boolean;
45
-
46
- export { buildCommand, devCommand, generateCommand, getCoreDir, getCoreScriptPath, getProjectRoot, isMonorepoMode, registryBuildCommand, registryWatchCommand };
package/dist/index.js DELETED
@@ -1,24 +0,0 @@
1
- import {
2
- buildCommand,
3
- devCommand,
4
- generateCommand,
5
- getCoreDir,
6
- getCoreScriptPath,
7
- getProjectRoot,
8
- isMonorepoMode,
9
- registryBuildCommand,
10
- registryWatchCommand
11
- } from "./chunk-QXD4PBX6.js";
12
- import "./chunk-DGUM43GV.js";
13
- export {
14
- buildCommand,
15
- devCommand,
16
- generateCommand,
17
- getCoreDir,
18
- getCoreScriptPath,
19
- getProjectRoot,
20
- isMonorepoMode,
21
- registryBuildCommand,
22
- registryWatchCommand
23
- };
24
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}