Skip to content

Commit b556429

Browse files
committed
Initial commit
0 parents  commit b556429

File tree

7 files changed

+5024
-0
lines changed

7 files changed

+5024
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 41 additions & 0 deletions
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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
4+
"nrwl.angular-console",
5+
"esbenp.prettier-vscode"
6+
]
7+
}

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Nxgs
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, a Smart, fast and extensible build system.](https://nx.dev)**
6+
7+
## Generate code
8+
9+
If you happen to use Nx plugins, you can leverage code generators that might come with it.
10+
11+
Run `nx list` to get a list of available plugins and whether they have generators. Then run `nx list <plugin-name>` to see what generators are available.
12+
13+
Learn more about [Nx generators on the docs](https://nx.dev/plugin-features/use-code-generators).
14+
15+
## Running tasks
16+
17+
To execute tasks with Nx use the following syntax:
18+
19+
```
20+
nx <target> <project> <...options>
21+
```
22+
23+
You can also run multiple targets:
24+
25+
```
26+
nx run-many -t <target1> <target2>
27+
```
28+
29+
..or add `-p` to filter specific projects
30+
31+
```
32+
nx run-many -t <target1> <target2> -p <proj1> <proj2>
33+
```
34+
35+
Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/core-features/run-tasks).
36+
37+
## Want better Editor Integration?
38+
39+
Have a look at the [Nx Console extensions](https://nx.dev/nx-console). It provides autocomplete support, a UI for exploring and running tasks & generators, and more! Available for VSCode, IntelliJ and comes with a LSP for Vim users.
40+
41+
## Ready to deploy?
42+
43+
Just run `nx build demoapp` to build the application. The build artifacts will be stored in the `dist/` directory, ready to be deployed.
44+
45+
## Set up CI!
46+
47+
Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
48+
49+
- [Set up remote caching](https://nx.dev/core-features/share-your-cache)
50+
- [Set up task distribution across multiple machines](https://nx.dev/nx-cloud/features/distribute-task-execution)
51+
- [Learn more how to setup CI](https://nx.dev/recipes/ci)
52+
53+
## Connect with us!
54+
55+
- [Join the community](https://nx.dev/community)
56+
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
57+
- [Follow us on Twitter](https://twitter.com/nxdevtools)

nx.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"targetDefaults": {
4+
"build": {
5+
"cache": true,
6+
"dependsOn": [
7+
"^build"
8+
],
9+
"inputs": [
10+
"production",
11+
"^production"
12+
]
13+
},
14+
"lint": {
15+
"cache": true
16+
}
17+
},
18+
"namedInputs": {
19+
"default": [
20+
"{projectRoot}/**/*",
21+
"sharedGlobals"
22+
],
23+
"production": [
24+
"default"
25+
],
26+
"sharedGlobals": []
27+
},
28+
"nxCloudAccessToken": "NjllOWZjY2YtMGU5OC00ZTUwLWJhMDEtMDQyMzVhMDYzZTRmfHJlYWQtd3JpdGU="
29+
}

0 commit comments

Comments
 (0)