@symbo.ls/cli 2.11.344 → 2.11.352
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 +18 -0
- package/package.json +2 -2
package/bin/fs.js
CHANGED
|
@@ -152,6 +152,24 @@ export async function createFs (
|
|
|
152
152
|
await fs.promises.writeFile(filePath, stringifiedContent, 'utf8')
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
// Generate final package.json string
|
|
156
|
+
// function createPackageJson (key, data, distDir, update) {
|
|
157
|
+
// const genStr = JSON.stringify({
|
|
158
|
+
// name: `@symbo.ls/${desiredFormat}-${packageName}`,
|
|
159
|
+
// version: packageStruct.version ?? '1.0.0',
|
|
160
|
+
// license: packageStruct.license ?? 'UNLICENSED',
|
|
161
|
+
// dependencies: deps,
|
|
162
|
+
// peerDependencies: {
|
|
163
|
+
// smbls: '^18.2.0',
|
|
164
|
+
// 'react-dom': '^18.2.0'
|
|
165
|
+
// },
|
|
166
|
+
// main: 'index.js',
|
|
167
|
+
// source: 'index.js'
|
|
168
|
+
// }, undefined, 2)
|
|
169
|
+
|
|
170
|
+
// fs.writeFileSync(destPath, genStr)
|
|
171
|
+
// }
|
|
172
|
+
|
|
155
173
|
await fs.writeFileSync(LOCAL_CONFIG_PATH, '{}')
|
|
156
174
|
}
|
|
157
175
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.352",
|
|
4
4
|
"description": "Fetch your Symbols configuration",
|
|
5
5
|
"main": "bin/fetch.js",
|
|
6
6
|
"author": "Symbols",
|
|
@@ -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": "c294479f06e6f576951c7c1cb3df309a08d59dc4"
|
|
30
30
|
}
|