Skip to content

Commit

Permalink
fix(nx): remove jasmine-marbles peer dependency to simplify migration
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jun 4, 2019
1 parent 82898f7 commit 7ea5405
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
10 changes: 8 additions & 2 deletions packages/angular/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
"umdModuleIds": {
"@ngrx/effects": "ngrx.effects",
"@ngrx/router-store": "ngrx.routerStore",
"@ngrx/store": "ngrx.store"
"@ngrx/store": "ngrx.store",
"jasmine-marbles": "jasmine-marbles"
}
},
"whitelistedNonPeerDependencies": ["@nrwl/", "@angular-devkit", "@schematics"]
"whitelistedNonPeerDependencies": [
"@nrwl/",
"@angular-devkit",
"@schematics",
"jasmine-marbles"
]
}
6 changes: 3 additions & 3 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"migrations": "./migrations.json"
},
"peerDependencies": {
"@nrwl/workspace": "*",
"jasmine-marbles": "~0.4.0"
"@nrwl/workspace": "*"
},
"dependencies": {
"@nrwl/cypress": "*",
"@nrwl/jest": "*",
"@angular-devkit/schematics": "8.0.1",
"@schematics/angular": "8.0.1"
"@schematics/angular": "8.0.1",
"jasmine-marbles": "~0.4.0"
}
}
2 changes: 0 additions & 2 deletions packages/angular/src/schematics/karma/karma.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Tree, noop, chain, mergeWith, url } from '@angular-devkit/schematics';
import { readJsonInTree, addDepsToPackageJson } from '@nrwl/workspace';
import { jasmineMarblesVersion } from '../../utils/versions';

export default function() {
return (host: Tree) => {
Expand All @@ -20,7 +19,6 @@ export default function() {
'karma-jasmine-html-reporter': '^0.2.2',
'jasmine-core': '~2.99.1',
'jasmine-spec-reporter': '~4.2.1',
'jasmine-marbles': jasmineMarblesVersion,
'@types/jasmine': '~2.8.8'
}
)
Expand Down
1 change: 0 additions & 1 deletion packages/angular/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ export const angularJsVersion = '1.6.6';
export const ngrxVersion = '7.2.0';
export const ngrxStoreFreezeVersion = '0.2.4';
export const rxjsVersion = '~6.4.0';
export const jasmineMarblesVersion = '^0.4.0';
export const jestPresetAngularVersion = '7.0.0';
1 change: 0 additions & 1 deletion packages/workspace/src/schematics/ng-add/ng-add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import * as path from 'path';
import { join } from 'path';
import {
angularCliVersion,
jasmineMarblesVersion,
nxVersion,
prettierVersion
} from '../../utils/versions';
Expand Down
1 change: 0 additions & 1 deletion packages/workspace/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ export const nxVersion = '*';
export const angularCliVersion = '8.0.0';
export const typescriptVersion = '~3.4.5';
export const prettierVersion = '1.16.4';
export const jasmineMarblesVersion = '^0.4.0';

0 comments on commit 7ea5405

Please sign in to comment.