@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 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 --prod [output]` - Generate the project 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
 
@@ -1,4 +1,4 @@
1
1
  // @ts-check
2
2
  import './hook.js';
3
3
  const { Compiler } = await import('../src/compiler.ts');
4
- Compiler.main();
4
+ await Compiler.main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/compiler",
3
- "version": "7.0.6",
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.4",
35
- "@travetto/transformer": "^7.0.5"
34
+ "@travetto/manifest": "^7.1.0",
35
+ "@travetto/transformer": "^7.1.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@travetto/cli": "^7.0.8"
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 - 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 --prod [output] - Generate the project 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
  /**