ydb-embedded-ui 2.6.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [3.0.0](https://github.com/ydb-platform/ydb-embedded-ui/compare/v2.6.0...v3.0.0) (2022-12-05)
|
4
|
+
|
5
|
+
|
6
|
+
### ⚠ BREAKING CHANGES
|
7
|
+
|
8
|
+
Updated build config ([11e02c6](https://github.com/ydb-platform/ydb-embedded-ui/commit/11e02c668ef186f058b2ece9d5f1082d0e96e23d))
|
9
|
+
|
10
|
+
**Before the change**
|
11
|
+
- the target dir for the production build was `build/resources`
|
12
|
+
- `favicon.png` was placed directly in `build`
|
13
|
+
|
14
|
+
**After the change**
|
15
|
+
- the target dir is `build/static`
|
16
|
+
- `favicon.png` is in `build/static`
|
17
|
+
|
18
|
+
This change is intended to simplify build config and make it closer to the default one. Previously there were some custom tweaks after the build, they caused bugs and were hard to maintain. Now the application builds using the default `create-react-app` config.
|
19
|
+
|
20
|
+
|
3
21
|
## [2.6.0](https://github.com/ydb-platform/ydb-embedded-ui/compare/v2.5.0...v2.6.0) (2022-12-05)
|
4
22
|
|
5
23
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ydb-embedded-ui",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -42,7 +42,8 @@
|
|
42
42
|
"start": "react-app-rewired start",
|
43
43
|
"dev": "DISABLE_ESLINT_PLUGIN=true TSC_COMPILE_ON_ERROR=true REACT_APP_BACKEND=http://localhost:8765 npm start",
|
44
44
|
"build": "react-app-rewired build",
|
45
|
-
"build:embedded": "
|
45
|
+
"//build:embedded": "echo 'PUBLIC_URL is a setting for create-react-app. Embedded version is built and hosted as is on ydb servers, with no way of knowing the final URL pattern. PUBLIC_URL=. keeps paths to all static relative, allowing servers to handle them as needed'",
|
46
|
+
"build:embedded": "rm -rf build && PUBLIC_URL=. REACT_APP_BACKEND=http://localhost:8765 npm run build",
|
46
47
|
"lint:styles": "stylelint 'src/**/*.scss'",
|
47
48
|
"package": "rm -rf dist && copyfiles -u 1 'src/**/*' dist",
|
48
49
|
"test": "react-app-rewired test",
|