@nx/docker 22.7.0-pr.33655.12b0dd7 → 22.7.0-pr.33655.2b96277
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/assets.json +17 -0
- package/executors.json +8 -8
- package/generators.json +10 -10
- package/package.json +4 -5
- package/project.json +1 -40
- package/src/executors/release-publish/schema.json +16 -16
- package/src/generators/init/schema.json +33 -33
- package/README.md +0 -70
package/assets.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"outDir": "dist/packages/docker",
|
|
3
|
+
"assets": [
|
|
4
|
+
{
|
|
5
|
+
"glob": "**/*.json",
|
|
6
|
+
"ignore": ["tsconfig*.json", "project.json", ".eslintrc.json"]
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"glob": "**/*.js",
|
|
10
|
+
"ignore": ["**/jest.config.js"]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"glob": "**/*.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"LICENSE"
|
|
16
|
+
]
|
|
17
|
+
}
|
package/executors.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"executors": {
|
|
4
|
+
"release-publish": {
|
|
5
|
+
"implementation": "./src/executors/release-publish/release-publish.impl",
|
|
6
|
+
"schema": "./src/executors/release-publish/schema.json",
|
|
7
|
+
"description": "DO NOT INVOKE DIRECTLY WITH `nx run`. Use `nx release publish` instead.",
|
|
8
|
+
"hidden": true
|
|
9
|
+
}
|
|
9
10
|
}
|
|
10
|
-
}
|
|
11
11
|
}
|
package/generators.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"name": "Nx Docker",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"generators": {
|
|
5
|
+
"init": {
|
|
6
|
+
"factory": "./src/generators/init/init",
|
|
7
|
+
"schema": "./src/generators/init/schema.json",
|
|
8
|
+
"description": "Initialize the `@nx/docker` plugin. **Experimental**: Docker support is experimental. Breaking changes may occur and not adhere to semver versioning.",
|
|
9
|
+
"aliases": ["ng-add"],
|
|
10
|
+
"hidden": true
|
|
11
|
+
}
|
|
11
12
|
}
|
|
12
|
-
}
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/docker",
|
|
3
3
|
"description": "The Nx Plugin for Docker to aid in containerizing projects.",
|
|
4
|
-
"version": "22.7.0-pr.33655.
|
|
4
|
+
"version": "22.7.0-pr.33655.2b96277",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -51,12 +51,11 @@
|
|
|
51
51
|
"executors": "./executors.json",
|
|
52
52
|
"generators": "./generators.json",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@nx/devkit": "22.7.0-pr.33655.
|
|
54
|
+
"@nx/devkit": "22.7.0-pr.33655.2b96277",
|
|
55
55
|
"enquirer": "~2.3.6",
|
|
56
56
|
"tslib": "^2.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"nx": "22.7.0-pr.33655.
|
|
60
|
-
}
|
|
61
|
-
"types": "./src/index.d.ts"
|
|
59
|
+
"nx": "22.7.0-pr.33655.2b96277"
|
|
60
|
+
}
|
|
62
61
|
}
|
package/project.json
CHANGED
|
@@ -6,47 +6,8 @@
|
|
|
6
6
|
"targets": {
|
|
7
7
|
"build": {
|
|
8
8
|
"command": "node ./scripts/copy-readme.js docker",
|
|
9
|
+
"inputs": ["copyReadme"],
|
|
9
10
|
"outputs": ["{workspaceRoot}/build/packages/docker/README.md"]
|
|
10
|
-
},
|
|
11
|
-
"legacy-post-build": {
|
|
12
|
-
"executor": "@nx/workspace-plugin:legacy-post-build",
|
|
13
|
-
"options": {
|
|
14
|
-
"tsConfig": "./tsconfig.lib.json",
|
|
15
|
-
"assets": [
|
|
16
|
-
{
|
|
17
|
-
"input": "packages/docker",
|
|
18
|
-
"glob": "**/files/**",
|
|
19
|
-
"output": "/"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"input": "packages/docker",
|
|
23
|
-
"glob": "**files/**/.gitkeep",
|
|
24
|
-
"output": "/"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"input": "packages/docker",
|
|
28
|
-
"glob": "**/*.json",
|
|
29
|
-
"ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
|
|
30
|
-
"output": "/"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"input": "packages/docker",
|
|
34
|
-
"glob": "**/*.js",
|
|
35
|
-
"ignore": ["**/jest.config.js"],
|
|
36
|
-
"output": "/"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"input": "packages/docker",
|
|
40
|
-
"glob": "**/*.d.ts",
|
|
41
|
-
"output": "/"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"input": "",
|
|
45
|
-
"glob": "LICENSE",
|
|
46
|
-
"output": "/"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
11
|
}
|
|
51
12
|
}
|
|
52
13
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"version": 2,
|
|
4
|
+
"title": "Implementation details of `nx release publish`",
|
|
5
|
+
"description": "DO NOT INVOKE DIRECTLY WITH `nx run`. Use `nx release publish` instead.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"dryRun": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"description": "Whether to run the command without actually publishing the image to the registry."
|
|
11
|
+
},
|
|
12
|
+
"quiet": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"description": "Suppress verbose output",
|
|
15
|
+
"default": false
|
|
16
|
+
}
|
|
11
17
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "boolean",
|
|
14
|
-
"description": "Suppress verbose output",
|
|
15
|
-
"default": false
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"required": []
|
|
18
|
+
"required": []
|
|
19
19
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "Init",
|
|
4
|
+
"title": "Nx Docker Init Generator",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"description": "Docker init generator.",
|
|
7
|
+
"properties": {
|
|
8
|
+
"rootProject": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"x-priority": "internal"
|
|
11
|
+
},
|
|
12
|
+
"keepExistingVersions": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"x-priority": "internal",
|
|
15
|
+
"description": "Keep existing dependencies versions",
|
|
16
|
+
"default": false
|
|
17
|
+
},
|
|
18
|
+
"updatePackageScripts": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"x-priority": "internal",
|
|
21
|
+
"description": "Update package scripts",
|
|
22
|
+
"default": false
|
|
23
|
+
},
|
|
24
|
+
"skipFormat": {
|
|
25
|
+
"description": "Skip formatting files.",
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"default": false
|
|
28
|
+
},
|
|
29
|
+
"skipPackageJson": {
|
|
30
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"default": false
|
|
33
|
+
}
|
|
11
34
|
},
|
|
12
|
-
"
|
|
13
|
-
"type": "boolean",
|
|
14
|
-
"x-priority": "internal",
|
|
15
|
-
"description": "Keep existing dependencies versions",
|
|
16
|
-
"default": false
|
|
17
|
-
},
|
|
18
|
-
"updatePackageScripts": {
|
|
19
|
-
"type": "boolean",
|
|
20
|
-
"x-priority": "internal",
|
|
21
|
-
"description": "Update package scripts",
|
|
22
|
-
"default": false
|
|
23
|
-
},
|
|
24
|
-
"skipFormat": {
|
|
25
|
-
"description": "Skip formatting files.",
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"default": false
|
|
28
|
-
},
|
|
29
|
-
"skipPackageJson": {
|
|
30
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
31
|
-
"type": "boolean",
|
|
32
|
-
"default": false
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"required": []
|
|
35
|
+
"required": []
|
|
36
36
|
}
|
package/README.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<p style="text-align: center;">
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
|
|
4
|
-
<img alt="Nx - Smart Monorepos · Fast Builds" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
|
|
5
|
-
</picture>
|
|
6
|
-
</p>
|
|
7
|
-
|
|
8
|
-
<div style="text-align: center;">
|
|
9
|
-
|
|
10
|
-
[](https://circleci.com/gh/nrwl/nx)
|
|
11
|
-
[]()
|
|
12
|
-
[](https://www.npmjs.com/package/nx)
|
|
13
|
-
[]()
|
|
14
|
-
[](http://commitizen.github.io/cz-cli/)
|
|
15
|
-
[](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
16
|
-
[](https://go.nx.dev/community)
|
|
17
|
-
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<hr>
|
|
22
|
-
|
|
23
|
-
# Nx: Smart Monorepos · Fast Builds
|
|
24
|
-
|
|
25
|
-
Get to green PRs in half the time. Nx optimizes your builds, scales your CI, and fixes failed PRs. Built for developers and AI agents.
|
|
26
|
-
|
|
27
|
-
This package is a [Docker plugin for Nx](https://nx.dev/technologies/build-tools/docker/introduction).
|
|
28
|
-
|
|
29
|
-
**Experimental**: Support for Docker is currently experimental. Breaking changes may occur and not adhere to semver versioning.
|
|
30
|
-
|
|
31
|
-
## Getting Started
|
|
32
|
-
|
|
33
|
-
### Creating an Nx Workspace
|
|
34
|
-
|
|
35
|
-
**Using `npx`**
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
npx create-nx-workspace
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
**Using `npm init`**
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
npm init nx-workspace
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
**Using `yarn create`**
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
yarn create nx-workspace
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Adding Nx to an Existing Repository
|
|
54
|
-
|
|
55
|
-
Run:
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
npx nx@latest init
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Documentation & Resources
|
|
62
|
-
|
|
63
|
-
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
64
|
-
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
65
|
-
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
66
|
-
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
67
|
-
|
|
68
|
-
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
69
|
-
width="100%" alt="Nx - Smart Monorepos · Fast Builds"></a></p>
|
|
70
|
-
|