Skip to content

Commit 2b1b13c

Browse files
committed
Initial commit
0 parents  commit 2b1b13c

File tree

122 files changed

+23383
-0
lines changed

Some content is hidden

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

122 files changed

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

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["**/*"],
4+
"plugins": ["@nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8+
"rules": {
9+
"@nx/enforce-module-boundaries": [
10+
"error",
11+
{
12+
"enforceBuildableLibDependency": true,
13+
"allow": [],
14+
"depConstraints": [
15+
{
16+
"sourceTag": "*",
17+
"onlyDependOnLibsWithTags": ["*"]
18+
}
19+
]
20+
}
21+
]
22+
}
23+
},
24+
{
25+
"files": ["*.ts", "*.tsx"],
26+
"extends": ["plugin:@nx/typescript"],
27+
"rules": {}
28+
},
29+
{
30+
"files": ["*.js", "*.jsx"],
31+
"extends": ["plugin:@nx/javascript"],
32+
"rules": {}
33+
},
34+
{
35+
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
36+
"env": {
37+
"jest": true
38+
},
39+
"rules": {}
40+
}
41+
]
42+
}

.gitignore

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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
42+
.nx/workspace-data

.prettierignore

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

.prettierrc

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

.vscode/extensions.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"nrwl.angular-console",
4+
"esbenp.prettier-vscode",
5+
"ms-playwright.playwright",
6+
"firsttris.vscode-jest-runner"
7+
]
8+
}

README.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Push-Based React Nx Workshop
2+
3+
## Installation Instructions
4+
5+
**System Requirements**
6+
7+
* `node > 18`
8+
* `npm > 8`
9+
10+
**Clone and install**
11+
12+
```bash
13+
git clone https://github.com/push-based/react-movies-app.git
14+
15+
cd react-movies-app
16+
npm install
17+
18+
# (optional) if the step before didn't work, please try the following
19+
npm install --force
20+
```
21+
22+
**Run the application**
23+
24+
```bash
25+
npm run start
26+
```
27+
28+
## Workshop Information
29+
30+
* [ws info doc](https://docs.google.com/document/d/1VsgLssiEH7mv0wcV98fwIGQYVKxzpJkDrGg1bymak_Y/edit?usp=drive_link)
31+
* [slides](https://drive.google.com/drive/folders/1pkdZ4tn2x9s9I9XKC8Il27DTmK45A29r?usp=sharing)
32+
33+
## Exercises
34+
35+
[0. Project Setup](./exercises/project-setup.md)
36+
37+
### Day 1
38+
39+
1. [Nx Intro: create-nx-workspace](./exercises/create-nx-monorepo.md)
40+
2. [Nx Intro: generate an app](./exercises/generate-an-app.md)
41+
3. [Nx Intro: Executors](./exercises/executors-intro.md)
42+
4. [Nx Intro: create libs](./exercises/create-libs.md)
43+
5. [Nx Intro: affected & caching](./exercises/affected-and-caching.md)
44+
6. [Project Setup](./exercises/project-setup.md)
45+
7. [Scalable Architectures: Design a workspace architecture](./exercises/scalable-architecture-design.md)
46+
8. [Module Boundaries](./exercises/enforce-module-boundaries.md)
47+
9. [Dependency Management: Task Dependencies](./exercises/task-dependencies.md)
48+
10. [Create a branch please](./exercises/create-a-branch.md)
49+
11. [Dependency Management: Task Inputs](./exercises/task-inputs.md)
50+
12. [Dependency Management: @nx/dependency-checks](./exercises/dependency-checks.md)
51+
52+
### Day 2
53+
1. [Module Federation: Nx MFE Setup](./exercises/nx-mfe-setup.md)
54+
2. [Nx Cloud: connect-to-nx-cloud](./exercises/connect-to-nx-cloud.md)
55+
3. [Nx Cloud: Replay](./exercises/distributed-caching.md)
56+
4. [Nx Cloud: Dashboard, VCS Integration & Simple CI/CD pipeline](./exercises/simple-pipeline.md)
57+
5. [Nx Cloud: Nx Agents & DTE](./exercises/nx-agents-and-dte.md)
58+
6. [Nx Cloud: Nx Cloud Agents](./exercises/nx-cloud-agents.md)
59+
7. [Workspace Performance: Task Parallelization](./exercises/task-parallelization.md)
60+
8. [Workspace Performance: Affected Tweaks](./exercises/affected-tweaks.md)
61+
9. [Extend Nx: Custom Plugins](./exercises/custom-plugin.md)
62+
10. [Extend Nx: Custom Executors](./exercises/custom-executor.md)
63+
11. [Extend Nx: Custom Generator](./exercises/custom-generator.md)
64+
12. [Extend Nx: Task Inheritance - Project Crystal](./exercises/cristal-plugin.md)
65+
13. [Code Quality & Consistency: husky & lint-staged](./exercises/code-quality-and-consistency.md)
66+
67+
68+

0 commit comments

Comments
 (0)