@gravity-ui/app-builder 0.6.10 → 0.7.0

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 (42) hide show
  1. package/README.md +29 -27
  2. package/dist/commands/build/build-service/server.js +1 -1
  3. package/dist/commands/build/index.js +1 -1
  4. package/dist/commands/dev/client.js +33 -10
  5. package/dist/commands/dev/index.js +25 -2
  6. package/dist/commands/dev/server.js +25 -2
  7. package/dist/common/babel/ui-preset.js +7 -0
  8. package/dist/common/child-process/controllable-script.js +4 -2
  9. package/dist/common/child-process/utils.js +5 -8
  10. package/dist/common/config.d.ts +1 -1
  11. package/dist/common/config.js +26 -3
  12. package/dist/common/env.js +2 -2
  13. package/dist/common/library/index.js +77 -55
  14. package/dist/common/links/link.js +42 -19
  15. package/dist/common/links/unlink.js +26 -3
  16. package/dist/common/logger/index.js +79 -79
  17. package/dist/common/models/index.d.ts +3 -3
  18. package/dist/common/package.js +30 -10
  19. package/dist/common/paths.js +26 -6
  20. package/dist/common/s3-upload/compress.js +3 -3
  21. package/dist/common/s3-upload/s3-client.d.ts +1 -1
  22. package/dist/common/s3-upload/s3-client.js +1 -1
  23. package/dist/common/s3-upload/upload.js +1 -1
  24. package/dist/common/s3-upload/webpack-plugin.js +1 -0
  25. package/dist/common/tempData.js +31 -7
  26. package/dist/common/typescript/compile.d.ts +7 -2
  27. package/dist/common/typescript/compile.js +5 -5
  28. package/dist/common/typescript/diagnostic.js +24 -4
  29. package/dist/common/typescript/transformers.js +1 -1
  30. package/dist/common/typescript/utils.d.ts +1 -1
  31. package/dist/common/typescript/utils.js +3 -3
  32. package/dist/common/utils.js +5 -5
  33. package/dist/common/webpack/config.js +33 -23
  34. package/dist/common/webpack/progress-plugin.js +6 -5
  35. package/dist/common/webpack/storybook.js +25 -3
  36. package/dist/common/webpack/utils.js +29 -9
  37. package/dist/common/webpack/worker/worker-loader.js +27 -4
  38. package/dist/create-cli.js +25 -2
  39. package/package.json +14 -11
  40. package/CHANGELOG.md +0 -257
  41. package/dist/common/library/babel-plugin-remove-css-imports.d.ts +0 -6
  42. package/dist/common/library/babel-plugin-remove-css-imports.js +0 -15
@@ -1,11 +1,31 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
4
24
  };
5
25
  Object.defineProperty(exports, "__esModule", { value: true });
6
26
  exports.resolveTsconfigPathsToAlias = exports.webpackCompilerHandlerFactory = void 0;
7
- const path_1 = __importDefault(require("path"));
8
- const fs_1 = __importDefault(require("fs"));
27
+ const path = __importStar(require("node:path"));
28
+ const fs = __importStar(require("node:fs"));
9
29
  const pretty_time_1 = require("../logger/pretty-time");
10
30
  function webpackCompilerHandlerFactory(logger, onCompilationEnd) {
11
31
  return async (err, stats) => {
@@ -36,14 +56,14 @@ function webpackCompilerHandlerFactory(logger, onCompilationEnd) {
36
56
  exports.webpackCompilerHandlerFactory = webpackCompilerHandlerFactory;
37
57
  const endStarRe = /\/?\*$/;
38
58
  function resolveTsconfigPathsToAlias(tsConfigPath) {
39
- if (!fs_1.default.existsSync(tsConfigPath) || !fs_1.default.statSync(tsConfigPath).isFile) {
59
+ if (!fs.existsSync(tsConfigPath) || !fs.statSync(tsConfigPath).isFile) {
40
60
  return undefined;
41
61
  }
42
62
  const { paths = {}, baseUrl } = readJsonConfig(tsConfigPath).compilerOptions || {};
43
63
  if (!baseUrl) {
44
64
  return undefined;
45
65
  }
46
- const basePath = path_1.default.resolve(path_1.default.dirname(tsConfigPath), baseUrl);
66
+ const basePath = path.resolve(path.dirname(tsConfigPath), baseUrl);
47
67
  const aliases = {};
48
68
  const modules = [basePath];
49
69
  for (const [key, value] of Object.entries(paths)) {
@@ -52,17 +72,17 @@ function resolveTsconfigPathsToAlias(tsConfigPath) {
52
72
  }
53
73
  const name = key.replace(endStarRe, '');
54
74
  if (name === '' || name === '.') {
55
- modules.push(...value.map((v) => path_1.default.resolve(basePath, `${v}`.replace(endStarRe, ''))));
75
+ modules.push(...value.map((v) => path.resolve(basePath, `${v}`.replace(endStarRe, ''))));
56
76
  continue;
57
77
  }
58
- aliases[name] = value.map((v) => path_1.default.resolve(basePath, `${v}`.replace(endStarRe, '')));
78
+ aliases[name] = value.map((v) => path.resolve(basePath, `${v}`.replace(endStarRe, '')));
59
79
  }
60
80
  return { aliases, modules };
61
81
  }
62
82
  exports.resolveTsconfigPathsToAlias = resolveTsconfigPathsToAlias;
63
83
  function readJsonConfig(pathname) {
64
84
  try {
65
- const json = fs_1.default.readFileSync(pathname, 'utf-8');
85
+ const json = fs.readFileSync(pathname, 'utf-8');
66
86
  return {
67
87
  ...JSON.parse(json),
68
88
  };
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
2
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
27
  };
5
28
  Object.defineProperty(exports, "__esModule", { value: true });
6
29
  exports.pitch = void 0;
7
- const node_path_1 = __importDefault(require("node:path"));
30
+ const path = __importStar(require("node:path"));
8
31
  const webpack_1 = __importDefault(require("webpack"));
9
32
  const NodeTargetPlugin_1 = __importDefault(require("webpack/lib/node/NodeTargetPlugin"));
10
33
  const WebWorkerTemplatePlugin_1 = __importDefault(require("webpack/lib/webworker/WebWorkerTemplatePlugin"));
@@ -12,7 +35,7 @@ const FetchCompileWasmPlugin_1 = __importDefault(require("webpack/lib/web/FetchC
12
35
  const FetchCompileAsyncWasmPlugin_1 = __importDefault(require("webpack/lib/web/FetchCompileAsyncWasmPlugin"));
13
36
  const paths_1 = __importDefault(require("../../paths"));
14
37
  const pluginId = 'APP_BUILDER_WORKER_LOADER';
15
- const publicPath = node_path_1.default.resolve(__dirname, 'public-path.worker.js');
38
+ const publicPath = path.resolve(__dirname, 'public-path.worker.js');
16
39
  const pitch = function (request) {
17
40
  this.cacheable(false);
18
41
  if (!this._compiler || !this._compilation) {
@@ -33,7 +56,7 @@ const pitch = function (request) {
33
56
  chunkFilename,
34
57
  publicPath: compilerOptions.output.publicPath,
35
58
  globalObject: 'self',
36
- devtoolNamespace: node_path_1.default.resolve('/', node_path_1.default.relative(paths_1.default.app, this.resource)),
59
+ devtoolNamespace: path.resolve('/', path.relative(paths_1.default.app, this.resource)),
37
60
  };
38
61
  const workerCompiler = this._compilation.createChildCompiler(`worker ${request}`, workerOptions);
39
62
  new WebWorkerTemplatePlugin_1.default().apply(workerCompiler);
@@ -44,7 +67,7 @@ const pitch = function (request) {
44
67
  mangleImports: this._compiler.options.optimization.mangleWasmImports,
45
68
  }).apply(workerCompiler);
46
69
  new FetchCompileAsyncWasmPlugin_1.default().apply(workerCompiler);
47
- const bundleName = node_path_1.default.parse(this.resourcePath).name;
70
+ const bundleName = path.parse(this.resourcePath).name;
48
71
  new webpack_1.default.EntryPlugin(this.context, `!!${publicPath}`, bundleName).apply(workerCompiler);
49
72
  new webpack_1.default.EntryPlugin(this.context, `!!${request}`, bundleName).apply(workerCompiler);
50
73
  configureSourceMap(workerCompiler);
@@ -1,4 +1,27 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
2
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
27
  };
@@ -6,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
29
  exports.createCli = void 0;
7
30
  const yargs_1 = __importDefault(require("yargs"));
8
31
  const helpers_1 = require("yargs/helpers");
9
- const path_1 = __importDefault(require("path"));
32
+ const path = __importStar(require("node:path"));
10
33
  const logger_1 = __importDefault(require("./common/logger"));
11
34
  const config_1 = require("./common/config");
12
35
  const models_1 = require("./common/models");
@@ -202,7 +225,7 @@ function getCommandHandler(command, handler) {
202
225
  }
203
226
  function resolveLocalCommand(command) {
204
227
  try {
205
- const cmdPath = path_1.default.resolve(__dirname, `commands/${command}`);
228
+ const cmdPath = path.resolve(__dirname, `commands/${command}`);
206
229
  if (!cmdPath)
207
230
  return logger_1.default.panic(`There was a problem loading the ${command} command.`);
208
231
  logger_1.default.verbose(`loading command from: ${cmdPath}`);
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.6.10",
3
+ "version": "0.7.0",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
+ "type": "commonjs",
6
7
  "main": "dist/index.js",
7
8
  "types": "dist/index.d.ts",
8
9
  "exports": {
@@ -29,7 +30,7 @@
29
30
  "app-builder": "dist/cli.js"
30
31
  },
31
32
  "engines": {
32
- "node": ">= 14.18"
33
+ "node": ">= 18"
33
34
  },
34
35
  "files": [
35
36
  "dist"
@@ -60,6 +61,7 @@
60
61
  "@babel/core": "^7.22.0",
61
62
  "@babel/helper-plugin-utils": "^7.22.5",
62
63
  "@babel/plugin-proposal-decorators": "^7.22.0",
64
+ "@babel/plugin-transform-class-properties": "^7.22.5",
63
65
  "@babel/plugin-transform-dynamic-import": "^7.22.0",
64
66
  "@babel/plugin-transform-modules-commonjs": "^7.22.0",
65
67
  "@babel/plugin-transform-runtime": "^7.22.0",
@@ -106,13 +108,13 @@
106
108
  "pino-pretty": "^10.2.0",
107
109
  "postcss": "^8.4.23",
108
110
  "postcss-loader": "^7.3.3",
109
- "postcss-preset-env": "^8.4.2",
111
+ "postcss-preset-env": "^9.1.3",
110
112
  "react": "^18.2.0",
111
113
  "react-dom": "^18.2.0",
112
114
  "react-refresh": "^0.14.0",
113
115
  "resolve-url-loader": "^5.0.0",
114
116
  "rimraf": "^5.0.1",
115
- "sass": "^1.62.1",
117
+ "sass": "^1.69.0",
116
118
  "sass-loader": "^13.3.2",
117
119
  "semver": "^7.5.4",
118
120
  "signal-exit": "^4.1.0",
@@ -123,7 +125,7 @@
123
125
  "terser-webpack-plugin": "5.3.9",
124
126
  "ts-node": "10.9.1",
125
127
  "tslib": "^2.6.2",
126
- "typescript": "^5.1.6",
128
+ "typescript": "^5.2.2",
127
129
  "webpack": "^5.88.2",
128
130
  "webpack-assets-manifest": "^5.1.0",
129
131
  "webpack-bundle-analyzer": "^4.9.1",
@@ -135,8 +137,8 @@
135
137
  "devDependencies": {
136
138
  "@commitlint/cli": "^17.7.1",
137
139
  "@commitlint/config-conventional": "^17.7.0",
138
- "@gravity-ui/eslint-config": "^1.0.2",
139
- "@gravity-ui/prettier-config": "^1.0.1",
140
+ "@gravity-ui/eslint-config": "^3.0.0",
141
+ "@gravity-ui/prettier-config": "^1.1.0",
140
142
  "@gravity-ui/tsconfig": "^1.0.0",
141
143
  "@types/babel__helper-plugin-utils": "^7.10.1",
142
144
  "@types/circular-dependency-plugin": "^5.0.6",
@@ -146,11 +148,9 @@
146
148
  "@types/jest": "^29.5.2",
147
149
  "@types/lodash": "^4.14.198",
148
150
  "@types/mime-types": "^2.1.1",
149
- "@types/node": "^14.18.45",
151
+ "@types/node": "^18",
150
152
  "@types/nodemon": "^1.19.2",
151
- "@types/sass": "^1.45.0",
152
153
  "@types/semver": "^7.5.2",
153
- "@types/terser-webpack-plugin": "^5.2.0",
154
154
  "@types/webpack-assets-manifest": "^5.1.0",
155
155
  "@types/webpack-bundle-analyzer": "^4.6.0",
156
156
  "@types/webpack-manifest-plugin": "^3.0.5",
@@ -162,7 +162,7 @@
162
162
  "monaco-editor-webpack-plugin": "^6.0.0",
163
163
  "nano-staged": "^0.8.0",
164
164
  "npm-run-all": "^4.1.5",
165
- "prettier": "2.8.0",
165
+ "prettier": "3.0.3",
166
166
  "ts-jest": "^29.1.0"
167
167
  },
168
168
  "peerDependencies": {
@@ -180,5 +180,8 @@
180
180
  "*.{md,yaml,yml,json}": [
181
181
  "prettier --write"
182
182
  ]
183
+ },
184
+ "overrides": {
185
+ "cosmiconfig-typescript-loader": "^5.0.0"
183
186
  }
184
187
  }
package/CHANGELOG.md DELETED
@@ -1,257 +0,0 @@
1
- # Changelog
2
-
3
- ## [0.6.10](https://github.com/gravity-ui/app-builder/compare/v0.6.9...v0.6.10) (2023-09-22)
4
-
5
-
6
- ### Features
7
-
8
- * **build:** support sentry webpack plugin ([#80](https://github.com/gravity-ui/app-builder/issues/80)) ([d7932d8](https://github.com/gravity-ui/app-builder/commit/d7932d8d7df389aa4c7a0fbd30a3fe9fba0d1b8c))
9
-
10
- ## [0.6.9](https://github.com/gravity-ui/app-builder/compare/v0.6.8...v0.6.9) (2023-09-18)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * pass correct version to semver ([#77](https://github.com/gravity-ui/app-builder/issues/77)) ([d3f8ed8](https://github.com/gravity-ui/app-builder/commit/d3f8ed8d210995d9d7325f6fd16f0e7e57193105))
16
-
17
- ## [0.6.8](https://github.com/gravity-ui/app-builder/compare/v0.6.7...v0.6.8) (2023-09-18)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * config fails to load ([#75](https://github.com/gravity-ui/app-builder/issues/75)) ([1847dc7](https://github.com/gravity-ui/app-builder/commit/1847dc7ddb6270b61d73836f84ad1944e04d96a7))
23
- * get-port v5 incorrectly detects empty port ([#73](https://github.com/gravity-ui/app-builder/issues/73)) ([3d7b4df](https://github.com/gravity-ui/app-builder/commit/3d7b4dfd0ba244b1d03b2965beffd9234b328cd6))
24
-
25
- ## [0.6.7](https://github.com/gravity-ui/app-builder/compare/v0.6.6...v0.6.7) (2023-09-06)
26
-
27
-
28
- ### Bug Fixes
29
-
30
- * **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))
31
-
32
- ## [0.6.6](https://github.com/gravity-ui/app-builder/compare/v0.6.5...v0.6.6) (2023-09-04)
33
-
34
-
35
- ### Bug Fixes
36
-
37
- * 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)
38
-
39
- ## [0.6.5](https://github.com/gravity-ui/app-builder/compare/v0.6.4...v0.6.5) (2023-08-16)
40
-
41
-
42
- ### Bug Fixes
43
-
44
- * replace babel-plugin-lodash with babel-plugin-import ([#65](https://github.com/gravity-ui/app-builder/issues/65)) ([73b6a3e](https://github.com/gravity-ui/app-builder/commit/73b6a3e5bd340ea3b41ecfc7e61575668eb5f474))
45
-
46
- ## [0.6.4](https://github.com/gravity-ui/app-builder/compare/v0.6.3...v0.6.4) (2023-08-04)
47
-
48
-
49
- ### Bug Fixes
50
-
51
- * **build-library:** correctly write esm code to file ([#62](https://github.com/gravity-ui/app-builder/issues/62)) ([b1f1be2](https://github.com/gravity-ui/app-builder/commit/b1f1be2dfd93d79b54ee8c99e99cea945c0b6f16)), closes [#61](https://github.com/gravity-ui/app-builder/issues/61)
52
-
53
- ## [0.6.3](https://github.com/gravity-ui/app-builder/compare/v0.6.2...v0.6.3) (2023-07-31)
54
-
55
-
56
- ### Bug Fixes
57
-
58
- * **build-lib:** replace style and svg paths with babel plugin ([#60](https://github.com/gravity-ui/app-builder/issues/60)) ([3b7760e](https://github.com/gravity-ui/app-builder/commit/3b7760e0af7350e60c9d3c7a704e510958d46050))
59
- * **build:** always dedupe css modules ([#55](https://github.com/gravity-ui/app-builder/issues/55)) ([6ea483e](https://github.com/gravity-ui/app-builder/commit/6ea483eb335eb24f80f9dddc33943f0a12336281))
60
- * **css:** disable sass loaders for pure css ([#56](https://github.com/gravity-ui/app-builder/issues/56)) ([1c23832](https://github.com/gravity-ui/app-builder/commit/1c2383299f1f4cbbc826acdd2b6231c15ab26956))
61
- * **webworker:** correctly handle licenses and do not emit assets twice ([#58](https://github.com/gravity-ui/app-builder/issues/58)) ([e514bc6](https://github.com/gravity-ui/app-builder/commit/e514bc68ac9bed6cbbfaeddbaa95d8ea8f459acc))
62
-
63
- ## [0.6.2](https://github.com/gravity-ui/app-builder/compare/v0.6.1...v0.6.2) (2023-07-24)
64
-
65
-
66
- ### Bug Fixes
67
-
68
- * **build-lib:** correctly transform svg icons ([#53](https://github.com/gravity-ui/app-builder/issues/53)) ([9c9d3a6](https://github.com/gravity-ui/app-builder/commit/9c9d3a626ea6375a9edf93462fe0f7b367046b16))
69
-
70
- ## [0.6.1](https://github.com/gravity-ui/app-builder/compare/v0.6.0...v0.6.1) (2023-07-24)
71
-
72
-
73
- ### Features
74
-
75
- * **css:** use Lightning CSS ([#52](https://github.com/gravity-ui/app-builder/issues/52)) ([d16cd09](https://github.com/gravity-ui/app-builder/commit/d16cd09067276eee9b0952f2c198e6e4e6365c3d))
76
-
77
-
78
- ### Bug Fixes
79
-
80
- * **s3-client:** add charset to content type ([#50](https://github.com/gravity-ui/app-builder/issues/50)) ([8b1a944](https://github.com/gravity-ui/app-builder/commit/8b1a944d675e0f1b88f80fa43d0929148ce82a05))
81
-
82
- ## [0.6.0](https://github.com/gravity-ui/app-builder/compare/v0.5.6...v0.6.0) (2023-07-23)
83
-
84
-
85
- ### Features
86
-
87
- * add caching to worker loader ([#48](https://github.com/gravity-ui/app-builder/issues/48)) ([c7db4fb](https://github.com/gravity-ui/app-builder/commit/c7db4fb2786729a173e5fbe0f62c679639b9a99a))
88
-
89
- ## [0.5.6](https://github.com/gravity-ui/app-builder/compare/v0.5.5...v0.5.6) (2023-07-21)
90
-
91
-
92
- ### Features
93
-
94
- * add webpack cache option ([#47](https://github.com/gravity-ui/app-builder/issues/47)) ([fb5311a](https://github.com/gravity-ui/app-builder/commit/fb5311a5635dfc95051434fdeb878b4c34c457c2))
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * make statoscope config fields optional ([#45](https://github.com/gravity-ui/app-builder/issues/45)) ([1e80938](https://github.com/gravity-ui/app-builder/commit/1e809384b3af358ed4837d57c28928a291e99a4e))
100
-
101
- ## [0.5.5](https://github.com/gravity-ui/app-builder/compare/v0.5.4...v0.5.5) (2023-07-07)
102
-
103
-
104
- ### Features
105
-
106
- * statoscope can be configured ([#42](https://github.com/gravity-ui/app-builder/issues/42)) ([9a21979](https://github.com/gravity-ui/app-builder/commit/9a219798ad416811dfd6d448c9dfa4e330e0659c))
107
-
108
- ## [0.5.4](https://github.com/gravity-ui/app-builder/compare/v0.5.3...v0.5.4) (2023-07-06)
109
-
110
-
111
- ### Features
112
-
113
- * **ForkTSCheckerWebpackPlugin:** allow overwrite config ([#40](https://github.com/gravity-ui/app-builder/issues/40)) ([7490647](https://github.com/gravity-ui/app-builder/commit/74906477d707973dc885b0050ecc018ad6e43a00))
114
-
115
- ## [0.5.3](https://github.com/gravity-ui/app-builder/compare/v0.5.2...v0.5.3) (2023-06-30)
116
-
117
-
118
- ### Bug Fixes
119
-
120
- * **storybook:** support storybook 7 ([#38](https://github.com/gravity-ui/app-builder/issues/38)) ([1e51ac3](https://github.com/gravity-ui/app-builder/commit/1e51ac3dca99acd9b5a2a53a2525bcd90224e861))
121
-
122
- ## [0.5.2](https://github.com/gravity-ui/app-builder/compare/v0.5.1...v0.5.2) (2023-06-28)
123
-
124
-
125
- ### Bug Fixes
126
-
127
- * add missing entries typings to lazy compilation feature ([#34](https://github.com/gravity-ui/app-builder/issues/34)) ([5c49611](https://github.com/gravity-ui/app-builder/commit/5c49611769f496f79ab1e810a366672908cfc29b))
128
-
129
- ## [0.5.1](https://github.com/gravity-ui/app-builder/compare/v0.5.0...v0.5.1) (2023-06-26)
130
-
131
-
132
- ### Features
133
-
134
- * added the ability to disable entries for webpack lazy compilation ([#32](https://github.com/gravity-ui/app-builder/issues/32)) ([fed462a](https://github.com/gravity-ui/app-builder/commit/fed462a9803f4891ea0aff300133dec45c708fb9))
135
-
136
- ## [0.5.0](https://github.com/gravity-ui/app-builder/compare/v0.4.3...v0.5.0) (2023-06-17)
137
-
138
-
139
- ### Features
140
-
141
- * **build:** remove the use of @babel/plugin-proposal-decorators ([#27](https://github.com/gravity-ui/app-builder/issues/27)) ([2b09510](https://github.com/gravity-ui/app-builder/commit/2b09510130232578e503cc8042010e8995cb237f))
142
-
143
- ## [0.4.3](https://github.com/gravity-ui/app-builder/compare/v0.4.2...v0.4.3) (2023-06-05)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * return babel-plugin-inline-react-svg to deps ([#28](https://github.com/gravity-ui/app-builder/issues/28)) ([7609c2b](https://github.com/gravity-ui/app-builder/commit/7609c2b0e9ad6c24d88bef9f2b7b22029d77c3ff))
149
-
150
- ## [0.4.2](https://github.com/gravity-ui/app-builder/compare/v0.4.1...v0.4.2) (2023-05-25)
151
-
152
-
153
- ### Bug Fixes
154
-
155
- * **build:** add to build all source files ([#24](https://github.com/gravity-ui/app-builder/issues/24)) ([9dfc536](https://github.com/gravity-ui/app-builder/commit/9dfc5360786d6462b01bcb5f96c9936ece05a4eb))
156
- * **dev:** delete run folder only on full build ([#25](https://github.com/gravity-ui/app-builder/issues/25)) ([f491489](https://github.com/gravity-ui/app-builder/commit/f491489e92583b4cbba327d7ee86ba42cd0add97))
157
-
158
- ## [0.4.1](https://github.com/gravity-ui/app-builder/compare/v0.4.0...v0.4.1) (2023-05-19)
159
-
160
-
161
- ### Bug Fixes
162
-
163
- * **worker-loader:** correctly get main worker asset ([#22](https://github.com/gravity-ui/app-builder/issues/22)) ([31984c9](https://github.com/gravity-ui/app-builder/commit/31984c9c057a915233db3d9aed470ce6d4040db4))
164
-
165
- ## [0.4.0](https://github.com/gravity-ui/app-builder/compare/v0.3.0...v0.4.0) (2023-05-19)
166
-
167
-
168
- ### ⚠ BREAKING CHANGES
169
-
170
- * **Client:** change default value for setting `client.symlinks`, used default (true) from webpack.
171
-
172
- ### Features
173
-
174
- * **Client:** add setting to watch changes in node_modules ([#21](https://github.com/gravity-ui/app-builder/issues/21)) ([3a5dea6](https://github.com/gravity-ui/app-builder/commit/3a5dea6284f3a768650b388115a83136ba1b7a07))
175
- * **WebWorker:** support webpack 5 web workers syntax ([#19](https://github.com/gravity-ui/app-builder/issues/19)) ([bf784bb](https://github.com/gravity-ui/app-builder/commit/bf784bb6480c60497bc79c93e70d61aaead80909))
176
-
177
- ## [0.3.0](https://github.com/gravity-ui/app-builder/compare/v0.2.2...v0.3.0) (2023-05-08)
178
-
179
-
180
- ### ⚠ BREAKING CHANGES
181
-
182
- * **LibraryConfig:** move newJsxTransform option under lib property
183
-
184
- ### Features
185
-
186
- * **config:** add defineConfig helper ([31daecc](https://github.com/gravity-ui/app-builder/commit/31daecccc33fc58bc14d85c217b990c1f4302218))
187
- * **server:** use APP_PORT env variable to pass port to server ([6b14651](https://github.com/gravity-ui/app-builder/commit/6b14651adae6cf18f0da7447636d2a8363979166))
188
- * **storybook:** use configureServiceWebpackConfig for libraries too ([4204cf9](https://github.com/gravity-ui/app-builder/commit/4204cf9e1e5e63e16e7631477beb251e496d2690))
189
-
190
-
191
- ### Bug Fixes
192
-
193
- * **client:** use newJsxTransform in svgr options ([cd01f55](https://github.com/gravity-ui/app-builder/commit/cd01f552177c73b20de7e95ca65cf770e8b63dbc))
194
- * **LibraryConfig:** move newJsxTransform option under lib property ([847a38c](https://github.com/gravity-ui/app-builder/commit/847a38cc4138741559f053ba594bcdd997c44063))
195
-
196
-
197
- ### docs
198
-
199
- * add documentation for services ([d78b63b](https://github.com/gravity-ui/app-builder/commit/d78b63beb03c0e446e060d977942787dc33eee2c))
200
-
201
- ## [0.2.2](https://github.com/gravity-ui/app-builder/compare/v0.2.1...v0.2.2) (2023-05-05)
202
-
203
-
204
- ### Features
205
-
206
- * allow upload of additional files to CDN ([#15](https://github.com/gravity-ui/app-builder/issues/15)) ([dcdf8e0](https://github.com/gravity-ui/app-builder/commit/dcdf8e06d4d19a50fce3f6bbc48f4cf9ac2c7926))
207
-
208
- ## [0.2.1](https://github.com/gravity-ui/app-builder/compare/v0.2.0...v0.2.1) (2023-04-24)
209
-
210
-
211
- ### Bug Fixes
212
-
213
- * **cli:** correctly consider --inspect/--inspect-brk options without value ([#11](https://github.com/gravity-ui/app-builder/issues/11)) ([a5c74c3](https://github.com/gravity-ui/app-builder/commit/a5c74c39e64d6fc57bf10eb3e49596d96a9e8dcb))
214
- * sove fixes ([#13](https://github.com/gravity-ui/app-builder/issues/13)) ([e4f9e1a](https://github.com/gravity-ui/app-builder/commit/e4f9e1a14c9e71197e91586a9c254db880f8ac11))
215
-
216
- ## [0.2.0](https://github.com/gravity-ui/app-builder/compare/v0.1.1...v0.2.0) (2023-03-10)
217
-
218
-
219
- ### Features
220
-
221
- * allow upload to many s3 destinations ([#7](https://github.com/gravity-ui/app-builder/issues/7)) ([406c4b2](https://github.com/gravity-ui/app-builder/commit/406c4b2362793528f85384ec3247f49ce8cbda16))
222
- * enable verbose mode in `CleanWebpackPlugin` ([#5](https://github.com/gravity-ui/app-builder/issues/5)) ([945f28a](https://github.com/gravity-ui/app-builder/commit/945f28a0875312256af143ca5e98c42fe414691f))
223
-
224
- ## [0.1.1](https://github.com/gravity-ui/app-builder/compare/v0.1.0...v0.1.1) (2023-03-10)
225
-
226
-
227
- ### Bug Fixes
228
-
229
- * correctly load dayjs locales ([#6](https://github.com/gravity-ui/app-builder/issues/6)) ([412dfd6](https://github.com/gravity-ui/app-builder/commit/412dfd6d89dccbda9652a96baa36491db2e6b4dc))
230
-
231
- ## [0.1.0](https://github.com/gravity-ui/app-builder/compare/v0.0.2...v0.1.0) (2023-02-07)
232
-
233
-
234
- ### Features
235
-
236
- * limit load of dayjs locales ([#3](https://github.com/gravity-ui/app-builder/issues/3)) ([a7ff218](https://github.com/gravity-ui/app-builder/commit/a7ff2189ad99473e51f7470bc7e9ee32c490b64c))
237
-
238
- ## [0.0.2](https://github.com/gravity-ui/app-builder/compare/v0.0.1...v0.0.2) (2022-12-19)
239
-
240
-
241
- ### Bug Fixes
242
-
243
- * **cli:** do not restrict value of the CDN parametr ([9f62c9e](https://github.com/gravity-ui/app-builder/commit/9f62c9e97f04e96567a068a85038776e0f88973d))
244
- * do not use postcss feature that would need an extra browser library ([a788d9c](https://github.com/gravity-ui/app-builder/commit/a788d9cf334d6306a6feb49ae5a08d4f7518dfa3))
245
-
246
- ## 0.0.1 (2022-12-06)
247
-
248
-
249
- ### Features
250
-
251
- * add client and server keys to confg ([79d968f](https://github.com/gravity-ui/app-builder/commit/79d968f275b972d7376c90dba1b6cacfe05e4310))
252
- * upload to s3 ([e6e5fbc](https://github.com/gravity-ui/app-builder/commit/e6e5fbc89e402ad595db8b1aee8c17f7adb41e2c))
253
-
254
-
255
- ### chore
256
-
257
- * release 0.0.1 ([3d58428](https://github.com/gravity-ui/app-builder/commit/3d58428c4df316f098c23dbc7264219cf2e08bf7))
@@ -1,6 +0,0 @@
1
- declare const _default: (api: object, options: Record<string, any> | null | undefined, dirname: string) => {
2
- visitor: {
3
- ImportDeclaration(this: import("@babel/core").PluginPass, path: import("@babel/traverse").NodePath<import("@babel/types").ImportDeclaration>): void;
4
- };
5
- };
6
- export default _default;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const helper_plugin_utils_1 = require("@babel/helper-plugin-utils");
4
- exports.default = (0, helper_plugin_utils_1.declare)(function () {
5
- return {
6
- visitor: {
7
- ImportDeclaration(path) {
8
- const source = path.node.source.value;
9
- if (source.endsWith('.css')) {
10
- path.remove();
11
- }
12
- },
13
- },
14
- };
15
- });