@nx/vue 22.7.0-beta.7 → 22.7.0-beta.9
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/executors.json +1 -1
- package/generators.json +48 -48
- package/migrations.json +30 -30
- package/package.json +9 -9
- package/src/generators/application/schema.json +148 -148
- package/src/generators/component/schema.json +68 -68
- package/src/generators/init/schema.json +24 -24
- package/src/generators/library/schema.json +133 -133
- package/src/generators/setup-tailwind/schema.json +42 -42
- package/src/generators/stories/schema.json +56 -56
- package/src/generators/storybook-configuration/schema.json +77 -77
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.d.ts.map +1 -1
- package/src/utils/versions.js +1 -1
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "NxVueStorybookStories",
|
|
5
|
+
"title": "Generate Vue Storybook stories",
|
|
6
|
+
"description": "Generate stories/specs for all components declared in a project.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"aliases": ["name", "projectName"],
|
|
12
|
+
"description": "Project for which to generate stories.",
|
|
13
|
+
"$default": {
|
|
14
|
+
"$source": "projectName",
|
|
15
|
+
"index": 0
|
|
16
|
+
},
|
|
17
|
+
"x-prompt": "For which project do you want to generate stories?",
|
|
18
|
+
"x-priority": "important"
|
|
19
|
+
},
|
|
20
|
+
"interactionTests": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Set up Storybook interaction tests.",
|
|
23
|
+
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
24
|
+
"x-priority": "important",
|
|
25
|
+
"default": true
|
|
26
|
+
},
|
|
27
|
+
"js": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
"ignorePaths": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"description": "Paths to ignore when looking for components.",
|
|
35
|
+
"items": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Path to ignore."
|
|
38
|
+
},
|
|
39
|
+
"default": [
|
|
40
|
+
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
41
|
+
],
|
|
42
|
+
"examples": [
|
|
43
|
+
"apps/my-app/src/not-stories/**",
|
|
44
|
+
"**/**/src/**/not-stories/**",
|
|
45
|
+
"libs/my-lib/**/*.something.ts",
|
|
46
|
+
"**/**/src/**/*.other.*",
|
|
47
|
+
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"skipFormat": {
|
|
51
|
+
"description": "Skip formatting files.",
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"default": false,
|
|
54
|
+
"x-priority": "internal"
|
|
55
|
+
}
|
|
19
56
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"description": "Set up Storybook interaction tests.",
|
|
23
|
-
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
24
|
-
"x-priority": "important",
|
|
25
|
-
"default": true
|
|
26
|
-
},
|
|
27
|
-
"js": {
|
|
28
|
-
"type": "boolean",
|
|
29
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
30
|
-
"default": false
|
|
31
|
-
},
|
|
32
|
-
"ignorePaths": {
|
|
33
|
-
"type": "array",
|
|
34
|
-
"description": "Paths to ignore when looking for components.",
|
|
35
|
-
"items": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "Path to ignore."
|
|
38
|
-
},
|
|
39
|
-
"default": [
|
|
40
|
-
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
41
|
-
],
|
|
42
|
-
"examples": [
|
|
43
|
-
"apps/my-app/src/not-stories/**",
|
|
44
|
-
"**/**/src/**/not-stories/**",
|
|
45
|
-
"libs/my-lib/**/*.something.ts",
|
|
46
|
-
"**/**/src/**/*.other.*",
|
|
47
|
-
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"skipFormat": {
|
|
51
|
-
"description": "Skip formatting files.",
|
|
52
|
-
"type": "boolean",
|
|
53
|
-
"default": false,
|
|
54
|
-
"x-priority": "internal"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"required": ["project"],
|
|
58
|
-
"examplesFile": "../../../docs/stories-examples.md"
|
|
57
|
+
"required": ["project"],
|
|
58
|
+
"examplesFile": "../../../docs/stories-examples.md"
|
|
59
59
|
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"cli": "nx",
|
|
4
|
+
"$id": "NxVueStorybookConfigure",
|
|
5
|
+
"title": "Vue Storybook Configure",
|
|
6
|
+
"description": "Set up Storybook for a Vue project.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"aliases": ["name", "projectName"],
|
|
12
|
+
"description": "Project for which to generate Storybook configuration.",
|
|
13
|
+
"$default": {
|
|
14
|
+
"$source": "argv",
|
|
15
|
+
"index": 0
|
|
16
|
+
},
|
|
17
|
+
"x-prompt": "For which project do you want to generate Storybook configuration?",
|
|
18
|
+
"x-dropdown": "projects",
|
|
19
|
+
"x-priority": "important"
|
|
20
|
+
},
|
|
21
|
+
"interactionTests": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"description": "Set up Storybook interaction tests.",
|
|
24
|
+
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
25
|
+
"x-priority": "important",
|
|
26
|
+
"alias": ["configureTestRunner"],
|
|
27
|
+
"default": true
|
|
28
|
+
},
|
|
29
|
+
"generateStories": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Automatically generate `*.stories.ts` files for components declared in this project?",
|
|
32
|
+
"x-prompt": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
33
|
+
"default": true,
|
|
34
|
+
"x-priority": "important"
|
|
35
|
+
},
|
|
36
|
+
"configureStaticServe": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Specifies whether to configure a static file server target for serving storybook. Helpful for speeding up CI build/test times.",
|
|
39
|
+
"x-prompt": "Configure a static file server for the storybook instance?",
|
|
40
|
+
"default": true,
|
|
41
|
+
"x-priority": "important"
|
|
42
|
+
},
|
|
43
|
+
"js": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Generate JavaScript story files rather than TypeScript story files.",
|
|
46
|
+
"default": false
|
|
47
|
+
},
|
|
48
|
+
"tsConfiguration": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.",
|
|
51
|
+
"default": true
|
|
52
|
+
},
|
|
53
|
+
"linter": {
|
|
54
|
+
"description": "The tool to use for running lint checks.",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"enum": ["eslint"],
|
|
57
|
+
"default": "eslint"
|
|
58
|
+
},
|
|
59
|
+
"ignorePaths": {
|
|
60
|
+
"type": "array",
|
|
61
|
+
"description": "Paths to ignore when looking for components.",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "Path to ignore."
|
|
65
|
+
},
|
|
66
|
+
"default": [
|
|
67
|
+
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
68
|
+
],
|
|
69
|
+
"examples": [
|
|
70
|
+
"apps/my-app/src/not-stories/**",
|
|
71
|
+
"**/**/src/**/not-stories/**",
|
|
72
|
+
"libs/my-lib/**/*.something.ts",
|
|
73
|
+
"**/**/src/**/*.other.*",
|
|
74
|
+
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
75
|
+
]
|
|
76
|
+
}
|
|
20
77
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"description": "Set up Storybook interaction tests.",
|
|
24
|
-
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
25
|
-
"x-priority": "important",
|
|
26
|
-
"alias": ["configureTestRunner"],
|
|
27
|
-
"default": true
|
|
28
|
-
},
|
|
29
|
-
"generateStories": {
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"description": "Automatically generate `*.stories.ts` files for components declared in this project?",
|
|
32
|
-
"x-prompt": "Automatically generate *.stories.ts files for components declared in this project?",
|
|
33
|
-
"default": true,
|
|
34
|
-
"x-priority": "important"
|
|
35
|
-
},
|
|
36
|
-
"configureStaticServe": {
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"description": "Specifies whether to configure a static file server target for serving storybook. Helpful for speeding up CI build/test times.",
|
|
39
|
-
"x-prompt": "Configure a static file server for the storybook instance?",
|
|
40
|
-
"default": true,
|
|
41
|
-
"x-priority": "important"
|
|
42
|
-
},
|
|
43
|
-
"js": {
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"description": "Generate JavaScript story files rather than TypeScript story files.",
|
|
46
|
-
"default": false
|
|
47
|
-
},
|
|
48
|
-
"tsConfiguration": {
|
|
49
|
-
"type": "boolean",
|
|
50
|
-
"description": "Configure your project with TypeScript. Generate main.ts and preview.ts files, instead of main.js and preview.js.",
|
|
51
|
-
"default": true
|
|
52
|
-
},
|
|
53
|
-
"linter": {
|
|
54
|
-
"description": "The tool to use for running lint checks.",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"enum": ["eslint"],
|
|
57
|
-
"default": "eslint"
|
|
58
|
-
},
|
|
59
|
-
"ignorePaths": {
|
|
60
|
-
"type": "array",
|
|
61
|
-
"description": "Paths to ignore when looking for components.",
|
|
62
|
-
"items": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"description": "Path to ignore."
|
|
65
|
-
},
|
|
66
|
-
"default": [
|
|
67
|
-
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
68
|
-
],
|
|
69
|
-
"examples": [
|
|
70
|
-
"apps/my-app/src/not-stories/**",
|
|
71
|
-
"**/**/src/**/not-stories/**",
|
|
72
|
-
"libs/my-lib/**/*.something.ts",
|
|
73
|
-
"**/**/src/**/*.other.*",
|
|
74
|
-
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"required": ["project"],
|
|
79
|
-
"examplesFile": "../../../docs/storybook-configuration-examples.md"
|
|
78
|
+
"required": ["project"],
|
|
79
|
+
"examplesFile": "../../../docs/storybook-configuration-examples.md"
|
|
80
80
|
}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare const eslintPluginVueVersion = "^9.16.1";
|
|
|
11
11
|
export declare const postcssVersion = "8.4.21";
|
|
12
12
|
export declare const tailwindcssVersion = "3.2.7";
|
|
13
13
|
export declare const autoprefixerVersion = "10.4.13";
|
|
14
|
-
export declare const sassVersion = "1.
|
|
14
|
+
export declare const sassVersion = "^1.70.0";
|
|
15
15
|
export declare const lessVersion = "3.12.2";
|
|
16
16
|
//# sourceMappingURL=versions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/vue/src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAG/D,eAAO,MAAM,UAAU,YAAY,CAAC;AACpC,eAAO,MAAM,aAAa,WAAW,CAAC;AACtC,eAAO,MAAM,gBAAgB,WAAW,CAAC;AAGzC,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAC5C,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAG7C,eAAO,MAAM,8BAA8B,YAAY,CAAC;AACxD,eAAO,MAAM,gCAAgC,YAAY,CAAC;AAC1D,eAAO,MAAM,yCAAyC,YAAY,CAAC;AACnE,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAGhD,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAG7C,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/vue/src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAG/D,eAAO,MAAM,UAAU,YAAY,CAAC;AACpC,eAAO,MAAM,aAAa,WAAW,CAAC;AACtC,eAAO,MAAM,gBAAgB,WAAW,CAAC;AAGzC,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAC5C,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAG7C,eAAO,MAAM,8BAA8B,YAAY,CAAC;AACxD,eAAO,MAAM,gCAAgC,YAAY,CAAC;AAC1D,eAAO,MAAM,yCAAyC,YAAY,CAAC;AACnE,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAGhD,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAC1C,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAG7C,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,WAAW,WAAW,CAAC"}
|
package/src/utils/versions.js
CHANGED