Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add nx to monorepo #2984

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bracketSameLine: false
trailingComma: "es5"
useTabs: false
semi: true
tabWidth: 2
5 changes: 4 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"packages": [
"packages/*"
],
"version": "4.2.0"
"version": "4.2.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"useWorkspaces": false
}
37 changes: 37 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"extends": "nx/presets/npm.json",
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"build",
"cs-check",
"cs-format",
"lint",
"test",
"test:update",
"test:watch",
"precommit",
"publish-to-npm",
"test-coverage",
"build:lib",
"prepublishOnly",
"build:dist",
"publish-to-gh-pages"
],
"accessToken": "N2UzOTU5MGQtMmM1OS00MTM2LWJjM2QtZDZhM2IxOWYzM2RkfHJlYWQtd3JpdGU="
Copy link
Member

@heath-freenome heath-freenome Aug 5, 2022

Choose a reason for hiding this comment

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

Is this a secret that needs to be passed in as a variable? I'm not sure we want to use the cloud... and if we did, we really don't want this secret sitting in a public file (we have a place for them). Can we not use the cloud services by default?

}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
]
}
},
"affected": {
"defaultBase": "master"
}
}
Loading