Skip to content

Commit 7cf7d38

Browse files
committed
initial concept of a simple queue
0 parents  commit 7cf7d38

11 files changed

+6851
-0
lines changed

.eslintrc.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
env:
2+
node: true
3+
es6: true
4+
jest/globals: true
5+
extends:
6+
- eslint-config-prettier
7+
- eslint:recommended
8+
9+
plugins:
10+
- prettier
11+
- jest
12+
13+
globals:
14+
Promise: true
15+
16+
rules:
17+
prettier/prettier:
18+
- error
19+
arrow-body-style: off
20+
no-console: off
21+
22+
parserOptions:
23+
sourceType: module
24+
ecmaVersion: 2018
25+
ecmaFeatures:
26+
- experimentalObjectRestSpread
27+

.gitignore

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2+
3+
# Created by https://www.gitignore.io/api/macos,visualstudiocode,node
4+
# Edit at https://www.gitignore.io/?templates=macos,visualstudiocode,node
5+
6+
### macOS ###
7+
# General
8+
.DS_Store
9+
.AppleDouble
10+
.LSOverride
11+
12+
# Icon must end with two \r
13+
Icon
14+
15+
# Thumbnails
16+
._*
17+
18+
# Files that might appear in the root of a volume
19+
.DocumentRevisions-V100
20+
.fseventsd
21+
.Spotlight-V100
22+
.TemporaryItems
23+
.Trashes
24+
.VolumeIcon.icns
25+
.com.apple.timemachine.donotpresent
26+
27+
# Directories potentially created on remote AFP share
28+
.AppleDB
29+
.AppleDesktop
30+
Network Trash Folder
31+
Temporary Items
32+
.apdisk
33+
34+
### Node ###
35+
# Logs
36+
logs
37+
*.log
38+
npm-debug.log*
39+
yarn-debug.log*
40+
yarn-error.log*
41+
lerna-debug.log*
42+
43+
# Diagnostic reports (https://nodejs.org/api/report.html)
44+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
45+
46+
# Runtime data
47+
pids
48+
*.pid
49+
*.seed
50+
*.pid.lock
51+
52+
# Directory for instrumented libs generated by jscoverage/JSCover
53+
lib-cov
54+
55+
# Coverage directory used by tools like istanbul
56+
coverage
57+
*.lcov
58+
59+
# nyc test coverage
60+
.nyc_output
61+
62+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
63+
.grunt
64+
65+
# Bower dependency directory (https://bower.io/)
66+
bower_components
67+
68+
# node-waf configuration
69+
.lock-wscript
70+
71+
# Compiled binary addons (https://nodejs.org/api/addons.html)
72+
build/Release
73+
74+
# Dependency directories
75+
node_modules/
76+
jspm_packages/
77+
78+
# TypeScript v1 declaration files
79+
typings/
80+
81+
# TypeScript cache
82+
*.tsbuildinfo
83+
84+
# Optional npm cache directory
85+
.npm
86+
87+
# Optional eslint cache
88+
.eslintcache
89+
90+
# Optional REPL history
91+
.node_repl_history
92+
93+
# Output of 'npm pack'
94+
*.tgz
95+
96+
# Yarn Integrity file
97+
.yarn-integrity
98+
99+
# dotenv environment variables file
100+
.env
101+
.env.test
102+
103+
# parcel-bundler cache (https://parceljs.org/)
104+
.cache
105+
106+
# next.js build output
107+
.next
108+
109+
# nuxt.js build output
110+
.nuxt
111+
112+
# react / gatsby
113+
public/
114+
115+
# vuepress build output
116+
.vuepress/dist
117+
118+
# Serverless directories
119+
.serverless/
120+
121+
# FuseBox cache
122+
.fusebox/
123+
124+
# DynamoDB Local files
125+
.dynamodb/
126+
127+
### VisualStudioCode ###
128+
.vscode
129+
!.vscode/settings.json
130+
!.vscode/tasks.json
131+
!.vscode/launch.json
132+
!.vscode/extensions.json
133+
134+
### VisualStudioCode Patch ###
135+
# Ignore all local history of files
136+
.history
137+
138+
# End of https://www.gitignore.io/api/macos,visualstudiocode,node
139+
140+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
141+

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
tests
2+
.vscode
3+
.babelrc
4+
.eslintrc.yml
5+
jest.config.js
6+
test.js

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const RedisTaskQueue = require("./src/RedisTaskQueue");
2+
3+
module.exports = RedisTaskQueue;

0 commit comments

Comments
 (0)