@symbo.ls/cli 2.11.474 → 2.11.476
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 +1 -1
- package/bin/install.js +1 -1
- package/bin/link-packages.js +3 -3
- package/package.json +5 -5
package/bin/fs.js
CHANGED
|
@@ -17,7 +17,7 @@ const {
|
|
|
17
17
|
} = utils
|
|
18
18
|
|
|
19
19
|
let singleFileKeys = ['designSystem', 'state', 'files', 'dependencies', 'packages']
|
|
20
|
-
const directoryKeys = ['components', 'snippets', 'pages']
|
|
20
|
+
const directoryKeys = ['components', 'snippets', 'pages', 'functions']
|
|
21
21
|
|
|
22
22
|
const defaultExports = ['pages', 'designSystem', 'state', 'files', 'dependencies', 'packages', 'schema']
|
|
23
23
|
|
package/bin/install.js
CHANGED
|
@@ -21,7 +21,7 @@ try {
|
|
|
21
21
|
|
|
22
22
|
const makeCommand = (packageManager, packageName) => {
|
|
23
23
|
return packageManager === 'yarn'
|
|
24
|
-
? `
|
|
24
|
+
? `npm run add ${packageName}`
|
|
25
25
|
: packageManager === 'pnpm'
|
|
26
26
|
? `pnpm add ${packageName}`
|
|
27
27
|
: `npm i ${packageName} --save`
|
package/bin/link-packages.js
CHANGED
|
@@ -31,7 +31,7 @@ const capture = (opts) => {
|
|
|
31
31
|
console.error(e)
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
execSync(`
|
|
34
|
+
execSync(`npm link ${packages.join(' ')} --force`, { stdio: 'inherit' })
|
|
35
35
|
})
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -45,7 +45,7 @@ program
|
|
|
45
45
|
if (opts.join) {
|
|
46
46
|
try {
|
|
47
47
|
console.log('Linking all smbls packages...')
|
|
48
|
-
execSync(`
|
|
48
|
+
execSync(`npm link ${packages.join(' ')} --force`, { stdio: 'inherit' })
|
|
49
49
|
console.log('All packages linked successfully.')
|
|
50
50
|
} catch (error) {
|
|
51
51
|
console.error('Error linking packages:', error.message)
|
|
@@ -56,7 +56,7 @@ program
|
|
|
56
56
|
try {
|
|
57
57
|
for (const packageName of packages) {
|
|
58
58
|
console.log(`Linking ${packageName}...`)
|
|
59
|
-
execSync(`
|
|
59
|
+
execSync(`npm link ${packageName} --force`, { stdio: 'inherit' })
|
|
60
60
|
}
|
|
61
61
|
console.log('All packages linked successfully.')
|
|
62
62
|
} catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.476",
|
|
4
4
|
"description": "Fetch your Symbols configuration",
|
|
5
5
|
"main": "bin/fetch.js",
|
|
6
6
|
"author": "Symbols",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"vpatch": "npm version patch && npm publish"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@symbo.ls/fetch": "^2.11.
|
|
19
|
-
"@symbo.ls/init": "^2.11.
|
|
20
|
-
"@symbo.ls/socket": "^2.11.
|
|
18
|
+
"@symbo.ls/fetch": "^2.11.475",
|
|
19
|
+
"@symbo.ls/init": "^2.11.475",
|
|
20
|
+
"@symbo.ls/socket": "^2.11.475",
|
|
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": "7d714966165be175182fb6e10e221fe3866378f5"
|
|
30
30
|
}
|