@symbo.ls/cli 2.11.328 → 2.11.329

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/convert.js CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  // import chalk from 'chalk'
4
4
  import { program } from './program.js'
5
- import convert, { convertDomqlModule } from '@symbo.ls/convert'
5
+ // import convert, { convertDomqlModule } from '@symbo.ls/convert'
6
6
 
7
7
  const TMP_DIR_NAME = '.smbls_convert_tmp'
8
8
 
9
9
  export function convertFromCli (data, opts) {
10
- const { framework, verbose, verboseCode } = opts
11
- const convertedStrings = convertDomqlModule(data, null, framework)
12
- if (verboseCode) console.log(convertedStrings)
13
- return verbose
10
+ // const { framework, verbose, verboseCode } = opts
11
+ // // const convertedStrings = convertDomqlModule(data, null, framework)
12
+ // if (verboseCode) console.log(convertedStrings)
13
+ // return verbose
14
14
  }
15
15
 
16
16
  program
@@ -36,4 +36,4 @@ program
36
36
  .option('--internal-uikit',
37
37
  '(For internal use only). ' +
38
38
  'Excludes particular components from the conversion')
39
- .action(convert)
39
+ .action(convertFromCli)
package/bin/create.js CHANGED
@@ -35,6 +35,7 @@ program
35
35
  .option('--vue2', 'Use Vue2 in the project')
36
36
  .option('--vue3', 'Use Vue3 in the project')
37
37
  .option('--yarn', 'Install via yarn', true)
38
+ .option('--clean-from-git', 'remove starter-kit git repository', true)
38
39
  .action(async (dest = 'symbols-starter-kit', options) => {
39
40
  // Determine framework
40
41
  let framework = 'domql'
@@ -69,4 +70,11 @@ program
69
70
  console.log()
70
71
  console.log(chalk.green.bold(dest), 'successfuly created!')
71
72
  console.log(`Done! run \`${chalk.bold('npm start')}\` to start the development server.`)
73
+
74
+ if (options.cleanFromGit) {
75
+ fs.rmSync('.git', {
76
+ recursive: true,
77
+ force: true
78
+ })
79
+ }
72
80
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.11.328",
3
+ "version": "2.11.329",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -26,8 +26,5 @@
26
26
  "node-fetch": "^3.1.0",
27
27
  "v8-compile-cache": "^2.3.0"
28
28
  },
29
- "peerDependencies": {
30
- "@symbo.ls/convert": "latest"
31
- },
32
- "gitHead": "2fe729a3a00c5badf8ef0b56d67af1aa041f56d9"
29
+ "gitHead": "32cca3d81ac46ff4256421fdaca75de64aeb52ef"
33
30
  }