@cfp-studio/plugin-vue3 16.0.1 → 16.1.0

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 (43) hide show
  1. package/README.md +42 -0
  2. package/dist/index.d.mts +5760 -3
  3. package/dist/index.mjs +5 -635
  4. package/package.json +33 -28
  5. package/preview/index.ts +0 -5
  6. package/preview/modules/@vue/compiler-core/node_modules/.bin/parser +33 -7
  7. package/preview/modules/@vue/compiler-sfc/node_modules/.bin/parser +33 -7
  8. package/preview/modules/vue/node_modules/.bin/tsc +31 -5
  9. package/preview/modules/vue/node_modules/.bin/tsserver +31 -5
  10. package/preview/tsconfig.json +8 -8
  11. package/dist/index.d.ts +0 -5
  12. package/preview/modules/@vue/reactivity/LICENSE +0 -21
  13. package/preview/modules/@vue/reactivity/README.md +0 -19
  14. package/preview/modules/@vue/reactivity/dist/reactivity.cjs.js +0 -1939
  15. package/preview/modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1789
  16. package/preview/modules/@vue/reactivity/dist/reactivity.d.ts +0 -754
  17. package/preview/modules/@vue/reactivity/dist/reactivity.esm-browser.js +0 -1938
  18. package/preview/modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js +0 -5
  19. package/preview/modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1896
  20. package/preview/modules/@vue/reactivity/dist/reactivity.global.js +0 -1994
  21. package/preview/modules/@vue/reactivity/dist/reactivity.global.prod.js +0 -5
  22. package/preview/modules/@vue/reactivity/index.js +0 -7
  23. package/preview/modules/@vue/reactivity/package.json +0 -55
  24. package/preview/modules/@vue/runtime-dom/LICENSE +0 -21
  25. package/preview/modules/@vue/runtime-dom/README.md +0 -13
  26. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.cjs.js +0 -1820
  27. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1669
  28. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1395
  29. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +0 -12332
  30. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +0 -5
  31. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1860
  32. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.global.js +0 -12383
  33. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js +0 -5
  34. package/preview/modules/@vue/runtime-dom/index.js +0 -7
  35. package/preview/modules/@vue/runtime-dom/package.json +0 -60
  36. package/preview/modules/@vue/shared/LICENSE +0 -21
  37. package/preview/modules/@vue/shared/README.md +0 -3
  38. package/preview/modules/@vue/shared/dist/shared.cjs.js +0 -594
  39. package/preview/modules/@vue/shared/dist/shared.cjs.prod.js +0 -594
  40. package/preview/modules/@vue/shared/dist/shared.d.ts +0 -328
  41. package/preview/modules/@vue/shared/dist/shared.esm-bundler.js +0 -519
  42. package/preview/modules/@vue/shared/index.js +0 -7
  43. package/preview/modules/@vue/shared/package.json +0 -47
package/package.json CHANGED
@@ -1,51 +1,56 @@
1
1
  {
2
2
  "name": "@cfp-studio/plugin-vue3",
3
- "version": "16.0.1",
3
+ "version": "16.1.0",
4
4
  "license": "MIT",
5
- "sideEffects": false,
6
- "type": "module",
7
- "main": "./dist/index.mjs",
8
- "types": "./dist/index.d.ts",
9
5
  "files": [
10
6
  "dist",
11
7
  "preview"
12
8
  ],
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "main": "./dist/index.mjs",
12
+ "types": "./dist/index.d.mts",
13
13
  "dependencies": {
14
14
  "@vitejs/plugin-vue": "5.2.1",
15
15
  "@vitejs/plugin-vue-jsx": "4.1.1",
16
16
  "@vue/compiler-sfc": "3.5.13",
17
- "fs-extra": "11.3.0",
18
- "typescript": "5.7.3",
17
+ "@vue/runtime-core": "3.5.13",
18
+ "typescript": "5.9.3",
19
19
  "vue": "3.5.13",
20
- "@cfp-studio/serializable-values": "9.0.6",
21
- "@cfp-studio/vfs": "2.1.4",
22
- "@cfp-studio/type-analyzer": "10.1.5",
23
- "@cfp-studio/api": "16.1.0",
24
- "@cfp-studio/storybook-helpers": "6.0.1",
25
- "@cfp-studio/analyzer-api": "0.1.9"
20
+ "@cfp-studio/analyzer-api": "0.1.13",
21
+ "@cfp-studio/serializable-values": "9.0.8",
22
+ "@cfp-studio/storybook-helpers": "6.0.2",
23
+ "@cfp-studio/type-analyzer": "10.1.8",
24
+ "@cfp-studio/vfs": "2.1.6"
26
25
  },
27
26
  "devDependencies": {
28
- "@playwright/test": "1.50.1",
29
- "@types/fs-extra": "11.0.4",
27
+ "@playwright/test": "1.64.1",
30
28
  "@vue/compiler-core": "3.5.13",
31
- "@vue/reactivity": "3.5.13",
32
- "@vue/runtime-core": "3.5.13",
33
- "@vue/runtime-dom": "3.5.13",
34
- "@vue/shared": "3.5.13",
35
- "pino": "9.6.0",
29
+ "pino": "9.11.0",
36
30
  "pino-pretty": "11.3.0",
37
31
  "rimraf": "6.0.1",
38
32
  "shx": "0.3.4",
39
- "unbuild": "2.0.0",
40
- "vite": "6.2.0",
41
- "vitest": "2.1.9",
42
- "@cfp-studio/core": "1.0.1",
33
+ "vite": "6.4.5",
34
+ "vitest": "5.0.5",
43
35
  "@cfp-studio/testing": "14.0.1",
44
- "@cfp-studio/iframe": "18.0.1"
36
+ "@cfp-studio/iframe": "18.2.0",
37
+ "@cfp-studio/core": "1.0.6"
38
+ },
39
+ "engines": {
40
+ "node": ">=20"
41
+ },
42
+ "cfp": {
43
+ "domain": "web-preview",
44
+ "layer": "analysis"
45
45
  },
46
46
  "scripts": {
47
- "build": "tsc && tsc -p preview/tsconfig.json && unbuild",
48
- "test": "vitest",
49
- "e2e-test": "playwright test"
47
+ "build": "tsdown",
48
+ "typecheck": "tsc --noEmit && tsc -p preview/tsconfig.json",
49
+ "release": "tsdown --minify",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest watch",
52
+ "e2e-test": "pnpm --dir tests/apps/vue3 install --ignore-workspace --ignore-scripts && playwright test",
53
+ "lint": "oxlint",
54
+ "format": "oxfmt --write ."
50
55
  }
51
56
  }
package/preview/index.ts CHANGED
@@ -2,7 +2,6 @@ import type { GetPropsFn, RendererLoader } from "@cfp-studio/iframe";
2
2
  import type { App } from "vue";
3
3
  import { createApp } from "vue";
4
4
 
5
- // biome-ignore lint/style/noNonNullAssertion: <explanation>
6
5
  const root = document.getElementById("root")!;
7
6
  let app: App | null = null;
8
7
 
@@ -16,7 +15,6 @@ export const loadRenderer: RendererLoader = async ({
16
15
  const isStoryModule = !!previewableModule.default?.component;
17
16
  const Wrapper =
18
17
  (wrapperModule?.[wrapperName || "default"]) || null;
19
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
20
18
  let Previewable: any;
21
19
  if (
22
20
  (
@@ -45,7 +43,6 @@ export const loadRenderer: RendererLoader = async ({
45
43
  } else {
46
44
  // JSX or Storybook story, either CSF2 or CSF3.
47
45
  if (typeof Previewable === "function") {
48
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
49
46
  RenderComponent = (props: any) => {
50
47
  const storyReturnValue = Previewable(props);
51
48
  if (storyReturnValue.template) {
@@ -102,7 +99,6 @@ export const loadRenderer: RendererLoader = async ({
102
99
  if (Previewable.play) {
103
100
  try {
104
101
  await Previewable.play({ canvasElement: root });
105
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
106
102
  } catch (e: any) {
107
103
  // For some reason, Storybook expects to throw exceptions that should be ignored.
108
104
  if (!e.message?.startsWith("ignoredException")) {
@@ -116,7 +112,6 @@ export const loadRenderer: RendererLoader = async ({
116
112
  };
117
113
  };
118
114
 
119
- // biome-ignore lint/suspicious/noExplicitAny: <explanation>
120
115
  function slotTransformingH(component: any, props: any, children: any) {
121
116
  const localProps = props || {};
122
117
  // @ts-ignore
@@ -1,17 +1,43 @@
1
1
  #!/bin/sh
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
3
6
 
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
6
25
  esac
7
26
 
8
27
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
28
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
10
29
  else
11
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
30
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
12
31
  fi
13
- if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.26.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
15
40
  else
16
- exec node "$basedir/../../../../../../@babel+parser@7.26.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
41
+ exec node "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
17
42
  fi
43
+ # cmd-shim-target=/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js
@@ -1,17 +1,43 @@
1
1
  #!/bin/sh
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
3
6
 
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
6
25
  esac
7
26
 
8
27
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
28
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
10
29
  else
11
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules/@babel/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.26.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
30
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
12
31
  fi
13
- if [ -x "$basedir/node" ]; then
14
- exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.26.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
34
+ elif [ -x "$basedir/node" ]; then
35
+ exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
15
40
  else
16
- exec node "$basedir/../../../../../../@babel+parser@7.26.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
41
+ exec node "$basedir/../../../../../../@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js" "$@"
17
42
  fi
43
+ # cmd-shim-target=/Users/anthony/Code/cfp-studio/node_modules/.pnpm/@babel+parser@7.29.9/node_modules/@babel/parser/bin/babel-parser.js
@@ -1,17 +1,43 @@
1
1
  #!/bin/sh
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
3
6
 
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
6
25
  esac
7
26
 
8
27
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
28
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
10
29
  else
11
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
30
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
12
31
  fi
13
- if [ -x "$basedir/node" ]; then
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../typescript/bin/tsc" "$@"
34
+ elif [ -x "$basedir/node" ]; then
14
35
  exec "$basedir/node" "$basedir/../../../typescript/bin/tsc" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../typescript/bin/tsc" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../typescript/bin/tsc" "$@"
15
40
  else
16
41
  exec node "$basedir/../../../typescript/bin/tsc" "$@"
17
42
  fi
43
+ # cmd-shim-target=/Users/anthony/Code/cfp-studio/node_modules/.pnpm/vue@3.5.13_typescript@5.9.3/node_modules/typescript/bin/tsc
@@ -1,17 +1,43 @@
1
1
  #!/bin/sh
2
2
  basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+ basedir_win="$basedir"
4
+ exe=""
5
+ msys=""
3
6
 
4
- case `uname` in
5
- *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
7
+ case `uname -a` in
8
+ *CYGWIN*|*MINGW*|*MSYS*)
9
+ if command -v cygpath > /dev/null 2>&1; then
10
+ basedir_win=`cygpath -w "$basedir"`
11
+ fi
12
+ exe=".exe"
13
+ msys="true"
14
+ ;;
15
+ *WSL2*)
16
+ if command -v wslpath > /dev/null 2>&1; then
17
+ basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
18
+ if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
19
+ basedir_win="$basedir"
20
+ else
21
+ exe=".exe"
22
+ fi
23
+ fi
24
+ ;;
6
25
  esac
7
26
 
8
27
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
28
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules"
10
29
  else
11
- export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/bin/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.7.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
30
+ export NODE_PATH="/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/anthony/Code/cfp-studio/node_modules/.pnpm/node_modules:$NODE_PATH"
12
31
  fi
13
- if [ -x "$basedir/node" ]; then
32
+ if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
33
+ exec "$basedir/node.exe" "$basedir_win/../../../typescript/bin/tsserver" "$@"
34
+ elif [ -x "$basedir/node" ]; then
14
35
  exec "$basedir/node" "$basedir/../../../typescript/bin/tsserver" "$@"
36
+ elif command -v node >/dev/null 2>&1; then
37
+ exec node "$basedir/../../../typescript/bin/tsserver" "$@"
38
+ elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
39
+ exec node.exe "$basedir_win/../../../typescript/bin/tsserver" "$@"
15
40
  else
16
41
  exec node "$basedir/../../../typescript/bin/tsserver" "$@"
17
42
  fi
43
+ # cmd-shim-target=/Users/anthony/Code/cfp-studio/node_modules/.pnpm/vue@3.5.13_typescript@5.9.3/node_modules/typescript/bin/tsserver
@@ -1,8 +1,8 @@
1
- {
2
- "extends": "../../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "module": "ES2022",
5
- "moduleResolution": "Bundler"
6
- },
7
- "exclude": ["modules"]
8
- }
1
+ {
2
+ "extends": "../../../../../tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "module": "ES2022",
5
+ "moduleResolution": "Bundler"
6
+ },
7
+ "exclude": ["modules"]
8
+ }
package/dist/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { FrameworkPluginFactory } from '@cfp-studio/core';
2
-
3
- declare const vue3FrameworkPlugin: FrameworkPluginFactory;
4
-
5
- export { vue3FrameworkPlugin as default };
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018-present, Yuxi (Evan) You
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,19 +0,0 @@
1
- # @vue/reactivity
2
-
3
- ## Usage Note
4
-
5
- This package is inlined into Global & Browser ESM builds of user-facing renderers (e.g. `@vue/runtime-dom`), but also published as a package that can be used standalone. The standalone build should not be used alongside a pre-bundled build of a user-facing renderer, as they will have different internal storage for reactivity connections. A user-facing renderer should re-export all APIs from this package.
6
-
7
- For full exposed APIs, see `src/index.ts`.
8
-
9
- ## Credits
10
-
11
- The implementation of this module is inspired by the following prior art in the JavaScript ecosystem:
12
-
13
- - [Meteor Tracker](https://docs.meteor.com/api/tracker.html)
14
- - [nx-js/observer-util](https://github.com/nx-js/observer-util)
15
- - [salesforce/observable-membrane](https://github.com/salesforce/observable-membrane)
16
-
17
- ## Caveats
18
-
19
- - Built-in objects are not observed except for `Array`, `Map`, `WeakMap`, `Set` and `WeakSet`.