@danielx/civet 0.11.6 → 0.11.8

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
@@ -4,7 +4,7 @@ Civet
4
4
  [![Build Status](https://img.shields.io/github/actions/workflow/status/DanielXMoore/Civet/build.yml?branch=main&logo=github&style=for-the-badge)](https://github.com/DanielXMoore/Civet/actions/workflows/build.yml)
5
5
  [![NPM Version](https://img.shields.io/npm/v/@danielx/civet.svg?style=for-the-badge)](https://www.npmjs.com/package/@danielx/civet)
6
6
  [![NPM Downloads](https://img.shields.io/npm/dm/@danielx/civet.svg?style=for-the-badge)](https://www.npmjs.com/package/@danielx/civet)
7
- [![Coverage Status](https://img.shields.io/coverallsCoverage/github/DanielXMoore/Civet?style=for-the-badge)](https://coveralls.io/github/DanielXMoore/Civet?branch=main)
7
+ [![Coverage Status](https://img.shields.io/codecov/c/github/DanielXMoore/Civet/main?style=for-the-badge&logo=codecov)](https://codecov.io/gh/DanielXMoore/Civet)
8
8
  [![Discord](https://img.shields.io/discord/933472021310996512?style=for-the-badge)](https://discord.com/invite/xkrW9GebBc)
9
9
  [![Open Collective](https://img.shields.io/opencollective/all/civet?style=for-the-badge)](https://opencollective.com/civet)
10
10
 
@@ -18,10 +18,6 @@ The modern way to write TypeScript.
18
18
  - [Discord Server](https://discord.gg/xkrW9GebBc)
19
19
  - Plugins for
20
20
  [Vite, esbuild, Astro, Farm, Rolldown, Rollup, Webpack](source/unplugin),
21
- <!--
22
- [esbuild](source/esbuild-plugin.civet),
23
- [Vite](https://github.com/edemaine/vite-plugin-civet),
24
- -->
25
21
  [ESM/CJS loader](source/esm.civet),
26
22
  [Babel](source/babel-plugin.civet),
27
23
  [Jest](https://github.com/DanielXMoore/Civet/blob/main/integration/jest),
@@ -328,12 +324,12 @@ I strongly recommend using [esbuild](https://esbuild.github.io/) for building /
328
324
 
329
325
  ```javascript
330
326
  import esbuild from 'esbuild'
331
- import civetPlugin from '@danielx/civet/esbuild-plugin'
327
+ import civetPlugin from '@danielx/civet/esbuild'
332
328
 
333
329
  esbuild.build({
334
330
  ...,
335
331
  plugins: [
336
- civetPlugin
332
+ civetPlugin({ ts: 'preserve' })
337
333
  ]
338
334
  }).catch(() => process.exit(1))
339
335
  ```