diff --git a/package.json b/package.json index 19a4411bfc7..5e97881a660 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "test:core": "lerna run test:ci --scope '@tsed/{core,di,common,engines,normalize-path}' --stream --concurrency 2", "test:platform": "lerna run test:ci --ignore '@tsed/platform-{express,koa}' --scope '@tsed/platform-*' --stream --concurrency 2", "test:integration": "lerna run test:ci --scope '@tsed/platform-{express,koa}' --stream --concurrency 2", - "test:orm": "lerna run test:ci --scope '@tsed/{adapters,adapters-redis,mikro-orm,mongoose,objection,prisma,typeorm}' --stream --concurrency 4", + "test:orm": "lerna run test:ci --scope '@tsed/{adapters,adapters-redis,mikro-orm,mongoose,objection,prisma}' --stream --concurrency 4", "test:graphql": "lerna run test:ci --scope '@tsed/{apollo,typegraphql}' --stream", "test:security": "lerna run test:ci --scope '@tsed/{jwks,oidc-provider,passport,oidc-provider-plugin-wildcard-redirect-uri}' --stream", "test:specs": "lerna run test --scope '@tsed/{ajv,exceptions,json-mapper,schema,swagger}' --stream --concurrency 2", - "test:third-parties": "lerna run test:ci --scope '@tsed/{agenda,bullmq,components-scan,event-emitter,formio,pulse,sse,socketio,stripe,temporal,terminus,vike,vite-ssr-plugin,schema-formio,formio}' --stream --concurrency 1", + "test:third-parties": "lerna run test:ci --scope '@tsed/{agenda,bullmq,components-scan,event-emitter,formio,pulse,sse,socketio,stripe,temporal,terminus,vike,schema-formio,formio}' --stream --concurrency 1", "coverage": "merge-istanbul --out coverage/coverage-final.json \"**/packages/**/coverage/coverage-final.json\" && nyc report --reporter text --reporter html --reporter lcov -t coverage --report-dir coverage", "barrels": "lerna run barrels", "build": "monorepo build --verbose", diff --git a/packages/third-parties/vite-ssr-plugin/.npmignore b/packages/third-parties/vite-ssr-plugin/.npmignore deleted file mode 100644 index 672ed765244..00000000000 --- a/packages/third-parties/vite-ssr-plugin/.npmignore +++ /dev/null @@ -1,8 +0,0 @@ -src -test -coverage -tsconfig.json -tsconfig.*.json -__mock__ -*.spec.js -*.tsbuildinfo diff --git a/packages/third-parties/vite-ssr-plugin/package.json b/packages/third-parties/vite-ssr-plugin/package.json deleted file mode 100644 index a706c08129a..00000000000 --- a/packages/third-parties/vite-ssr-plugin/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@tsed/vite-ssr-plugin", - "description": "Vite SSR plugin package for Ts.ED framework", - "type": "commonjs", - "version": "8.0.0-alpha.2", - "contributors": [ - { - "name": "romakita" - } - ], - "source": "./src/index.ts", - "main": "./lib/cjs/index.js", - "module": "./lib/esm/index.js", - "typings": "./lib/types/index.d.ts", - "exports": { - ".": { - "types": "./lib/types/index.d.ts", - "import": "./lib/esm/index.js", - "require": "./lib/cjs/index.js", - "default": "./lib/cjs/index.js" - } - }, - "scripts": { - "build": "yarn build:ts", - "build:ts": "tsc --build tsconfig.json" - }, - "dependencies": { - "@tsed/vike": "workspace:*" - }, - "peerDependencies": { - "vite-plugin-ssr": ">=0.4.114" - }, - "devDependencies": { - "@tsed/barrels": "workspace:*", - "@tsed/typescript": "workspace:*", - "typescript": "4.9.5" - } -} diff --git a/packages/third-parties/vite-ssr-plugin/readme.md b/packages/third-parties/vite-ssr-plugin/readme.md deleted file mode 100644 index a945f7a0a90..00000000000 --- a/packages/third-parties/vite-ssr-plugin/readme.md +++ /dev/null @@ -1,70 +0,0 @@ -

- Ts.ED logo -

- -
-

Vite SSR plugin

- -[![Build & Release](https://github.com/tsedio/tsed/workflows/Build%20&%20Release/badge.svg)](https://github.com/tsedio/tsed/actions?query=workflow%3A%22Build+%26+Release%22) -[![PR Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/tsedio/tsed/blob/master/CONTRIBUTING.md) -[![npm version](https://badge.fury.io/js/%40tsed%2Fcommon.svg)](https://badge.fury.io/js/%40tsed%2Fcommon) -[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) -[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) -[![github](https://img.shields.io/static/v1?label=Github%20sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/romakita) -[![opencollective](https://img.shields.io/static/v1?label=OpenCollective%20sponsor&message=%E2%9D%A4&logo=OpenCollective&color=%23fe8e86)](https://opencollective.com/tsed) - -
- -
- Website -   •   - Getting started -   •   - Slack -   •   - Twitter -
- -
- -A package of Ts.ED framework. See website: https://tsed.io/tutorials/vite-ssr-plugin - -## Feature - -- Render page using @View with Vite - -## Installation - -To begin, install the oidc-provider module for TS.ED: - -```bash -npm install --save @tsed/vite-ssr-plugin vite@4 vite-ssr-plugin -``` - -## Contributors - -Please read [contributing guidelines here](https://tsed.io/contributing.html) - - - -## Backers - -Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)] - - - -## Sponsors - -Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)] - -## License - -The MIT License (MIT) - -Copyright (c) 2016 - 2022 Romain Lenzotti - -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/third-parties/vite-ssr-plugin/src/index.ts b/packages/third-parties/vite-ssr-plugin/src/index.ts deleted file mode 100644 index ab3fa0cc834..00000000000 --- a/packages/third-parties/vite-ssr-plugin/src/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import {ViteService} from "@tsed/vike"; - -export * from "@tsed/vike"; - -ViteService.moduleName = "vite-ssr-plugin"; diff --git a/packages/third-parties/vite-ssr-plugin/tsconfig.cjs.json b/packages/third-parties/vite-ssr-plugin/tsconfig.cjs.json deleted file mode 100644 index 7f23b116d2b..00000000000 --- a/packages/third-parties/vite-ssr-plugin/tsconfig.cjs.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "commonjs", - "moduleResolution": "Node16", - "rootDir": "src", - "outDir": "./lib/cjs", - "declaration": true, - "declarationDir": "./lib/types", - "composite": true, - "noEmit": false - }, - "include": ["src", "src/**/*.json"], - "exclude": [ - "node_modules", - "test", - "lib", - "benchmark", - "coverage", - "spec", - "**/*.benchmark.ts", - "**/*.spec.ts", - "keys", - "**/__mock__/**", - "webpack.config.js" - ] -} diff --git a/packages/third-parties/vite-ssr-plugin/tsconfig.esm.json b/packages/third-parties/vite-ssr-plugin/tsconfig.esm.json deleted file mode 100644 index ce32a9e0718..00000000000 --- a/packages/third-parties/vite-ssr-plugin/tsconfig.esm.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "module": "ESNext", - "moduleResolution": "nodenext", - "rootDir": "src", - "outDir": "./lib/esm", - "declarationDir": "./lib/types-esm", - "declaration": true, - "composite": true, - "noEmit": false - }, - "include": ["src", "src/**/*.json"], - "exclude": [ - "node_modules", - "test", - "lib", - "benchmark", - "coverage", - "spec", - "**/*.benchmark.ts", - "**/*.spec.ts", - "keys", - "**/__mock__/**", - "webpack.config.js" - ] -} diff --git a/packages/third-parties/vite-ssr-plugin/tsconfig.json b/packages/third-parties/vite-ssr-plugin/tsconfig.json deleted file mode 100644 index 4ecedc1b796..00000000000 --- a/packages/third-parties/vite-ssr-plugin/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "@tsed/typescript/tsconfig.node.json", - "compilerOptions": { - "baseUrl": ".", - "noEmit": true - }, - "include": [], - "references": [ - { - "path": "../vike/tsconfig.json" - }, - { - "path": "./tsconfig.cjs.json" - }, - { - "path": "./tsconfig.esm.json" - } - ] -} diff --git a/tsconfig.json b/tsconfig.json index 8e83a9a26b9..031b8074330 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -107,9 +107,6 @@ { "path": "./packages/orm/testcontainers-mongo/tsconfig.json" }, - { - "path": "./packages/orm/typeorm/tsconfig.json" - }, { "path": "./packages/platform/platform-cache/tsconfig.json" }, @@ -185,9 +182,6 @@ { "path": "./packages/third-parties/vike/tsconfig.json" }, - { - "path": "./packages/third-parties/vite-ssr-plugin/tsconfig.json" - }, { "path": "./packages/third-parties/terminus/tsconfig.json" },