From 02cc6dc671b974309014ebf55df9d123f0ffa9dd Mon Sep 17 00:00:00 2001 From: alvarodE Date: Fri, 26 Aug 2022 14:59:39 +0200 Subject: [PATCH] feat: Initial commit --- .gitignore | 10 ++++++++++ README.md | 9 +++++++++ jest.config.base.ts | 12 ++++++++++++ package.json | 19 +++++++++++++++++++ tsconfig.json | 18 ++++++++++++++++++ 5 files changed, 68 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 jest.config.base.ts create mode 100644 package.json create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..835883e --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +.DS_Store + +.idea +.vscode + +node_modules + +**/dist + +**/*.tgz diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3ee462 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# wg-monorepo-frontend + +Initiative in JIRA: https://searchbroker.atlassian.net/browse/EMO-288 + +RFC: https://github.com/empathyco/architecture-decision-log/pull/108 + +## References + +Playboard monorepo: https://searchbroker.atlassian.net/wiki/spaces/PLAYBOARD/pages/3914268778/Play+Playboard+Monorepo diff --git a/jest.config.base.ts b/jest.config.base.ts new file mode 100644 index 0000000..8a3ffea --- /dev/null +++ b/jest.config.base.ts @@ -0,0 +1,12 @@ +export default { + testMatch: [ + '**/*.spec.ts' + ], + moduleFileExtensions: [ + 'ts', + 'js' + ], + transform: { + '^.+\\.ts$': 'ts-jest' + } +}; diff --git a/package.json b/package.json new file mode 100644 index 0000000..04fcb50 --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "wg-monorepo-frontend", + "version": "0.0.0", + "workspaces": [ + "libs/*", + "apps/*" + ], + "scripts": { + "test": "npm run test --workspaces --if-present" + }, + "devDependencies": { + "@types/jest": "^28.1.7", + "@types/node": "^18.7.9", + "jest": "^28.1.3", + "ts-jest": "^28.0.8", + "ts-node": "^10.9.1", + "typescript": "^4.7.4" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..648f37e --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "Node", + "lib": [ + "ESNext", + "DOM" + ], + "esModuleInterop": true, + "strict": true, + "declaration": true, + "sourceMap": true, + "resolveJsonModule": true, + "noUnusedLocals": true, + "noUnusedParameters": true + } +}