@gravity-ui/app-builder 0.6.5 → 0.6.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.7](https://github.com/gravity-ui/app-builder/compare/v0.6.6...v0.6.7) (2023-09-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **build-lib:** replace babel-plugin-lodash with babel-plugin-import ([#70](https://github.com/gravity-ui/app-builder/issues/70)) ([e193fb7](https://github.com/gravity-ui/app-builder/commit/e193fb71f6707dbaf2d09062cfb1a0eb0ba46643))
9
+
10
+ ## [0.6.6](https://github.com/gravity-ui/app-builder/compare/v0.6.5...v0.6.6) (2023-09-04)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * respect verbose property defined in config ([#68](https://github.com/gravity-ui/app-builder/issues/68)) ([6cba27c](https://github.com/gravity-ui/app-builder/commit/6cba27c1d1321874694446724fa4c37ef9788a93)), closes [#67](https://github.com/gravity-ui/app-builder/issues/67)
16
+
3
17
  ## [0.6.5](https://github.com/gravity-ui/app-builder/compare/v0.6.4...v0.6.5) (2023-08-16)
4
18
 
5
19
 
@@ -192,7 +192,14 @@ function buildLibrary(config) {
192
192
  },
193
193
  },
194
194
  ],
195
- require.resolve('babel-plugin-lodash'),
195
+ [
196
+ require.resolve('babel-plugin-import'),
197
+ {
198
+ libraryName: 'lodash',
199
+ libraryDirectory: '',
200
+ camel2DashComponentName: false,
201
+ },
202
+ ],
196
203
  require.resolve('./babel-plugin-replace-paths'),
197
204
  ],
198
205
  sourceMaps: true,
@@ -1,7 +1,7 @@
1
1
  export type CliArgs = Awaited<ReturnType<typeof createCli>>;
2
2
  export declare function createCli(argv: string[]): {
3
3
  [x: string]: unknown;
4
- verbose: boolean;
4
+ verbose: boolean | undefined;
5
5
  c: unknown;
6
6
  inspect: number | undefined;
7
7
  target: "client" | "server" | undefined;
@@ -27,7 +27,7 @@ export declare function createCli(argv: string[]): {
27
27
  $0: string;
28
28
  } | Promise<{
29
29
  [x: string]: unknown;
30
- verbose: boolean;
30
+ verbose: boolean | undefined;
31
31
  c: unknown;
32
32
  inspect: number | undefined;
33
33
  target: "client" | "server" | undefined;
@@ -27,7 +27,6 @@ function createCli(argv) {
27
27
  }
28
28
  return cli
29
29
  .option('verbose', {
30
- default: false,
31
30
  type: 'boolean',
32
31
  describe: 'Turn on verbose output',
33
32
  global: true,
@@ -193,8 +192,8 @@ function handlerP(fn) {
193
192
  }
194
193
  function getCommandHandler(command, handler) {
195
194
  return async (argv) => {
196
- logger_1.default.setVerbose(Boolean(argv.verbose));
197
195
  const config = await (0, config_1.getProjectConfig)(command, argv);
196
+ logger_1.default.setVerbose(Boolean(config.verbose));
198
197
  const args = { ...config, logger: logger_1.default };
199
198
  const localCmd = resolveLocalCommand(command);
200
199
  logger_1.default.verbose(`running command: ${command}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",