gbs-add-block 0.0.61 → 0.0.62
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/README.md +2 -2
- package/index.js +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# GBS Building Blocks 2.0 (v0.0.
|
|
1
|
+
# GBS Building Blocks 2.0 (v0.0.62)
|
|
2
2
|
|
|
3
3
|
Latest and upgraded version of GBS building blocks with headless UI and removed dependencies.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ Latest and upgraded version of GBS building blocks with headless UI and removed
|
|
|
6
6
|
|
|
7
7
|
For detailed documentation on usage and props, Please visit: [Building Block Documentation v2.0](https://blackmax-designs.gitbook.io/building-block-v2.0)
|
|
8
8
|
|
|
9
|
-
## What's New 🎉 (Ver 0.0.
|
|
9
|
+
## What's New 🎉 (Ver 0.0.62)
|
|
10
10
|
|
|
11
11
|
- Updated for bug fixes.
|
|
12
12
|
- New component "Skeleton" & "Navbar" Added.
|
package/index.js
CHANGED
|
@@ -77,7 +77,12 @@ const copyComponent = async (component, destPath) => {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
await fs.copy(componentSrc, componentDest, { overwrite: true });
|
|
80
|
-
console.log(
|
|
80
|
+
console.log(
|
|
81
|
+
`✓ Component ${component} installed successfully ${
|
|
82
|
+
component === "Grid" &&
|
|
83
|
+
"This Version of Grid will be deprecated soon. Please Install The New Data Grid Component"
|
|
84
|
+
}`
|
|
85
|
+
);
|
|
81
86
|
} catch (error) {
|
|
82
87
|
console.error(`Error installing component ${component}:`, error.message);
|
|
83
88
|
process.exit(1);
|
|
@@ -96,10 +101,7 @@ const installComponentWithDependencies = async (component, destPath) => {
|
|
|
96
101
|
|
|
97
102
|
if (pendingInstalls.length === 0) {
|
|
98
103
|
console.log(
|
|
99
|
-
`✓ ${component} and all its dependencies are already installed
|
|
100
|
-
component === "Grid" &&
|
|
101
|
-
"This Version of Grid will be deprecated soon. Please Install The New Data Grid Component"
|
|
102
|
-
}`
|
|
104
|
+
`✓ ${component} and all its dependencies are already installed.`
|
|
103
105
|
);
|
|
104
106
|
return;
|
|
105
107
|
}
|