@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/CHANGELOG.md +341 -0
- package/README.md +3 -7
- package/dist/browser.js +24020 -9187
- package/dist/browser.min.js +1 -0
- package/dist/cache.js +128 -0
- package/dist/cache.mjs +89 -0
- package/dist/civet +68 -16
- package/dist/main.js +37775 -12145
- package/dist/main.mjs +37775 -12145
- package/dist/ts-diagnostic.js +42 -1
- package/dist/ts-diagnostic.mjs +41 -1
- package/dist/ts-service/index.js +1239 -0
- package/dist/ts-service/index.js.map +7 -0
- package/dist/ts-service/index.mjs +1188 -0
- package/dist/ts-service/index.mjs.map +7 -0
- package/dist/types.d.ts +2 -14
- package/dist/unplugin/astro.mjs +3 -3
- package/dist/unplugin/esbuild.d.ts +1 -1
- package/dist/unplugin/esbuild.mjs +3 -3
- package/dist/unplugin/farm.mjs +3 -3
- package/dist/unplugin/rolldown.d.ts +1 -1
- package/dist/unplugin/rolldown.mjs +3 -3
- package/dist/unplugin/rollup.d.ts +1 -1
- package/dist/unplugin/rollup.mjs +3 -3
- package/dist/unplugin/rspack.d.ts +1 -1
- package/dist/unplugin/rspack.mjs +3 -3
- package/dist/unplugin/unplugin.d.ts +54 -3
- package/dist/unplugin/unplugin.js +289 -285
- package/dist/unplugin/unplugin.mjs +293 -294
- package/dist/unplugin/vite.d.ts +1 -1
- package/dist/unplugin/vite.mjs +3 -3
- package/dist/unplugin/webpack.d.ts +1 -1
- package/dist/unplugin/webpack.mjs +3 -3
- package/package.json +47 -23
- package/dist/esbuild-plugin.js +0 -131
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Civet
|
|
|
4
4
|
[](https://github.com/DanielXMoore/Civet/actions/workflows/build.yml)
|
|
5
5
|
[](https://www.npmjs.com/package/@danielx/civet)
|
|
6
6
|
[](https://www.npmjs.com/package/@danielx/civet)
|
|
7
|
-
[](https://codecov.io/gh/DanielXMoore/Civet)
|
|
8
8
|
[](https://discord.com/invite/xkrW9GebBc)
|
|
9
9
|
[](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
|
|
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
|
```
|