@trebired/frontend 8.2.2 → 8.2.3
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 +5 -0
- package/dist/config/package.d.ts.map +1 -1
- package/dist/config/package.js +9 -11
- package/dist/config/package.js.map +1 -1
- package/dist/src/config/package.d.ts.map +1 -1
- package/dist/src/config/package.js +9 -11
- package/dist/src/config/package.js.map +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.2.3
|
|
4
|
+
|
|
5
|
+
- Removed dead `config.creator` from `package.json`.
|
|
6
|
+
- Updated shared utilities to `@trebired/utils@^0.6.0` and replaced the removed `readPackageIdentity()` with `readPackageJsonUrl()` + `readOrganizationIdentity()`. No change to `frontendPackageName()`/`frontendConfigPath()`/`PACKAGE_VERSION` behavior.
|
|
7
|
+
|
|
3
8
|
## 8.2.2
|
|
4
9
|
|
|
5
10
|
- Fixed the dynamic sidebar loader crashing the page render when a link item has no loader path configured, which broke server-rendered navigation after sign-in and after completing the welcome flow.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,eAAe,QAAkD,CAAC;AAExE,iBAAS,mBAAmB,IAAI,MAAM,CAOrC;AAOD,iBAAS,kBAAkB,IAAI,MAAM,CAEpC;AAED,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/config/package.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
packageJsonUrl: new URL("../../package.json", import.meta.url),
|
|
6
|
-
});
|
|
7
|
-
const PACKAGE_VERSION = packageIdentity.version;
|
|
1
|
+
import { readOrganizationIdentity, readPackageJsonUrl, toTrimmedString } from "@trebired/utils";
|
|
2
|
+
const packageJson = readPackageJsonUrl(new URL("../../package.json", import.meta.url));
|
|
3
|
+
const organization = readOrganizationIdentity({ packageJson });
|
|
4
|
+
const PACKAGE_VERSION = toTrimmedString(packageJson?.version, "7.1.16");
|
|
8
5
|
function frontendPackageName() {
|
|
9
|
-
const
|
|
6
|
+
const packageJsonName = toTrimmedString(packageJson?.name);
|
|
7
|
+
const name = packageJsonName ||
|
|
8
|
+
(organization.name ? `@${organization.name}/frontend` : "frontend");
|
|
10
9
|
if (!name)
|
|
11
10
|
throw new Error("frontend-package-name-missing");
|
|
12
11
|
return name;
|
|
13
12
|
}
|
|
14
13
|
function organizationName() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return organization;
|
|
14
|
+
if (organization.name)
|
|
15
|
+
return organization.name;
|
|
18
16
|
throw new Error("frontend-package-organization-missing");
|
|
19
17
|
}
|
|
20
18
|
function frontendConfigPath() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEhG,MAAM,WAAW,GAAG,kBAAkB,CAAC,IAAI,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACvF,MAAM,YAAY,GAAG,wBAAwB,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;AAE/D,MAAM,eAAe,GAAG,eAAe,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAExE,SAAS,mBAAmB;IAC1B,MAAM,eAAe,GAAG,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IAC3D,MAAM,IAAI,GACV,eAAe;QACb,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACtE,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAC5D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,gBAAgB;IACvB,IAAI,YAAY,CAAC,IAAI;QAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAChD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,kBAAkB;IACzB,OAAO,IAAI,gBAAgB,EAAE,qBAAqB,CAAC;AACrD,CAAC;AAED,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,eAAe,QAAkD,CAAC;AAExE,iBAAS,mBAAmB,IAAI,MAAM,CAOrC;AAOD,iBAAS,kBAAkB,IAAI,MAAM,CAEpC;AAED,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
packageJsonUrl: new URL("../../package.json", import.meta.url),
|
|
6
|
-
});
|
|
7
|
-
const PACKAGE_VERSION = packageIdentity.version;
|
|
1
|
+
import { readOrganizationIdentity, readPackageJsonUrl, toTrimmedString } from "@trebired/utils";
|
|
2
|
+
const packageJson = readPackageJsonUrl(new URL("../../package.json", import.meta.url));
|
|
3
|
+
const organization = readOrganizationIdentity({ packageJson });
|
|
4
|
+
const PACKAGE_VERSION = toTrimmedString(packageJson?.version, "7.1.16");
|
|
8
5
|
function frontendPackageName() {
|
|
9
|
-
const
|
|
6
|
+
const packageJsonName = toTrimmedString(packageJson?.name);
|
|
7
|
+
const name = packageJsonName ||
|
|
8
|
+
(organization.name ? `@${organization.name}/frontend` : "frontend");
|
|
10
9
|
if (!name)
|
|
11
10
|
throw new Error("frontend-package-name-missing");
|
|
12
11
|
return name;
|
|
13
12
|
}
|
|
14
13
|
function organizationName() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return organization;
|
|
14
|
+
if (organization.name)
|
|
15
|
+
return organization.name;
|
|
18
16
|
throw new Error("frontend-package-organization-missing");
|
|
19
17
|
}
|
|
20
18
|
function frontendConfigPath() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../../src/config/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEhG,MAAM,WAAW,GAAG,kBAAkB,CAAC,IAAI,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACvF,MAAM,YAAY,GAAG,wBAAwB,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;AAE/D,MAAM,eAAe,GAAG,eAAe,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAExE,SAAS,mBAAmB;IAC1B,MAAM,eAAe,GAAG,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IAC3D,MAAM,IAAI,GACV,eAAe;QACb,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACtE,IAAI,CAAC,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAC5D,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,gBAAgB;IACvB,IAAI,YAAY,CAAC,IAAI;QAAE,OAAO,YAAY,CAAC,IAAI,CAAC;IAChD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,kBAAkB;IACzB,OAAO,IAAI,gBAAgB,EAAE,qBAAqB,CAAC;AACrD,CAAC;AAED,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -5,13 +5,10 @@
|
|
|
5
5
|
"displayName": "Trebired",
|
|
6
6
|
"name": "trebired",
|
|
7
7
|
"website": "https://trebired.com"
|
|
8
|
-
},
|
|
9
|
-
"creator": {
|
|
10
|
-
"name": "Miroslav Machynka"
|
|
11
8
|
}
|
|
12
9
|
},
|
|
13
10
|
"name": "@trebired/frontend",
|
|
14
|
-
"version": "8.2.
|
|
11
|
+
"version": "8.2.3",
|
|
15
12
|
"description": "Generic browser runtime systems for Trebired frontend packages and applications.",
|
|
16
13
|
"type": "module",
|
|
17
14
|
"private": false,
|
|
@@ -58,7 +55,7 @@
|
|
|
58
55
|
},
|
|
59
56
|
"dependencies": {
|
|
60
57
|
"@package/logger-adapter": "npm:@trebired/logger-adapter@^0.4.9",
|
|
61
|
-
"@trebired/utils": "^0.
|
|
58
|
+
"@trebired/utils": "^0.6.0",
|
|
62
59
|
"chart.js": "^4.5.1",
|
|
63
60
|
"country-flag-icons": "^1.6.20",
|
|
64
61
|
"cropperjs": "^1.6.2",
|