@cfp-studio/plugin-vue3 16.0.1 → 16.1.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.
Files changed (51) hide show
  1. package/README.md +49 -0
  2. package/dist/index.d.mts +5797 -3
  3. package/dist/index.mjs +5 -635
  4. package/package.json +33 -28
  5. package/preview/index.ts +117 -128
  6. package/preview/modules/@vue/compiler-core/node_modules/.bin/parser +33 -7
  7. package/preview/modules/@vue/compiler-core/node_modules/.bin/parser.CMD +12 -0
  8. package/preview/modules/@vue/compiler-core/node_modules/.bin/parser.ps1 +41 -0
  9. package/preview/modules/@vue/compiler-sfc/node_modules/.bin/parser +33 -7
  10. package/preview/modules/@vue/compiler-sfc/node_modules/.bin/parser.CMD +12 -0
  11. package/preview/modules/@vue/compiler-sfc/node_modules/.bin/parser.ps1 +41 -0
  12. package/preview/modules/vue/node_modules/.bin/tsc +31 -5
  13. package/preview/modules/vue/node_modules/.bin/tsc.CMD +12 -0
  14. package/preview/modules/vue/node_modules/.bin/tsc.ps1 +41 -0
  15. package/preview/modules/vue/node_modules/.bin/tsserver +31 -5
  16. package/preview/modules/vue/node_modules/.bin/tsserver.CMD +12 -0
  17. package/preview/modules/vue/node_modules/.bin/tsserver.ps1 +41 -0
  18. package/preview/tsconfig.json +8 -8
  19. package/dist/index.d.ts +0 -5
  20. package/preview/modules/@vue/reactivity/LICENSE +0 -21
  21. package/preview/modules/@vue/reactivity/README.md +0 -19
  22. package/preview/modules/@vue/reactivity/dist/reactivity.cjs.js +0 -1939
  23. package/preview/modules/@vue/reactivity/dist/reactivity.cjs.prod.js +0 -1789
  24. package/preview/modules/@vue/reactivity/dist/reactivity.d.ts +0 -754
  25. package/preview/modules/@vue/reactivity/dist/reactivity.esm-browser.js +0 -1938
  26. package/preview/modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js +0 -5
  27. package/preview/modules/@vue/reactivity/dist/reactivity.esm-bundler.js +0 -1896
  28. package/preview/modules/@vue/reactivity/dist/reactivity.global.js +0 -1994
  29. package/preview/modules/@vue/reactivity/dist/reactivity.global.prod.js +0 -5
  30. package/preview/modules/@vue/reactivity/index.js +0 -7
  31. package/preview/modules/@vue/reactivity/package.json +0 -55
  32. package/preview/modules/@vue/runtime-dom/LICENSE +0 -21
  33. package/preview/modules/@vue/runtime-dom/README.md +0 -13
  34. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.cjs.js +0 -1820
  35. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +0 -1669
  36. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.d.ts +0 -1395
  37. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +0 -12332
  38. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +0 -5
  39. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +0 -1860
  40. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.global.js +0 -12383
  41. package/preview/modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js +0 -5
  42. package/preview/modules/@vue/runtime-dom/index.js +0 -7
  43. package/preview/modules/@vue/runtime-dom/package.json +0 -60
  44. package/preview/modules/@vue/shared/LICENSE +0 -21
  45. package/preview/modules/@vue/shared/README.md +0 -3
  46. package/preview/modules/@vue/shared/dist/shared.cjs.js +0 -594
  47. package/preview/modules/@vue/shared/dist/shared.cjs.prod.js +0 -594
  48. package/preview/modules/@vue/shared/dist/shared.d.ts +0 -328
  49. package/preview/modules/@vue/shared/dist/shared.esm-bundler.js +0 -519
  50. package/preview/modules/@vue/shared/index.js +0 -7
  51. package/preview/modules/@vue/shared/package.json +0 -47
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ $pathsep=":"
6
+ $env_node_path=$env:NODE_PATH
7
+ $new_node_path="D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\node_modules"
8
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
9
+ # Fix case when both the Windows and Linux builds of Node
10
+ # are installed in the same directory
11
+ $exe=".exe"
12
+ $pathsep=";"
13
+ } else {
14
+ $new_node_path="/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/node_modules"
15
+ }
16
+ if ([string]::IsNullOrEmpty($env_node_path)) {
17
+ $env:NODE_PATH=$new_node_path
18
+ } else {
19
+ $env:NODE_PATH="$new_node_path$pathsep$env_node_path"
20
+ }
21
+
22
+ $ret=0
23
+ if (Test-Path "$basedir/node$exe") {
24
+ # Support pipeline input
25
+ if ($MyInvocation.ExpectingInput) {
26
+ $input | & "$basedir/node$exe" "$basedir/../../../typescript/bin/tsc" $args
27
+ } else {
28
+ & "$basedir/node$exe" "$basedir/../../../typescript/bin/tsc" $args
29
+ }
30
+ $ret=$LASTEXITCODE
31
+ } else {
32
+ # Support pipeline input
33
+ if ($MyInvocation.ExpectingInput) {
34
+ $input | & "node$exe" "$basedir/../../../typescript/bin/tsc" $args
35
+ } else {
36
+ & "node$exe" "$basedir/../../../typescript/bin/tsc" $args
37
+ }
38
+ $ret=$LASTEXITCODE
39
+ }
40
+ $env:NODE_PATH=$env_node_path
41
+ exit $ret
@@ -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="/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/work_repo/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="/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/work_repo/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=D:/work_repo/cfp-studio/node_modules/.pnpm/vue@3.5.13_typescript@5.9.3/node_modules/typescript/bin/tsserver
@@ -0,0 +1,12 @@
1
+ @SETLOCAL
2
+ @IF NOT DEFINED NODE_PATH (
3
+ @SET "NODE_PATH=D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\node_modules"
4
+ ) ELSE (
5
+ @SET "NODE_PATH=D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\node_modules;%NODE_PATH%"
6
+ )
7
+ @IF EXIST "%~dp0\node.exe" (
8
+ "%~dp0\node.exe" "%~dp0\..\..\..\typescript\bin\tsserver" %*
9
+ ) ELSE (
10
+ @SET PATHEXT=%PATHEXT:;.JS;=;%
11
+ node "%~dp0\..\..\..\typescript\bin\tsserver" %*
12
+ )
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env pwsh
2
+ $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
3
+
4
+ $exe=""
5
+ $pathsep=":"
6
+ $env_node_path=$env:NODE_PATH
7
+ $new_node_path="D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules\typescript\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\typescript@5.9.3\node_modules;D:\work_repo\cfp-studio\node_modules\.pnpm\node_modules"
8
+ if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
9
+ # Fix case when both the Windows and Linux builds of Node
10
+ # are installed in the same directory
11
+ $exe=".exe"
12
+ $pathsep=";"
13
+ } else {
14
+ $new_node_path="/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/typescript@5.9.3/node_modules:/proc/cygdrive/d/work_repo/cfp-studio/node_modules/.pnpm/node_modules"
15
+ }
16
+ if ([string]::IsNullOrEmpty($env_node_path)) {
17
+ $env:NODE_PATH=$new_node_path
18
+ } else {
19
+ $env:NODE_PATH="$new_node_path$pathsep$env_node_path"
20
+ }
21
+
22
+ $ret=0
23
+ if (Test-Path "$basedir/node$exe") {
24
+ # Support pipeline input
25
+ if ($MyInvocation.ExpectingInput) {
26
+ $input | & "$basedir/node$exe" "$basedir/../../../typescript/bin/tsserver" $args
27
+ } else {
28
+ & "$basedir/node$exe" "$basedir/../../../typescript/bin/tsserver" $args
29
+ }
30
+ $ret=$LASTEXITCODE
31
+ } else {
32
+ # Support pipeline input
33
+ if ($MyInvocation.ExpectingInput) {
34
+ $input | & "node$exe" "$basedir/../../../typescript/bin/tsserver" $args
35
+ } else {
36
+ & "node$exe" "$basedir/../../../typescript/bin/tsserver" $args
37
+ }
38
+ $ret=$LASTEXITCODE
39
+ }
40
+ $env:NODE_PATH=$env_node_path
41
+ exit $ret
@@ -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`.