@nx/workspace 16.3.0-beta.7 → 16.3.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "16.3.0-beta.7",
3
+ "version": "16.3.0-beta.9",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -33,36 +33,36 @@
33
33
  "requirements": {},
34
34
  "migrations": "./migrations.json",
35
35
  "packageGroup": {
36
- "@nrwl/js": "16.3.0-beta.7",
37
- "@nrwl/jest": "16.3.0-beta.7",
38
- "@nrwl/linter": "16.3.0-beta.7",
39
- "@nrwl/angular": "16.3.0-beta.7",
40
- "@nrwl/cypress": "16.3.0-beta.7",
41
- "@nrwl/detox": "16.3.0-beta.7",
42
- "@nrwl/devkit": "16.3.0-beta.7",
43
- "@nrwl/esbuild": "16.3.0-beta.7",
44
- "@nrwl/eslint-plugin-nx": "16.3.0-beta.7",
45
- "@nrwl/expo": "16.3.0-beta.7",
46
- "@nrwl/express": "16.3.0-beta.7",
47
- "@nrwl/nest": "16.3.0-beta.7",
48
- "@nrwl/next": "16.3.0-beta.7",
49
- "@nrwl/node": "16.3.0-beta.7",
36
+ "@nrwl/js": "16.3.0-beta.9",
37
+ "@nrwl/jest": "16.3.0-beta.9",
38
+ "@nrwl/linter": "16.3.0-beta.9",
39
+ "@nrwl/angular": "16.3.0-beta.9",
40
+ "@nrwl/cypress": "16.3.0-beta.9",
41
+ "@nrwl/detox": "16.3.0-beta.9",
42
+ "@nrwl/devkit": "16.3.0-beta.9",
43
+ "@nrwl/esbuild": "16.3.0-beta.9",
44
+ "@nrwl/eslint-plugin-nx": "16.3.0-beta.9",
45
+ "@nrwl/expo": "16.3.0-beta.9",
46
+ "@nrwl/express": "16.3.0-beta.9",
47
+ "@nrwl/nest": "16.3.0-beta.9",
48
+ "@nrwl/next": "16.3.0-beta.9",
49
+ "@nrwl/node": "16.3.0-beta.9",
50
50
  "nx-cloud": "latest",
51
- "@nrwl/nx-plugin": "16.3.0-beta.7",
52
- "@nrwl/react-native": "16.3.0-beta.7",
53
- "@nrwl/react": "16.3.0-beta.7",
54
- "@nrwl/rollup": "16.3.0-beta.7",
55
- "@nrwl/storybook": "16.3.0-beta.7",
56
- "@nrwl/tao": "16.3.0-beta.7",
57
- "@nrwl/vite": "16.3.0-beta.7",
58
- "@nrwl/web": "16.3.0-beta.7",
59
- "@nrwl/webpack": "16.3.0-beta.7",
60
- "nx": "16.3.0-beta.7"
51
+ "@nrwl/nx-plugin": "16.3.0-beta.9",
52
+ "@nrwl/react-native": "16.3.0-beta.9",
53
+ "@nrwl/react": "16.3.0-beta.9",
54
+ "@nrwl/rollup": "16.3.0-beta.9",
55
+ "@nrwl/storybook": "16.3.0-beta.9",
56
+ "@nrwl/tao": "16.3.0-beta.9",
57
+ "@nrwl/vite": "16.3.0-beta.9",
58
+ "@nrwl/web": "16.3.0-beta.9",
59
+ "@nrwl/webpack": "16.3.0-beta.9",
60
+ "nx": "16.3.0-beta.9"
61
61
  }
62
62
  },
63
63
  "dependencies": {
64
- "@nrwl/workspace": "16.3.0-beta.7",
65
- "@nx/devkit": "16.3.0-beta.7",
64
+ "@nrwl/workspace": "16.3.0-beta.9",
65
+ "@nx/devkit": "16.3.0-beta.9",
66
66
  "@parcel/watcher": "2.0.4",
67
67
  "chalk": "^4.1.0",
68
68
  "chokidar": "^3.5.1",
@@ -74,7 +74,7 @@
74
74
  "ignore": "^5.0.4",
75
75
  "minimatch": "3.0.5",
76
76
  "npm-run-path": "^4.0.1",
77
- "nx": "16.3.0-beta.7",
77
+ "nx": "16.3.0-beta.9",
78
78
  "open": "^8.4.0",
79
79
  "rxjs": "^7.8.0",
80
80
  "tmp": "~0.2.1",
@@ -86,5 +86,5 @@
86
86
  "access": "public"
87
87
  },
88
88
  "types": "./index.d.ts",
89
- "gitHead": "3e86ffcd78b203ed74400764565347c0576d60c8"
89
+ "gitHead": "6f61d9bc9d813cf68671239a39bcda0eaa18712d"
90
90
  }
@@ -4,18 +4,58 @@
4
4
 
5
5
  ✨ **This workspace has been generated by [Nx, a Smart, fast and extensible build system.](https://nx.dev)** ✨<% if (!!appName) { %>
6
6
 
7
- ## Development server
7
+ ## Start the app
8
8
 
9
- Run `nx serve <%= appName %>` for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.<% } %>
9
+ To start the development server run `nx serve <%= appName %>`. Open your browser and navigate to http://localhost:4200/. Happy coding!<% } %>
10
10
 
11
- ## Understand this workspace
11
+ ## Generate code
12
12
 
13
- Run `nx graph` to see a diagram of the dependencies of the projects.
13
+ If you happen to use Nx plugins, you can leverage code generators that might come with it.
14
14
 
15
- ## Remote caching
15
+ 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.
16
16
 
17
- Run `npx nx connect-to-nx-cloud` to enable [remote caching](https://nx.app) and make CI faster.
17
+ Learn more about [Nx generators on the docs](https://nx.dev/plugin-features/use-code-generators).
18
18
 
19
- ## Further help
19
+ ## Running tasks
20
20
 
21
- Visit the [Nx Documentation](https://nx.dev) to learn more.
21
+ To execute tasks with Nx use the following syntax:
22
+
23
+ ```
24
+ nx <target> <project> <...options>
25
+ ```
26
+
27
+ You can also run multiple targets:
28
+
29
+ ```
30
+ nx run-many -t <target1> <target2>
31
+ ```
32
+
33
+ ..or add `-p` to filter specific projects
34
+
35
+ ```
36
+ nx run-many -t <target1> <target2> -p <proj1> <proj2>
37
+ ```
38
+
39
+ Targets can be defined in the `package.json` or `projects.json`. Learn more [in the docs](https://nx.dev/core-features/run-tasks).
40
+
41
+ ## Want better Editor Integration?
42
+
43
+ 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.
44
+
45
+ ## Ready to deploy?
46
+
47
+ Just run `nx build demoapp` to build the application. The build artifacts will be stored in the `dist/` directory, ready to be deployed.
48
+
49
+ ## Set up CI!
50
+
51
+ Nx comes with local caching already built-in (check your `nx.json`). On CI you might want to go a step further.
52
+
53
+ - [Set up remote caching](https://nx.dev/core-features/share-your-cache)
54
+ - [Set up task distribution across multiple machines](https://nx.dev/core-features/distribute-task-execution)
55
+ - [Learn more how to setup CI](https://nx.dev/recipes/ci)
56
+
57
+ ## Connect with us!
58
+
59
+ - [Join the community](https://nx.dev/community)
60
+ - [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
61
+ - [Follow us on Twitter](https://twitter.com/nxdevtools)