@eventra_dev/cli-plugin-vue 1.3.0 → 1.3.1

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  <p align="center">
8
8
  <a href="https://www.npmjs.com/package/@eventra_dev/cli-plugin-vue"><img alt="npm version" src="https://img.shields.io/npm/v/@eventra_dev/cli-plugin-vue.svg?style=flat-square&color=blue"></a>
9
9
  <a href="https://www.npmjs.com/package/@eventra_dev/cli-plugin-vue"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@eventra_dev/cli-plugin-vue.svg?style=flat-square&color=blue"></a>
10
- <img alt="tests passing" src="https://img.shields.io/badge/tests-147%20passing-brightgreen?style=flat-square&logo=vitest&logoColor=white">
10
+ <img alt="tests passing" src="https://img.shields.io/badge/tests-157%20passing-brightgreen?style=flat-square&logo=vitest&logoColor=white">
11
11
  <img alt="coverage" src="https://img.shields.io/badge/coverage-100%25-brightgreen?style=flat-square&logo=vitest&logoColor=white">
12
12
  <img alt="node" src="https://img.shields.io/node/v/@eventra_dev/cli-plugin-vue?style=flat-square&color=darkgreen&logo=node.js&logoColor=white">
13
13
  <a href="https://www.typescriptlang.org/"><img alt="TypeScript" src="https://img.shields.io/badge/TypeScript-ready-blue?style=flat-square&logo=typescript&logoColor=white"></a>
@@ -138,6 +138,18 @@ import Button from './Button.vue'
138
138
 
139
139
  A value the CLI cannot resolve to a plain string (a `v-for` variable, a prop of the page itself) is listed under "Dynamic event names" instead of becoming an event, with the reason (`env`, `variable`, `template`, `call`, `expression`). The tracking call inside the component itself is listed apart, under "Inside a wrapper", because what it tracks is whatever each caller passes; the callers that pass a literal are still found.
140
140
 
141
+ ## `watch` and external files
142
+
143
+ `<script src="...">` and `<template src="...">` point at other files. `eventra sync`, `check` and `eventra watch` read them, and `watch` rescans the component when one of those files changes (the plugin tells the CLI which files the component was built from).
144
+
145
+ ## Scripts in JSX, and linked files that are not there
146
+
147
+ A script with `lang="tsx"` or `lang="jsx"` is read as TSX, so its JSX is not a syntax error. A `<script src>` or `<template src>` whose file does not exist gets a note from the CLI (what it holds is not in the scan). A syntax error in a linked `<script src>` file is reported against the `.vue` file with the line of the linked file.
148
+
149
+ ## Templates in other languages
150
+
151
+ A `<template lang="pug">` (or `jade`, `haml`, `slm`) is not HTML markup and is not read: the plugin returns a note that the CLI prints after a scan, and the file's `<script>` is read as usual. An empty `event=""` attribute in a template is skipped without a note. `v-memo` is read like `v-if` and the other directives that hold code.
152
+
141
153
  ## Nuxt
142
154
 
143
155
  Nuxt pages, layouts, and components are ordinary `.vue` SFCs — parsed identically, no extra configuration needed.
@@ -182,7 +194,7 @@ No dependency on `@eventra_dev/eventra-cli` - the CLI adapts this shape internal
182
194
 
183
195
  **100% statement/branch/function/line coverage** (v8 provider, `pnpm test:coverage`), enforced via a `coverage.thresholds` block in `vitest.config.ts`.
184
196
 
185
- **147 unit tests** (vitest), covering:
197
+ **157 unit tests** (vitest), covering:
186
198
 
187
199
  | Area | Covers |
188
200
  |---|---|
@@ -40,12 +40,20 @@ export interface ParsedVueSfc {
40
40
  readonly templateHandlers: readonly TemplateHandler[];
41
41
  /** Every element in the template that carries props, for the ones that turn out to be imported components. */
42
42
  readonly componentUsages?: readonly TemplateComponentUsage[];
43
+ /** Absolute paths of the files `<script src>` and `<template src>` point at (also those that are not there yet). */
44
+ readonly srcFiles: readonly string[];
45
+ /** The `src` of a `<script src>` or `<template src>` whose file could not be read: nothing of it is in the scan. */
46
+ readonly missingSrc: readonly string[];
43
47
  readonly errors: readonly string[];
44
48
  }
45
49
  /** Parse a Vue SFC via the real `@vue/compiler-sfc` parser (handles comments, `src=`, malformed markup, etc). */
46
50
  export declare function parseVueSfc(source: string, filePath: string): ParsedVueSfc;
47
- /** Map `App.vue` → `App.vue.ts` (single virtual TS module for the compiler). */
48
- export declare function scriptVirtualPath(vuePath: string): string;
51
+ /**
52
+ * Map `App.vue` → `App.vue.ts` (single virtual TS module for the compiler), or `App.vue.tsx` when a script is JSX
53
+ * (`lang="tsx"` / `lang="jsx"`): the host CLI reads the kind of a file from its extension, and JSX in a `.ts` file is a
54
+ * syntax error.
55
+ */
56
+ export declare function scriptVirtualPath(vuePath: string, jsx?: boolean): string;
49
57
  /**
50
58
  * Build one virtual TS module from the parsed SFC: compiled `<script>` +
51
59
  * `<script setup>` content, followed by a function wrapping synthetic calls
@@ -1 +1 @@
1
- {"version":3,"file":"parse-vue-sfc.d.ts","sourceRoot":"","sources":["../src/parse-vue-sfc.ts"],"names":[],"mappings":"AAgBA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,+FAA+F;IAC/F,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,8EAA8E;AAC9E,MAAM,WAAW,oBAAoB;IACnC,0GAA0G;IAC1G,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,6GAA6G;AAC7G,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,+GAA+G;AAC/G,MAAM,WAAW,qBAAqB;IACpC,gDAAgD;IAChD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,sHAAsH;IACtH,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,YAAY,GAAG,QAAQ,CAAC;IACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,iIAAiI;AACjI,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,SAAS,qBAAq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"}
@@ -27,7 +27,7 @@ const camelize = (name) => name.replace(/-(\w)/g, (_, letter) => letter.toUpperC
27
27
  const V_FOR_SOURCE = /\s(?:in|of)\s+([\s\S]+)$/;
28
28
  // directives whose value is plain JS. `v-for` is handled apart (its value is `item in source`), and
29
29
  // `v-slot` (a parameter list), `v-pre` and `v-cloak` hold no expression
30
- const CODE_DIRECTIVES = new Set(["on", "bind", "if", "else-if", "show", "html", "text", "model"]);
30
+ const CODE_DIRECTIVES = new Set(["on", "bind", "if", "else-if", "show", "html", "text", "model", "memo"]);
31
31
  function collectEventBindings(root, out, handlers, usages) {
32
32
  function visitChildren(children) {
33
33
  for (const child of children) {
@@ -121,10 +121,17 @@ function collectEventBindings(root, out, handlers, usages) {
121
121
  function parseVueSfc(source, filePath) {
122
122
  const { descriptor, errors } = (0, compiler_sfc_1.parse)(source, { filename: filePath });
123
123
  const scripts = [];
124
+ const srcFiles = [];
125
+ const missingSrc = [];
126
+ const resolveSrc = (src) => node_path_1.default.resolve(node_path_1.default.dirname(filePath), src);
124
127
  for (const block of [descriptor.script, descriptor.scriptSetup]) {
125
128
  if (!block)
126
129
  continue;
130
+ if (block.src)
131
+ srcFiles.push(resolveSrc(block.src));
127
132
  const raw = block.src ? readSrcFile(filePath, block.src) : block.content;
133
+ if (block.src && raw === null)
134
+ missingSrc.push(block.src);
128
135
  const content = raw?.trim();
129
136
  if (!content)
130
137
  continue;
@@ -139,6 +146,8 @@ function parseVueSfc(source, filePath) {
139
146
  const templateHandlers = [];
140
147
  const componentUsages = [];
141
148
  const template = descriptor.template;
149
+ if (template?.src)
150
+ srcFiles.push(resolveSrc(template.src));
142
151
  if (template) {
143
152
  if (template.ast) {
144
153
  collectEventBindings(template.ast, templateEvents, templateHandlers, componentUsages);
@@ -150,6 +159,8 @@ function parseVueSfc(source, filePath) {
150
159
  /* v8 ignore else */
151
160
  if (template.src) {
152
161
  const external = readSrcFile(filePath, template.src);
162
+ if (external === null)
163
+ missingSrc.push(template.src);
153
164
  if (external) {
154
165
  collectEventBindings((0, compiler_dom_1.parse)(external), templateEvents, templateHandlers, componentUsages);
155
166
  }
@@ -162,6 +173,8 @@ function parseVueSfc(source, filePath) {
162
173
  // an empty expression (`@click=""`) holds no code
163
174
  templateHandlers: templateHandlers.filter((handler) => handler.code !== ""),
164
175
  componentUsages,
176
+ srcFiles,
177
+ missingSrc,
165
178
  errors: errors.map((error) => {
166
179
  // @vue/compiler-sfc errors are always Error instances
167
180
  /* v8 ignore else */
@@ -172,9 +185,13 @@ function parseVueSfc(source, filePath) {
172
185
  }),
173
186
  };
174
187
  }
175
- /** Map `App.vue` → `App.vue.ts` (single virtual TS module for the compiler). */
176
- function scriptVirtualPath(vuePath) {
177
- return vuePath.replace(/\.vue$/i, ".vue.ts");
188
+ /**
189
+ * Map `App.vue` → `App.vue.ts` (single virtual TS module for the compiler), or `App.vue.tsx` when a script is JSX
190
+ * (`lang="tsx"` / `lang="jsx"`): the host CLI reads the kind of a file from its extension, and JSX in a `.ts` file is a
191
+ * syntax error.
192
+ */
193
+ function scriptVirtualPath(vuePath, jsx = false) {
194
+ return vuePath.replace(/\.vue$/i, jsx ? ".vue.tsx" : ".vue.ts");
178
195
  }
179
196
  const TEMPLATE_EVENT_CALLEE = "__eventra_vue_template_event__";
180
197
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../src/transform.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAIjF,wBAAsB,eAAe,CACnC,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,wBAAwB,CAAC,CA0BnC"}
1
+ {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../src/transform.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAOjF,wBAAsB,eAAe,CACnC,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,wBAAwB,CAAC,CAiCnC"}
package/dist/transform.js CHANGED
@@ -2,6 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformVueSfc = transformVueSfc;
4
4
  const parse_vue_sfc_1 = require("./parse-vue-sfc");
5
+ // a template in another language is not HTML markup, so its events cannot be read
6
+ const NON_HTML_TEMPLATE = /<template\b[^>]*\blang\s*=\s*["']?(pug|jade|haml|slm)\b/i;
5
7
  const EMPTY_SFC_ERROR = /^At least one <template> or <script> is required/;
6
8
  async function transformVueSfc(input) {
7
9
  const parsed = (0, parse_vue_sfc_1.parseVueSfc)(input.source, input.path);
@@ -16,10 +18,17 @@ async function transformVueSfc(input) {
16
18
  // that looks like a legitimate zero-event file.
17
19
  throw new Error(`Failed to parse Vue SFC ${input.path}: ${errors.join("; ")}`);
18
20
  }
21
+ const language = NON_HTML_TEMPLATE.exec(input.source)?.[1]?.toLowerCase();
22
+ const notes = language ? [`<template lang="${language}"> is not read: events written in it are not in the scan (script events are).`] : [];
23
+ // a linked file that is not there is not an error (it may be generated), but nothing of it is in the scan
24
+ for (const src of parsed.missingSrc)
25
+ notes.push(`"${src}" was not found: what it holds is not in the scan.`);
19
26
  return {
27
+ ...(notes.length > 0 ? { notes } : {}),
28
+ ...(parsed.srcFiles.length > 0 ? { dependsOn: parsed.srcFiles } : {}),
20
29
  modules: [
21
30
  {
22
- path: (0, parse_vue_sfc_1.scriptVirtualPath)(input.path),
31
+ path: (0, parse_vue_sfc_1.scriptVirtualPath)(input.path, parsed.scripts.some((script) => script.lang === "tsx" || script.lang === "jsx")),
23
32
  content: (0, parse_vue_sfc_1.buildScriptModule)(parsed, input.path),
24
33
  },
25
34
  ],
package/dist/types.d.ts CHANGED
@@ -20,6 +20,10 @@ export interface CliPluginStaticCalleeSink {
20
20
  }
21
21
  export interface CliPluginTransformResult {
22
22
  readonly modules: readonly CliPluginVirtualModule[];
23
+ /** Hints about the file that are not errors (shown by the host CLI, never a failure). */
24
+ readonly notes?: readonly string[];
25
+ /** Other files the modules were built from: `eventra watch` rescans this file when one of them changes. */
26
+ readonly dependsOn?: readonly string[];
23
27
  }
24
28
  /** Contract for `@eventra_dev/cli-plugin-vue` and compatible CLI plugins. */
25
29
  export interface CliPluginVue {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACrD;AAED,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC5D,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,SAAS,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC9E"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACpD,yFAAyF;IACzF,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,2GAA2G;IAC3G,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AAED,6EAA6E;AAC7E,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC5D,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,SAAS,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;CAC9E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventra_dev/cli-plugin-vue",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Eventra CLI plugin — extract track() calls from Vue SFC (.vue) files",
5
5
  "license": "MIT",
6
6
  "author": {