Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build:bundle",
"build:transpile",
"build:types",
"lint:eslint"
"lint:eslint",
"test",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maybe only start with caching test:unit, as the integration tests (for example) also make sure stuff keeps working with new versions of e.g. browsers, which is not really deterministic in this way.

WDYT @AbhiPrasad / @Lms24 / @lforst ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that makes sense to me

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted, I'll leave this one to you to revisit :)

"test:unit"
]
}
}
Expand Down Expand Up @@ -68,6 +70,16 @@
"lint:eslint": {
"inputs": ["default"],
"outputs": []
},
"test": {
"dependsOn": ["build:types", "^build:types", "build:transpile", "^build:transpile"],
"inputs": ["default"],
"outputs": ["{projectRoot}/coverage"]
},
"test:unit": {
"dependsOn": ["build:types", "^build:types", "build:transpile", "^build:transpile"],
"inputs": ["default"],
"outputs": ["{projectRoot}/coverage"]
}
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"lint": "lerna run lint",
"lint:eslint": "lerna run lint:eslint",
"postpublish": "lerna run --stream --concurrency 1 postpublish",
"test": "lerna run --ignore @sentry-internal/* test",
"test-ci-browser": "lerna run test --ignore \"@sentry/{node,opentelemetry-node,serverless,nextjs,remix,gatsby}\" --ignore @sentry-internal/*",
"test": "lerna run test --ignore @sentry-internal/*",
"test-ci-browser": "yarn test --ignore \"@sentry/{node,opentelemetry-node,serverless,nextjs,remix,gatsby}\"",
"test-ci-node": "ts-node ./scripts/node-unit-tests.ts"
},
"volta": {
Expand Down
1 change: 1 addition & 0 deletions packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"tslib": "^1.9.3"
},
"devDependencies": {
"@sentry/browser": "7.36.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This relationship between these packages was missing and needed to be added to ensure task pipelines know what to do and in what order

"chai": "^4.1.2"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"tslib": "^1.9.3"
},
"devDependencies": {
"@sentry/tracing": "7.36.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This relationship between these packages was missing and needed to be added to ensure task pipelines know what to do and in what order

"@types/cookie": "0.3.2",
"@types/express": "^4.17.14",
"@types/lru-cache": "^5.1.0",
Expand Down