@janiscommerce/ui-web 0.28.1 → 0.28.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 +13 -0
- package/dist/package.json +1 -1
- package/dist/scripts/preinstall-script.js +11 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.28.3] - 2025-02-13
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- deploy storybooks
|
|
15
|
+
- script preinstall
|
|
16
|
+
|
|
17
|
+
## [0.28.2] - 2025-02-13
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Script preinstall copy
|
|
22
|
+
|
|
10
23
|
## [0.28.1] - 2025-02-13
|
|
11
24
|
|
|
12
25
|
### Fixed
|
package/dist/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const isRootInstall = process.env.npm_lifecycle_event === 'preinstall';
|
|
2
|
+
|
|
3
|
+
if (!isRootInstall) {
|
|
4
|
+
process.exit(0); // No ejecutar si se está instalando como dependencia
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
if (process.env.npm_execpath.indexOf('yarn') === -1) {
|
|
8
|
+
console.error('You must use Yarn to install dependencies:');
|
|
9
|
+
console.error(' $ yarn install');
|
|
10
|
+
process.exit(1);
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@janiscommerce/ui-web",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.umd.js",
|
|
6
6
|
"exports": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"private": false,
|
|
12
12
|
"scripts": {
|
|
13
|
-
"preinstall": "node scripts/preinstall-script.js",
|
|
13
|
+
"preinstall": "node -e \"if (process.env.npm_lifecycle_event === 'preinstall') { require('./scripts/preinstall-script.js'); }\"",
|
|
14
14
|
"start": "rollup -c rollup/rollup.config.dev.js -w",
|
|
15
15
|
"build": "rollup -c rollup/rollup.config.prod.js",
|
|
16
16
|
"lint": "eslint src/",
|