Skip to content

Commit 936f649

Browse files
committed
Initial commit
0 parents  commit 936f649

File tree

6 files changed

+4903
-0
lines changed

6 files changed

+4903
-0
lines changed

.gitignore

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
dist
5+
tmp
6+
/out-tsc
7+
8+
# dependencies
9+
node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.sass-cache
29+
/connect.lock
30+
/coverage
31+
/libpeerconnection.log
32+
npm-debug.log
33+
yarn-error.log
34+
testem.log
35+
/typings
36+
37+
# System Files
38+
.DS_Store
39+
Thumbs.db
40+
41+
.nx/cache

.vscode/extensions.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
4+
"nrwl.angular-console"
5+
]
6+
}

README.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# NestjsTools
2+
3+
<a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
4+
5+
**This workspace has been generated by [Nx, Smart Monorepos · Fast CI.](https://nx.dev)**
6+
7+
## Integrate with editors
8+
9+
Enhance your Nx experience by installing [Nx Console](https://nx.dev/nx-console) for your favorite editor. Nx Console
10+
provides an interactive UI to view your projects, run tasks, generate code, and more! Available for VSCode, IntelliJ and
11+
comes with a LSP for Vim users.
12+
13+
## Nx plugins and code generators
14+
15+
Add Nx plugins to leverage their code generators and automated, inferred tasks.
16+
17+
```
18+
# Add plugin
19+
npx nx add @nx/react
20+
21+
# Use code generator
22+
npx nx generate @nx/react:app demo
23+
24+
# Run development server
25+
npx nx serve demo
26+
27+
# View project details
28+
npx nx show project demo --web
29+
```
30+
31+
Run `npx nx list` to get a list of available plugins and whether they have generators. Then run `npx nx list <plugin-name>` to see what generators are available.
32+
33+
Learn more about [code generators](https://nx.dev/features/generate-code) and [inferred tasks](https://nx.dev/concepts/inferred-tasks) in the docs.
34+
35+
## Running tasks
36+
37+
To execute tasks with Nx use the following syntax:
38+
39+
```
40+
npx nx <target> <project> <...options>
41+
```
42+
43+
You can also run multiple targets:
44+
45+
```
46+
npx nx run-many -t <target1> <target2>
47+
```
48+
49+
..or add `-p` to filter specific projects
50+
51+
```
52+
npx nx run-many -t <target1> <target2> -p <proj1> <proj2>
53+
```
54+
55+
Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/features/run-tasks).
56+
57+
## Set up CI!
58+
59+
Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
60+
61+
- [Set up remote caching](https://nx.dev/features/share-your-cache)
62+
- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
63+
- [Learn more how to setup CI](https://nx.dev/recipes/ci)
64+
65+
## Explore the project graph
66+
67+
Run `npx nx graph` to show the graph of the workspace.
68+
It will show tasks that you can run with Nx.
69+
70+
- [Learn more about Exploring the Project Graph](https://nx.dev/core-features/explore-graph)
71+
72+
## Connect with us!
73+
74+
- [Join the community](https://nx.dev/community)
75+
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
76+
- [Follow us on Twitter](https://twitter.com/nxdevtools)

nx.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "nx/presets/npm.json",
3+
"$schema": "./node_modules/nx/schemas/nx-schema.json"
4+
}

0 commit comments

Comments
 (0)