@symbo.ls/cli 2.10.20 → 2.10.31

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.
Files changed (2) hide show
  1. package/bin/link-all.js +21 -0
  2. package/package.json +2 -2
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { sync } from '@symbo.ls/socket'
4
+ import { program } from './program.js'
5
+ import { loadModule } from './require.js'
6
+
7
+ const RC_PATH = process.cwd() + '/.symbolsrc.json'
8
+ let rc = {}
9
+ try {
10
+ rc = loadModule(RC_PATH) // eslint-disable-line
11
+ } catch (e) { console.error('Please include .symbolsrc.json to your root of respository') }
12
+
13
+ program
14
+ .command('link-all')
15
+ .description('Symlink all smbls dependencies')
16
+ .action(async (options) => {
17
+ rc.then(data => {
18
+ const opts = { ...data, ...options }
19
+ sync(null, opts)
20
+ })
21
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.10.20",
3
+ "version": "2.10.31",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -26,5 +26,5 @@
26
26
  "standard": {
27
27
  "parser": "babel-eslint"
28
28
  },
29
- "gitHead": "2916a041146a954910251d5d73dd5e912858d562"
29
+ "gitHead": "828e14653b4f33040eaf9f42ba4adcc5111feb91"
30
30
  }