@nx/angular 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 +62 -62
- package/generators.json +185 -185
- package/migrations.json +2412 -2412
- package/ng-package.json +19 -19
- package/package.json +10 -10
- package/project.json +2 -8
- package/src/builders/dev-server/schema.json +163 -163
- package/src/builders/webpack-browser/schema.json +567 -567
- package/src/builders/webpack-server/schema.json +303 -303
- package/src/executors/application/schema.json +732 -732
- package/src/executors/browser-esbuild/schema.json +548 -548
- package/src/executors/delegate-build/schema.json +31 -31
- package/src/executors/extract-i18n/schema.json +47 -47
- package/src/executors/module-federation-dev-server/schema.json +164 -164
- package/src/executors/module-federation-ssr-dev-server/schema.json +119 -119
- package/src/executors/ng-packagr-lite/schema.json +35 -35
- package/src/executors/package/schema.json +35 -35
- package/src/executors/unit-test/schema.json +305 -305
- package/src/generators/add-linting/schema.json +48 -48
- package/src/generators/application/schema.json +188 -188
- package/src/generators/component/schema.json +123 -123
- package/src/generators/component-story/schema.json +50 -50
- package/src/generators/component-test/schema.json +52 -52
- package/src/generators/convert-to-application-executor/schema.json +23 -23
- package/src/generators/convert-to-rspack/schema.json +27 -27
- package/src/generators/convert-to-with-mf/schema.json +30 -30
- package/src/generators/cypress-component-configuration/schema.json +43 -43
- package/src/generators/directive/schema.json +89 -89
- package/src/generators/federate-module/schema.json +80 -80
- package/src/generators/host/schema.json +189 -189
- package/src/generators/init/schema.json +31 -31
- package/src/generators/library/schema.json +189 -189
- package/src/generators/library-secondary-entry-point/schema.json +40 -40
- package/src/generators/move/schema.json +53 -53
- package/src/generators/ng-add/schema.json +62 -63
- package/src/generators/ngrx/schema.json +99 -99
- package/src/generators/ngrx-feature-store/schema.json +69 -69
- package/src/generators/ngrx-root-store/schema.json +68 -68
- package/src/generators/pipe/schema.json +75 -75
- package/src/generators/remote/schema.json +182 -182
- package/src/generators/scam/schema.json +120 -120
- package/src/generators/scam-directive/schema.json +82 -82
- package/src/generators/scam-pipe/schema.json +64 -64
- package/src/generators/scam-to-standalone/schema.json +29 -29
- package/src/generators/setup-mf/schema.json +90 -90
- package/src/generators/setup-ssr/schema.json +70 -70
- package/src/generators/setup-tailwind/schema.json +39 -39
- package/src/generators/stories/schema.json +53 -53
- package/src/generators/storybook-configuration/schema.json +80 -80
- package/src/generators/web-worker/schema.json +45 -45
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "GeneratorAngularMFSetup",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Generate Module Federation Setup for Angular App",
|
|
6
|
+
"description": "Create Module Federation configuration files for given Angular Application.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"appName": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The name of the application to generate the Module Federation configuration for.",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "What app would you like to generate a Module Federation configuration for?",
|
|
17
|
+
"x-dropdown": "projects"
|
|
18
|
+
},
|
|
19
|
+
"mfType": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": ["host", "remote"],
|
|
22
|
+
"description": "Type of application to generate the Module Federation configuration for.",
|
|
23
|
+
"default": "remote"
|
|
24
|
+
},
|
|
25
|
+
"federationType": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["static", "dynamic"],
|
|
28
|
+
"description": "Use either Static or Dynamic Module Federation pattern for the application.",
|
|
29
|
+
"default": "static"
|
|
30
|
+
},
|
|
31
|
+
"port": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"description": "The port at which the remote application should be served."
|
|
34
|
+
},
|
|
35
|
+
"remotes": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"description": "A list of remote application names that the Consumer (host) application should consume.",
|
|
38
|
+
"alias": "producers"
|
|
39
|
+
},
|
|
40
|
+
"host": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "The name of the host application that the remote application will be consumed by.",
|
|
43
|
+
"alias": "consumer"
|
|
44
|
+
},
|
|
45
|
+
"routing": {
|
|
46
|
+
"type": "boolean",
|
|
47
|
+
"description": "Generate a routing setup to allow a Consumer (host) application to route to the Producer (remote) application.",
|
|
48
|
+
"x-priority": "important"
|
|
49
|
+
},
|
|
50
|
+
"skipFormat": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "Skip formatting the workspace after the generator completes.",
|
|
53
|
+
"x-priority": "internal"
|
|
54
|
+
},
|
|
55
|
+
"skipPackageJson": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"default": false,
|
|
58
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
59
|
+
"x-priority": "internal"
|
|
60
|
+
},
|
|
61
|
+
"skipE2E": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"default": false,
|
|
64
|
+
"description": "Do not set up E2E related config."
|
|
65
|
+
},
|
|
66
|
+
"e2eProjectName": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "The project name of the associated E2E project for the application. This is only required for Cypress E2E projects that do not follow the naming convention `<appName>-e2e`."
|
|
69
|
+
},
|
|
70
|
+
"prefix": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "The prefix to use for any generated component."
|
|
73
|
+
},
|
|
74
|
+
"standalone": {
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Whether the application is a standalone application.",
|
|
77
|
+
"default": true
|
|
78
|
+
},
|
|
79
|
+
"typescriptConfiguration": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"description": "Whether the module federation configuration and webpack configuration files should use TS.",
|
|
82
|
+
"default": true
|
|
83
|
+
},
|
|
84
|
+
"setParserOptionsProject": {
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
87
|
+
"default": false
|
|
88
|
+
}
|
|
18
89
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"description": "Type of application to generate the Module Federation configuration for.",
|
|
23
|
-
"default": "remote"
|
|
24
|
-
},
|
|
25
|
-
"federationType": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"enum": ["static", "dynamic"],
|
|
28
|
-
"description": "Use either Static or Dynamic Module Federation pattern for the application.",
|
|
29
|
-
"default": "static"
|
|
30
|
-
},
|
|
31
|
-
"port": {
|
|
32
|
-
"type": "number",
|
|
33
|
-
"description": "The port at which the remote application should be served."
|
|
34
|
-
},
|
|
35
|
-
"remotes": {
|
|
36
|
-
"type": "array",
|
|
37
|
-
"description": "A list of remote application names that the Consumer (host) application should consume.",
|
|
38
|
-
"alias": "producers"
|
|
39
|
-
},
|
|
40
|
-
"host": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"description": "The name of the host application that the remote application will be consumed by.",
|
|
43
|
-
"alias": "consumer"
|
|
44
|
-
},
|
|
45
|
-
"routing": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"description": "Generate a routing setup to allow a Consumer (host) application to route to the Producer (remote) application.",
|
|
48
|
-
"x-priority": "important"
|
|
49
|
-
},
|
|
50
|
-
"skipFormat": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "Skip formatting the workspace after the generator completes.",
|
|
53
|
-
"x-priority": "internal"
|
|
54
|
-
},
|
|
55
|
-
"skipPackageJson": {
|
|
56
|
-
"type": "boolean",
|
|
57
|
-
"default": false,
|
|
58
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
59
|
-
"x-priority": "internal"
|
|
60
|
-
},
|
|
61
|
-
"skipE2E": {
|
|
62
|
-
"type": "boolean",
|
|
63
|
-
"default": false,
|
|
64
|
-
"description": "Do not set up E2E related config."
|
|
65
|
-
},
|
|
66
|
-
"e2eProjectName": {
|
|
67
|
-
"type": "string",
|
|
68
|
-
"description": "The project name of the associated E2E project for the application. This is only required for Cypress E2E projects that do not follow the naming convention `<appName>-e2e`."
|
|
69
|
-
},
|
|
70
|
-
"prefix": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"description": "The prefix to use for any generated component."
|
|
73
|
-
},
|
|
74
|
-
"standalone": {
|
|
75
|
-
"type": "boolean",
|
|
76
|
-
"description": "Whether the application is a standalone application.",
|
|
77
|
-
"default": true
|
|
78
|
-
},
|
|
79
|
-
"typescriptConfiguration": {
|
|
80
|
-
"type": "boolean",
|
|
81
|
-
"description": "Whether the module federation configuration and webpack configuration files should use TS.",
|
|
82
|
-
"default": true
|
|
83
|
-
},
|
|
84
|
-
"setParserOptionsProject": {
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
87
|
-
"default": false
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"required": ["appName", "mfType"],
|
|
91
|
-
"additionalProperties": false,
|
|
92
|
-
"examplesFile": "../../../docs/setup-mf-examples.md"
|
|
90
|
+
"required": ["appName", "mfType"],
|
|
91
|
+
"additionalProperties": false,
|
|
92
|
+
"examplesFile": "../../../docs/setup-mf-examples.md"
|
|
93
93
|
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "GeneratorAngularUniversalSetup",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Generate Angular Universal (SSR) setup for an Angular App",
|
|
6
|
+
"description": "Create the additional configuration required to enable SSR via Angular Universal for an Angular application.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The name of the application to generate the Angular Universal configuration for.",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "What app would you like to generate an Angular Universal configuration for?",
|
|
17
|
+
"x-dropdown": "projects"
|
|
18
|
+
},
|
|
19
|
+
"main": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "path",
|
|
22
|
+
"description": "The name of the main entry-point file.",
|
|
23
|
+
"default": "main.server.ts"
|
|
24
|
+
},
|
|
25
|
+
"serverFileName": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"default": "server.ts",
|
|
28
|
+
"description": "The name of the Express server file."
|
|
29
|
+
},
|
|
30
|
+
"serverPort": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"default": 4000,
|
|
33
|
+
"description": "The port for the Express server."
|
|
34
|
+
},
|
|
35
|
+
"rootModuleFileName": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"format": "path",
|
|
38
|
+
"description": "The name of the root module file",
|
|
39
|
+
"default": "app.server.module.ts"
|
|
40
|
+
},
|
|
41
|
+
"rootModuleClassName": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "The name of the root module class.",
|
|
44
|
+
"default": "AppServerModule"
|
|
45
|
+
},
|
|
46
|
+
"standalone": {
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"description": "Use Standalone Components to bootstrap SSR."
|
|
49
|
+
},
|
|
50
|
+
"hydration": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "Set up Hydration for the SSR application.",
|
|
53
|
+
"default": true
|
|
54
|
+
},
|
|
55
|
+
"serverRouting": {
|
|
56
|
+
"description": "Creates a server application using the Server Routing and App Engine APIs for application using the `application` builder (Developer Preview). _Note: this is only supported in Angular versions 19.x.x_. From Angular 20 onwards, SSR will always enable server routing when using the `application` builder.",
|
|
57
|
+
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"skipFormat": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"description": "Skip formatting the workspace after the generator completes.",
|
|
62
|
+
"x-priority": "internal"
|
|
63
|
+
},
|
|
64
|
+
"skipPackageJson": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"default": false,
|
|
67
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
68
|
+
"x-priority": "internal"
|
|
69
|
+
}
|
|
18
70
|
},
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"format": "path",
|
|
22
|
-
"description": "The name of the main entry-point file.",
|
|
23
|
-
"default": "main.server.ts"
|
|
24
|
-
},
|
|
25
|
-
"serverFileName": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"default": "server.ts",
|
|
28
|
-
"description": "The name of the Express server file."
|
|
29
|
-
},
|
|
30
|
-
"serverPort": {
|
|
31
|
-
"type": "number",
|
|
32
|
-
"default": 4000,
|
|
33
|
-
"description": "The port for the Express server."
|
|
34
|
-
},
|
|
35
|
-
"rootModuleFileName": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"format": "path",
|
|
38
|
-
"description": "The name of the root module file",
|
|
39
|
-
"default": "app.server.module.ts"
|
|
40
|
-
},
|
|
41
|
-
"rootModuleClassName": {
|
|
42
|
-
"type": "string",
|
|
43
|
-
"description": "The name of the root module class.",
|
|
44
|
-
"default": "AppServerModule"
|
|
45
|
-
},
|
|
46
|
-
"standalone": {
|
|
47
|
-
"type": "boolean",
|
|
48
|
-
"description": "Use Standalone Components to bootstrap SSR."
|
|
49
|
-
},
|
|
50
|
-
"hydration": {
|
|
51
|
-
"type": "boolean",
|
|
52
|
-
"description": "Set up Hydration for the SSR application.",
|
|
53
|
-
"default": true
|
|
54
|
-
},
|
|
55
|
-
"serverRouting": {
|
|
56
|
-
"description": "Creates a server application using the Server Routing and App Engine APIs for application using the `application` builder (Developer Preview). _Note: this is only supported in Angular versions 19.x.x_. From Angular 20 onwards, SSR will always enable server routing when using the `application` builder.",
|
|
57
|
-
"type": "boolean"
|
|
58
|
-
},
|
|
59
|
-
"skipFormat": {
|
|
60
|
-
"type": "boolean",
|
|
61
|
-
"description": "Skip formatting the workspace after the generator completes.",
|
|
62
|
-
"x-priority": "internal"
|
|
63
|
-
},
|
|
64
|
-
"skipPackageJson": {
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"default": false,
|
|
67
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
68
|
-
"x-priority": "internal"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"required": ["project"],
|
|
72
|
-
"additionalProperties": false
|
|
71
|
+
"required": ["project"],
|
|
72
|
+
"additionalProperties": false
|
|
73
73
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxAngularTailwindSetupGenerator",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Configures Tailwind CSS for an application or a buildable/publishable library.",
|
|
6
|
+
"description": "Adds the Tailwind CSS configuration files for a given Angular project and installs, if needed, the packages required for Tailwind CSS to work.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The name of the project to add the Tailwind CSS setup for.",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "What project would you like to add the Tailwind CSS setup?"
|
|
17
|
+
},
|
|
18
|
+
"buildTarget": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The name of the target used to build the project. This option only applies to buildable/publishable libraries.",
|
|
21
|
+
"default": "build"
|
|
22
|
+
},
|
|
23
|
+
"skipFormat": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Skips formatting the workspace after the generator completes.",
|
|
26
|
+
"x-priority": "internal"
|
|
27
|
+
},
|
|
28
|
+
"stylesEntryPoint": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "Path to the styles entry point relative to the workspace root. If not provided the generator will do its best to find it and it will error if it can't. This option only applies to applications."
|
|
31
|
+
},
|
|
32
|
+
"skipPackageJson": {
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"default": false,
|
|
35
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
36
|
+
"x-priority": "internal"
|
|
37
|
+
}
|
|
17
38
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"default": "build"
|
|
22
|
-
},
|
|
23
|
-
"skipFormat": {
|
|
24
|
-
"type": "boolean",
|
|
25
|
-
"description": "Skips formatting the workspace after the generator completes.",
|
|
26
|
-
"x-priority": "internal"
|
|
27
|
-
},
|
|
28
|
-
"stylesEntryPoint": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"description": "Path to the styles entry point relative to the workspace root. If not provided the generator will do its best to find it and it will error if it can't. This option only applies to applications."
|
|
31
|
-
},
|
|
32
|
-
"skipPackageJson": {
|
|
33
|
-
"type": "boolean",
|
|
34
|
-
"default": false,
|
|
35
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
36
|
-
"x-priority": "internal"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"additionalProperties": false,
|
|
40
|
-
"required": ["project"],
|
|
41
|
-
"examplesFile": "../../../docs/setup-tailwind-examples.md"
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"required": ["project"],
|
|
41
|
+
"examplesFile": "../../../docs/setup-tailwind-examples.md"
|
|
42
42
|
}
|
|
@@ -1,56 +1,56 @@
|
|
|
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
|
+
"$id": "NxAngularStorybookStoriesGenerator",
|
|
4
|
+
"title": "Create Storybook stories/specs",
|
|
5
|
+
"description": "Creates Storybook stories/specs for all Angular components declared in a project.",
|
|
6
|
+
"cli": "nx",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"aliases": ["project", "projectName"],
|
|
12
|
+
"description": "Project for which to generate stories.",
|
|
13
|
+
"$default": {
|
|
14
|
+
"$source": "argv",
|
|
15
|
+
"index": 0
|
|
16
|
+
},
|
|
17
|
+
"x-prompt": "What's the name of the project for which you want to generate stories?",
|
|
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
|
+
"default": true
|
|
27
|
+
},
|
|
28
|
+
"skipFormat": {
|
|
29
|
+
"description": "Skip formatting files.",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"x-priority": "internal"
|
|
33
|
+
},
|
|
34
|
+
"ignorePaths": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"description": "Paths to ignore when looking for components.",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Path to ignore."
|
|
40
|
+
},
|
|
41
|
+
"default": [
|
|
42
|
+
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
43
|
+
],
|
|
44
|
+
"examples": [
|
|
45
|
+
"apps/my-app/src/not-stories/**",
|
|
46
|
+
"**/**/src/**/not-stories/**",
|
|
47
|
+
"libs/my-lib/**/*.something.ts",
|
|
48
|
+
"**/**/src/**/*.other.*",
|
|
49
|
+
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
20
52
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"x-prompt": "Do you want to set up Storybook interaction tests?",
|
|
25
|
-
"x-priority": "important",
|
|
26
|
-
"default": true
|
|
27
|
-
},
|
|
28
|
-
"skipFormat": {
|
|
29
|
-
"description": "Skip formatting files.",
|
|
30
|
-
"type": "boolean",
|
|
31
|
-
"default": false,
|
|
32
|
-
"x-priority": "internal"
|
|
33
|
-
},
|
|
34
|
-
"ignorePaths": {
|
|
35
|
-
"type": "array",
|
|
36
|
-
"description": "Paths to ignore when looking for components.",
|
|
37
|
-
"items": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"description": "Path to ignore."
|
|
40
|
-
},
|
|
41
|
-
"default": [
|
|
42
|
-
"*.stories.ts,*.stories.tsx,*.stories.js,*.stories.jsx,*.stories.mdx"
|
|
43
|
-
],
|
|
44
|
-
"examples": [
|
|
45
|
-
"apps/my-app/src/not-stories/**",
|
|
46
|
-
"**/**/src/**/not-stories/**",
|
|
47
|
-
"libs/my-lib/**/*.something.ts",
|
|
48
|
-
"**/**/src/**/*.other.*",
|
|
49
|
-
"libs/my-lib/src/not-stories/**,**/**/src/**/*.other.*,apps/my-app/**/*.something.ts"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"additionalProperties": false,
|
|
54
|
-
"required": ["name"],
|
|
55
|
-
"examplesFile": "../../../docs/stories-examples.md"
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["name"],
|
|
55
|
+
"examplesFile": "../../../docs/stories-examples.md"
|
|
56
56
|
}
|