@symbo.ls/cli 2.11.282 → 2.11.287

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/fetch.js CHANGED
@@ -47,6 +47,7 @@ export const fetchFromCli = async (opts) => {
47
47
  else console.log(debugMsg)
48
48
  }
49
49
  })
50
+
50
51
  if (!body) return
51
52
 
52
53
  const { version, ...config } = body
@@ -84,21 +85,27 @@ export const fetchFromCli = async (opts) => {
84
85
  delete body.designsystem
85
86
  }
86
87
 
87
- const bodyString = JSON.stringify(body, null, prettify ?? 2)
88
+ const monetized = false
89
+ if (!monetized) {
90
+ const bodyString = JSON.stringify(body, null, prettify ?? 2)
88
91
 
89
- try {
90
- await fs.writeFileSync(LOCAL_CONFIG_PATH, bodyString)
92
+ try {
93
+ await fs.writeFileSync(LOCAL_CONFIG_PATH, bodyString)
91
94
 
92
- if (verbose) {
93
- console.log(chalk.dim('\ndynamic.json has been updated:'))
94
- console.log(chalk.dim.underline(LOCAL_CONFIG_PATH))
95
- }
95
+ if (verbose) {
96
+ console.log(chalk.dim('\ndynamic.json has been updated:'))
97
+ console.log(chalk.dim.underline(LOCAL_CONFIG_PATH))
98
+ }
96
99
 
97
- console.log(chalk.bold.green('\nSuccessfully wrote file'))
98
- } catch (e) {
99
- console.log(chalk.bold.red('\nError writing file'))
100
- if (verbose) console.error(e)
101
- else console.log(debugMsg)
100
+ console.log(chalk.bold.green('\nSuccessfully wrote file'))
101
+ } catch (e) {
102
+ console.log(chalk.bold.red('\nError writing file'))
103
+ if (verbose) console.error(e)
104
+ else console.log(debugMsg)
105
+ }
106
+ } else {
107
+ // tokos magic here
108
+ console.log(body)
102
109
  }
103
110
 
104
111
  console.log(convertOpt)
@@ -3,60 +3,60 @@ export default [
3
3
  '@symbo.ls/cli',
4
4
  '@symbo.ls/convert',
5
5
  '@symbo.ls/create',
6
+ '@symbo.ls/default-config',
6
7
  'css-in-props',
7
8
  '@symbo.ls/emotion',
8
- '@symbo.ls/default-config',
9
9
  '@symbo.ls/fetch',
10
- '@symbo.ls/preview',
11
10
  '@symbo.ls/init',
12
- 'smbls',
13
11
  '@symbo.ls/scratch',
12
+ '@symbo.ls/preview',
13
+ 'smbls',
14
14
  '@symbo.ls/socket-ui',
15
15
  '@symbo.ls/socket',
16
- '@symbo.ls/uikit',
17
16
  '@symbo.ls/utils',
17
+ '@symbo.ls/uikit',
18
18
  '@symbo.ls/default-icons',
19
19
  '@symbo.ls/feather-icons',
20
20
  '@symbo.ls/fluent-icons',
21
- '@symbo.ls/material-icons',
22
21
  '@symbo.ls/editorjs',
23
- '@symbo.ls/google-maps',
22
+ '@symbo.ls/material-icons',
24
23
  '@symbo.ls/helmet',
24
+ '@symbo.ls/google-maps',
25
25
  '@symbo.ls/markdown',
26
26
  '@symbo.ls/atoms',
27
- '@symbo.ls/avatar',
28
27
  '@symbo.ls/banner',
29
28
  '@symbo.ls/box',
29
+ '@symbo.ls/avatar',
30
30
  '@symbo.ls/card',
31
- '@symbo.ls/datepicker',
32
31
  '@symbo.ls/button',
32
+ '@symbo.ls/datepicker',
33
33
  '@symbo.ls/dialog',
34
- '@symbo.ls/doublehr',
35
34
  '@symbo.ls/dropdown',
35
+ '@symbo.ls/doublehr',
36
36
  '@symbo.ls/field',
37
37
  '@symbo.ls/hgroup',
38
38
  '@symbo.ls/form',
39
39
  '@symbo.ls/icon',
40
+ '@symbo.ls/input',
40
41
  '@symbo.ls/indicator',
41
42
  '@symbo.ls/label',
42
- '@symbo.ls/input',
43
43
  '@symbo.ls/link',
44
- '@symbo.ls/list',
45
44
  '@symbo.ls/modal',
45
+ '@symbo.ls/list',
46
46
  '@symbo.ls/notification',
47
- '@symbo.ls/paragraphbutton',
48
47
  '@symbo.ls/pills',
49
- '@symbo.ls/progress',
48
+ '@symbo.ls/paragraphbutton',
50
49
  '@symbo.ls/range',
51
- '@symbo.ls/select',
50
+ '@symbo.ls/progress',
52
51
  '@symbo.ls/sidebar',
52
+ '@symbo.ls/select',
53
53
  '@symbo.ls/slider',
54
54
  '@symbo.ls/sociallink',
55
- '@symbo.ls/tab',
56
55
  '@symbo.ls/steps',
56
+ '@symbo.ls/tab',
57
+ '@symbo.ls/threejs',
57
58
  '@symbo.ls/table',
58
59
  '@symbo.ls/timepicker',
59
- '@symbo.ls/threejs',
60
60
  '@symbo.ls/tooltip',
61
61
  '@symbo.ls/unitvalue',
62
62
  '@symbo.ls/upload',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.11.282",
3
+ "version": "2.11.287",
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
  "@symbo.ls/convert": "latest"
29
29
  },
30
- "gitHead": "637c2a90980fee2cca5e2c768750fe25441e31d6"
30
+ "gitHead": "1934845b94ac60bae55b132d6ed0cd9b9320b914"
31
31
  }