@rokkit/cli 1.0.3 → 1.0.5
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/doctor.js +1 -6
- package/src/init.js +5 -9
package/package.json
CHANGED
package/src/doctor.js
CHANGED
package/src/init.js
CHANGED
|
@@ -264,15 +264,10 @@ const PROMPTS_CONFIG = [
|
|
|
264
264
|
message: 'Theme styles',
|
|
265
265
|
choices: [
|
|
266
266
|
{ title: 'Rokkit', value: 'rokkit', selected: true },
|
|
267
|
-
{ title: 'Minimal', value: 'minimal' },
|
|
268
|
-
{ title: 'Material', value: 'material' },
|
|
269
|
-
{ title: '
|
|
270
|
-
{ title: '
|
|
271
|
-
{ value: 'shadcn', title: 'shadcn', hint: 'flat borders + ring focus' },
|
|
272
|
-
{ value: 'daisy-ui', title: 'daisy-ui', hint: 'rounded-full + bold fills' },
|
|
273
|
-
{ value: 'bits-ui', title: 'bits-ui', hint: 'rounded-lg + polished' },
|
|
274
|
-
{ value: 'carbon', title: 'carbon', hint: 'square edges + enterprise' },
|
|
275
|
-
{ value: 'ant-design', title: 'ant-design', hint: 'thin borders + dense' }
|
|
267
|
+
{ title: 'Minimal', value: 'minimal', hint: 'clean + subtle' },
|
|
268
|
+
{ title: 'Material', value: 'material', hint: 'elevation + shadows' },
|
|
269
|
+
{ title: 'Frosted', value: 'frosted', hint: 'frosted glass + blur' },
|
|
270
|
+
{ title: 'Zen-Sumi', value: 'zen-sumi', hint: 'ink on paper' }
|
|
276
271
|
],
|
|
277
272
|
min: 1
|
|
278
273
|
},
|
|
@@ -396,6 +391,7 @@ function writeAppHtml(cwd, initScript, storageKey) {
|
|
|
396
391
|
* @param {Record<string, unknown>} [_opts]
|
|
397
392
|
* @param {{ runInstall?: (bin: string, args: string[]) => void }} [adapters] — injectable for testing
|
|
398
393
|
*/
|
|
394
|
+
// eslint-disable-next-line max-lines-per-function
|
|
399
395
|
export async function init(_opts = {}, adapters = {}) {
|
|
400
396
|
const cwd = process.cwd()
|
|
401
397
|
|