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.
- package/bin/pok.ts +14 -10
- 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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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);
|