@symbo.ls/cli 2.11.128 → 2.11.132

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/convert.js +7 -2
  2. package/package.json +2 -4
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 under a directory')
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.128",
3
+ "version": "2.11.132",
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": "a80004b78547611d5e422bb1fb4e6b1dd5358105",
27
+ "gitHead": "13027443598f113dd2b79ddf7aaf1adbd46d97d7",
30
28
  "devDependencies": {
31
29
  "webpack": "^5.88.2"
32
30
  }