From eacd3909928fcd84e1f99d2e4bbee95a8edc79e2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 22 Jan 2020 10:39:09 -0500 Subject: [PATCH] chore: scaffold ssr compiler --- packages/compiler-ssr/README.md | 1 + packages/compiler-ssr/api-extractor.json | 7 ++++++ packages/compiler-ssr/package.json | 32 ++++++++++++++++++++++++ packages/compiler-ssr/src/index.ts | 3 +++ 4 files changed, 43 insertions(+) create mode 100644 packages/compiler-ssr/README.md create mode 100644 packages/compiler-ssr/api-extractor.json create mode 100644 packages/compiler-ssr/package.json create mode 100644 packages/compiler-ssr/src/index.ts diff --git a/packages/compiler-ssr/README.md b/packages/compiler-ssr/README.md new file mode 100644 index 00000000..5beb121e --- /dev/null +++ b/packages/compiler-ssr/README.md @@ -0,0 +1 @@ +# @vue/compiler-ssr \ No newline at end of file diff --git a/packages/compiler-ssr/api-extractor.json b/packages/compiler-ssr/api-extractor.json new file mode 100644 index 00000000..305e85ff --- /dev/null +++ b/packages/compiler-ssr/api-extractor.json @@ -0,0 +1,7 @@ +{ + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "./dist/packages//src/index.d.ts", + "dtsRollup": { + "untrimmedFilePath": "./dist/.d.ts" + } +} \ No newline at end of file diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json new file mode 100644 index 00000000..a368e6f8 --- /dev/null +++ b/packages/compiler-ssr/package.json @@ -0,0 +1,32 @@ +{ + "name": "@vue/compiler-ssr", + "version": "3.0.0-alpha.2", + "description": "@vue/compiler-ssr", + "main": "dist/compiler-ssr.cjs.js", + "types": "dist/compiler-ssr.d.ts", + "files": [ + "dist" + ], + "buildOptions": { + "prod": false, + "formats": [ + "cjs" + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/vuejs/vue.git" + }, + "keywords": [ + "vue" + ], + "author": "Evan You", + "license": "MIT", + "bugs": { + "url": "https://github.com/vuejs/vue/issues" + }, + "homepage": "https://github.com/vuejs/vue/tree/dev/packages/compiler-ssr#readme", + "dependencies": { + "@vue/compiler-core": "3.0.0-alpha.2" + } +} diff --git a/packages/compiler-ssr/src/index.ts b/packages/compiler-ssr/src/index.ts new file mode 100644 index 00000000..d8c2d5fd --- /dev/null +++ b/packages/compiler-ssr/src/index.ts @@ -0,0 +1,3 @@ +export function hello(): string { + return 'TODO' +}