Skip to content

Commit

Permalink
fix: fix nx test and lint commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Jun 14, 2024
1 parent 3c39890 commit 9c51a89
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"scripts": {
"prepare": "husky install",
"test:restapi": "cd packages/restapi && TS_NODE_PROJECT='./tsconfig.mocha.json' NODE_OPTIONS='--loader ts-node/esm' mocha -r ts-node/register 'tests/**/*.test.ts' --timeout 1200000 --require tests/root.ts --serial",
"test:d-node-notif": "cd packages/d-node-notif && TS_NODE_PROJECT='./tsconfig.mocha.json' NODE_OPTIONS='--loader ts-node/esm' mocha -r ts-node/register 'tests/**/*.test.ts' --timeout 1200000 --require tests/root.ts --serial",
"cleanbuild": "rimraf ./dist && rimraf ./tmp"
},
"config": {
Expand Down
2 changes: 1 addition & 1 deletion packages/d-node-notif/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "node_modules"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
8 changes: 4 additions & 4 deletions packages/d-node-notif/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
"options": {
"lintFilePatterns": ["packages/d-node-notif/**/*.ts"]
}
}
},
},
"test": {
"executor": "@nrwl/workspace:run-commands",
"outputs": ["coverage/packages/d-node-notif"],
"options": {
"commands": ["yarn run test:d-node-notif"],
"commands": ["cd packages/d-node-notif && yarn run test"],
"passWithNoTests": true
}
},
Expand All @@ -52,6 +51,7 @@
"options": {
"command": "node tools/scripts/publish.mjs d-node_notif"
}
},
}
},
"tags": []
}

0 comments on commit 9c51a89

Please sign in to comment.