pokit 0.0.8 → 0.0.10

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.
Files changed (2) hide show
  1. package/bin/pok.ts +14 -10
  2. package/package.json +1 -1
package/bin/pok.ts CHANGED
@@ -81,11 +81,13 @@ Run \`pok init\` to create a pok.config.ts file.
81
81
  commandsDir: string;
82
82
  appName?: string;
83
83
  reporter: unknown;
84
- prompter: unknown;
85
- tabs?: unknown;
86
- version?: string;
87
- };
88
- };
84
+ prompter: unknown;
85
+ tabs?: unknown;
86
+ version?: string;
87
+ npmScripts?: boolean | string[];
88
+ };
89
+ };
90
+
89
91
 
90
92
  try {
91
93
  const configModulePath = await resolve('@pokit/config', configDir);
@@ -145,11 +147,13 @@ Run \`pok init\` to create a pok.config.ts file.
145
147
  projectRoot: cwd, // core uses projectRoot, config uses cwd
146
148
  appName: config.appName,
147
149
  version: config.version,
148
- reporterAdapter: config.reporter,
149
- prompter: config.prompter,
150
- tabs: config.tabs,
151
- });
152
- }
150
+ reporterAdapter: config.reporter,
151
+ prompter: config.prompter,
152
+ tabs: config.tabs,
153
+ npmScripts: config.npmScripts,
154
+ });
155
+ }
156
+
153
157
 
154
158
  main().catch((err) => {
155
159
  console.error(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokit",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Global CLI launcher for pok - install once, run anywhere",
5
5
  "type": "module",
6
6
  "license": "MIT",