mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-01 12:42:28 +08:00
fix(monorepo/server): copying of source code
This commit is contained in:
parent
5b298867b3
commit
14b8578ff7
1
apps/server/.gitignore
vendored
1
apps/server/.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
node_modules
|
node_modules
|
||||||
build
|
build
|
||||||
|
build-ts
|
||||||
data
|
data
|
||||||
data-integration
|
data-integration
|
||||||
!data-integration/document.db
|
!data-integration/document.db
|
@ -71,6 +71,7 @@ try {
|
|||||||
fs.copySync(dir, path.normalize(path.join(PUBLIC_DIR, path.basename(dir))));
|
fs.copySync(dir, path.normalize(path.join(PUBLIC_DIR, path.basename(dir))));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fs.copySync(path.join(serverDir, "build-ts", "apps", "server", "src"), path.join(DEST_DIR, "src"));
|
||||||
fs.copySync(path.join(rootDir, "packages", "turndown-plugin-gfm", "src"), path.join(DEST_DIR, "src", "public", "app-dist", "turndown-plugin-gfm"));
|
fs.copySync(path.join(rootDir, "packages", "turndown-plugin-gfm", "src"), path.join(DEST_DIR, "src", "public", "app-dist", "turndown-plugin-gfm"));
|
||||||
|
|
||||||
console.log("Copying complete!")
|
console.log("Copying complete!")
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./build",
|
"outDir": "./build-ts",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user