Skip to content

Commit 4c75375

Browse files
JamesHenrybenlesh
authored andcommitted
chore: fix path mapping, test and build relationship on rxjs
1 parent bd1a1dd commit 4c75375

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/rxjs/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"scripts": {
6262
"lint": "eslint --ext=ts,js src spec spec-dtslint",
6363
"dtslint": "npm run lint && tsc -b ./src/tsconfig.types.json",
64-
"test": "yarn build && cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"",
64+
"test": "cross-env TS_NODE_PROJECT=tsconfig.mocha.json mocha --config spec/support/.mocharc.js \"spec/**/*-spec.ts\"",
6565
"test:esm": "node spec/module-test-spec.mjs",
6666
"test:circular": "dependency-cruiser --validate .dependency-cruiser.json -x \"^node_modules\" dist/esm",
6767
"test:import": "node integration/import/runner.js",
@@ -171,6 +171,9 @@
171171
"nx": {
172172
"targets": {
173173
"test": {
174+
"dependsOn": [
175+
"build"
176+
],
174177
"cache": false
175178
}
176179
}

packages/rxjs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"target": "esnext",
1414
"baseUrl": ".",
1515
"paths": {
16-
"@rxjs/observable": ["../../observable/src/index"],
16+
"@rxjs/observable": ["../observable/src/index"],
1717
"rxjs": ["./src/index"],
1818
"rxjs/operators": ["./src/operators/index"],
1919
"rxjs/testing": ["./src/testing/index"],

0 commit comments

Comments
 (0)