clever-queue 0.2.0 → 0.2.2

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/.gitlab-ci.yml CHANGED
@@ -3,7 +3,7 @@ include:
3
3
  - template: Jobs/Build.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Build.gitlab-ci.yml
4
4
  - template: Jobs/Test.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Test.gitlab-ci.yml
5
5
  - template: Jobs/Code-Quality.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Code-Quality.gitlab-ci.yml
6
- #- template: Jobs/Code-Intelligence.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Code-Intelligence.gitlab-ci.yml
6
+ - template: Jobs/Code-Intelligence.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Code-Intelligence.gitlab-ci.yml
7
7
  #- template: Jobs/Deploy.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml
8
8
  #- template: Jobs/Deploy/ECS.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Deploy/ECS.gitlab-ci.yml
9
9
  #- template: Jobs/Deploy/EC2.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Deploy/EC2.gitlab-ci.yml
@@ -12,15 +12,10 @@ include:
12
12
  #- template: Jobs/Helm-2to3.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Helm-2to3.gitlab-ci.yml
13
13
  #- template: Security/DAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Security/DAST.gitlab-ci.yml
14
14
  #- template: Jobs/Container-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Container-Scanning.gitlab-ci.yml
15
- #- template: Jobs/Dependency-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Dependency-Scanning.gitlab-ci.yml
15
+ - template: Jobs/Dependency-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Dependency-Scanning.gitlab-ci.yml
16
16
  #- template: Jobs/SAST.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/SAST.gitlab-ci.yml
17
17
  - template: Jobs/Secret-Detection.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Secret-Detection.gitlab-ci.yml
18
18
 
19
- variables:
20
- NODE_VERSION: '24'
21
-
22
- default:
23
- image: node:${NODE_VERSION}
24
19
 
25
20
  workflow:
26
21
  rules:
@@ -36,6 +31,7 @@ stages:
36
31
  - publish
37
32
 
38
33
  build:
34
+ image: node:24
39
35
  stage: build
40
36
  script:
41
37
  - npm install
@@ -47,6 +43,7 @@ build:
47
43
  - dist/
48
44
 
49
45
  test:
46
+ image: node:24
50
47
  stage: test
51
48
  needs: [build]
52
49
  script:
@@ -58,6 +55,7 @@ test:
58
55
  - junit.xml
59
56
 
60
57
  semantic-release:
58
+ image: node:24
61
59
  stage: release
62
60
  needs: [build]
63
61
  script:
@@ -66,6 +64,7 @@ semantic-release:
66
64
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
67
65
 
68
66
  publish:
67
+ image: node:24
69
68
  stage: publish
70
69
  id_tokens:
71
70
  NPM_ID_TOKEN:
package/README.md CHANGED
@@ -49,7 +49,7 @@ const myAsyncTaskToExecute: cleverQueue.tasks.FunctionToExecute = async function
49
49
  const queueA = engine.createQueue();
50
50
  ```
51
51
 
52
- ![One Queue / One Runner](documentation/demo_1E_1Q_1R_4T.svg)
52
+ ![One Queue / One Runner](./documentation/demo_1E_1Q_1R_4T.svg)
53
53
 
54
54
  ### 1 x Queue / 2 x Runners / 4 x Tasks
55
55
 
@@ -59,7 +59,7 @@ const myAsyncTaskToExecute: cleverQueue.tasks.FunctionToExecute = async function
59
59
  const queueA = engine.createQueue();
60
60
  ```
61
61
 
62
- ![One Queue / One Runner](documentation/demo_1E_1Q_2R_4T.svg)
62
+ ![One Queue / One Runner](./documentation/demo_1E_1Q_2R_4T.svg)
63
63
 
64
64
  ### 2 x Queues / 1 x Runner / 8 x Tasks
65
65
 
@@ -69,5 +69,5 @@ const myAsyncTaskToExecute: cleverQueue.tasks.FunctionToExecute = async function
69
69
  const queueB = engine.createQueue();
70
70
  ```
71
71
 
72
- ![One Queue / One Runner](documentation/demo_1E_2Q_1R_8T.svg)
72
+ ![One Queue / One Runner](./documentation/demo_1E_2Q_1R_8T.svg)
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clever-queue",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Queuing system for promises that handle concurring, throttling, weighting and prioritizing in a clever fashion.",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://gitlab.com/job-so/clever-queue.git"
20
+ "url": "https://gitlab.com/job-so/clever-queue"
21
21
  },
22
22
  "release": {
23
23
  "branches": [