Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 0d4d9f7

Browse files
committed
chore(db-compare): create empty project for monorepo
1 parent 1031906 commit 0d4d9f7

7 files changed

Lines changed: 104 additions & 0 deletions

File tree

apps/db-compare/eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import baseConfig from "../../eslint.config.mjs";
2+
3+
export default [
4+
...baseConfig
5+
];

apps/db-compare/package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "@triliumnext/db-compare",
3+
"version": "0.0.1",
4+
"private": true,
5+
"nx": {
6+
"name": "db-compare",
7+
"targets": {
8+
"build": {
9+
"executor": "@nx/esbuild:esbuild",
10+
"outputs": [
11+
"{options.outputPath}"
12+
],
13+
"defaultConfiguration": "production",
14+
"options": {
15+
"platform": "node",
16+
"outputPath": "apps/db-compare/dist",
17+
"format": [
18+
"cjs"
19+
],
20+
"bundle": false,
21+
"main": "apps/db-compare/src/main.ts",
22+
"tsConfig": "apps/db-compare/tsconfig.app.json",
23+
"assets": [
24+
"apps/db-compare/src/assets"
25+
],
26+
"esbuildOptions": {
27+
"sourcemap": true,
28+
"outExtension": {
29+
".js": ".js"
30+
}
31+
}
32+
},
33+
"configurations": {
34+
"development": {},
35+
"production": {
36+
"esbuildOptions": {
37+
"sourcemap": false,
38+
"outExtension": {
39+
".js": ".js"
40+
}
41+
}
42+
}
43+
}
44+
},
45+
"serve": {
46+
"executor": "@nx/js:node",
47+
"defaultConfiguration": "development",
48+
"dependsOn": [
49+
"build"
50+
],
51+
"options": {
52+
"buildTarget": "db-compare:build",
53+
"runBuildTargetDependencies": false
54+
},
55+
"configurations": {
56+
"development": {
57+
"buildTarget": "db-compare:build:development"
58+
},
59+
"production": {
60+
"buildTarget": "db-compare:build:production"
61+
}
62+
}
63+
}
64+
}
65+
}
66+
}

apps/db-compare/src/assets/.gitkeep

Whitespace-only changes.

apps/db-compare/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('Hello World');

apps/db-compare/tsconfig.app.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"types": [
6+
"node"
7+
],
8+
"rootDir": "src",
9+
"tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo"
10+
},
11+
"include": [
12+
"src/**/*.ts"
13+
],
14+
"exclude": [
15+
"eslint.config.js",
16+
"eslint.config.cjs",
17+
"eslint.config.mjs"
18+
]
19+
}

apps/db-compare/tsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"files": [],
4+
"include": [],
5+
"references": [
6+
{
7+
"path": "./tsconfig.app.json"
8+
}
9+
]
10+
}

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
},
3333
{
3434
"path": "./packages/express-partial-content"
35+
},
36+
{
37+
"path": "./apps/db-compare"
3538
}
3639
]
3740
}

0 commit comments

Comments
 (0)