slicejs-cli 2.1.0 → 2.1.2
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/commands/getComponent/getComponent.js +2 -2
- package/package.json +1 -1
- package/post.js +2 -2
|
@@ -10,8 +10,8 @@ import Print from "../Print.js";
|
|
|
10
10
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
11
11
|
|
|
12
12
|
// Base URL del repositorio de documentación de Slice.js
|
|
13
|
-
const DOCS_REPO_BASE_URL = 'https://raw.githubusercontent.com/VKneider/slice.
|
|
14
|
-
const COMPONENTS_REGISTRY_URL = 'https://raw.githubusercontent.com/VKneider/slice.
|
|
13
|
+
const DOCS_REPO_BASE_URL = 'https://raw.githubusercontent.com/VKneider/slice.js_docs/main/src/Components';
|
|
14
|
+
const COMPONENTS_REGISTRY_URL = 'https://raw.githubusercontent.com/VKneider/slice.js_docs/main/src/Components/components.js';
|
|
15
15
|
|
|
16
16
|
class ComponentRegistry {
|
|
17
17
|
constructor() {
|
package/package.json
CHANGED
package/post.js
CHANGED
|
@@ -50,7 +50,7 @@ fs.promises.access(projectPackageJsonPath, fs.constants.F_OK)
|
|
|
50
50
|
// Module configuration
|
|
51
51
|
projectPackageJson.type = 'module';
|
|
52
52
|
projectPackageJson.engines = {
|
|
53
|
-
"node": "20.
|
|
53
|
+
"node": ">=20.0.0"
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
// Write the new content to package.json
|
|
@@ -112,7 +112,7 @@ fs.promises.access(projectPackageJsonPath, fs.constants.F_OK)
|
|
|
112
112
|
license: 'ISC',
|
|
113
113
|
type: 'module',
|
|
114
114
|
engines: {
|
|
115
|
-
"node": "20.
|
|
115
|
+
"node": ">=20.0.0"
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
|