Skip to content

Commit 5822ef9

Browse files
committedMar 19, 2024
Creating base libraries projects
1 parent 8a07bfb commit 5822ef9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+28807
-1212
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ npx nx run-many -t <target1> <target2> -p <proj1> <proj2>
5454

5555
Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks).
5656

57-
## Set up CI!
57+
## Set up CI
5858

5959
Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
6060

@@ -69,7 +69,7 @@ It will show tasks that you can run with Nx.
6969

7070
- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph)
7171

72-
## Connect with us!
72+
## Connect with us
7373

7474
- [Join the community](https://nx.dev/community)
7575
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)

‎nx.json

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"targetDefaults": {
4+
"build": {
5+
"dependsOn": ["^build"],
6+
"outputs": ["{projectRoot}/dist"],
7+
"cache": true
8+
},
9+
"typecheck": {
10+
"cache": true
11+
},
12+
"lint": {
13+
"cache": true
14+
}
15+
},
316
"namedInputs": {
417
"default": [
518
"{projectRoot}/**/*",

0 commit comments

Comments
 (0)
Failed to load comments.