@fluixi/ts-plugin 0.1.0-alpha.18 → 0.1.0-alpha.19

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 (2) hide show
  1. package/dist/index.js +7 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -202,7 +202,7 @@ var CORE_DIRECTIVES = [
202
202
  loc: raw.loc
203
203
  })
204
204
  },
205
- // Load strategy: `load:visible[="200px"]`. Components only an intrinsic element
205
+ // Load strategy: `load:visible[="200px"]`. Components only, an intrinsic element
206
206
  // has no module to defer.
207
207
  {
208
208
  id: "load",
@@ -494,7 +494,7 @@ var Parser = class {
494
494
  isFragmentStart() {
495
495
  return this.r.peek() === "<" && this.r.peek(1) === ">";
496
496
  }
497
- /** `<${Comp} …>` a component whose tag is an interpolated expression. */
497
+ /** `<${Comp} …>`: a component whose tag is an interpolated expression. */
498
498
  isDynamicTagStart() {
499
499
  return this.r.peek() === "<" && this.r.holeFollows();
500
500
  }
@@ -613,7 +613,7 @@ var Parser = class {
613
613
  const namespace = this.svg || SVG_TAGS.has(tag) ? "svg" : "html";
614
614
  return { kind: "Element", tag, namespace, attributes, children, selfClosing, rawText, loc };
615
615
  }
616
- /** Read a raw-text element body only holes break the text run. */
616
+ /** Read a raw-text element body: only holes break the text run. */
617
617
  parseRawText(tag) {
618
618
  const out = [];
619
619
  const close = "</" + tag.toLowerCase();
@@ -1485,7 +1485,7 @@ function propEntry(ts, name, replacementSpan) {
1485
1485
  sortText: "0_" + name,
1486
1486
  insertText: name,
1487
1487
  // Without a span the editor filters these against whatever word *it* computes at the
1488
- // cursor, and inside a template literal that is not the attribute name so the list
1488
+ // cursor, and inside a template literal that is not the attribute name, so the list
1489
1489
  // showed in full until the first keystroke and then emptied. Saying exactly which
1490
1490
  // characters are being replaced makes filtering match what is typed.
1491
1491
  replacementSpan
@@ -2053,8 +2053,8 @@ function init(modules) {
2053
2053
  isMemberCompletion: false,
2054
2054
  isNewIdentifierLocation: true,
2055
2055
  // Re-ask on every keystroke instead of letting the editor filter what it already
2056
- // has. Inside a template the valid set changes with the cursor a tag name, then
2057
- // that tag's props and a list cached from one position is wrong at the next.
2056
+ // has. Inside a template the valid set changes with the cursor, a tag name, then
2057
+ // that tag's props: and a list cached from one position is wrong at the next.
2058
2058
  // Without this the props appear only after enough typing to force a fresh
2059
2059
  // request, which reads as completion working intermittently.
2060
2060
  isIncomplete: true,
@@ -2202,4 +2202,4 @@ function init(modules) {
2202
2202
  }
2203
2203
  module.exports = init;
2204
2204
  /*! @fluixi/template-parser v0.1.0-alpha.4 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2205
- /*! @fluixi/compiler v1.0.0-alpha.84 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
2205
+ /*! @fluixi/compiler v1.0.0-alpha.85 | (c) 2026 Ibrahima Touré and Fluixi contributors | MIT */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluixi/ts-plugin",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "0.1.0-alpha.19",
4
4
  "license": "MIT",
5
5
  "author": "Ibrahima Touré",
6
6
  "private": false,
@@ -18,7 +18,7 @@
18
18
  "main": "./dist/index.js",
19
19
  "dependencies": {
20
20
  "@fluixi/template-parser": "0.1.0-alpha.4",
21
- "@fluixi/compiler": "1.0.0-alpha.84"
21
+ "@fluixi/compiler": "1.0.0-alpha.85"
22
22
  },
23
23
  "devDependencies": {
24
24
  "esbuild": "^0.24.0",