@gregoriusrippenstein/node-red-contrib-nodedev 0.3.4 → 0.3.6
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/README.md +4 -0
- package/nodes/05-node-dev-ops.html +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ So this package tries to provide some supporting nodes for making node developme
|
|
|
12
12
|
- A `NpmTarball` node will create a gzipped tarball for uploading to [npmjs.com](https://npmjs.com) where all nodes live. This does not need to have since nodes can be installed localling into the Node-RED instance.
|
|
13
13
|
- A `NRInstall` node allows for installing the node package into the Node-RED instance in which the flow is running. This means that nodes can be created, tested and modified with Node-RED. There are a few tricks so that Node-RED does not need to be restarted upon updating the package, more below.
|
|
14
14
|
- A `NodeFactory` node that can create templates for node development. It also converts existing `.tgz` packages to `PkgFile` nodes, meaning that existing packages can easily be ported to this style of development.
|
|
15
|
+
- A `NpmPublish` allows node packages to be published to a node registry, for example [npmjs](https://www.npmjs.com/). The NpmPublish can also be used to publish to private registries, for example, those based on [Verdaccio](https://verdaccio.org/).
|
|
16
|
+
- A `OTPGenerate` node can be used to generate an One Time Password (OTP) for publishing nodes to registries. For example the NPMjs.com registry.
|
|
15
17
|
|
|
16
18
|
*This is all very confusing?*
|
|
17
19
|
|
|
@@ -52,6 +54,8 @@ Examples are included:
|
|
|
52
54
|
|
|
53
55
|
- Converting an existing tar-gzip package file into a collection of `PkgFile` nodes for testing and maintaince and development --> [flow](https://flowhub.org/f/eef4037a6d25a1e0)
|
|
54
56
|
- `NodeFactory` example of creating a boilerplate node for inclusion in a node package that can be installed into Node-RED --> [flow](https://flowhub.org/f/7bece6814c033925)
|
|
57
|
+
- The [FlowHub node package](https://flowhub.org/f/4a831589774ecb04) is developed using the NodeDev nodes
|
|
58
|
+
- Also the [introspection node package](https://flowhub.org/f/d73d76db3df96ba2) uses the NodeDev nodes
|
|
55
59
|
|
|
56
60
|
### Config node with sidebar
|
|
57
61
|
|
|
@@ -70,6 +70,8 @@
|
|
|
70
70
|
npmpublish: { value: false },
|
|
71
71
|
npmunpublish: { value: false },
|
|
72
72
|
npmotp: { value: ""},
|
|
73
|
+
|
|
74
|
+
writetgzfile: { value: false },
|
|
73
75
|
},
|
|
74
76
|
|
|
75
77
|
inputs: 0,
|
|
@@ -227,6 +229,13 @@
|
|
|
227
229
|
<input type="checkbox" id="node-input-ignore_package_check" style="display:inline-block; width:15px; vertical-align:baseline;">
|
|
228
230
|
</div>
|
|
229
231
|
|
|
232
|
+
<div class="form-row">
|
|
233
|
+
<label for="node-input-writetgzfile" style="min-width: 150px;"">
|
|
234
|
+
<span>Write .tgz file?</span>
|
|
235
|
+
</label>
|
|
236
|
+
<input type="checkbox" id="node-input-writetgzfile" style="display:inline-block; width:15px; vertical-align:baseline;">
|
|
237
|
+
</div>
|
|
238
|
+
|
|
230
239
|
<hr/>
|
|
231
240
|
|
|
232
241
|
<div class="form-row">
|