@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.
- package/CHANGELOG.md +306 -0
- package/README.md +2 -7
- package/dist/babel-plugin.js +7 -6
- package/dist/babel-plugin.mjs +3 -3
- package/dist/browser.js +807 -540
- package/dist/civet +24 -18
- package/dist/config.js +7313 -7
- package/dist/config.mjs +7338 -4
- package/dist/esbuild-plugin.js +7 -6
- package/dist/esm.mjs +10 -16
- package/dist/main.js +1787 -895
- package/dist/main.mjs +1782 -891
- package/dist/node-worker.mjs +1 -2
- package/dist/ts-diagnostic.js +5 -4
- package/dist/ts-diagnostic.mjs +1 -1
- package/dist/types.d.ts +11 -2
- package/dist/unplugin/astro.js +8 -7
- package/dist/unplugin/astro.mjs +6 -4
- package/dist/unplugin/esbuild.d.ts +1 -1
- package/dist/unplugin/esbuild.js +7 -6
- package/dist/unplugin/esbuild.mjs +5 -3
- package/dist/unplugin/farm.d.ts +3 -1
- package/dist/unplugin/farm.js +7 -6
- package/dist/unplugin/farm.mjs +6 -4
- package/dist/unplugin/rolldown.d.ts +1 -1
- package/dist/unplugin/rolldown.js +7 -6
- package/dist/unplugin/rolldown.mjs +5 -3
- package/dist/unplugin/rollup.d.ts +1 -1
- package/dist/unplugin/rollup.js +7 -6
- package/dist/unplugin/rollup.mjs +5 -3
- package/dist/unplugin/rspack.d.ts +1 -1
- package/dist/unplugin/rspack.js +7 -6
- package/dist/unplugin/rspack.mjs +5 -3
- package/dist/unplugin/unplugin.d.ts +27 -3
- package/dist/unplugin/unplugin.js +68 -42
- package/dist/unplugin/unplugin.mjs +53 -30
- package/dist/unplugin/vite.d.ts +1 -1
- package/dist/unplugin/vite.js +7 -6
- package/dist/unplugin/vite.mjs +5 -3
- package/dist/unplugin/webpack.d.ts +1 -1
- package/dist/unplugin/webpack.js +7 -6
- package/dist/unplugin/webpack.mjs +5 -3
- package/package.json +33 -17
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Civet
|
|
2
2
|
=====
|
|
3
3
|
|
|
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
7
|
[](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
|
-
|
|
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
|
-
[](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).
|
package/dist/babel-plugin.js
CHANGED
|
@@ -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
|
-
//
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
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(
|
|
25
|
+
module.exports = __toCommonJS(babel_plugin_exports);
|
|
25
26
|
var import_main = require("./main.js");
|
|
26
|
-
function
|
|
27
|
+
function babel_plugin_default(api, civetOptions) {
|
|
27
28
|
return {
|
|
28
29
|
parserOverride(code, opts, parse) {
|
|
29
30
|
let src;
|
package/dist/babel-plugin.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
//
|
|
1
|
+
// source/babel-plugin.civet
|
|
2
2
|
import { compile } from "./main.mjs";
|
|
3
|
-
function
|
|
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
|
-
|
|
27
|
+
babel_plugin_default as default
|
|
28
28
|
};
|