@travetto/compiler 7.0.6 → 7.1.0
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/README.md +2 -1
- package/bin/trvc-target.js +1 -1
- package/package.json +4 -4
- package/support/invoke.ts +10 -9
package/README.md
CHANGED
|
@@ -33,7 +33,8 @@ The compiler cli supports the following operations:
|
|
|
33
33
|
* `info` - Retrieve the compiler information, if running
|
|
34
34
|
* `event <log|progress|state>` - Watch events in realtime as newline delimited JSON
|
|
35
35
|
* `exec <file> [...args]` - Allow for compiling and executing an entrypoint file
|
|
36
|
-
* `manifest
|
|
36
|
+
* `manifest [output]` - Generate the project manifest
|
|
37
|
+
* `manifest:production [output]` - Generate the production project manifest
|
|
37
38
|
|
|
38
39
|
In addition to the normal output, the compiler supports an environment variable `TRV_BUILD` that supports the following values: `debug`, `info`, `warn` or `none`. This provides different level of logging during the build process which is helpful to diagnose any odd behaviors. When invoking an unknown command (e.g. `<other>` from above), the default level is `warn`. Otherwise the default logging level is `info`.
|
|
39
40
|
|
package/bin/trvc-target.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/compiler",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The compiler infrastructure for the Travetto framework",
|
|
6
6
|
"keywords": [
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@parcel/watcher": "^2.5.4",
|
|
34
|
-
"@travetto/manifest": "^7.0
|
|
35
|
-
"@travetto/transformer": "^7.0
|
|
34
|
+
"@travetto/manifest": "^7.1.0",
|
|
35
|
+
"@travetto/transformer": "^7.1.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@travetto/cli": "^7.0
|
|
38
|
+
"@travetto/cli": "^7.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@travetto/cli": {
|
package/support/invoke.ts
CHANGED
|
@@ -11,15 +11,16 @@ const HELP = `
|
|
|
11
11
|
npx trvc [command]
|
|
12
12
|
|
|
13
13
|
Available Commands:
|
|
14
|
-
* start|watch
|
|
15
|
-
* stop
|
|
16
|
-
* restart
|
|
17
|
-
* build
|
|
18
|
-
* clean
|
|
19
|
-
* info
|
|
20
|
-
* event <log|progress|state>
|
|
21
|
-
* exec <file> [...args]
|
|
22
|
-
* manifest
|
|
14
|
+
* start|watch - Run the compiler in watch mode
|
|
15
|
+
* stop - Stop the compiler if running
|
|
16
|
+
* restart - Restart the compiler in watch mode
|
|
17
|
+
* build - Ensure the project is built and upto date
|
|
18
|
+
* clean - Clean out the output and compiler caches
|
|
19
|
+
* info - Retrieve the compiler information, if running
|
|
20
|
+
* event <log|progress|state> - Watch events in realtime as newline delimited JSON
|
|
21
|
+
* exec <file> [...args] - Allow for compiling and executing an entrypoint file
|
|
22
|
+
* manifest [output] - Generate the project manifest
|
|
23
|
+
* manifest:production [output] - Generate the production project manifest
|
|
23
24
|
`;
|
|
24
25
|
|
|
25
26
|
/**
|