Skip to content

Commit 8c48eb0

Browse files
Chau TranChau Tran
Chau Tran
authored and
Chau Tran
committed
Initial commit
0 parents  commit 8c48eb0

File tree

10 files changed

+1265
-0
lines changed

10 files changed

+1265
-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: 39 additions & 0 deletions
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

.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+
# Platform
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/core-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)

apps/.gitkeep

Whitespace-only changes.

libs/.gitkeep

Whitespace-only changes.

nx.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"tasksRunnerOptions": {
4+
"default": {
5+
"runner": "nx/tasks-runners/default",
6+
"options": {
7+
"cacheableOperations": [
8+
"build",
9+
"lint",
10+
"test",
11+
"e2e"
12+
]
13+
}
14+
}
15+
},
16+
"targetDefaults": {
17+
"build": {
18+
"dependsOn": [
19+
"^build"
20+
],
21+
"inputs": [
22+
"production",
23+
"^production"
24+
]
25+
}
26+
},
27+
"namedInputs": {
28+
"default": [
29+
"{projectRoot}/**/*",
30+
"sharedGlobals"
31+
],
32+
"production": [
33+
"default"
34+
],
35+
"sharedGlobals": []
36+
}
37+
}

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "@platform/source",
3+
"version": "0.0.0",
4+
"license": "MIT",
5+
"scripts": {
6+
},
7+
"private": true,
8+
"dependencies": {
9+
},
10+
"devDependencies": {
11+
"nx": "16.3.2",
12+
"@nx/workspace": "16.3.2"
13+
}
14+
}

0 commit comments

Comments
 (0)