@ng-annotate/angular 0.5.2 → 0.5.3
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.
|
@@ -3,5 +3,125 @@
|
|
|
3
3
|
"title": "ng-annotate Dev Server",
|
|
4
4
|
"description": "Wraps @angular/build:dev-server with integrated ng-annotate WebSocket and manifest support.",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"properties": {
|
|
6
|
+
"properties": {
|
|
7
|
+
"buildTarget": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "A build builder target to serve in the format of `project:target[:configuration]`. You can also pass in more than one configuration name as a comma-separated list. Example: `project:target:production,staging`.",
|
|
10
|
+
"pattern": "^[^:\\s]*:[^:\\s]*(:[^\\s]+)?$"
|
|
11
|
+
},
|
|
12
|
+
"port": {
|
|
13
|
+
"type": "number",
|
|
14
|
+
"description": "Port to listen on.",
|
|
15
|
+
"default": 4200
|
|
16
|
+
},
|
|
17
|
+
"host": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Host to listen on.",
|
|
20
|
+
"default": "localhost"
|
|
21
|
+
},
|
|
22
|
+
"proxyConfig": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Proxy configuration file. For more information, see https://angular.dev/tools/cli/serve#proxying-to-a-backend-server."
|
|
25
|
+
},
|
|
26
|
+
"ssl": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Serve using HTTPS.",
|
|
29
|
+
"default": false
|
|
30
|
+
},
|
|
31
|
+
"sslKey": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "SSL key to use for serving HTTPS."
|
|
34
|
+
},
|
|
35
|
+
"sslCert": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "SSL certificate to use for serving HTTPS."
|
|
38
|
+
},
|
|
39
|
+
"allowedHosts": {
|
|
40
|
+
"description": "The hosts that the development server will respond to.",
|
|
41
|
+
"default": [],
|
|
42
|
+
"oneOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"description": "A list of hosts that the development server will respond to.",
|
|
46
|
+
"items": { "type": "string" }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Indicates that all hosts are allowed."
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"define": {
|
|
55
|
+
"description": "Defines global identifiers that will be replaced with a specified constant value when found in any JavaScript or TypeScript code including libraries.",
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": { "type": "string" }
|
|
58
|
+
},
|
|
59
|
+
"headers": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"description": "Custom HTTP headers to be added to all responses.",
|
|
62
|
+
"propertyNames": { "pattern": "^[-_A-Za-z0-9]+$" },
|
|
63
|
+
"additionalProperties": { "type": "string" }
|
|
64
|
+
},
|
|
65
|
+
"open": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"description": "Opens the url in default browser.",
|
|
68
|
+
"default": false,
|
|
69
|
+
"alias": "o"
|
|
70
|
+
},
|
|
71
|
+
"verbose": {
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "Adds more details to output logging."
|
|
74
|
+
},
|
|
75
|
+
"liveReload": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"description": "Whether to reload the page on change, using live-reload.",
|
|
78
|
+
"default": true
|
|
79
|
+
},
|
|
80
|
+
"servePath": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "The pathname where the application will be served."
|
|
83
|
+
},
|
|
84
|
+
"hmr": {
|
|
85
|
+
"type": "boolean",
|
|
86
|
+
"description": "Enable hot module replacement. Defaults to the value of 'liveReload'."
|
|
87
|
+
},
|
|
88
|
+
"watch": {
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"description": "Rebuild on change.",
|
|
91
|
+
"default": true
|
|
92
|
+
},
|
|
93
|
+
"poll": {
|
|
94
|
+
"type": "number",
|
|
95
|
+
"description": "Enable and define the file watching poll time period in milliseconds."
|
|
96
|
+
},
|
|
97
|
+
"inspect": {
|
|
98
|
+
"default": false,
|
|
99
|
+
"description": "Activate debugging inspector.",
|
|
100
|
+
"oneOf": [
|
|
101
|
+
{ "type": "string" },
|
|
102
|
+
{ "type": "boolean" }
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"prebundle": {
|
|
106
|
+
"description": "Enable and control the Vite-based development server's prebundling capabilities.",
|
|
107
|
+
"default": true,
|
|
108
|
+
"oneOf": [
|
|
109
|
+
{ "type": "boolean" },
|
|
110
|
+
{
|
|
111
|
+
"type": "object",
|
|
112
|
+
"properties": {
|
|
113
|
+
"exclude": {
|
|
114
|
+
"description": "List of package imports that should not be prebundled by the development server.",
|
|
115
|
+
"type": "array",
|
|
116
|
+
"items": { "type": "string" }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"additionalProperties": false,
|
|
120
|
+
"required": ["exclude"]
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"additionalProperties": false,
|
|
126
|
+
"required": ["buildTarget"]
|
|
7
127
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-annotate/angular",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"builders": "./builders.json",
|
|
6
6
|
"description": "Angular library for ng-annotate-mcp — browser overlay for annotating components and routing instructions to an AI agent",
|