@symbo.ls/cli 2.11.330 → 2.11.344
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 +5 -0
- package/package.json +2 -2
package/bin/fs.js
CHANGED
|
@@ -7,6 +7,9 @@ import { createPatch } from 'diff'
|
|
|
7
7
|
|
|
8
8
|
const { deepDestringify, objectToString, joinArrays, isString } = utils
|
|
9
9
|
|
|
10
|
+
const LOCAL_CONFIG_PATH =
|
|
11
|
+
process.cwd() + '/node_modules/@symbo.ls/init/dynamic.json'
|
|
12
|
+
|
|
10
13
|
const keys = ['components', 'snippets', 'pages']
|
|
11
14
|
const singleFileKeys = ['designSystem', 'state']
|
|
12
15
|
const defaultExports = ['pages', 'designSystem', 'state']
|
|
@@ -148,6 +151,8 @@ export async function createFs (
|
|
|
148
151
|
|
|
149
152
|
await fs.promises.writeFile(filePath, stringifiedContent, 'utf8')
|
|
150
153
|
}
|
|
154
|
+
|
|
155
|
+
await fs.writeFileSync(LOCAL_CONFIG_PATH, '{}')
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
async function findDiff (targetDir, distDir) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.344",
|
|
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": "880b81015450db5e437d60336ca149dc0bd68fc4"
|
|
30
30
|
}
|