@danielx/civet 0.11.4 → 0.11.6
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 +20 -0
- package/README.md +2 -7
- package/dist/babel-plugin.js +7 -6
- package/dist/babel-plugin.mjs +3 -3
- package/dist/browser.js +568 -423
- package/dist/civet +12 -10
- 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 +1455 -741
- package/dist/main.mjs +1451 -738
- package/dist/node-worker.mjs +1 -2
- package/dist/ts-diagnostic.js +4 -3
- package/dist/types.d.ts +9 -2
- package/dist/unplugin/astro.js +8 -7
- package/dist/unplugin/astro.mjs +5 -3
- package/dist/unplugin/esbuild.js +7 -6
- package/dist/unplugin/esbuild.mjs +3 -1
- package/dist/unplugin/farm.d.ts +3 -1
- package/dist/unplugin/farm.js +7 -6
- package/dist/unplugin/farm.mjs +4 -2
- package/dist/unplugin/rolldown.d.ts +1 -1
- package/dist/unplugin/rolldown.js +7 -6
- package/dist/unplugin/rolldown.mjs +3 -1
- package/dist/unplugin/rollup.d.ts +1 -1
- package/dist/unplugin/rollup.js +7 -6
- package/dist/unplugin/rollup.mjs +3 -1
- package/dist/unplugin/rspack.js +7 -6
- package/dist/unplugin/rspack.mjs +3 -1
- package/dist/unplugin/unplugin.js +59 -46
- package/dist/unplugin/unplugin.mjs +42 -32
- package/dist/unplugin/vite.d.ts +1 -1
- package/dist/unplugin/vite.js +7 -6
- package/dist/unplugin/vite.mjs +3 -1
- package/dist/unplugin/webpack.d.ts +1 -1
- package/dist/unplugin/webpack.js +7 -6
- package/dist/unplugin/webpack.mjs +3 -1
- package/package.json +31 -16
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,26 @@ This changelog is generated automatically by [`build/changelog.civet`](build/cha
|
|
|
4
4
|
For each version of Civet, it lists and links to all incorporated PRs,
|
|
5
5
|
as well as a full diff and commit list.
|
|
6
6
|
|
|
7
|
+
## 0.11.6 (2026-04-06, [diff](https://github.com/DanielXMoore/Civet/compare/v0.11.5...v0.11.6), [commits](https://github.com/DanielXMoore/Civet/commits/v0.11.6))
|
|
8
|
+
* Allow class fields with the same name as modifiers [[#1861](https://github.com/DanielXMoore/Civet/pull/1861)]
|
|
9
|
+
* Support TypeScript 6+ [[#1865](https://github.com/DanielXMoore/Civet/pull/1865)]
|
|
10
|
+
* unplugin support for `#` in paths [[#1867](https://github.com/DanielXMoore/Civet/pull/1867)]
|
|
11
|
+
* `eslint.config.civet` support via `civetlint`, ESM query support [[#1869](https://github.com/DanielXMoore/Civet/pull/1869)]
|
|
12
|
+
* Fix emitDeclaration builds in ESM unplugin output. [[#1871](https://github.com/DanielXMoore/Civet/pull/1871)]
|
|
13
|
+
* Sourcemap sources should be relative to outdir [[#1872](https://github.com/DanielXMoore/Civet/pull/1872)]
|
|
14
|
+
* Fix double-wrapping of assignment expressions inside explicit parentheses [[#1880](https://github.com/DanielXMoore/Civet/pull/1880)]
|
|
15
|
+
* Rewrite .ts/.civet in dynamic imports with string literals [[#1877](https://github.com/DanielXMoore/Civet/pull/1877)]
|
|
16
|
+
* Claude Code config [[#1894](https://github.com/DanielXMoore/Civet/pull/1894)]
|
|
17
|
+
* Claude Code debugging [[#1895](https://github.com/DanielXMoore/Civet/pull/1895)]
|
|
18
|
+
* Chain sourcemaps in Civet input [[#1896](https://github.com/DanielXMoore/Civet/pull/1896)]
|
|
19
|
+
* Fix CLI tests on Windows [[#1925](https://github.com/DanielXMoore/Civet/pull/1925)]
|
|
20
|
+
* Use .cache/build when building [[#1927](https://github.com/DanielXMoore/Civet/pull/1927)]
|
|
21
|
+
* Fix sourcemap composition by allowing inexact match [[#1926](https://github.com/DanielXMoore/Civet/pull/1926)]
|
|
22
|
+
* Release scripts: CI changelog verification, pnpm release [[#1928](https://github.com/DanielXMoore/Civet/pull/1928)]
|
|
23
|
+
|
|
24
|
+
## 0.11.5 (2026-03-10, [diff](https://github.com/DanielXMoore/Civet/compare/v0.11.4...v0.11.5), [commits](https://github.com/DanielXMoore/Civet/commits/v0.11.5))
|
|
25
|
+
* Fix unplugin on Node 25 [[#1859](https://github.com/DanielXMoore/Civet/pull/1859)]
|
|
26
|
+
|
|
7
27
|
## 0.11.4 (2026-03-07, [diff](https://github.com/DanielXMoore/Civet/compare/v0.11.3...v0.11.4), [commits](https://github.com/DanielXMoore/Civet/commits/v0.11.4))
|
|
8
28
|
* LSP file completions [[#1854](https://github.com/DanielXMoore/Civet/pull/1854)]
|
|
9
29
|
* LSP file completion from empty `import/from` via robust parsing; restrict to single-line module names [[#1855](https://github.com/DanielXMoore/Civet/pull/1855)]
|
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
|
};
|