Delete old server and improve project configuration
Changes:
- Delete old server files from project root
- /app.ts
- /jamiDaemon.ts
- /routes/
- /rollup.config.js
- /jamiServerConfig.json
- /*.env
- Remake tsconfig.json for client, common, and server
- Delete root /tsconfig.json
- Make subproject tsconfig.json files standalone
- Improve consistency between tsconfig.json files
- Move Cypress and Sentry tests to client/
- Update README.md, Dockerfile and .dockerignore
- Remove extra symlink
- Remove mentions and links to old server (e.g. ports)
- Remove boilerplate project in test/, which has nothing to do with tests
- Update package.json to remove scripts for old server
- Update .gitignores to be consistent with their folder contents
GitLab: #109
Change-Id: Ie575113288c973115c3236e030b02d1a54e3510c
diff --git a/common/package.json b/common/package.json
index 975c61d..5838a84 100644
--- a/common/package.json
+++ b/common/package.json
@@ -1,7 +1,6 @@
{
"name": "jami-web-common",
"version": "1.0.0",
- "license": "ISC",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
diff --git a/common/tsconfig.json b/common/tsconfig.json
index b73bb55..5e4d5b9 100644
--- a/common/tsconfig.json
+++ b/common/tsconfig.json
@@ -1,9 +1,14 @@
{
- "extends": "../tsconfig",
"compilerOptions": {
+ "target": "esnext",
+ "module": "esnext",
+ "rootDir": "src",
+ "moduleResolution": "node",
"declaration": true,
"outDir": "dist",
- "rootDir": "src"
- },
- "include": ["src/**/*"]
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "strict": true,
+ "skipLibCheck": true
+ }
}