-
Notifications
You must be signed in to change notification settings - Fork 124
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
Showing
12 changed files
with
1,913 additions
and
2,700 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
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,14 +1,7 @@ | ||
auto-install-peers=false | ||
#node-linker=hoisted | ||
ignore-workspace-root-check=true | ||
shamefully-hoist=true | ||
public-hoist-pattern[]=!typescript | ||
hoist-pattern[]=* | ||
hoist-pattern[]=!*deepkit* | ||
public-hoist-pattern[]=!*deepkit | ||
hoist-pattern[]=!typescript | ||
#hoist-pattern[]=!@angular/compiler | ||
#hoist-pattern[]=!@angular/compiler-cli | ||
#hoist-pattern[]=!@angular-devkit/build-angular | ||
#hoist-pattern[]=!@angular-devkit/core | ||
#hoist-pattern[]=!@angular/core | ||
#hoist-pattern[]=!@nx/angular | ||
#hoist-pattern[]=!ng-packagr | ||
public-hoist-pattern[]=!typescript |
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,29 +1,30 @@ | ||
{ | ||
"name": "node-modules-linking", | ||
"private": true, | ||
"dependencies": { | ||
"@deepkit/core": "1.0.1-alpha.97", | ||
"@deepkit/core-rxjs": "1.0.1-alpha.97", | ||
"@deepkit/bson": "1.0.1-alpha.97", | ||
"@deepkit/type": "1.0.1-alpha.97", | ||
"@deepkit/crypto": "1.0.1-alpha.89", | ||
"@deepkit/workflow": "1.0.1-alpha.97", | ||
"@deepkit/type-compiler": "1.0.1-alpha.97", | ||
"@deepkit/sql": "1.0.1-alpha.98", | ||
"@deepkit/injector": "1.0.1-alpha.97", | ||
"@deepkit/rpc": "1.0.1-alpha.97", | ||
"@deepkit/rpc-tcp": "1.0.1-alpha.97", | ||
"@deepkit/http": "1.0.1-alpha.98", | ||
"@deepkit/event": "1.0.1-alpha.97", | ||
"@deepkit/logger": "1.0.1-alpha.97", | ||
"@deepkit/framework": "1.0.1-alpha.99", | ||
"@deepkit/app": "1.0.1-alpha.98", | ||
"@deepkit/postgres": "1.0.1-alpha.98", | ||
"@deepkit/stopwatch": "1.0.1-alpha.97", | ||
"@deepkit/orm": "1.0.1-alpha.98" | ||
"peerDependencies": { | ||
"@deepkit/core": "*", | ||
"@deepkit/core-rxjs": "*", | ||
"@deepkit/bson": "*", | ||
"@deepkit/type": "*", | ||
"@deepkit/crypto": "*", | ||
"@deepkit/workflow": "*", | ||
"@deepkit/type-compiler": "*", | ||
"@deepkit/sql": "*", | ||
"@deepkit/injector": "*", | ||
"@deepkit/rpc": "*", | ||
"@deepkit/rpc-tcp": "*", | ||
"@deepkit/http": "*", | ||
"@deepkit/template": "*", | ||
"@deepkit/event": "*", | ||
"@deepkit/logger": "*", | ||
"@deepkit/framework": "*", | ||
"@deepkit/app": "*", | ||
"@deepkit/postgres": "*", | ||
"@deepkit/stopwatch": "*", | ||
"@deepkit/orm": "*", | ||
"@oclif/errors": "" | ||
}, | ||
"devDependencies": { | ||
"@deepkit-modules/nx-webpack-plugin": "0.1.0", | ||
"npm-local-development": "0.4.0" | ||
} | ||
} |
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
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,4 +1,4 @@ | ||
import { composePlugins, withNx } from '@nx/webpack'; | ||
import { withDeepkit } from '@deepkit-modules/nx-webpack-plugin'; | ||
import { withDeepkit } from '../../dist/packages/nx-webpack-plugin'; | ||
|
||
export default composePlugins(withNx(), withDeepkit()); |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/dist/index.js b/dist/index.js | ||
index 1e82e2f1a42cc57075549bbd0606131423d4d8cd..dd957806571b00667e35b10a3cb022f7f2379971 100755 | ||
--- a/dist/index.js | ||
+++ b/dist/index.js | ||
@@ -240,8 +240,9 @@ function config(cwd, watching, foundPackageFolders, linkedPackages) { | ||
for (const packageFolder of foundPackageFolders) { | ||
const pkgConfig = fs.readJSONSync(path_1.join(packageFolder, 'package.json')); | ||
const dependencies = pkgConfig['dependencies'] || {}; | ||
- const devDependencies = pkgConfig['devDependencies'] || {}; | ||
- const allDependencies = Object.assign(Object.assign({}, dependencies), devDependencies); | ||
+ const peerDependencies = pkgConfig['peerDependencies'] || {}; | ||
+ const devDependencies = pkgConfig['devDependencies'] || {}; | ||
+ const allDependencies = { ...dependencies, ...peerDependencies, ...devDependencies }; | ||
for (const packageName in syncConfig) { | ||
if (allDependencies[packageName]) { | ||
promises.push(sync(packageFolder, packageName, syncConfig[packageName], watching)); |
Oops, something went wrong.