@danielx/civet 0.6.86 → 0.6.88

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
@@ -22,10 +22,9 @@ The modern way to write TypeScript.
22
22
  [esbuild](source/esbuild-plugin.civet),
23
23
  [Vite](https://github.com/edemaine/vite-plugin-civet),
24
24
  -->
25
+ [ESM/CJS loader](source/esm.civet),
25
26
  [Babel](source/babel-plugin.mjs),
26
27
  [Gulp](integration/gulp),
27
- [ESM module resolution](source/esm.civet),
28
- [CJS](register.js),
29
28
  [Bun](source/bun-civet.civet)
30
29
  - Starter templates for [Solid](https://github.com/orenelbaum/solid-civet-template) and [Solid Start](https://github.com/orenelbaum/solid-start-civet-template)
31
30
 
@@ -43,8 +42,8 @@ civet -c
43
42
  civet < source.civet > output.ts
44
43
  # Execute a .civet script
45
44
  civet source.civet ...args...
46
- # Execute a .civet source file in node using ts-node
47
- node --loader ts-node/esm --loader @danielx/civet/esm source.civet
45
+ # Execute a .civet source file in node
46
+ node --import @danielx/civet/register source.civet
48
47
  ```
49
48
 
50
49
  ![image](https://user-images.githubusercontent.com/18894/184558519-b675a903-7490-43ba-883e-0d8addacd4b9.png)