@public-ui/kolibri-cli 1.7.6-rc.2 → 1.7.7
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 -1
- package/dist/migrate/index.js +1 -1
- package/dist/migrate/runner/task-runner.js +1 -1
- package/dist/types.js +2 -2
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ Commands:
|
|
|
47
47
|
|
|
48
48
|
With the `migrate` command you can migrate your project to the latest version of `KoliBri`.
|
|
49
49
|
|
|
50
|
-
Actually the following
|
|
50
|
+
Actually the following migration tasks from version 1 to version 2 are available:
|
|
51
51
|
|
|
52
52
|
- Component renaming ✓
|
|
53
53
|
- Component removal (no one yet)
|
|
@@ -67,6 +67,7 @@ Actually the following migrations are available:
|
|
|
67
67
|
- Copy and integrate new assets ✓
|
|
68
68
|
- Handles `_icon-align` with a refactoring tasks ([#5397](https://github.com/public-ui/kolibri/issues/5397)) ⏰
|
|
69
69
|
- Detection of `_iconOnly` in TSX is not stable ([#5404](https://github.com/public-ui/kolibri/issues/5404)) ⏰
|
|
70
|
+
- Handle the remove `@public-ui/core` package ([#???](https://github.com/public-ui/kolibri/issues/????)) ⏰
|
|
70
71
|
|
|
71
72
|
#### How does it work?
|
|
72
73
|
|
package/dist/migrate/index.js
CHANGED
|
@@ -84,7 +84,7 @@ Source folder to migrate: ${baseDir}
|
|
|
84
84
|
/**
|
|
85
85
|
* Sets the version of the @public-ui/* packages in the package.json file.
|
|
86
86
|
* @param {string} version Version to set
|
|
87
|
-
* @param {
|
|
87
|
+
* @param {Function} cb Callback function
|
|
88
88
|
*/
|
|
89
89
|
function setVersionOfPublicUiPackages(version, cb) {
|
|
90
90
|
let packageJson = (0, reuse_1.getContentOfProjectPkgJson)();
|
|
@@ -24,7 +24,7 @@ class TaskRunner {
|
|
|
24
24
|
this.setBaseDir(baseDir);
|
|
25
25
|
this.setCliVersion(cliVersion);
|
|
26
26
|
this.setProjectVersion(projectVersion);
|
|
27
|
-
this.setConfig(config);
|
|
27
|
+
this.setConfig(Object.assign({}, config)); // clone config
|
|
28
28
|
}
|
|
29
29
|
setBaseDir(baseDir) {
|
|
30
30
|
if (!fs_1.default.existsSync(path_1.default.resolve(process.cwd(), baseDir))) {
|
package/dist/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MARKUP_EXTENSIONS = exports.CUSTOM_ELEMENT_FILE_EXTENSIONS = exports.COMPONENT_FILE_EXTENSIONS = exports.FILE_EXTENSIONS = void 0;
|
|
4
|
-
exports.FILE_EXTENSIONS = ['html', 'js', 'json', 'jsx', 'ts', 'tsx', 'vue'];
|
|
4
|
+
exports.FILE_EXTENSIONS = ['html', 'xhtml', 'js', 'json', 'jsx', 'ts', 'tsx', 'vue'];
|
|
5
5
|
exports.COMPONENT_FILE_EXTENSIONS = ['jsx', 'tsx', 'vue'];
|
|
6
|
-
exports.CUSTOM_ELEMENT_FILE_EXTENSIONS = ['html', 'jsx', 'tsx', 'vue'];
|
|
6
|
+
exports.CUSTOM_ELEMENT_FILE_EXTENSIONS = ['html', 'xhtml', 'jsx', 'tsx', 'vue'];
|
|
7
7
|
exports.MARKUP_EXTENSIONS = exports.COMPONENT_FILE_EXTENSIONS.concat(exports.CUSTOM_ELEMENT_FILE_EXTENSIONS);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/kolibri-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": "https://github.com/public-ui/kolibri",
|
|
@@ -23,31 +23,31 @@
|
|
|
23
23
|
"deepmerge": "4.3.1",
|
|
24
24
|
"gradient-string": "2.0.2",
|
|
25
25
|
"loglevel": "1.8.1",
|
|
26
|
-
"prettier": "3.1.
|
|
26
|
+
"prettier": "3.1.1",
|
|
27
27
|
"semver": "7.5.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@public-ui/components": "
|
|
30
|
+
"@public-ui/components": "2.0.0",
|
|
31
31
|
"@types/gradient-string": "1.1.5",
|
|
32
|
-
"@types/node": "20.10.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
34
|
-
"@typescript-eslint/parser": "6.
|
|
32
|
+
"@types/node": "20.10.5",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "6.15.0",
|
|
34
|
+
"@typescript-eslint/parser": "6.15.0",
|
|
35
35
|
"cpy-cli": "5.0.0",
|
|
36
36
|
"depcheck": "1.4.7",
|
|
37
|
-
"eslint": "8.
|
|
38
|
-
"eslint-config-prettier": "9.
|
|
37
|
+
"eslint": "8.56.0",
|
|
38
|
+
"eslint-config-prettier": "9.1.0",
|
|
39
39
|
"eslint-plugin-html": "7.1.0",
|
|
40
|
-
"eslint-plugin-jsdoc": "46.9.
|
|
40
|
+
"eslint-plugin-jsdoc": "46.9.1",
|
|
41
41
|
"eslint-plugin-json": "3.1.0",
|
|
42
42
|
"eslint-plugin-jsx-a11y": "6.8.0",
|
|
43
43
|
"eslint-plugin-no-loops": "0.3.0",
|
|
44
44
|
"eslint-plugin-react": "7.33.2",
|
|
45
|
-
"knip": "
|
|
45
|
+
"knip": "3.8.2",
|
|
46
46
|
"mocha": "10.2.0",
|
|
47
|
-
"nodemon": "3.0.
|
|
47
|
+
"nodemon": "3.0.2",
|
|
48
48
|
"rimraf": "3.0.2",
|
|
49
|
-
"ts-node": "10.9.
|
|
50
|
-
"typescript": "5.3.
|
|
49
|
+
"ts-node": "10.9.2",
|
|
50
|
+
"typescript": "5.3.3"
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
53
53
|
"dist"
|