File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ import {
32
32
const COMMANDS = [ 'init' , 'add' ] ;
33
33
const listOfCommands = COMMANDS . join ( ', ' ) ;
34
34
const styledPackage = '@qwik-ui/styled' ;
35
+ const headlessPackage = '@qwik-ui/headless' ;
36
+ const utilsPackage = '@qwik-ui/utils' ;
35
37
36
38
main ( ) ;
37
39
@@ -132,7 +134,7 @@ async function handleInit() {
132
134
if ( ! config . projectRoot ) {
133
135
config . projectRoot = cancelable (
134
136
await text ( {
135
- message : 'Specify the root of the project (leave empty for "/")' ,
137
+ message : cyan ( 'Specify the root of the project (leave empty for "/")' ) ,
136
138
initialValue : '/' ,
137
139
} ) ,
138
140
) ;
@@ -316,10 +318,15 @@ async function handleInit() {
316
318
317
319
const packageTag = args [ 'e2e' ] ? 'e2e' : 'latest' ;
318
320
319
- log . info ( `Installing ${ styledPackage } ...` ) ;
320
- execSync ( `${ getPackageManagerCommand ( ) . addDev } ${ styledPackage } @${ packageTag } ` , {
321
- stdio : 'inherit' ,
322
- } ) ;
321
+ log . info ( `Installing ${ styledPackage } , ${ headlessPackage } and ${ utilsPackage } ...` ) ;
322
+ execSync (
323
+ `${
324
+ getPackageManagerCommand ( ) . addDev
325
+ } ${ styledPackage } @${ packageTag } ${ headlessPackage } @${ packageTag } ${ utilsPackage } @${ packageTag } `,
326
+ {
327
+ stdio : 'inherit' ,
328
+ } ,
329
+ ) ;
323
330
324
331
// SETUP TAILWIND
325
332
execSync (
Original file line number Diff line number Diff line change 5
5
"publishConfig" : {
6
6
"access" : " public"
7
7
},
8
- "main" : " ./index.qwik.cjs" ,
9
- "qwik" : " ./index.qwik.mjs" ,
8
+ "main" : " ./src/index.ts" ,
10
9
"types" : " ./packages/kit-styled/src/index.d.ts" ,
11
- "module" : " ./index.qwik.mjs" ,
12
10
"generators" : " ./generators.json" ,
13
11
"type" : " module" ,
14
12
"engines" : {
32
30
"peerDependencies" : {
33
31
"@builder.io/qwik" : " ^1.1.0"
34
32
},
35
- "dependencies " : {
33
+ "devDependencies " : {
36
34
"@qwik-ui/headless" : " 0.2.1" ,
37
35
"@qwik-ui/utils" : " 0.2.0"
38
36
}
You can’t perform that action at this time.
0 commit comments