@gravity-ui/app-builder 0.4.2 → 0.5.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.0](https://github.com/gravity-ui/app-builder/compare/v0.4.3...v0.5.0) (2023-06-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **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))
|
|
9
|
+
|
|
10
|
+
## [0.4.3](https://github.com/gravity-ui/app-builder/compare/v0.4.2...v0.4.3) (2023-06-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
3
17
|
## [0.4.2](https://github.com/gravity-ui/app-builder/compare/v0.4.1...v0.4.2) (2023-05-25)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -43,14 +43,6 @@ module.exports = function (_context, options = {}) {
|
|
|
43
43
|
],
|
|
44
44
|
].filter(Boolean);
|
|
45
45
|
const plugins = [
|
|
46
|
-
isTypeScriptEnabled && [
|
|
47
|
-
require.resolve('@babel/plugin-proposal-decorators'),
|
|
48
|
-
{
|
|
49
|
-
// @decorator
|
|
50
|
-
// export class Foo {}
|
|
51
|
-
decoratorsBeforeExport: true,
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
46
|
// Polyfills the runtime needed for async/await and generators
|
|
55
47
|
[require.resolve('@babel/plugin-transform-runtime'), runtimeOptions],
|
|
56
48
|
isEnvProduction && [
|
|
@@ -257,7 +257,9 @@ function buildLibrary(config) {
|
|
|
257
257
|
const componentDefFile = getFilePath(file, { dir: paths_1.default.libCompiledAssetsEsm, ext: 'd.ts' });
|
|
258
258
|
if (svgoRegEx.test(iconFile)) {
|
|
259
259
|
try {
|
|
260
|
-
const component = await (0, core_1.transform)(fs_1.default.readFileSync(iconFile, 'utf-8')
|
|
260
|
+
const component = await (0, core_1.transform)(fs_1.default.readFileSync(iconFile, 'utf-8'), {
|
|
261
|
+
jsxRuntime: config.lib.newJsxTransform ? 'automatic' : 'classic',
|
|
262
|
+
});
|
|
261
263
|
babel.transform(component, {
|
|
262
264
|
filename: iconFile,
|
|
263
265
|
presets: [(0, babel_1.babelPreset)(config.lib)],
|
|
@@ -8,6 +8,6 @@ export declare function configureWebpackConfigForStorybook(mode: Mode, userConfi
|
|
|
8
8
|
rules: Webpack.RuleSetRule[];
|
|
9
9
|
};
|
|
10
10
|
resolve: Webpack.ResolveOptions;
|
|
11
|
-
plugins: (((this: Webpack.Compiler, compiler: Webpack.Compiler) => void) | Webpack.WebpackPluginInstance)[];
|
|
11
|
+
plugins: (false | "" | 0 | ((this: Webpack.Compiler, compiler: Webpack.Compiler) => void) | Webpack.WebpackPluginInstance | null | undefined)[];
|
|
12
12
|
}>;
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/app-builder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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",
|
|
@@ -68,9 +68,10 @@
|
|
|
68
68
|
"@babel/runtime": "^7.21.0",
|
|
69
69
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
70
70
|
"@statoscope/webpack-plugin": "^5.26.2",
|
|
71
|
-
"@svgr/core": "^
|
|
72
|
-
"@svgr/webpack": "^
|
|
71
|
+
"@svgr/core": "^8.0.0",
|
|
72
|
+
"@svgr/webpack": "^8.0.1",
|
|
73
73
|
"babel-loader": "^9.1.2",
|
|
74
|
+
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
74
75
|
"babel-plugin-lodash": "^3.3.4",
|
|
75
76
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
76
77
|
"chalk": "^4.1.2",
|
|
@@ -80,9 +81,9 @@
|
|
|
80
81
|
"common-tags": "^1.8.2",
|
|
81
82
|
"cosmiconfig": "^8.1.3",
|
|
82
83
|
"cosmiconfig-typescript-loader": "^4.3.0",
|
|
83
|
-
"css-loader": "^6.
|
|
84
|
-
"css-minimizer-webpack-plugin": "^
|
|
85
|
-
"dotenv": "^16.
|
|
84
|
+
"css-loader": "^6.8.1",
|
|
85
|
+
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
86
|
+
"dotenv": "^16.1.4",
|
|
86
87
|
"execa": "^5.1.1",
|
|
87
88
|
"fast-glob": "^3.2.12",
|
|
88
89
|
"file-type": "^16.5.3",
|
|
@@ -91,62 +92,62 @@
|
|
|
91
92
|
"get-port": "^5.1.1",
|
|
92
93
|
"lodash": "^4.17.21",
|
|
93
94
|
"mime-types": "^2.1.35",
|
|
94
|
-
"mini-css-extract-plugin": "^2.7.
|
|
95
|
+
"mini-css-extract-plugin": "^2.7.6",
|
|
95
96
|
"moment-timezone-data-webpack-plugin": "^1.5.1",
|
|
96
97
|
"nodemon": "^2.0.22",
|
|
97
98
|
"p-map": "^4.0.0",
|
|
98
99
|
"p-queue": "^6.6.2",
|
|
99
100
|
"pino-pretty": "^10.0.0",
|
|
100
101
|
"postcss": "^8.4.23",
|
|
101
|
-
"postcss-loader": "^7.2
|
|
102
|
-
"postcss-preset-env": "^8.
|
|
102
|
+
"postcss-loader": "^7.3.2",
|
|
103
|
+
"postcss-preset-env": "^8.4.2",
|
|
103
104
|
"react": "^18.2.0",
|
|
104
105
|
"react-dom": "^18.2.0",
|
|
105
106
|
"react-refresh": "^0.14.0",
|
|
106
107
|
"resolve-url-loader": "^5.0.0",
|
|
107
108
|
"rimraf": "^5.0.0",
|
|
108
|
-
"sass": "^1.
|
|
109
|
-
"sass-loader": "^13.
|
|
109
|
+
"sass": "^1.62.1",
|
|
110
|
+
"sass-loader": "^13.3.1",
|
|
110
111
|
"semver": "^7.5.0",
|
|
111
112
|
"signal-exit": "^3.0.7",
|
|
112
113
|
"source-map-loader": "^4.0.1",
|
|
113
114
|
"strip-ansi": "^6.0.1",
|
|
114
|
-
"style-loader": "^3.3.
|
|
115
|
+
"style-loader": "^3.3.3",
|
|
115
116
|
"svgo": "^3.0.2",
|
|
116
117
|
"ts-node": "10.9.1",
|
|
117
118
|
"tslib": "^2.5.0",
|
|
118
|
-
"typescript": "^5.
|
|
119
|
-
"webpack": "^5.
|
|
119
|
+
"typescript": "^5.1.3",
|
|
120
|
+
"webpack": "^5.85.1",
|
|
120
121
|
"webpack-assets-manifest": "^5.1.0",
|
|
121
|
-
"webpack-bundle-analyzer": "^4.
|
|
122
|
-
"webpack-dev-server": "^4.
|
|
122
|
+
"webpack-bundle-analyzer": "^4.9.0",
|
|
123
|
+
"webpack-dev-server": "^4.15.0",
|
|
123
124
|
"webpack-manifest-plugin": "^5.0.0",
|
|
124
125
|
"worker-loader": "^3.0.8",
|
|
125
126
|
"yargs": "^17.7.2"
|
|
126
127
|
},
|
|
127
128
|
"devDependencies": {
|
|
128
|
-
"@commitlint/cli": "^17.6.
|
|
129
|
-
"@commitlint/config-conventional": "^17.6.
|
|
129
|
+
"@commitlint/cli": "^17.6.5",
|
|
130
|
+
"@commitlint/config-conventional": "^17.6.5",
|
|
130
131
|
"@gravity-ui/eslint-config": "^1.0.2",
|
|
131
132
|
"@gravity-ui/prettier-config": "^1.0.1",
|
|
132
133
|
"@gravity-ui/tsconfig": "^1.0.0",
|
|
133
134
|
"@types/circular-dependency-plugin": "^5.0.5",
|
|
134
135
|
"@types/common-tags": "^1.8.1",
|
|
135
136
|
"@types/fs-extra": "^11.0.1",
|
|
136
|
-
"@types/jest": "^29.5.
|
|
137
|
-
"@types/lodash": "^4.14.
|
|
137
|
+
"@types/jest": "^29.5.2",
|
|
138
|
+
"@types/lodash": "^4.14.195",
|
|
138
139
|
"@types/mime-types": "^2.1.1",
|
|
139
140
|
"@types/node": "^14.18.45",
|
|
140
141
|
"@types/nodemon": "^1.19.2",
|
|
141
142
|
"@types/sass": "^1.45.0",
|
|
142
|
-
"@types/semver": "^7.
|
|
143
|
+
"@types/semver": "^7.5.0",
|
|
143
144
|
"@types/signal-exit": "^3.0.1",
|
|
144
145
|
"@types/terser-webpack-plugin": "^5.2.0",
|
|
145
146
|
"@types/webpack-assets-manifest": "^5.1.0",
|
|
146
147
|
"@types/webpack-bundle-analyzer": "^4.6.0",
|
|
147
148
|
"@types/webpack-manifest-plugin": "^3.0.5",
|
|
148
149
|
"@types/yargs": "17.0.11",
|
|
149
|
-
"eslint": "^8.
|
|
150
|
+
"eslint": "^8.42.0",
|
|
150
151
|
"husky": "^8.0.3",
|
|
151
152
|
"jest": "^29.5.0",
|
|
152
153
|
"monaco-editor-webpack-plugin": "^6.0.0",
|