@danielx/civet 0.6.25 → 0.6.27

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,6 +4,7 @@ Civet
4
4
  [![Build Status](https://img.shields.io/github/actions/workflow/status/DanielXMoore/Civet/build.yml?branch=master&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
8
  [![Discord](https://img.shields.io/discord/933472021310996512?style=for-the-badge)](https://discord.com/invite/xkrW9GebBc)
8
9
  [![Open Collective](https://img.shields.io/opencollective/all/civet?style=for-the-badge)](https://opencollective.com/civet)
9
10
 
@@ -17,6 +18,7 @@ The modern way to write TypeScript.
17
18
  - Plugins for
18
19
  [esbuild](source/esbuild-plugin.civet),
19
20
  [Vite](https://github.com/lorefnon/vite-plugin-civet),
21
+ [Babel](source/babel-plugin.mjs),
20
22
  [Gulp](integrations/gulp),
21
23
  [ESM module resolution](source/esm.civet),
22
24
  [CJS](register.js),
@@ -372,6 +374,11 @@ esbuild.build({
372
374
 
373
375
  It's super fast and works great!
374
376
 
377
+ Code Coverage
378
+ ---
379
+
380
+ [![Coverage Status](https://coveralls.io/repos/github/DanielXMoore/Civet/badge.svg?branch=main)](https://coveralls.io/github/DanielXMoore/Civet?branch=main)
381
+
375
382
  Sponsorship
376
383
  ---
377
384
  If you are so inclined, you can sponsor Civet on [Open Collective](https://opencollective.com/civet).
@@ -1,3 +1,18 @@
1
+ // Babel plugin for compiling .civet files
2
+
3
+ /* Example babel.config.json:
4
+
5
+ {
6
+ "plugins": [
7
+ [
8
+ "@danielx/civet/babel-plugin"
9
+ ]
10
+ ],
11
+ "sourceMaps": "inline"
12
+ }
13
+
14
+ */
15
+
1
16
  import { compile } from "./main.mjs"
2
17
 
3
18
  export default function (api, civetOptions) {