From dfc02c4de91c4c08dba4929ca453c7855ae4cbbf Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Wed, 20 Sep 2023 09:46:54 -0500 Subject: [PATCH] Update hypothetical dependencies, so we can talk about what different modules might do. --- apps/cli/tsconfig.json | 4 +- apps/frontend/package.json | 1 + packages/docassemble/.gitignore | 1 + packages/docassemble/package.json | 1 + tsconfig.json | 2 +- workspace-dependencies.svg | 66 +++++++++++++++++++++---------- 6 files changed, 52 insertions(+), 23 deletions(-) create mode 100644 packages/docassemble/.gitignore diff --git a/apps/cli/tsconfig.json b/apps/cli/tsconfig.json index 1d4b6ecc..c4e89861 100644 --- a/apps/cli/tsconfig.json +++ b/apps/cli/tsconfig.json @@ -4,6 +4,8 @@ "outDir": "./dist", "emitDeclarationOnly": true }, - "include": ["./src"], + "include": [ + "./src" + ], "references": [] } diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 8614bff0..93ec2ad4 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -10,6 +10,7 @@ "test": "vitest" }, "dependencies": { + "@atj/docassemble": "workspace:*", "@atj/documents": "workspace:*", "@atj/interviews": "workspace:*", "@axe-core/playwright": "^4.7.3", diff --git a/packages/docassemble/.gitignore b/packages/docassemble/.gitignore new file mode 100644 index 00000000..4c49bd78 --- /dev/null +++ b/packages/docassemble/.gitignore @@ -0,0 +1 @@ +.env diff --git a/packages/docassemble/package.json b/packages/docassemble/package.json index 2caff176..e35aae98 100644 --- a/packages/docassemble/package.json +++ b/packages/docassemble/package.json @@ -9,6 +9,7 @@ "test": "vitest run --coverage" }, "dependencies": { + "@atj/documents": "workspace:*", "@atj/interviews": "workspace:*" }, "devDependencies": { diff --git a/tsconfig.json b/tsconfig.json index 49d9f534..f66cdee6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "declaration": true, "esModuleInterop": true, "isolatedModules": false, - "module": "ESNext", + "module": "CommonJS", "moduleResolution": "node", "noImplicitAny": true, "strict": true, diff --git a/workspace-dependencies.svg b/workspace-dependencies.svg index d38d5607..6c6cbaaf 100644 --- a/workspace-dependencies.svg +++ b/workspace-dependencies.svg @@ -4,16 +4,16 @@ - - + + workspace - + @atj/cli-app - -@atj/cli-app + +@atj/cli-app @@ -24,8 +24,8 @@ @atj/cli-app->@atj/interviews - - + + @@ -36,32 +36,56 @@ @atj/cli-app->@atj/dependency-graph - - + + @atj/frontend - -@atj/frontend + +@atj/frontend - + @atj/frontend->@atj/interviews - - + + - + +@atj/docassemble + +@atj/docassemble + + + +@atj/frontend->@atj/docassemble + + + + + @atj/documents - -@atj/documents + +@atj/documents - + @atj/frontend->@atj/documents - - + + + + + +@atj/docassemble->@atj/interviews + + + + + +@atj/docassemble->@atj/documents + +