Skip to content

Commit

Permalink
fix(repo): update patterns for directory options
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Sep 26, 2024
1 parent af12cfc commit 08d362f
Show file tree
Hide file tree
Showing 56 changed files with 70 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/angular/generators/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"type": "string",
"description": "The name to give to the host Angular application.",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"remotes": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/angular/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"type": "string",
"description": "A directory where the library is placed.",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"publishable": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/angular/generators/remote.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"type": "string",
"description": "The name to give to the remote Angular app.",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"host": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/detox/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"type": "string",
"description": "A directory where the project is placed relative current working directory (CWD).",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the E2E project in?"
},
"e2eName": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/expo/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"displayName": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/expo/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"type": "string",
"description": "A directory where the lib is placed.",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"pattern": "^[a-zA-Z][^:]*$",
"type": "string"
},
"skipFormat": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/js/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"type": "string",
"description": "A directory where the lib is placed.",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nest/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"skipFormat": {
Expand Down
7 changes: 5 additions & 2 deletions docs/generated/packages/nest/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": { "description": "Library name.", "type": "string" },
"name": {
"description": "Library name.",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"type": "string"
},
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/next/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/next/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"description": "A directory where the lib is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
"type": "string",
"description": "Library name",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/node/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"skipFormat": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/node/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"description": "A directory where the lib is placed",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
"type": "string",
"description": "Library name",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-priority": "important"
},
"simpleModuleName": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nuxt/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"linter": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/plugin/generators/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"type": "string",
"description": "A directory where the plugin is placed.",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the plugin in?"
},
"name": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"pattern": "^[a-zA-Z./][a-zA-Z0-9./_-]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"pattern": "^[a-zA-Z][^:]*$",
"type": "string"
},
"displayName": {
Expand Down
3 changes: 2 additions & 1 deletion docs/generated/packages/react-native/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
"description": "A directory where the lib is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"pattern": "^[a-zA-Z./][a-zA-Z0-9./_-]*$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
"type": "string",
"description": "Library name.",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-priority": "important"
},
"linter": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/react/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/react/generators/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"type": "string",
"description": "The name of the host application to generate the Module Federation configuration",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
1 change: 0 additions & 1 deletion docs/generated/packages/react/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"description": "A directory where the lib is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/react/generators/remote.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"type": "string",
"description": "The name of the remote application to generate the Module Federation configuration",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"dynamic": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/remix/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"description": "A directory where the lib is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z].*$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
"type": "string",
"description": "Library name",
"pattern": "^[a-zA-Z].*$",
"x-priority": "important"
},
"tags": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/vue/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"type": "string",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/vue/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"description": "A directory where the lib is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"name": {
"type": "string",
"description": "Library name",
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-priority": "important"
},
"linter": {
Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/web/generators/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"description": "The directory of the new application.",
"type": "string",
"$default": { "$source": "argv", "index": 0 },
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"description": "A directory where the package is placed.",
"alias": "dir",
"$default": { "$source": "argv", "index": 0 },
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the package in?"
},
"name": { "type": "string", "description": "Package name." }
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/generators/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"$source": "argv",
"index": 0
},
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"description": "The name of the application.",
"type": "string",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"style": {
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/generators/host/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"$source": "argv",
"index": 0
},
"pattern": "^[a-zA-Z][^:]*$",
"x-prompt": "Which directory do you want to create the application in?"
},
"name": {
"type": "string",
"description": "The name to give to the host Angular application.",
"pattern": "^[a-zA-Z][^:]*$",
"x-priority": "important"
},
"remotes": {
Expand Down
1 change: 0 additions & 1 deletion packages/angular/src/generators/library/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"$source": "argv",
"index": 0
},
"pattern": "(?:^@[a-zA-Z0-9-*~][a-zA-Z0-9-*._~]*\\/[a-zA-Z0-9-~][a-zA-Z0-9-._~]*|^[a-zA-Z][^:]*)$",
"x-prompt": "Which directory do you want to create the library in?"
},
"publishable": {
Expand Down
Loading

0 comments on commit 08d362f

Please sign in to comment.