@danielx/civet 0.11.5 → 0.11.7

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +306 -0
  2. package/README.md +2 -7
  3. package/dist/babel-plugin.js +7 -6
  4. package/dist/babel-plugin.mjs +3 -3
  5. package/dist/browser.js +807 -540
  6. package/dist/civet +24 -18
  7. package/dist/config.js +7313 -7
  8. package/dist/config.mjs +7338 -4
  9. package/dist/esbuild-plugin.js +7 -6
  10. package/dist/esm.mjs +10 -16
  11. package/dist/main.js +1787 -895
  12. package/dist/main.mjs +1782 -891
  13. package/dist/node-worker.mjs +1 -2
  14. package/dist/ts-diagnostic.js +5 -4
  15. package/dist/ts-diagnostic.mjs +1 -1
  16. package/dist/types.d.ts +11 -2
  17. package/dist/unplugin/astro.js +8 -7
  18. package/dist/unplugin/astro.mjs +6 -4
  19. package/dist/unplugin/esbuild.d.ts +1 -1
  20. package/dist/unplugin/esbuild.js +7 -6
  21. package/dist/unplugin/esbuild.mjs +5 -3
  22. package/dist/unplugin/farm.d.ts +3 -1
  23. package/dist/unplugin/farm.js +7 -6
  24. package/dist/unplugin/farm.mjs +6 -4
  25. package/dist/unplugin/rolldown.d.ts +1 -1
  26. package/dist/unplugin/rolldown.js +7 -6
  27. package/dist/unplugin/rolldown.mjs +5 -3
  28. package/dist/unplugin/rollup.d.ts +1 -1
  29. package/dist/unplugin/rollup.js +7 -6
  30. package/dist/unplugin/rollup.mjs +5 -3
  31. package/dist/unplugin/rspack.d.ts +1 -1
  32. package/dist/unplugin/rspack.js +7 -6
  33. package/dist/unplugin/rspack.mjs +5 -3
  34. package/dist/unplugin/unplugin.d.ts +27 -3
  35. package/dist/unplugin/unplugin.js +68 -42
  36. package/dist/unplugin/unplugin.mjs +53 -30
  37. package/dist/unplugin/vite.d.ts +1 -1
  38. package/dist/unplugin/vite.js +7 -6
  39. package/dist/unplugin/vite.mjs +5 -3
  40. package/dist/unplugin/webpack.d.ts +1 -1
  41. package/dist/unplugin/webpack.js +7 -6
  42. package/dist/unplugin/webpack.mjs +5 -3
  43. package/package.json +33 -17
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Civet
2
2
  =====
3
3
 
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)
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
7
  [![Coverage Status](https://img.shields.io/coverallsCoverage/github/DanielXMoore/Civet?style=for-the-badge)](https://coveralls.io/github/DanielXMoore/Civet?branch=main)
@@ -292,7 +292,7 @@ You can also add `.js` and `.ts` extensions if you want to mix and match! Even `
292
292
  Execute the tests
293
293
 
294
294
  ```bash
295
- yarn test
295
+ pnpm test
296
296
  ```
297
297
 
298
298
  Step 4: Enjoy!
@@ -340,11 +340,6 @@ esbuild.build({
340
340
 
341
341
  It's super fast and works great!
342
342
 
343
- Code Coverage
344
- ---
345
-
346
- [![Coverage Status](https://coveralls.io/repos/github/DanielXMoore/Civet/badge.svg?branch=main)](https://coveralls.io/github/DanielXMoore/Civet?branch=main)
347
-
348
343
  Sponsorship
349
344
  ---
350
345
  If you are so inclined, you can sponsor Civet on [Open Collective](https://opencollective.com/civet).
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -16,14 +17,14 @@ var __copyProps = (to, from, except, desc) => {
16
17
  };
17
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
19
 
19
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\babel-plugin.civet.jsx
20
- var babel_plugin_civet_exports = {};
21
- __export(babel_plugin_civet_exports, {
22
- default: () => babel_plugin_civet_default
20
+ // source/babel-plugin.civet
21
+ var babel_plugin_exports = {};
22
+ __export(babel_plugin_exports, {
23
+ default: () => babel_plugin_default
23
24
  });
24
- module.exports = __toCommonJS(babel_plugin_civet_exports);
25
+ module.exports = __toCommonJS(babel_plugin_exports);
25
26
  var import_main = require("./main.js");
26
- function babel_plugin_civet_default(api, civetOptions) {
27
+ function babel_plugin_default(api, civetOptions) {
27
28
  return {
28
29
  parserOverride(code, opts, parse) {
29
30
  let src;
@@ -1,6 +1,6 @@
1
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\babel-plugin.civet.jsx
1
+ // source/babel-plugin.civet
2
2
  import { compile } from "./main.mjs";
3
- function babel_plugin_civet_default(api, civetOptions) {
3
+ function babel_plugin_default(api, civetOptions) {
4
4
  return {
5
5
  parserOverride(code, opts, parse) {
6
6
  let src;
@@ -24,5 +24,5 @@ function babel_plugin_civet_default(api, civetOptions) {
24
24
  };
25
25
  }
26
26
  export {
27
- babel_plugin_civet_default as default
27
+ babel_plugin_default as default
28
28
  };