-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4013bc
commit 6532dc2
Showing
13 changed files
with
562 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
2 changes: 1 addition & 1 deletion
2
test/merge-module-monorepo/input/project1/project-documents/doc1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* @module merged | ||
* @module merged | ||
* @mergeTarget | ||
*/ | ||
export { C } from "./c"; |
2 changes: 1 addition & 1 deletion
2
test/merge-module-monorepo/input/project2/project-documents/doc2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc2.md | ||
# This is the project documentation file doc2.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
2 changes: 1 addition & 1 deletion
2
test/merge-project-monorepo/input/project1/project-documents/doc1.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
2 changes: 1 addition & 1 deletion
2
test/merge-project-monorepo/input/project2/project-documents/doc2.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc2.md | ||
# This is the project documentation file doc2.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This is the project documentation file doc1.md | ||
# This is the project documentation file doc1.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const fs = require("fs"); | ||
|
||
console.log("=================================== SETTING UP THE TESTS ==========================================="); | ||
|
||
if (!fs.existsSync("..\\dist")) { | ||
console.error("ERROR: Cannot find 'dist' folder. Did you forget to build the plugin with 'npm run build'?"); | ||
process.exit(1); | ||
} | ||
|
||
console.log("Copying current build of plugin to node_modules for testing..."); | ||
|
||
fs.rm("..\\node_modules\\typedoc-plugin-merge-modules", { recursive: true, force: true }, (rmErr) => { | ||
if (rmErr) { | ||
throw rmErr; | ||
} else { | ||
fs.mkdir("..\\node_modules\\typedoc-plugin-merge-modules\\dist", { recursive: true }, (mkDirErr) => { | ||
if (mkDirErr) { | ||
throw mkDirErr; | ||
} else { | ||
fs.copyFileSync("..\\package.json", "..\\node_modules\\typedoc-plugin-merge-modules\\package.json"); | ||
fs.cpSync("..\\dist", "..\\node_modules\\typedoc-plugin-merge-modules\\dist", { recursive: true }); | ||
} | ||
}); | ||
} | ||
}); | ||
|
||
console.log("DONE\n"); | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const fs = require("fs"); | ||
|
||
console.log("=================================== SETTING UP THE TESTS ==========================================="); | ||
|
||
if (!fs.existsSync("..\\dist")) { | ||
console.error("ERROR: Cannot find 'dist' folder. Did you forget to build the plugin with 'npm run build'?"); | ||
process.exit(1); | ||
} | ||
|
||
console.log("Copying current build of plugin to node_modules for testing..."); | ||
|
||
fs.rm("..\\node_modules\\typedoc-plugin-merge-modules", { recursive: true, force: true }, (rmErr) => { | ||
if (rmErr) { | ||
throw rmErr; | ||
} else { | ||
fs.mkdir("..\\node_modules\\typedoc-plugin-merge-modules\\dist", { recursive: true }, (mkDirErr) => { | ||
if (mkDirErr) { | ||
throw mkDirErr; | ||
} else { | ||
fs.copyFileSync("..\\package.json", "..\\node_modules\\typedoc-plugin-merge-modules\\package.json"); | ||
fs.cpSync("..\\dist", "..\\node_modules\\typedoc-plugin-merge-modules\\dist", { recursive: true }); | ||
} | ||
}); | ||
} | ||
}); | ||
|
||
console.log("DONE\n"); |