@symbo.ls/cli 2.11.504 → 2.11.507

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 CHANGED
@@ -16,10 +16,10 @@ const {
16
16
  removeValueFromArray
17
17
  } = utils
18
18
 
19
- let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies', 'packages']
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', 'packages', 'schema']
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
@@ -12,9 +12,11 @@ try {
12
12
  console.error('Please include symbols.json to your root of respository')
13
13
  }
14
14
 
15
- export async function fs2js () {
16
- const directoryPath = './toko'
17
- const outputDirectory = './toko/dist'
15
+ export async function fs2js (
16
+ distDir = path.join(process.cwd(), 'smbls')
17
+ ) {
18
+ const directoryPath = distDir
19
+ const outputDirectory = distDir + '/dist'
18
20
  buildDirectory(directoryPath, outputDirectory)
19
21
  .then(() => {
20
22
  console.log('All files built successfully')
@@ -22,8 +24,8 @@ export async function fs2js () {
22
24
  .catch((error) => {
23
25
  console.error('Error:', error)
24
26
  })
25
- const kleo = await import(process.cwd() + '/toko/dist/index.js')
26
- console.log(JSON.stringify(kleo))
27
+ const data = await import(process.cwd() + '/toko/dist/index.js')
28
+ console.log(JSON.stringify(data))
27
29
  }
28
30
 
29
31
  async function buildDirectory (directoryPath, outputDirectory) {
@@ -1,36 +1,36 @@
1
1
  export default [
2
2
  'attrs-in-props',
3
+ '@symbo.ls/preview',
3
4
  '@symbo.ls/emotion',
4
5
  'create-smbls',
5
- '@symbo.ls/fetch',
6
+ '@symbo.ls/material-icons',
6
7
  '@symbo.ls/feather-icons',
7
- '@symbo.ls/utils',
8
8
  '@symbo.ls/default-icons',
9
+ '@symbo.ls/fetch',
10
+ '@symbo.ls/utils',
9
11
  '@symbo.ls/fluent-icons',
10
- '@symbo.ls/preview',
11
- '@symbo.ls/material-icons',
12
- '@symbo.ls/scratch',
13
12
  '@symbo.ls/default-config',
13
+ '@symbo.ls/scratch',
14
14
  '@symbo.ls/init',
15
15
  '@symbo.ls/atoms',
16
16
  '@symbo.ls/socket',
17
17
  'css-in-props',
18
18
  '@symbo.ls/icon',
19
19
  '@symbo.ls/box',
20
+ '@symbo.ls/input',
20
21
  '@symbo.ls/link',
21
- '@symbo.ls/select',
22
22
  '@symbo.ls/notification',
23
- '@symbo.ls/input',
24
23
  '@symbo.ls/tooltip',
24
+ '@symbo.ls/select',
25
25
  '@symbo.ls/cli',
26
26
  '@symbo.ls/button',
27
- '@symbo.ls/avatar',
27
+ '@symbo.ls/dropdown',
28
28
  '@symbo.ls/dialog',
29
29
  '@symbo.ls/range',
30
- '@symbo.ls/dropdown',
31
- '@symbo.ls/datepicker',
32
- '@symbo.ls/uikit',
30
+ '@symbo.ls/avatar',
33
31
  '@symbo.ls/timepicker',
32
+ '@symbo.ls/uikit',
33
+ '@symbo.ls/datepicker',
34
34
  '@symbo.ls/sync',
35
35
  '@symbo.ls/create',
36
36
  'smbls',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.11.504",
3
+ "version": "2.11.507",
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.504",
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": "faa2f47da27dd29f7c6a6637996c9bb016a2d356"
29
+ "gitHead": "b77340e59990471cc34039f77e74ad9a65f4afcb"
30
30
  }