@symbo.ls/cli 2.11.369 → 2.11.371

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
@@ -44,8 +44,6 @@ export const fetchFromCli = async (opts) => {
44
44
 
45
45
  console.log('\nFetching from:', chalk.bold(endpoint), '\n')
46
46
 
47
- console.log('metadata')
48
- console.log(metadata, metadataOpt)
49
47
  const body = await fetchRemote(key, {
50
48
  endpoint,
51
49
  metadata: metadata || metadataOpt,
package/bin/fs.js CHANGED
@@ -12,12 +12,11 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))
12
12
  const { removeChars, toCamelCase } = smblsUtils.default
13
13
  const { deepDestringify, objectToString, joinArrays, isString, removeValueFromArray } = utils
14
14
 
15
- const LOCAL_CONFIG_PATH = path.resolve(__dirname, '/node_modules/@symbo.ls/init/dynamic.json')
16
- const LOCAL_CONFIG_PATH2 = process.cwd() + '/symbols.json'
15
+ const LOCAL_CONFIG_PATH = __dirname + '/symbols.json'
17
16
 
18
- let singleFileKeys = ['designSystem', 'state']
17
+ let singleFileKeys = ['designSystem', 'state', 'files']
19
18
  const keys = ['components', 'snippets', 'pages']
20
- const defaultExports = ['pages', 'designSystem', 'state', 'schema']
19
+ const defaultExports = ['pages', 'designSystem', 'state', 'files', 'schema']
21
20
 
22
21
  export async function createFs (
23
22
  body,
@@ -185,8 +184,6 @@ export async function createFs (
185
184
  // fs.writeFileSync(destPath, genStr)
186
185
  // }
187
186
 
188
- console.log(LOCAL_CONFIG_PATH)
189
- console.log(LOCAL_CONFIG_PATH2)
190
187
  await fs.writeFileSync(LOCAL_CONFIG_PATH, '{}')
191
188
  }
192
189
 
@@ -0,0 +1 @@
1
+ {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.11.369",
3
+ "version": "2.11.371",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -26,5 +26,5 @@
26
26
  "node-fetch": "^3.1.0",
27
27
  "v8-compile-cache": "^2.3.0"
28
28
  },
29
- "gitHead": "556bcf2a422abe3d198bc8499255aaf5f0db7e45"
29
+ "gitHead": "83f0e49f68c093250229b71bed49e626c6008355"
30
30
  }