@danielx/civet 0.6.40 → 0.6.41

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.
Files changed (2) hide show
  1. package/dist/civet +28 -28
  2. package/package.json +2 -2
package/dist/civet CHANGED
@@ -42,39 +42,39 @@ if (process.argv.includes("--version")) {
42
42
  process.exit(0);
43
43
  }
44
44
  if (process.argv.includes("--help")) {
45
- process.stderr.write(`\u2584\u2584\xB7 \u25AA \u258C \u2590\xB7\u2584\u2584\u2584 .\u2584\u2584\u2584\u2584\u2584
46
- \u2590\u2588 \u258C\u25AA\u2588\u2588 \u25AA\u2588\xB7\u2588\u258C\u2580\u2584.\u2580\xB7\u2022\u2588\u2588 _._ _,-'""\`-._
47
- \u2588\u2588 \u2584\u2584\u2590\u2588\xB7\u2590\u2588\u2590\u2588\u2022\u2590\u2580\u2580\u25AA\u2584 \u2590\u2588.\u25AA (,-.\`._,'( |\\\`-/|
48
- \u2590\u2588\u2588\u2588\u258C\u2590\u2588\u258C \u2588\u2588\u2588 \u2590\u2588\u2584\u2584\u258C \u2590\u2588\u258C\xB7 \`-.-' \\ )-\`( , o o)
49
- \xB7\u2580\u2580\u2580 \u2580\u2580\u2580. \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \`- \\\`_\`"'-
45
+ process.stderr.write(` \u2584\u2584\xB7 \u25AA \u258C \u2590\xB7\u2584\u2584\u2584 .\u2584\u2584\u2584\u2584\u2584
46
+ \u2590\u2588 \u258C\u25AA\u2588\u2588 \u25AA\u2588\xB7\u2588\u258C\u2580\u2584.\u2580\xB7\u2022\u2588\u2588 _._ _,-'""\`-._
47
+ \u2588\u2588 \u2584\u2584\u2590\u2588\xB7\u2590\u2588\u2590\u2588\u2022\u2590\u2580\u2580\u25AA\u2584 \u2590\u2588.\u25AA (,-.\`._,'( |\\\`-/|
48
+ \u2590\u2588\u2588\u2588\u258C\u2590\u2588\u258C \u2588\u2588\u2588 \u2590\u2588\u2584\u2584\u258C \u2590\u2588\u258C\xB7 \`-.-' \\ )-\`( , o o)
49
+ \xB7\u2580\u2580\u2580 \u2580\u2580\u2580. \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \`- \\\`_\`"'-
50
50
 
51
51
 
52
- Usage:
52
+ Usage:
53
53
 
54
- civet # REPL for executing code
55
- civet -c # REPL for transpiling code
56
- civet --ast # REPL for parsing code
57
- civet [options] input.civet # run input.civet
58
- civet [options] -c input.civet # -> input.civet.tsx
59
- civet [options] -c input.civet -o .ts # -> input.ts
60
- civet [options] -c input.civet -o dir # -> dir/input.civet.tsx
61
- civet [options] -c input.civet -o dir/.ts # -> dir/input.ts
62
- civet [options] -c input.civet -o output.ts # -> output.ts
63
- civet [options] < input.civet > output.ts # pipe form
54
+ civet # REPL for executing code
55
+ civet -c # REPL for transpiling code
56
+ civet --ast # REPL for parsing code
57
+ civet [options] input.civet # run input.civet
58
+ civet [options] -c input.civet # -> input.civet.tsx
59
+ civet [options] -c input.civet -o .ts # -> input.ts
60
+ civet [options] -c input.civet -o dir # -> dir/input.civet.tsx
61
+ civet [options] -c input.civet -o dir/.ts # -> dir/input.ts
62
+ civet [options] -c input.civet -o output.ts # -> output.ts
63
+ civet [options] < input.civet > output.ts # pipe form
64
64
 
65
- Options:
66
- --help Show this help message
67
- --version Show the version number
68
- -o / --output XX Specify output directory and/or extension, or filename
69
- -c / --compile Compile input files to TypeScript (or JavaScript)
70
- --config XX Specify a config file (default scans for a config.civet, civet.json, civetconfig.civet or civetconfig.json file, optionally in a .config directory, or starting with a .)
71
- --no-config Don't scan for a config file
72
- --js Strip out all type annotations; default to .jsx extension
73
- --ast Print the AST instead of the compiled code
74
- --inline-map Generate a sourcemap
75
- --no-cache Disable compiler caching (slow, for debugging)
65
+ Options:
66
+ --help Show this help message
67
+ --version Show the version number
68
+ -o / --output XX Specify output directory and/or extension, or filename
69
+ -c / --compile Compile input files to TypeScript (or JavaScript)
70
+ --config XX Specify a config file (default scans for a config.civet, civet.json, civetconfig.civet or civetconfig.json file, optionally in a .config directory, or starting with a .)
71
+ --no-config Don't scan for a config file
72
+ --js Strip out all type annotations; default to .jsx extension
73
+ --ast Print the AST instead of the compiled code
74
+ --inline-map Generate a sourcemap
75
+ --no-cache Disable compiler caching (slow, for debugging)
76
76
 
77
- You can use - to read from stdin or (prefixed by -o) write to stdout.
77
+ You can use - to read from stdin or (prefixed by -o) write to stdout.
78
78
 
79
79
  `);
80
80
  process.exit(0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
3
  "type": "commonjs",
4
- "version": "0.6.40",
4
+ "version": "0.6.41",
5
5
  "description": "CoffeeScript style syntax for TypeScript",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/main.mjs",
@@ -70,7 +70,7 @@
70
70
  "unplugin": "^1.4.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@danielx/civet": "0.6.38",
73
+ "@danielx/civet": "0.6.40",
74
74
  "@danielx/hera": "^0.8.10",
75
75
  "@types/assert": "^1.5.6",
76
76
  "@types/mocha": "^9.1.1",