@symbo.ls/cli 0.6.22 → 0.6.24

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/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # CLI tool for Symbols
2
+
3
+ Yarn:
4
+ ```
5
+ smbls fetch
6
+ ```
7
+
8
+ or via NPM:
9
+ ```
10
+ npx smbls fetch
11
+ ```
package/bin/fetch.js CHANGED
@@ -65,7 +65,7 @@ program
65
65
  if (err) {
66
66
  console.log('Error writing file', err)
67
67
  } else {
68
- const initPath = process.cwd() + 'node_modules/@symbo.ls/scratch-init/.symbolsrc.json'
68
+ const initPath = process.cwd() + '/node_modules/@symbo.ls/scratch-init/.symbolsrc.json'
69
69
  fs.writeFile(initPath, bodyString, err => { if (err) throw err })
70
70
  console.log('Successfully wrote file')
71
71
  }
package/bin/index.js CHANGED
@@ -3,3 +3,4 @@
3
3
  import 'v8-compile-cache'
4
4
  import './init.js'
5
5
  import './fetch.js'
6
+ import './sync.js'
package/bin/sync.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require('@symbo.ls/socket')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "0.6.22",
3
+ "version": "0.6.24",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -8,7 +8,7 @@
8
8
  "private": false,
9
9
  "type": "module",
10
10
  "bin": {
11
- "symbo-ls": "bin/index.js"
11
+ "smbls": "bin/index.js"
12
12
  },
13
13
  "scripts": {
14
14
  "start": "node bin/index.js",
@@ -16,17 +16,19 @@
16
16
  "vpatch": "npm version patch && npm publish"
17
17
  },
18
18
  "dependencies": {
19
+ "@symbo.ls/socket": "latest",
20
+ "@symbo.ls/init": "latest",
19
21
  "chalk": "^5.0.0",
20
- "node-fetch": "^3.1.0",
21
22
  "commander": "^8.3.0",
23
+ "node-fetch": "^3.1.0",
22
24
  "v8-compile-cache": "^2.3.0"
23
25
  },
24
26
  "devDependencies": {
25
- "np": "^7.6.0",
26
27
  "@babel/core": "^7.10.4",
27
28
  "@babel/preset-env": "^7.10.4",
28
- "eslint": "^7.12.1",
29
29
  "babel-eslint": "^10.0.3",
30
+ "eslint": "^7.12.1",
31
+ "np": "^7.6.0",
30
32
  "standard": "^16.0.1"
31
33
  },
32
34
  "standard": {