@symbo.ls/cli 2.11.56 → 2.11.59

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/create.js +4 -4
  2. package/package.json +2 -2
package/bin/create.js CHANGED
@@ -16,16 +16,16 @@ program
16
16
  .command('create')
17
17
  .description('Create and initialize a new project')
18
18
  .argument('dest', 'Project directory')
19
- .option('--domql', 'Use Domql in the project')
19
+ .option('--domql', 'Use DOMQL in the project')
20
20
  .option('--react', 'Use React in the project (default)', true)
21
21
  .option('--angular', 'Use Angular in the project')
22
22
  .option('--vue2', 'Use Vue2 in the project')
23
23
  .option('--vue3', 'Use Vue3 in the project')
24
24
  .action(async (dest, options) => {
25
25
  // Determine framework
26
- let framework = 'react'
27
- if (options.domql) {
28
- framework = 'domql'
26
+ let framework = 'domql'
27
+ if (options.react) {
28
+ framework = 'react'
29
29
  } else if (options.angular) {
30
30
  framework = 'angular'
31
31
  } else if (options.vue2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.11.56",
3
+ "version": "2.11.59",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "domql-to-mitosis": "latest"
29
29
  },
30
- "gitHead": "f69acac1d0a3b53b8c6d7caac06964b830174cec"
30
+ "gitHead": "285850864e56374f450c1f18e497b3886aa70e03"
31
31
  }