@nova-design-system/nova-webcomponents 3.0.0-beta.21 → 3.0.0-beta.23
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/dist/docs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-design-system/nova-webcomponents",
|
|
3
|
-
|
|
3
|
+
"version": "3.0.0-beta.23",
|
|
4
4
|
"description": "Nova is a design system created by Elia Group to empower creators to efficiently build solutions that people love to use.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "http://registry.npmjs.org/",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dist/",
|
|
25
25
|
"loader/",
|
|
26
26
|
"hydrate/",
|
|
27
|
-
"postinstall.js"
|
|
27
|
+
"scripts/postinstall.js"
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "rimraf dist && stencil build || exit 1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"playwright.ci": "playwright test --workers=1",
|
|
44
44
|
"playwright.ui": "playwright test --ui",
|
|
45
45
|
"playwright.failed": "playwright test --last-failed",
|
|
46
|
-
"postinstall": "node postinstall.js"
|
|
46
|
+
"postinstall": "node ./scripts/postinstall.js"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@nova-design-system/nova-base": "*",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
try {
|
|
2
|
+
const printMessage = require('print-message');
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
console.log('Starting postinstall script...');
|
|
5
|
+
|
|
6
|
+
printMessage([
|
|
4
7
|
'Thank you for installing the Nova Design System package.',
|
|
5
8
|
'',
|
|
6
9
|
'Please note: This package is licensed exclusively for use by',
|
|
@@ -12,4 +15,9 @@ printMessage([
|
|
|
12
15
|
'your project directory.',
|
|
13
16
|
'',
|
|
14
17
|
'Stay informed and happy coding.',
|
|
15
|
-
]);
|
|
18
|
+
]);
|
|
19
|
+
console.log('Postinstall script executed successfully.');
|
|
20
|
+
} catch (error) {
|
|
21
|
+
console.error('Error in postinstall script:', error.message);
|
|
22
|
+
process.exit(1);
|
|
23
|
+
}
|