@danielx/civet 0.7.10 → 0.7.11
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 -3
- package/dist/browser.js +255 -180
- package/dist/civet +19 -14
- package/dist/esm.mjs +0 -31
- package/dist/main.js +255 -180
- package/dist/main.mjs +255 -180
- package/package.json +2 -2
- package/register.js +40 -12
package/README.md
CHANGED
|
@@ -240,8 +240,6 @@ to set up your environment to get productive right away and have a Good Time℠.
|
|
|
240
240
|
Code coverage with [c8](https://github.com/bcoe/c8) "just works" thanks to their source map
|
|
241
241
|
integration and Civet's source maps.
|
|
242
242
|
|
|
243
|
-
Currently Civet's ESM loader depends on [ts-node](https://www.npmjs.com/package/ts-node)
|
|
244
|
-
|
|
245
243
|
#### c8 + Mocha
|
|
246
244
|
|
|
247
245
|
`package.json`
|
|
@@ -260,13 +258,13 @@ Currently Civet's ESM loader depends on [ts-node](https://www.npmjs.com/package/
|
|
|
260
258
|
"civet"
|
|
261
259
|
],
|
|
262
260
|
"loader": [
|
|
263
|
-
"ts-node/esm",
|
|
264
261
|
"@danielx/civet/esm"
|
|
265
262
|
],
|
|
266
263
|
...
|
|
267
264
|
...
|
|
268
265
|
```
|
|
269
266
|
|
|
267
|
+
<!--
|
|
270
268
|
`ts-node` must be configured with `transpileOnly` (it can't resolve alternative extensions). Also I think `module` needs to be at least `ES2020` for the Civet ESM loader to work.
|
|
271
269
|
|
|
272
270
|
`tsconfig.json`
|
|
@@ -279,6 +277,7 @@ Currently Civet's ESM loader depends on [ts-node](https://www.npmjs.com/package/
|
|
|
279
277
|
}
|
|
280
278
|
}
|
|
281
279
|
```
|
|
280
|
+
-->
|
|
282
281
|
|
|
283
282
|
If you don't care for code coverage you can skip c8 (but it is so easy why not keep it?).
|
|
284
283
|
|