Relocate new default template yaml files
Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
"templates": [
|
||||
{
|
||||
"id": "local web plugin",
|
||||
"target": "./packages/cli/templates/alpha/web-library-package.yaml"
|
||||
"target": "./packages/cli/templates/web-library-package.yaml"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ import {
|
||||
moduleIdIdPrompt,
|
||||
// ownerPrompt, // 🚨 WIP
|
||||
} from '../../lib/new/factories/common/prompts';
|
||||
import defaultTemplates from '../../../templates/alpha/all-default-templates';
|
||||
import defaultTemplates from '../../../templates';
|
||||
|
||||
type ConfigurablePrompt =
|
||||
| {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/backendModule.ts
|
||||
description: A new backend module that extends an existing backend plugin with additional features
|
||||
template: ../default-backend-module
|
||||
template: ./default-backend-module
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/backendPlugin.ts
|
||||
description: A new backend plugin
|
||||
template: ../default-backend-plugin
|
||||
template: ./default-backend-plugin
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/pluginCommon.ts
|
||||
description: A new isomorphic common plugin package
|
||||
template: ../default-common-plugin-package
|
||||
template: ./default-common-plugin-package
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/pluginNode.ts
|
||||
description: A new Node.js library plugin package
|
||||
template: ../default-node-plugin-package
|
||||
template: ./default-node-plugin-package
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/frontendPlugin.ts
|
||||
description: A new frontend plugin
|
||||
template: ../default-plugin
|
||||
template: ./default-plugin
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/pluginWeb.ts
|
||||
description: A new web library plugin package
|
||||
template: ../default-react-plugin-package
|
||||
template: ./default-react-plugin-package
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/nodeLibraryPackage.ts
|
||||
description: A new node-library package, exporting shared functionality for backend plugins and modules
|
||||
template: ../node-library-package
|
||||
template: ./node-library-package
|
||||
targetPath: packages
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/scaffolderModule.ts
|
||||
description: A module exporting custom actions for @backstage/plugin-scaffolder-backend
|
||||
template: ../scaffolder-module
|
||||
template: ./scaffolder-module
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# lib/new/factories/webLibraryPackage.ts
|
||||
description: A new web-library package, exporting shared functionality for frontend plugins
|
||||
template: ../web-library-package
|
||||
template: ./web-library-package
|
||||
targetPath: packages
|
||||
prompts:
|
||||
- id
|
||||
Reference in New Issue
Block a user