@symbo.ls/cli 2.10.107 → 2.10.114
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 +2 -2
- package/bin/link-all.js +2 -2
- package/bin/socket-server.js +2 -2
- package/bin/sync.js +2 -2
- package/package.json +2 -2
package/bin/fetch.js
CHANGED
|
@@ -8,7 +8,7 @@ import { exec } from 'child_process'
|
|
|
8
8
|
import { program } from './program.js'
|
|
9
9
|
|
|
10
10
|
const PACKAGE_PATH = process.cwd() + '/package.json'
|
|
11
|
-
const RC_PATH = process.cwd() + '
|
|
11
|
+
const RC_PATH = process.cwd() + '/symbols.json'
|
|
12
12
|
const LOCAL_CONFIG_PATH = process.cwd() + '/node_modules/@symbo.ls/init/dynamic.json'
|
|
13
13
|
const DEFAULT_REMOTE_REPOSITORY = 'https://github.com/symbo-ls/default-config/'
|
|
14
14
|
const DEFAULT_REMOTE_CONFIG_PATH = 'https://raw.githubusercontent.com/symbo-ls/default-config/main/src/config.json'
|
|
@@ -73,7 +73,7 @@ program
|
|
|
73
73
|
console.log('')
|
|
74
74
|
console.log(chalk.bold('Symbols'), 'config fetched:', chalk.green(version))
|
|
75
75
|
|
|
76
|
-
console.log(chalk.dim('- .
|
|
76
|
+
console.log(chalk.dim('- symbols.json created:'), chalk.dim.underline(LOCAL_CONFIG_PATH))
|
|
77
77
|
console.log('')
|
|
78
78
|
|
|
79
79
|
const bodyString = JSON.stringify(body)
|
package/bin/link-all.js
CHANGED
|
@@ -4,11 +4,11 @@ import { sync } from '@symbo.ls/socket'
|
|
|
4
4
|
import { program } from './program.js'
|
|
5
5
|
import { loadModule } from './require.js'
|
|
6
6
|
|
|
7
|
-
const RC_PATH = process.cwd() + '
|
|
7
|
+
const RC_PATH = process.cwd() + '/symbols.json'
|
|
8
8
|
let rc = {}
|
|
9
9
|
try {
|
|
10
10
|
rc = loadModule(RC_PATH) // eslint-disable-line
|
|
11
|
-
} catch (e) { console.error('Please include .
|
|
11
|
+
} catch (e) { console.error('Please include symbols.json to your root of respository') }
|
|
12
12
|
|
|
13
13
|
program
|
|
14
14
|
.command('link-all')
|
package/bin/socket-server.js
CHANGED
|
@@ -4,11 +4,11 @@ import { sync } from '@symbo.ls/socket'
|
|
|
4
4
|
import { program } from './program.js'
|
|
5
5
|
import { loadModule } from './require.js'
|
|
6
6
|
|
|
7
|
-
const RC_PATH = process.cwd() + '
|
|
7
|
+
const RC_PATH = process.cwd() + '/symbols.json'
|
|
8
8
|
let rc = {}
|
|
9
9
|
try {
|
|
10
10
|
rc = loadModule(RC_PATH) // eslint-disable-line
|
|
11
|
-
} catch (e) { console.error('Please include .
|
|
11
|
+
} catch (e) { console.error('Please include symbols.json to your root of respository') }
|
|
12
12
|
|
|
13
13
|
program
|
|
14
14
|
.command('socket-server')
|
package/bin/sync.js
CHANGED
|
@@ -6,11 +6,11 @@ import { loadModule } from './require.js'
|
|
|
6
6
|
|
|
7
7
|
console.log(asd)
|
|
8
8
|
|
|
9
|
-
const RC_PATH = process.cwd() + '
|
|
9
|
+
const RC_PATH = process.cwd() + '/symbols.json'
|
|
10
10
|
let rc = {}
|
|
11
11
|
try {
|
|
12
12
|
rc = loadModule(RC_PATH) // eslint-disable-line
|
|
13
|
-
} catch (e) { console.error('Please include .
|
|
13
|
+
} catch (e) { console.error('Please include symbols.json to your root of respository') }
|
|
14
14
|
|
|
15
15
|
program
|
|
16
16
|
.command('sync')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.114",
|
|
4
4
|
"description": "Fetch your Symbols configuration",
|
|
5
5
|
"main": "bin/fetch.js",
|
|
6
6
|
"author": "Symbols",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"node-fetch": "^3.1.0",
|
|
24
24
|
"v8-compile-cache": "^2.3.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "12592b1165c6671cc7cdbad50a0448072b3fff3d"
|
|
27
27
|
}
|