@symbo.ls/cli 2.11.370 → 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/fs.js +3 -4
- package/bin/symbols.json +1 -0
- package/package.json +2 -2
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 =
|
|
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,
|
package/bin/symbols.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
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": "
|
|
29
|
+
"gitHead": "83f0e49f68c093250229b71bed49e626c6008355"
|
|
30
30
|
}
|