]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
feat: init vapor package
author三咲智子 Kevin Deng <sxzz@sxzz.moe>
Thu, 9 Nov 2023 09:26:31 +0000 (17:26 +0800)
committer三咲智子 Kevin Deng <sxzz@sxzz.moe>
Thu, 16 Nov 2023 19:01:53 +0000 (03:01 +0800)
packages/compiler-vapor/LICENSE [new file with mode: 0644]
packages/compiler-vapor/README.md [new file with mode: 0644]
packages/compiler-vapor/__tests__/reactivityTransform.spec.ts [new file with mode: 0644]
packages/compiler-vapor/package.json [new file with mode: 0644]
packages/compiler-vapor/src/index.ts [new file with mode: 0644]
pnpm-lock.yaml

diff --git a/packages/compiler-vapor/LICENSE b/packages/compiler-vapor/LICENSE
new file mode 100644 (file)
index 0000000..15f1f7e
--- /dev/null
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2018-present, Yuxi (Evan) You
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/packages/compiler-vapor/README.md b/packages/compiler-vapor/README.md
new file mode 100644 (file)
index 0000000..c098888
--- /dev/null
@@ -0,0 +1,4 @@
+# @vue/compiler-vapor
+
+> Note:
+> Work in progress. Do not use yet.
diff --git a/packages/compiler-vapor/__tests__/reactivityTransform.spec.ts b/packages/compiler-vapor/__tests__/reactivityTransform.spec.ts
new file mode 100644 (file)
index 0000000..730cbb1
--- /dev/null
@@ -0,0 +1,3 @@
+test('basic', () => {
+  //
+})
diff --git a/packages/compiler-vapor/package.json b/packages/compiler-vapor/package.json
new file mode 100644 (file)
index 0000000..8f656f4
--- /dev/null
@@ -0,0 +1,40 @@
+{
+  "name": "@vue/compiler-vapor",
+  "version": "0.0.0",
+  "description": "@vue/compiler-vapor",
+  "main": "dist/compiler-vapor.cjs.js",
+  "files": [
+    "dist"
+  ],
+  "buildOptions": {
+    "formats": [
+      "cjs"
+    ],
+    "prod": false
+  },
+  "types": "dist/compiler-vapor.d.ts",
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/vuejs/core.git",
+    "directory": "packages/compiler-vapor"
+  },
+  "keywords": [
+    "vue"
+  ],
+  "author": "Evan You",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/vuejs/core/issues"
+  },
+  "homepage": "https://github.com/vuejs/core/tree/dev/packages/compiler-vapor#readme",
+  "dependencies": {
+    "@babel/parser": "^7.23.0",
+    "@vue/compiler-core": "3.3.8",
+    "@vue/shared": "3.3.8",
+    "estree-walker": "^2.0.2",
+    "magic-string": "^0.30.5"
+  },
+  "devDependencies": {
+    "@babel/types": "^7.23.0"
+  }
+}
diff --git a/packages/compiler-vapor/src/index.ts b/packages/compiler-vapor/src/index.ts
new file mode 100644 (file)
index 0000000..21ec276
--- /dev/null
@@ -0,0 +1 @@
+export const foo = 'bar'
index a6ef2541c61b0df760893fc2d0c23fa3c88ab95d..f048d88c066080b3ed05cd87abc668ecdc504e5e 100644 (file)
@@ -257,6 +257,28 @@ importers:
         specifier: 3.3.8
         version: link:../shared
 
+  packages/compiler-vapor:
+    dependencies:
+      '@babel/parser':
+        specifier: ^7.23.0
+        version: 7.23.0
+      '@vue/compiler-core':
+        specifier: 3.3.8
+        version: link:../compiler-core
+      '@vue/shared':
+        specifier: 3.3.8
+        version: link:../shared
+      estree-walker:
+        specifier: ^2.0.2
+        version: 2.0.2
+      magic-string:
+        specifier: ^0.30.5
+        version: 0.30.5
+    devDependencies:
+      '@babel/types':
+        specifier: ^7.23.0
+        version: 7.23.0
+
   packages/dts-built-test:
     dependencies:
       '@vue/reactivity':