Skip to content

Commit

Permalink
fix: fix nrwl config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Jul 3, 2024
1 parent 0525168 commit 90a9708
Show file tree
Hide file tree
Showing 7 changed files with 16,878 additions and 22,879 deletions.
2 changes: 1 addition & 1 deletion packages/dnode/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@sdk/dnode",
"name": "@pushprotocol/dnode",
"version": "0.0.1",
"type": "commonjs",
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/dnode/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@
"options": {
"preset": "angular",
"commitMessageFormat": "ci(${projectName}): 🎉 cut release to ${projectName}-v${version}",
"postTargets": ["d-node_notif:build", "d-node_notif:ci-publish"]
"postTargets": ["dnode:build", "dnode:ci-publish"]
}
},
"ci-version-beta": {
"executor": "@jscutlery/semver:version",
"options": {
"preset": "angular",
"commitMessageFormat": "ci(${projectName}): 🎉 cut beta release to ${projectName}-v${version}",
"postTargets": ["d-node_notif:build", "d-node_notif:ci-publish"],
"postTargets": ["dnode:build", "dnode:ci-publish"],
"version": "prerelease",
"preid": "alpha"
}
},
"ci-publish": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"command": "node tools/scripts/publish.mjs d-node_notif"
"command": "node tools/scripts/publish.mjs dnode"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/dnode/src/lib/utils/axiosUtil.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios, { AxiosRequestConfig, AxiosResponse } from 'axios';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const packageJson = require('../../../../restapi/package.json');
const packageJson = require('../../../package.json');
const version = packageJson.version;

const addSdkVersionHeader = (
Expand Down
2 changes: 1 addition & 1 deletion packages/dnode/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"types": []
},
"include": ["**/*.ts"],
"exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts"]
"exclude": ["jest.config.ts", "**/*.spec.ts", "**/*.test.ts" , "tests"]
}
2 changes: 1 addition & 1 deletion packages/dnode/tsconfig.mocha.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"module": "commonjs",
"esModuleInterop": false
},
"exclude": ["node_modules"]
"exclude": ["node_modules" , "tests"]
}
5 changes: 3 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"paths": {
"@pushprotocol/dnode": ["packages/dnode/src/index.ts"],
"@pushprotocol/ledgerlive": ["packages/ledgerlive/src/index.ts"],
"@pushprotocol/reactnative": ["packages/reactnative/src/index.ts"],
"@pushprotocol/restapi": ["packages/restapi/src/index.ts"],
"@pushprotocol/socket": ["packages/socket/src/index.ts"],
"@pushprotocol/uiembed": ["packages/uiembed/src/index.ts"],
"@pushprotocol/uiweb": ["packages/uiweb/src/index.ts"],
"@sdk/dnode": ["packages/dnode/src/index.ts"]
"@pushprotocol/uiweb": ["packages/uiweb/src/index.ts"]

}
},
"exclude": ["node_modules", "tmp"]
Expand Down
Loading

0 comments on commit 90a9708

Please sign in to comment.