@genesislcap/blank-app-seed 5.14.0 → 5.15.1
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/.genx/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { rmSync, renameSync } = require('node:fs');
|
|
1
|
+
const { existsSync, rmSync, renameSync } = require('node:fs');
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const {
|
|
4
4
|
FRAMEWORKS_DIR_MAP,
|
|
@@ -13,7 +13,7 @@ const dirClientTemp = path.join(
|
|
|
13
13
|
);
|
|
14
14
|
|
|
15
15
|
const getDirClientTemp = (frameworkName) => {
|
|
16
|
-
return
|
|
16
|
+
return path.join(dirClientTemp, FRAMEWORKS_DIR_MAP.get(frameworkName));
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
const excludeFrameworks = (selectedFramework) => {
|
|
@@ -21,7 +21,13 @@ const excludeFrameworks = (selectedFramework) => {
|
|
|
21
21
|
__dirname,
|
|
22
22
|
`../../${DIRS_MAP.get(DIR_CLIENT_MAIN_ALIAS)}`,
|
|
23
23
|
);
|
|
24
|
-
|
|
24
|
+
const selectedFrameworkPath = getDirClientTemp(selectedFramework);
|
|
25
|
+
|
|
26
|
+
if (existsSync(mainClientDirPath)) {
|
|
27
|
+
rmSync(mainClientDirPath, { recursive: true, force: true });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
renameSync(selectedFrameworkPath, mainClientDirPath);
|
|
25
31
|
|
|
26
32
|
rmSync(dirClientTemp, { recursive: true, force: true });
|
|
27
33
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { resolve } = require('node:path');
|
|
1
|
+
const { dirname, join, resolve } = require('node:path');
|
|
2
2
|
const makeDirectory = require('./makeDirectory');
|
|
3
3
|
const {
|
|
4
4
|
FRAMEWORK_WEB_COMPONENTS_ALIAS,
|
|
@@ -68,7 +68,7 @@ const generateStore = (routesOrAggregation, { writeFileWithData }, framework) =>
|
|
|
68
68
|
const storeTarget = resolve(__dirname, storeTargetRelative);
|
|
69
69
|
|
|
70
70
|
// Ensure target directories exist
|
|
71
|
-
makeDirectory(
|
|
71
|
+
makeDirectory(dirname(storeTarget));
|
|
72
72
|
|
|
73
73
|
// Write store.ts
|
|
74
74
|
writeFileWithData(
|
|
@@ -78,8 +78,8 @@ const generateStore = (routesOrAggregation, { writeFileWithData }, framework) =>
|
|
|
78
78
|
);
|
|
79
79
|
|
|
80
80
|
// Write slices/eventing.slice.ts next to store for all frameworks
|
|
81
|
-
const sliceTarget = storeTarget
|
|
82
|
-
makeDirectory(
|
|
81
|
+
const sliceTarget = join(dirname(storeTarget), 'slices', 'eventing.slice.ts');
|
|
82
|
+
makeDirectory(dirname(sliceTarget));
|
|
83
83
|
writeFileWithData(
|
|
84
84
|
sliceTarget,
|
|
85
85
|
{ events, listeners },
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.15.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.15.0...v5.15.1) (2026-06-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix Windows compatibility issues during genx init [PSD-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) 565690c
|
|
9
|
+
* Windows compatibility and path handling during init [FUI-0](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/0) (#584) 9068086
|
|
10
|
+
|
|
11
|
+
## [5.15.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.14.0...v5.15.0) (2026-06-03)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* report error boundary failures to genesis-telemetry GENC-1272 b7f2ded
|
|
17
|
+
* report error boundary failures to genesis-telemetry GENC-1272 (#582) 3eb3588
|
|
18
|
+
|
|
3
19
|
## [5.14.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.13.5...v5.14.0) (2026-06-03)
|
|
4
20
|
|
|
5
21
|
|
|
@@ -152,6 +152,11 @@ class BaseErrorBoundary extends React.Component<BaseErrorBoundaryProps, BaseErro
|
|
|
152
152
|
error: normalized,
|
|
153
153
|
componentStack: errorInfo.componentStack,
|
|
154
154
|
});
|
|
155
|
+
|
|
156
|
+
// Expose to genesis-telemetry.js so the UI Builder agent can read it via get_preview_diagnostics
|
|
157
|
+
const reports: unknown[] = ((window as any).__GENESIS_ERROR_BOUNDARY_REPORTS__ ??= []);
|
|
158
|
+
reports.push({ message: normalized.message, stack: normalized.stack ?? null, componentStack: errorInfo.componentStack ?? null, ts: Date.now() });
|
|
159
|
+
if (reports.length > 20) reports.shift();
|
|
155
160
|
}
|
|
156
161
|
|
|
157
162
|
private readonly handleRetry = (): void => {
|