whet 0.0.1 → 0.0.2

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/bin/whet/Whet.js CHANGED
@@ -10,7 +10,7 @@ const $global = Register.$global
10
10
  export const Whet_Fields_ = Register.global("$hxClasses")["whet._Whet.Whet_Fields_"] =
11
11
  class Whet_Fields_ {
12
12
  static main() {
13
- Whet_Fields_.program.enablePositionalOptions().passThroughOptions().description("Project tooling.").usage("[options] [command] [+ [command]...]").version("0.0.1", "-v, --version").allowUnknownOption(true).showSuggestionAfterError(true).option("-p, --project <file>", "project to run", "Project.mjs").option("-l, --log-level <level>", "log level, a string/number", "info");
13
+ Whet_Fields_.program.enablePositionalOptions().passThroughOptions().description("Project tooling.").usage("[options] [command] [+ [command]...]").version("0.0.2", "-v, --version").allowUnknownOption(true).showSuggestionAfterError(true).option("-p, --project <file>", "project to run", "Project.mjs").option("-l, --log-level <level>", "log level, a string/number", "info");
14
14
  Whet_Fields_.program.parse();
15
15
  var options = Whet_Fields_.program.opts();
16
16
  if (options.logLevel != null) {
package/bin/whet.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import {Whet_Fields_} from "./whet/Whet.js"
2
3
  import {Register} from "./genes/Register.js"
3
4
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "whet",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "NodeJS based assets management and project tooling library.",
5
5
  "scripts": {
6
- "devinit": "npx dts commander --modular --noLibWrap",
6
+ "devinit": "npx dts2hx commander --modular --noLibWrap",
7
7
  "build": "npx haxe build.hxml"
8
8
  },
9
9
  "repository": {
@@ -14,6 +14,7 @@
14
14
  "bin"
15
15
  ],
16
16
  "bin": "bin/whet.js",
17
+ "main": "bin/whet.js",
17
18
  "type": "module",
18
19
  "author": "Peter Achberger",
19
20
  "license": "MIT",