@baseplate-dev/project-builder-lib 0.5.2 → 0.5.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
CHANGED
|
@@ -7,7 +7,7 @@ export function ModelMergerResultAlert({ pendingModelChanges, }) {
|
|
|
7
7
|
if (changes.length === 0) {
|
|
8
8
|
return (_jsxs(Alert, { variant: "default", children: [_jsx(AlertTitle, { children: "Models Up to Date" }), _jsx(AlertDescription, { children: "All required models are already configured correctly. No changes needed." })] }));
|
|
9
9
|
}
|
|
10
|
-
return (_jsx("div", { className: "space-y-4", children: changes.map((change) => (_jsxs(Alert, { variant: change.isNewModel ? 'default' : 'warning', children: [_jsxs(AlertTitle, { children: [change.isNewModel ? 'New Model' : 'Model Changes', ": ", change.name] }), _jsx(AlertDescription, { children: _jsxs("div", { className: "mt-2 space-y-2", children: [change.isNewModel ? (_jsx("p", { children: "This is a new model that will be created with the following configuration:" })) : (_jsx("p", { children: "The following changes will be applied to the model:" })), _jsx("ul", { className: "list-disc
|
|
10
|
+
return (_jsx("div", { className: "space-y-4", children: changes.map((change) => (_jsxs(Alert, { variant: change.isNewModel ? 'default' : 'warning', children: [_jsxs(AlertTitle, { children: [change.isNewModel ? 'New Model' : 'Model Changes', ": ", change.name] }), _jsx(AlertDescription, { children: _jsxs("div", { className: "mt-2 space-y-2", children: [change.isNewModel ? (_jsx("p", { children: "This is a new model that will be created with the following configuration:" })) : (_jsx("p", { children: "The following changes will be applied to the model:" })), _jsx("ul", { className: "list-disc space-y-1 pl-4", children: Object.entries(change.changes).map(([key, value]) => {
|
|
11
11
|
const field = modelMergerDefinitionDiffConfig[key];
|
|
12
12
|
if (!field) {
|
|
13
13
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/project-builder-lib",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Library for Project Builder using Baseplate generators",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"configuration",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"react-hook-form": "7.60.0",
|
|
49
49
|
"zod": "^4.1.13",
|
|
50
50
|
"zustand": "5.0.3",
|
|
51
|
-
"@baseplate-dev/sync": "0.5.
|
|
52
|
-
"@baseplate-dev/ui-components": "0.5.
|
|
53
|
-
"@baseplate-dev/utils": "0.5.
|
|
51
|
+
"@baseplate-dev/sync": "0.5.3",
|
|
52
|
+
"@baseplate-dev/ui-components": "0.5.3",
|
|
53
|
+
"@baseplate-dev/utils": "0.5.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@faker-js/faker": "9.8.0",
|
|
@@ -60,11 +60,12 @@
|
|
|
60
60
|
"eslint": "9.39.2",
|
|
61
61
|
"memfs": "4.15.1",
|
|
62
62
|
"prettier": "3.8.1",
|
|
63
|
+
"tailwindcss": "4.1.18",
|
|
63
64
|
"type-fest": "4.41.0",
|
|
64
65
|
"typescript": "5.9.3",
|
|
65
66
|
"vite": "7.1.12",
|
|
66
67
|
"vitest": "4.0.16",
|
|
67
|
-
"@baseplate-dev/tools": "0.5.
|
|
68
|
+
"@baseplate-dev/tools": "0.5.3"
|
|
68
69
|
},
|
|
69
70
|
"engines": {
|
|
70
71
|
"node": "^22.0.0"
|