@symbo.ls/cli 2.11.504 → 2.11.505
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 +2 -2
- package/bin/fs2.js +3 -3
- package/package.json +3 -3
package/bin/fs.js
CHANGED
|
@@ -16,10 +16,10 @@ const {
|
|
|
16
16
|
removeValueFromArray
|
|
17
17
|
} = utils
|
|
18
18
|
|
|
19
|
-
let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies'
|
|
19
|
+
let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies']
|
|
20
20
|
const directoryKeys = ['components', 'snippets', 'pages', 'functions', 'methods']
|
|
21
21
|
|
|
22
|
-
const defaultExports = ['pages', 'designSystem', 'state', 'files', 'dependencies', '
|
|
22
|
+
const defaultExports = ['pages', 'designSystem', 'state', 'files', 'dependencies', 'schema']
|
|
23
23
|
|
|
24
24
|
export async function createFs (
|
|
25
25
|
body,
|
package/bin/fs2.js
CHANGED
|
@@ -13,7 +13,7 @@ try {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export async function fs2js () {
|
|
16
|
-
const directoryPath = './toko'
|
|
16
|
+
const directoryPath = './toko' // replace from "distDir" - https://github.com/symbo-ls/smbls/blob/feature/sdkpush/packages/cli/bin/fs.js#L39
|
|
17
17
|
const outputDirectory = './toko/dist'
|
|
18
18
|
buildDirectory(directoryPath, outputDirectory)
|
|
19
19
|
.then(() => {
|
|
@@ -22,8 +22,8 @@ export async function fs2js () {
|
|
|
22
22
|
.catch((error) => {
|
|
23
23
|
console.error('Error:', error)
|
|
24
24
|
})
|
|
25
|
-
const
|
|
26
|
-
console.log(JSON.stringify(
|
|
25
|
+
const data = await import(process.cwd() + '/toko/dist/index.js')
|
|
26
|
+
console.log(JSON.stringify(data))
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
async function buildDirectory (directoryPath, outputDirectory) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.505",
|
|
4
4
|
"description": "Fetch your Symbols configuration",
|
|
5
5
|
"main": "bin/fetch.js",
|
|
6
6
|
"author": "Symbols",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@symbo.ls/fetch": "^2.11.475",
|
|
19
19
|
"@symbo.ls/init": "^2.11.504",
|
|
20
|
-
"@symbo.ls/socket": "^2.11.
|
|
20
|
+
"@symbo.ls/socket": "^2.11.505",
|
|
21
21
|
"chalk": "^5.0.0",
|
|
22
22
|
"commander": "latest",
|
|
23
23
|
"diff": "^5.2.0",
|
|
@@ -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": "a49a79420af5d5bb562f515f34c1a480006f5f8d"
|
|
30
30
|
}
|