pokit 0.0.11 → 0.0.12
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/package.json +1 -1
- package/src/init.ts +2 -2
- package/src/protocol.ts +1 -1
package/package.json
CHANGED
package/src/init.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as path from 'path';
|
|
|
11
11
|
const CONFIG_FILENAME = 'pok.config.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* Fallback template used when @pokit/
|
|
14
|
+
* Fallback template used when @pokit/core isn't installed yet.
|
|
15
15
|
* This enables bootstrapping new projects.
|
|
16
16
|
*/
|
|
17
17
|
const FALLBACK_CONFIG_TEMPLATE = `import { defineConfig } from '@pokit/core'
|
|
@@ -51,7 +51,7 @@ export async function runInit(): Promise<void> {
|
|
|
51
51
|
process.exit(1);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
// Get the config template (from @pokit/
|
|
54
|
+
// Get the config template (from @pokit/core or fallback)
|
|
55
55
|
const template = await getConfigTemplate(cwd);
|
|
56
56
|
|
|
57
57
|
// Write the config file
|
package/src/protocol.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface LauncherSkeleton {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* The shape of the module exported by @pokit/
|
|
32
|
+
* The shape of the module exported by @pokit/core
|
|
33
33
|
*/
|
|
34
34
|
export interface ConfigModule {
|
|
35
35
|
validateConfig(config: unknown, configPath: string): LauncherSkeleton;
|