| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- {
- "$schema": "http://json-schema.org/schema",
- "id": "SchematicsAngularAppShell",
- "title": "Angular AppShell Options Schema",
- "type": "object",
- "description": "Generates an app shell for running a server-side version of an app.",
- "long-description": "./app-shell-long.md",
- "properties": {
- "clientProject": {
- "type": "string",
- "description": "The name of the related client app.",
- "$default": {
- "$source": "projectName"
- }
- },
- "universalProject": {
- "type": "string",
- "description": "The name of related Universal app.",
- "x-deprecated": "This option has no effect."
- },
- "route": {
- "type": "string",
- "description": "Route path used to produce the app shell.",
- "default": "shell"
- },
- "name": {
- "type": "string",
- "format": "html-selector",
- "description": "The HTML selector of the Universal app",
- "x-deprecated": "This option has no effect."
- },
- "appId": {
- "type": "string",
- "format": "html-selector",
- "description": "The app ID to use in withServerTransition().",
- "default": "serverApp"
- },
- "outDir": {
- "type": "string",
- "format": "path",
- "description": "The output directory for build results.",
- "default": "dist-server",
- "x-deprecated": "This option has no effect."
- },
- "root": {
- "type": "string",
- "format": "path",
- "description": "The root directory of the app.",
- "default": "src",
- "x-deprecated": "This option has no effect."
- },
- "index": {
- "type": "string",
- "format": "path",
- "description": "The name of the index file",
- "default": "index.html",
- "x-deprecated": "This option has no effect."
- },
- "main": {
- "type": "string",
- "format": "path",
- "description": "The name of the main entry-point file.",
- "default": "main.server.ts"
- },
- "test": {
- "type": "string",
- "format": "path",
- "description": "The name of the test entry-point file.",
- "x-deprecated": "This option has no effect."
- },
- "tsconfigFileName": {
- "type": "string",
- "format": "path",
- "default": "tsconfig.server",
- "description": "The name of the TypeScript configuration file."
- },
- "testTsconfigFileName": {
- "type": "string",
- "format": "path",
- "description": "The name of the TypeScript configuration file for tests.",
- "default": "tsconfig.spec",
- "x-deprecated": "This option has no effect."
- },
- "appDir": {
- "type": "string",
- "format": "path",
- "description": "The name of the application directory.",
- "default": "app"
- },
- "rootModuleFileName": {
- "type": "string",
- "format": "path",
- "description": "The name of the root module file",
- "default": "app.server.module.ts"
- },
- "rootModuleClassName": {
- "type": "string",
- "format": "html-selector",
- "description": "The name of the root module class.",
- "default": "AppServerModule"
- },
- "sourceDir": {
- "type": "string",
- "format": "path",
- "description": "The path of the source directory.",
- "default": "src",
- "alias": "D",
- "x-deprecated": "This option has no effect."
- }
- },
- "required": [
- "clientProject"
- ]
- }
|