@flowfuse/driver-docker 1.14.0 → 2.0.0

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.
@@ -13,6 +13,6 @@ jobs:
13
13
  with:
14
14
  node-version: 16
15
15
  - run: npm ci --omit dev
16
- - uses: JS-DevTools/npm-publish@v1
16
+ - uses: JS-DevTools/npm-publish@v2
17
17
  with:
18
18
  token: ${{ secrets.NPM_PUBLISH_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ #### 2.0.0: Release
2
+
3
+
4
+ #### 1.15.0: Release
5
+
6
+ - #3174: Enable Multi-Core CPU Support for Node-RED Projects (#79) @elenaviter
7
+ - Update npm-publish action version to v2 (#78) @ppawlowski
8
+ - Update npm package scope (#77) @knolleary
9
+
1
10
  #### 1.14.0: Release
2
11
 
3
12
  - Add support for Private CA (#75) @hardillb
package/docker.js CHANGED
@@ -204,10 +204,10 @@ module.exports = {
204
204
  stack: {
205
205
  properties: {
206
206
  cpu: {
207
- label: 'CPU Cores (%)',
208
- validate: '^([1-9][0-9]?|100)$',
209
- invalidMessage: 'Invalid value - must be a number between 1 and 100',
210
- description: 'How much of a single CPU core each Project should receive'
207
+ label: 'CPU Cores (in 1/100th units)',
208
+ validate: '^([1-9][0-9]{0,2}|1000)$',
209
+ invalidMessage: 'Invalid value - must be a number between 1 and 1000, where 100 represents 1 CPU core',
210
+ description: 'Defines the CPU resources each Project should receive, in units of 1/100th of a CPU core. 100 equates to 1 CPU core'
211
211
  },
212
212
  memory: {
213
213
  label: 'Memory (MB)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowfuse/driver-docker",
3
- "version": "1.14.0",
3
+ "version": "2.0.0",
4
4
  "description": "Docker driver for FlowFuse",
5
5
  "main": "docker.js",
6
6
  "scripts": {