@symbo.ls/cli 2.11.128 → 2.11.131
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/convert.js +7 -2
- package/package.json +2 -4
- package/LICENSE +0 -21
package/bin/convert.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
import * as esbuild from 'esbuild'
|
|
4
3
|
import { program } from './program.js'
|
|
5
4
|
import { convert } from 'kalduna'
|
|
6
5
|
import { parse } from 'globusa'
|
|
@@ -170,6 +169,7 @@ async function convertFile(srcPath, tmpDirPath, destPath,
|
|
|
170
169
|
library: { name: libraryName,
|
|
171
170
|
type: 'commonjs-static' },
|
|
172
171
|
},
|
|
172
|
+
// experiments: { outputModule: true },
|
|
173
173
|
target: 'node',
|
|
174
174
|
mode: 'development'
|
|
175
175
|
})
|
|
@@ -200,7 +200,8 @@ async function convertFile(srcPath, tmpDirPath, destPath,
|
|
|
200
200
|
|
|
201
201
|
program
|
|
202
202
|
.command('convert')
|
|
203
|
-
.description('Convert and copy all DomQL components
|
|
203
|
+
.description('(DEPRECATED) Convert and copy all DomQL components ' +
|
|
204
|
+
'under a directory')
|
|
204
205
|
.argument('[src]', 'Source directory/file. By default, it is "src/"')
|
|
205
206
|
.argument('[dest]',
|
|
206
207
|
'Destination directory/file. Will be overwritten. By ' +
|
|
@@ -219,6 +220,10 @@ program
|
|
|
219
220
|
'(For internal use only). ' +
|
|
220
221
|
'Excludes particular components from the conversion')
|
|
221
222
|
.action(async (src, dest, options) => {
|
|
223
|
+
console.log('smbls convert is deprecated. ' +
|
|
224
|
+
'Please use the Kalduna build script instead.')
|
|
225
|
+
return 1
|
|
226
|
+
|
|
222
227
|
if (!convert) {
|
|
223
228
|
throw new Error(
|
|
224
229
|
'convert() from `kalduna` is not defined. Try to install ' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.131",
|
|
4
4
|
"description": "Fetch your Symbols configuration",
|
|
5
5
|
"main": "bin/fetch.js",
|
|
6
6
|
"author": "Symbols",
|
|
@@ -16,17 +16,15 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@symbo.ls/init": "latest",
|
|
19
|
-
"@symbo.ls/react": "latest",
|
|
20
19
|
"@symbo.ls/socket": "latest",
|
|
21
20
|
"chalk": "^5.0.0",
|
|
22
21
|
"commander": "latest",
|
|
23
|
-
"esbuild": "latest",
|
|
24
22
|
"globusa": "latest",
|
|
25
23
|
"jsdom": "^21.1.0",
|
|
26
24
|
"node-fetch": "^3.1.0",
|
|
27
25
|
"v8-compile-cache": "^2.3.0"
|
|
28
26
|
},
|
|
29
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "e139ece289d929e41123a0a72e55155eb1eac605",
|
|
30
28
|
"devDependencies": {
|
|
31
29
|
"webpack": "^5.88.2"
|
|
32
30
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 symbo.ls
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|