Skip to content

Commit 4baee3c

Browse files
committed
Initial commit
0 parents  commit 4baee3c

15 files changed

+8746
-0
lines changed

.editorconfig

+13
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

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Add files here to ignore them from prettier formatting
2+
3+
/dist
4+
/coverage

.prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

.vscode/extensions.json

+7
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

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
2+
3+
# Laze
4+
5+
This project was generated using [Nx](https://nx.dev).
6+
7+
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="450"></p>
8+
9+
🔎 **Smart, Fast and Extensible Build System**
10+
11+
## Adding capabilities to your workspace
12+
13+
Nx supports many plugins which add capabilities for developing different types of applications and different tools.
14+
15+
These capabilities include generating applications, libraries, etc as well as the devtools to test, and build projects as well.
16+
17+
Below are our core plugins:
18+
19+
- [React](https://reactjs.org)
20+
- `npm install --save-dev @nrwl/react`
21+
- Web (no framework frontends)
22+
- `npm install --save-dev @nrwl/web`
23+
- [Angular](https://angular.io)
24+
- `npm install --save-dev @nrwl/angular`
25+
- [Nest](https://nestjs.com)
26+
- `npm install --save-dev @nrwl/nest`
27+
- [Express](https://expressjs.com)
28+
- `npm install --save-dev @nrwl/express`
29+
- [Node](https://nodejs.org)
30+
- `npm install --save-dev @nrwl/node`
31+
32+
There are also many [community plugins](https://nx.dev/community) you could add.
33+
34+
## Generate an application
35+
36+
Run `nx g @nrwl/react:app my-app` to generate an application.
37+
38+
> You can use any of the plugins above to generate applications as well.
39+
40+
When using Nx, you can create multiple applications and libraries in the same workspace.
41+
42+
## Generate a library
43+
44+
Run `nx g @nrwl/react:lib my-lib` to generate a library.
45+
46+
> You can also use any of the plugins above to generate libraries as well.
47+
48+
Libraries are shareable across libraries and applications. They can be imported from `@laze/mylib`.
49+
50+
## Development server
51+
52+
Run `nx serve my-app` for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
53+
54+
## Code scaffolding
55+
56+
Run `nx g @nrwl/react:component my-component --project=my-app` to generate a new component.
57+
58+
## Build
59+
60+
Run `nx build my-app` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
61+
62+
## Running unit tests
63+
64+
Run `nx test my-app` to execute the unit tests via [Jest](https://jestjs.io).
65+
66+
Run `nx affected:test` to execute the unit tests affected by a change.
67+
68+
## Running end-to-end tests
69+
70+
Run `nx e2e my-app` to execute the end-to-end tests via [Cypress](https://www.cypress.io).
71+
72+
Run `nx affected:e2e` to execute the end-to-end tests affected by a change.
73+
74+
## Understand your workspace
75+
76+
Run `nx graph` to see a diagram of the dependencies of your projects.
77+
78+
## Further help
79+
80+
Visit the [Nx Documentation](https://nx.dev) to learn more.
81+
82+
83+
84+
## ☁ Nx Cloud
85+
86+
### Distributed Computation Caching & Distributed Task Execution
87+
88+
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-cloud-card.png"></p>
89+
90+
Nx Cloud pairs with Nx in order to enable you to build and test code more rapidly, by up to 10 times. Even teams that are new to Nx can connect to Nx Cloud and start saving time instantly.
91+
92+
Teams using Nx gain the advantage of building full-stack applications with their preferred framework alongside Nx’s advanced code generation and project dependency graph, plus a unified experience for both frontend and backend developers.
93+
94+
Visit [Nx Cloud](https://nx.app/) to learn more.

apps/.gitkeep

Whitespace-only changes.

libs/.gitkeep

Whitespace-only changes.

nx.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"npmScope": "laze",
4+
"affected": {
5+
"defaultBase": "main"
6+
},
7+
"tasksRunnerOptions": {
8+
"default": {
9+
"runner": "@nrwl/nx-cloud",
10+
"options": {
11+
"cacheableOperations": [
12+
"build",
13+
"lint",
14+
"test",
15+
"e2e"
16+
],
17+
"accessToken": "NTMxMmFjMjYtZWQ1Ni00YWFmLTg1ZWMtNzA5NzM5ZmRlMTdmfHJlYWQtd3JpdGU="
18+
}
19+
}
20+
},
21+
"targetDefaults": {
22+
"build": {
23+
"dependsOn": [
24+
"^build"
25+
],
26+
"inputs": [
27+
"production",
28+
"^production"
29+
]
30+
}
31+
},
32+
"namedInputs": {
33+
"default": [
34+
"{projectRoot}/**/*",
35+
"sharedGlobals"
36+
],
37+
"production": [
38+
"default"
39+
],
40+
"sharedGlobals": []
41+
}
42+
}

0 commit comments

Comments
 (0)