@danielx/civet 0.10.0 → 0.10.2

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 CHANGED
@@ -4,6 +4,15 @@ 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.10.2 (2025-04-13, [diff](https://github.com/DanielXMoore/Civet/compare/v0.10.1...v0.10.2), [commits](https://github.com/DanielXMoore/Civet/commits/v0.10.2))
8
+ * Fix unplugin source map directories [[#1726](https://github.com/DanielXMoore/Civet/pull/1726)]
9
+
10
+ ## 0.10.1 (2025-03-22, [diff](https://github.com/DanielXMoore/Civet/compare/v0.10.0...v0.10.1), [commits](https://github.com/DanielXMoore/Civet/commits/v0.10.1))
11
+ * More general expressions in indented forms of `implements` and `with` [[#1720](https://github.com/DanielXMoore/Civet/pull/1720)]
12
+ * Allow `>code` to continue an implicit JSX fragment [[#1721](https://github.com/DanielXMoore/Civet/pull/1721)]
13
+ * Fix hot reload via unplugin in NextJS, fix sourcemaps with `ts: "preserve"` [[#1722](https://github.com/DanielXMoore/Civet/pull/1722)]
14
+ * Farm and Rolldown bundler support [[#1723](https://github.com/DanielXMoore/Civet/pull/1723)]
15
+
7
16
  ## 0.10.0 (2025-03-17, [diff](https://github.com/DanielXMoore/Civet/compare/v0.9.7...v0.10.0), [commits](https://github.com/DanielXMoore/Civet/commits/v0.10.0))
8
17
  * Document `class with A, B` mixins [[#1703](https://github.com/DanielXMoore/Civet/pull/1703)]
9
18
  * Document how to use VSCode plugin [[#1704](https://github.com/DanielXMoore/Civet/pull/1704)]
package/README.md CHANGED
@@ -17,7 +17,7 @@ The modern way to write TypeScript.
17
17
  - [Civet VSCode Extension](https://marketplace.visualstudio.com/items?itemName=DanielX.civet)
18
18
  - [Discord Server](https://discord.gg/xkrW9GebBc)
19
19
  - Plugins for
20
- [Vite, esbuild, Astro, Rollup, Webpack, Rspack](source/unplugin),
20
+ [Vite, esbuild, Astro, Farm, Rolldown, Rollup, Webpack](source/unplugin),
21
21
  <!--
22
22
  [esbuild](source/esbuild-plugin.civet),
23
23
  [Vite](https://github.com/edemaine/vite-plugin-civet),
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
16
16
  };
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
 
19
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\babel-plugin.civet.jsx
19
+ // unplugin-civet:/home/daniel/apps/Civet/source/babel-plugin.civet.jsx
20
20
  var babel_plugin_civet_exports = {};
21
21
  __export(babel_plugin_civet_exports, {
22
22
  default: () => babel_plugin_civet_default
@@ -1,4 +1,4 @@
1
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\babel-plugin.civet.jsx
1
+ // unplugin-civet:/home/daniel/apps/Civet/source/babel-plugin.civet.jsx
2
2
  import { compile } from "./main.mjs";
3
3
  function babel_plugin_civet_default(api, civetOptions) {
4
4
  return {
package/dist/browser.js CHANGED
@@ -400,7 +400,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
400
400
  }
401
401
  });
402
402
 
403
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\browser.civet.jsx
403
+ // unplugin-civet:/home/daniel/apps/Civet/source/browser.civet.jsx
404
404
  var browser_civet_exports = {};
405
405
  __export(browser_civet_exports, {
406
406
  ParseError: () => import_lib2.ParseError,
@@ -422,7 +422,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
422
422
  // source/parser.hera
423
423
  var import_lib2 = __toESM(require_machine());
424
424
 
425
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\lib.civet.jsx
425
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/lib.civet.jsx
426
426
  var lib_civet_exports = {};
427
427
  __export(lib_civet_exports, {
428
428
  addPostfixStatement: () => addPostfixStatement,
@@ -502,7 +502,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
502
502
  wrapTypeInPromise: () => wrapTypeInPromise
503
503
  });
504
504
 
505
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\util.civet.jsx
505
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/util.civet.jsx
506
506
  function len(arr, length) {
507
507
  return arr.length === length;
508
508
  }
@@ -1236,7 +1236,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1236
1236
  return result;
1237
1237
  }
1238
1238
 
1239
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\traversal.civet.jsx
1239
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/traversal.civet.jsx
1240
1240
  function gatherRecursiveWithinFunction(node, predicate) {
1241
1241
  return gatherRecursive(node, predicate, isFunction);
1242
1242
  }
@@ -1310,7 +1310,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1310
1310
  return predicate(node) && nodes.push(node), nodes;
1311
1311
  }
1312
1312
 
1313
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\ref.civet.jsx
1313
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/ref.civet.jsx
1314
1314
  var range = (start, end) => {
1315
1315
  let length = end - start;
1316
1316
  if (length <= 0) return [];
@@ -1386,7 +1386,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1386
1386
  }
1387
1387
  }
1388
1388
 
1389
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\binding.civet.jsx
1389
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/binding.civet.jsx
1390
1390
  function adjustAtBindings(statements, asThis = !1) {
1391
1391
  for (let ref1 = gatherRecursiveAll(statements, ($1) => $1.type === "AtBindingProperty"), i1 = 0, len3 = ref1.length; i1 < len3; i1++) {
1392
1392
  let binding = ref1[i1], { ref } = binding;
@@ -1584,12 +1584,12 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1584
1584
  return pattern;
1585
1585
  }
1586
1586
 
1587
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\comptime.civet.jsx
1587
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/comptime.civet.jsx
1588
1588
  init_browser_shim();
1589
1589
  init_browser_shim();
1590
1590
  init_browser_shim();
1591
1591
 
1592
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\helper.civet.jsx
1592
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/helper.civet.jsx
1593
1593
  var preludeVar = "var ";
1594
1594
  function ts(children) {
1595
1595
  return {
@@ -1925,7 +1925,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1925
1925
  }
1926
1926
  }
1927
1927
 
1928
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\generate.civet.jsx
1928
+ // unplugin-civet:/home/daniel/apps/Civet/source/generate.civet.jsx
1929
1929
  function stringify(node) {
1930
1930
  try {
1931
1931
  return JSON.stringify(removeParentPointers(node));
@@ -1993,7 +1993,7 @@ ${body}`), super(message), this.header = header, this.body = body, this.filename
1993
1993
  }
1994
1994
  }
1995
1995
 
1996
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\comptime.civet.jsx
1996
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/comptime.civet.jsx
1997
1997
  function expressionizeComptime(statement) {
1998
1998
  let { expressions } = statement.block, expression = wrapIIFE(expressions, hasAwait(expressions));
1999
1999
  return makeNode({
@@ -2227,7 +2227,7 @@ ${js}`
2227
2227
  return recurse(value);
2228
2228
  }
2229
2229
 
2230
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\function.civet.jsx
2230
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/function.civet.jsx
2231
2231
  var concatAssign = (lhs, rhs) => (rhs?.[Symbol.isConcatSpreadable] ?? Array.isArray(rhs) ? lhs.push.apply(lhs, rhs) : lhs.push(rhs), lhs);
2232
2232
  function getTypeArguments(args) {
2233
2233
  for (; typeof args == "object" && args != null && "args" in args; )
@@ -3256,7 +3256,7 @@ ${js}`
3256
3256
  ).length > 1 && (fn.ampersandBlock = !1), fn;
3257
3257
  }
3258
3258
 
3259
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\block.civet.jsx
3259
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/block.civet.jsx
3260
3260
  function blockWithPrefix(prefixStatements, block) {
3261
3261
  if (prefixStatements && prefixStatements.length) {
3262
3262
  let expressions = [...prefixStatements, ...block.expressions];
@@ -3406,7 +3406,7 @@ ${js}`
3406
3406
  };
3407
3407
  }
3408
3408
 
3409
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\op.civet.jsx
3409
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/op.civet.jsx
3410
3410
  var precedenceOrder = [
3411
3411
  ["||", "??"],
3412
3412
  ["^^"],
@@ -3600,7 +3600,7 @@ ${js}`
3600
3600
  }
3601
3601
  }
3602
3602
 
3603
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\pattern-matching.civet.jsx
3603
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/pattern-matching.civet.jsx
3604
3604
  function processPatternTest(lhs, patterns) {
3605
3605
  let { ref, refAssignmentComma } = maybeRefAssignment(lhs, "m"), conditionExpression = flatJoin(patterns.map(($1) => getPatternConditions($1, ref)).map(($2) => flatJoin($2, " && ")), " || ");
3606
3606
  return makeLeftHandSideExpression(makeNode({
@@ -4004,7 +4004,7 @@ ${js}`
4004
4004
  }
4005
4005
  }
4006
4006
 
4007
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\declaration.civet.jsx
4007
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/declaration.civet.jsx
4008
4008
  function len2(arr, length) {
4009
4009
  return arr.length === length;
4010
4010
  }
@@ -4413,7 +4413,7 @@ ${js}`
4413
4413
  return [extendsToken, insertTrimmingSpace(ws, " "), wrapped];
4414
4414
  }
4415
4415
 
4416
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\unary.civet.jsx
4416
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/unary.civet.jsx
4417
4417
  function processUnaryExpression(pre, exp, post) {
4418
4418
  if (!(pre.length || post))
4419
4419
  return exp;
@@ -4524,7 +4524,7 @@ ${js}`
4524
4524
  return processUnaryExpression(pre, args, post);
4525
4525
  }
4526
4526
 
4527
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\pipe.civet.jsx
4527
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/pipe.civet.jsx
4528
4528
  function constructInvocation(fn, arg) {
4529
4529
  let expr = fn.expr;
4530
4530
  for (; expr.type === "ParenthesizedExpression"; )
@@ -4685,7 +4685,7 @@ ${js}`
4685
4685
  }
4686
4686
  }
4687
4687
 
4688
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\for.civet.jsx
4688
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/for.civet.jsx
4689
4689
  function processRangeExpression(start, ws1, range2, end) {
4690
4690
  ws1 = [ws1, range2.children[0]];
4691
4691
  let ws2 = range2.children[1], comma = { $loc: range2.$loc, token: "," }, ref;
@@ -5008,7 +5008,7 @@ ${js}`
5008
5008
  };
5009
5009
  }
5010
5010
 
5011
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\auto-dec.civet.jsx
5011
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/auto-dec.civet.jsx
5012
5012
  var concatAssign2 = (lhs, rhs) => (rhs?.[Symbol.isConcatSpreadable] ?? Array.isArray(rhs) ? lhs.push.apply(lhs, rhs) : lhs.push(rhs), lhs);
5013
5013
  function findDecs(statements) {
5014
5014
  let declarationNames = gatherNodes(statements, ($) => $.type === "Declaration").flatMap((d) => d.names), globals = getConfig().globals || [];
@@ -5090,7 +5090,7 @@ ${js}`
5090
5090
  scopes.pop();
5091
5091
  }
5092
5092
 
5093
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\string.civet.jsx
5093
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/string.civet.jsx
5094
5094
  function getIndentLevel(str, tab) {
5095
5095
  if (tab != null && tab != 1) {
5096
5096
  let tabs = str.match(/\t/g), numTabs = tabs ? tabs.length : 0;
@@ -5200,7 +5200,7 @@ ${js}`
5200
5200
  return JSON.stringify(str);
5201
5201
  }
5202
5202
 
5203
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\parser\lib.civet.jsx
5203
+ // unplugin-civet:/home/daniel/apps/Civet/source/parser/lib.civet.jsx
5204
5204
  var xor = (a, b) => a ? !b && a : b;
5205
5205
  function addPostfixStatement(statement, ws, post) {
5206
5206
  let expressions = [
@@ -7250,6 +7250,7 @@ ${js}`
7250
7250
  TypeIndexedAccess,
7251
7251
  UnknownAlias,
7252
7252
  TypePrimary,
7253
+ TypeIdentifier,
7253
7254
  ImportType,
7254
7255
  TypeTuple,
7255
7256
  TypeTupleContent,
@@ -8196,7 +8197,7 @@ ${js}`
8196
8197
  function ExtendsClause(ctx, state2) {
8197
8198
  return (0, import_lib2.$EVENT)(ctx, state2, "ExtendsClause", ExtendsClause$0);
8198
8199
  }
8199
- var WithClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(NotDedented, With, PushIndent, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, ExtendsTarget, (0, import_lib2.$E)(_), (0, import_lib2.$E)(Comma))), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8200
+ var WithClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(NotDedented, With, PushIndent, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, Expression, (0, import_lib2.$E)(_), (0, import_lib2.$E)(Comma))), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
8200
8201
  var targets = $4;
8201
8202
  return targets.length ? (targets = targets.map(($) => $.slice(0, -1)), {
8202
8203
  type: "WithClause",
@@ -8270,7 +8271,7 @@ ${js}`
8270
8271
  function ExtendsTarget(ctx, state2) {
8271
8272
  return (0, import_lib2.$EVENT)(ctx, state2, "ExtendsTarget", ExtendsTarget$0);
8272
8273
  }
8273
- var ImplementsClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImplementsToken, PushIndent, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, ImplementsTarget, ArrayBulletDelimiter)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
8274
+ var ImplementsClause$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(ImplementsToken, PushIndent, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, TypeIdentifier, ArrayBulletDelimiter)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
8274
8275
  var i = $1, targets = $3;
8275
8276
  if (!targets.length) return $skip;
8276
8277
  let last = targets.at(-1).slice(0, -1);
@@ -13903,7 +13904,7 @@ ${js}`
13903
13904
  function Yield(ctx, state2) {
13904
13905
  return (0, import_lib2.$EVENT)(ctx, state2, "Yield", Yield$0);
13905
13906
  }
13906
- var JSXImplicitFragment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(JSXTag, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, JSXTag))), function($skip, $loc, $0, $1, $2) {
13907
+ var JSXImplicitFragment$0 = (0, import_lib2.$TS)((0, import_lib2.$S)(JSXTag, (0, import_lib2.$Q)((0, import_lib2.$S)(Nested, (0, import_lib2.$C)(JSXTag, JSXAngleChild)))), function($skip, $loc, $0, $1, $2) {
13907
13908
  let jsx = $2.length === 0 ? $1 : {
13908
13909
  type: "JSXFragment",
13909
13910
  children: [
@@ -15004,14 +15005,24 @@ ${js}`
15004
15005
  t,
15005
15006
  children: $0
15006
15007
  };
15007
- }), TypePrimary$8 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
15008
+ }), TypePrimary$8 = TypeIdentifier, TypePrimary$9 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), OpenParen, AllowAll, (0, import_lib2.$E)((0, import_lib2.$C)(MaybeNestedType, (0, import_lib2.$S)(EOS, Type))), RestoreAll, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
15009
+ return $4 ? {
15010
+ type: "TypeParenthesized",
15011
+ children: [$1, $2, $4, $6, $7]
15012
+ // omit AllowAll/RestoreAll
15013
+ } : $skip;
15014
+ }), TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8, TypePrimary$9];
15015
+ function TypePrimary(ctx, state2) {
15016
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "TypePrimary", TypePrimary$$);
15017
+ }
15018
+ var TypeIdentifier$0 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
15008
15019
  return {
15009
15020
  type: "TypeIdentifier",
15010
15021
  children: $0,
15011
15022
  raw: $2.token,
15012
15023
  args: void 0
15013
15024
  };
15014
- }), TypePrimary$9 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), Identifier, (0, import_lib2.$Q)((0, import_lib2.$S)(Dot, IdentifierName)), (0, import_lib2.$E)((0, import_lib2.$C)(TypeArguments, ImplicitTypeArguments))), function($skip, $loc, $0, $1, $2, $3, $4) {
15025
+ }), TypeIdentifier$1 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), Identifier, (0, import_lib2.$Q)((0, import_lib2.$S)(Dot, IdentifierName)), (0, import_lib2.$E)((0, import_lib2.$C)(TypeArguments, ImplicitTypeArguments))), function($skip, $loc, $0, $1, $2, $3, $4) {
15015
15026
  var args = $4;
15016
15027
  return {
15017
15028
  type: "TypeIdentifier",
@@ -15019,15 +15030,9 @@ ${js}`
15019
15030
  raw: [$2.name, ...$3.map(([dot, id]) => dot.token + id.name)].join(""),
15020
15031
  args
15021
15032
  };
15022
- }), TypePrimary$10 = (0, import_lib2.$TS)((0, import_lib2.$S)((0, import_lib2.$E)(_), OpenParen, AllowAll, (0, import_lib2.$E)((0, import_lib2.$C)(MaybeNestedType, (0, import_lib2.$S)(EOS, Type))), RestoreAll, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
15023
- return $4 ? {
15024
- type: "TypeParenthesized",
15025
- children: [$1, $2, $4, $6, $7]
15026
- // omit AllowAll/RestoreAll
15027
- } : $skip;
15028
- }), TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8, TypePrimary$9, TypePrimary$10];
15029
- function TypePrimary(ctx, state2) {
15030
- return (0, import_lib2.$EVENT_C)(ctx, state2, "TypePrimary", TypePrimary$$);
15033
+ }), TypeIdentifier$$ = [TypeIdentifier$0, TypeIdentifier$1];
15034
+ function TypeIdentifier(ctx, state2) {
15035
+ return (0, import_lib2.$EVENT_C)(ctx, state2, "TypeIdentifier", TypeIdentifier$$);
15031
15036
  }
15032
15037
  var ImportType$0 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L15, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, (0, import_lib2.$E)((0, import_lib2.$S)(Dot, IdentifierName)), (0, import_lib2.$E)(TypeArguments)), ImportType$1 = (0, import_lib2.$S)((0, import_lib2.$EXPECT)($L15, 'ImportType "import"'), InsertOpenParen, (0, import_lib2.$E)(Trimmed_), StringLiteral, InsertCloseParen), ImportType$$ = [ImportType$0, ImportType$1];
15033
15038
  function ImportType(ctx, state2) {
@@ -16097,7 +16102,7 @@ ${js}`
16097
16102
  "unscopables"
16098
16103
  ];
16099
16104
 
16100
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\sourcemap.civet.jsx
16105
+ // unplugin-civet:/home/daniel/apps/Civet/source/sourcemap.civet.jsx
16101
16106
  var sourcemap_civet_exports = {};
16102
16107
  __export(sourcemap_civet_exports, {
16103
16108
  SourceMap: () => SourceMap,
@@ -16266,7 +16271,7 @@ ${js}`
16266
16271
  return [lastMapping[2], lastMapping[3]];
16267
16272
  };
16268
16273
 
16269
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\state-cache.civet.jsx
16274
+ // unplugin-civet:/home/daniel/apps/Civet/source/state-cache.civet.jsx
16270
16275
  var StateCache = class {
16271
16276
  cache = /* @__PURE__ */ new Map();
16272
16277
  get(key) {
@@ -16289,7 +16294,7 @@ ${js}`
16289
16294
  }
16290
16295
  };
16291
16296
 
16292
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\main.civet.jsx
16297
+ // unplugin-civet:/home/daniel/apps/Civet/source/main.civet.jsx
16293
16298
  var { SourceMap: SourceMap2 } = sourcemap_civet_exports;
16294
16299
  var ParseErrors = class extends Error {
16295
16300
  name = "ParseErrors";
@@ -16439,7 +16444,7 @@ ${counts}`;
16439
16444
  return err instanceof import_lib2.ParseError || err instanceof ParseErrors;
16440
16445
  };
16441
16446
 
16442
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\browser.civet.jsx
16447
+ // unplugin-civet:/home/daniel/apps/Civet/source/browser.civet.jsx
16443
16448
  async function runScripts(type = "text/civet") {
16444
16449
  let scripts = window.document.querySelectorAll(`script[type=${JSON.stringify(type)}]`);
16445
16450
  for (let i1 = 0, len3 = scripts.length; i1 < len3; i1++) {
package/dist/civet CHANGED
@@ -29,7 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  ));
30
30
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
31
31
 
32
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\cli.civet.jsx
32
+ // unplugin-civet:/home/daniel/apps/Civet/source/cli.civet.jsx
33
33
  var cli_civet_exports = {};
34
34
  __export(cli_civet_exports, {
35
35
  cli: () => cli,
package/dist/config.js CHANGED
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\config.civet.jsx
29
+ // unplugin-civet:/home/daniel/apps/Civet/source/config.civet.jsx
30
30
  var config_civet_exports = {};
31
31
  __export(config_civet_exports, {
32
32
  default: () => config_civet_default,
package/dist/config.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\config.civet.jsx
1
+ // unplugin-civet:/home/daniel/apps/Civet/source/config.civet.jsx
2
2
  import path from "path";
3
3
  import fs from "fs/promises";
4
4
  import { compile } from "./main.mjs";
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  ));
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\esbuild-plugin.civet.jsx
29
+ // unplugin-civet:/home/daniel/apps/Civet/source/esbuild-plugin.civet.jsx
30
30
  var esbuild_plugin_civet_exports = {};
31
31
  __export(esbuild_plugin_civet_exports, {
32
32
  default: () => esbuild_plugin_civet_default
package/dist/esm.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // unplugin-civet:C:\Users\edemaine\Projects\Civet\source\esm.civet.jsx
1
+ // unplugin-civet:/home/daniel/apps/Civet/source/esm.civet.jsx
2
2
  import { readFileSync } from "fs";
3
3
  import { pathToFileURL, fileURLToPath } from "url";
4
4
  import Civet from "./main.mjs";