rxn-ui 0.4.0 → 0.4.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/cli/index.mjs +1 -1
- package/package.json +61 -61
package/cli/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ const COMPONENTS_DIR = path.join(__dirname, '..', 'src', 'components') // Пут
|
|
|
12
12
|
const STYLES_DIR = path.join(__dirname, '..', 'src', 'styles') // Путь к стилям внутри пакета
|
|
13
13
|
const REGISTRY_JSON = path.join(__dirname, 'registry.json') // Путь к файлу registry.json
|
|
14
14
|
|
|
15
|
-
const cwd = process.cwd() // Текущая директория, где пользователь запустил CLI
|
|
15
|
+
const cwd = process.env.INIT_CWD || process.cwd() // Текущая директория, где пользователь запустил CLI
|
|
16
16
|
|
|
17
17
|
function readRegistry() {
|
|
18
18
|
if (!fs.existsSync(REGISTRY_JSON)) {
|
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "rxn-ui",
|
|
3
|
-
"description": "Vue 3 UI component library",
|
|
4
|
-
"version": "0.4.
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"private": false,
|
|
7
|
-
"type": "module",
|
|
8
|
-
"author": "Artur Hareksian <artharexian@gmail.com> (https://github.com/r2-h)",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/r2-h/artharexian-ui.git"
|
|
12
|
-
},
|
|
13
|
-
"bin": {
|
|
14
|
-
"rxn-ui": "./cli/index.mjs"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"cli",
|
|
18
|
-
"src/components",
|
|
19
|
-
"src/styles"
|
|
20
|
-
],
|
|
21
|
-
"engines": {
|
|
22
|
-
"node": ">=18"
|
|
23
|
-
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"dev": "vite",
|
|
26
|
-
"format": "prettier --write .",
|
|
27
|
-
"storybook": "storybook dev -p 6006",
|
|
28
|
-
"build-storybook": "storybook build"
|
|
29
|
-
},
|
|
30
|
-
"peerDependencies": {
|
|
31
|
-
"vue": "^3.5.0"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@chromatic-com/storybook": "^5.0.1",
|
|
35
|
-
"@storybook/addon-a11y": "^10.2.10",
|
|
36
|
-
"@storybook/addon-docs": "^10.2.10",
|
|
37
|
-
"@storybook/addon-vitest": "^10.2.10",
|
|
38
|
-
"@storybook/vue3-vite": "^10.2.10",
|
|
39
|
-
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
40
|
-
"@types/node": "^24.10.1",
|
|
41
|
-
"@vitejs/plugin-vue": "^6.0.2",
|
|
42
|
-
"@vitest/browser-playwright": "^4.0.18",
|
|
43
|
-
"@vitest/coverage-v8": "^4.0.18",
|
|
44
|
-
"@vue/tsconfig": "^0.8.1",
|
|
45
|
-
"eslint": "^10.0.0",
|
|
46
|
-
"eslint-plugin-storybook": "^10.2.10",
|
|
47
|
-
"playwright": "^1.58.2",
|
|
48
|
-
"prettier": "^3.8.1",
|
|
49
|
-
"storybook": "^10.2.10",
|
|
50
|
-
"typescript": "~5.9.3",
|
|
51
|
-
"vite": "^7.3.1",
|
|
52
|
-
"vitest": "^4.0.18",
|
|
53
|
-
"vue": "^3.5.25",
|
|
54
|
-
"vue-tsc": "^3.1.5"
|
|
55
|
-
},
|
|
56
|
-
"eslintConfig": {
|
|
57
|
-
"extends": [
|
|
58
|
-
"plugin:storybook/recommended"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "rxn-ui",
|
|
3
|
+
"description": "Vue 3 UI component library",
|
|
4
|
+
"version": "0.4.2",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"author": "Artur Hareksian <artharexian@gmail.com> (https://github.com/r2-h)",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/r2-h/artharexian-ui.git"
|
|
12
|
+
},
|
|
13
|
+
"bin": {
|
|
14
|
+
"rxn-ui": "./cli/index.mjs"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"cli",
|
|
18
|
+
"src/components",
|
|
19
|
+
"src/styles"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=18"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"dev": "vite",
|
|
26
|
+
"format": "prettier --write .",
|
|
27
|
+
"storybook": "storybook dev -p 6006",
|
|
28
|
+
"build-storybook": "storybook build"
|
|
29
|
+
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"vue": "^3.5.0"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
35
|
+
"@storybook/addon-a11y": "^10.2.10",
|
|
36
|
+
"@storybook/addon-docs": "^10.2.10",
|
|
37
|
+
"@storybook/addon-vitest": "^10.2.10",
|
|
38
|
+
"@storybook/vue3-vite": "^10.2.10",
|
|
39
|
+
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
40
|
+
"@types/node": "^24.10.1",
|
|
41
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
42
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
43
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
44
|
+
"@vue/tsconfig": "^0.8.1",
|
|
45
|
+
"eslint": "^10.0.0",
|
|
46
|
+
"eslint-plugin-storybook": "^10.2.10",
|
|
47
|
+
"playwright": "^1.58.2",
|
|
48
|
+
"prettier": "^3.8.1",
|
|
49
|
+
"storybook": "^10.2.10",
|
|
50
|
+
"typescript": "~5.9.3",
|
|
51
|
+
"vite": "^7.3.1",
|
|
52
|
+
"vitest": "^4.0.18",
|
|
53
|
+
"vue": "^3.5.25",
|
|
54
|
+
"vue-tsc": "^3.1.5"
|
|
55
|
+
},
|
|
56
|
+
"eslintConfig": {
|
|
57
|
+
"extends": [
|
|
58
|
+
"plugin:storybook/recommended"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|