Skip to content

Commit

Permalink
Update dependencies (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad authored Feb 6, 2024
1 parent d3e1e58 commit 3979704
Show file tree
Hide file tree
Showing 15 changed files with 75 additions and 52 deletions.
2 changes: 1 addition & 1 deletion packages/amqp/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
coverage/
dist/
vitest.config.ts
vitest.config.mts
9 changes: 4 additions & 5 deletions packages/amqp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"devDependencies": {
"@message-queue-toolkit/core": "*",
"@types/amqplib": "^0.10.4",
"@types/node": "^20.10.3",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitest/coverage-v8": "0.34.6",
"@vitest/coverage-v8": "^1.2.2",
"amqplib": "^0.10.3",
"awilix": "^9.0.0",
"awilix-manager": "^4.0.0",
Expand All @@ -50,9 +50,8 @@
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vitest": "^0.3.10",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"vitest": "0.34.6",
"vite": "4.5.0"
"typescript": "^5.3.3",
"vitest": "1.2.2"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/amqp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"declarationMap": false,
"types": ["node", "vitest/globals"],
"strict": true,
"skipLibCheck": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
Expand Down
16 changes: 11 additions & 5 deletions packages/sns/vitest.config.ts → packages/amqp/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
threads: false,
poolOptions: {
threads: {
singleThread: true
}
},
watch: false,
environment: 'node',
reporters: ['default'],
Expand All @@ -12,10 +16,12 @@ export default defineConfig({
exclude: ['lib/**/*.spec.ts', 'lib/**/*.test.ts', 'test/**/*.*', 'lib/types/**/*.*'],
reporter: ['text'],
all: true,
lines: 85,
functions: 90,
branches: 65,
statements: 85,
thresholds: {
lines: 90,
functions: 100,
branches: 79,
statements: 90,
}
},
},
})
2 changes: 1 addition & 1 deletion packages/core/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
coverage/
dist/
vitest.config.ts
vitest.config.mts
17 changes: 8 additions & 9 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,23 @@
"prepublishOnly": "npm run build:release"
},
"dependencies": {
"@lokalise/node-core": "^9.0.0",
"@lokalise/node-core": "^9.9.0",
"fast-equals": "^5.0.1",
"toad-cache": "^3.4.1"
"toad-cache": "^3.7.0"
},
"devDependencies": {
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitest/coverage-v8": "^0.34.6",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.2.2",
"del-cli": "^5.1.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"vitest": "0.34.6",
"vite": "4.5.0"
"typescript": "^5.3.3",
"vitest": "^1.2.2"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
"repository": {
Expand Down
16 changes: 11 additions & 5 deletions packages/amqp/vitest.config.ts → packages/core/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
threads: false,
poolOptions: {
threads: {
singleThread: true
}
},
watch: false,
environment: 'node',
reporters: ['default'],
Expand All @@ -12,10 +16,12 @@ export default defineConfig({
exclude: ['lib/**/*.spec.ts', 'lib/**/*.test.ts', 'test/**/*.*', 'lib/types/**/*.*'],
reporter: ['text'],
all: true,
lines: 90,
functions: 100,
branches: 79,
statements: 90,
thresholds: {
lines: 20,
functions: 42,
branches: 65,
statements: 20,
}
},
},
})
2 changes: 1 addition & 1 deletion packages/sns/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
coverage/
dist/
vitest.config.ts
vitest.config.mts
15 changes: 7 additions & 8 deletions packages/sns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"prepublishOnly": "npm run build:release"
},
"dependencies": {
"@lokalise/node-core": "^9.0.0",
"sqs-consumer": "^8.1.3",
"@lokalise/node-core": "^9.9.0",
"sqs-consumer": "^8.1.5",
"zod": "^3.22.4"
},
"peerDependencies": {
Expand All @@ -41,10 +41,10 @@
"@aws-sdk/client-sqs": "^3.476.0",
"@message-queue-toolkit/core": "*",
"@message-queue-toolkit/sqs": "*",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitest/coverage-v8": "0.34.6",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.2.2",
"awilix": "^9.0.0",
"awilix-manager": "^4.0.0",
"del-cli": "^5.1.0",
Expand All @@ -55,8 +55,7 @@
"eslint-plugin-vitest": "^0.3.10",
"prettier": "^3.1.0",
"typescript": "^5.3.3",
"vitest": "0.34.6",
"vite": "4.5.0"
"vitest": "^1.2.2"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/sns/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"types": ["node", "vitest/globals"],
"strict": true,
"moduleResolution": "node",
"skipLibCheck": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
Expand Down
16 changes: 11 additions & 5 deletions packages/core/vitest.config.ts → packages/sns/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
threads: false,
poolOptions: {
threads: {
singleThread: true
}
},
watch: false,
environment: 'node',
reporters: ['default'],
Expand All @@ -12,10 +16,12 @@ export default defineConfig({
exclude: ['lib/**/*.spec.ts', 'lib/**/*.test.ts', 'test/**/*.*', 'lib/types/**/*.*'],
reporter: ['text'],
all: true,
lines: 20,
functions: 42,
branches: 65,
statements: 20,
thresholds: {
lines: 85,
functions: 90,
branches: 65,
statements: 85,
}
},
},
})
2 changes: 1 addition & 1 deletion packages/sqs/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
coverage/
dist/
vitest.config.ts
vitest.config.mts
11 changes: 5 additions & 6 deletions packages/sqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"devDependencies": {
"@aws-sdk/client-sqs": "^3.476.0",
"@message-queue-toolkit/core": "*",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitest/coverage-v8": "0.34.6",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.2.2",
"awilix": "^9.0.0",
"awilix-manager": "^4.0.0",
"del-cli": "^5.1.0",
Expand All @@ -51,8 +51,7 @@
"eslint-plugin-vitest": "^0.3.10",
"prettier": "^3.1.0",
"typescript": "^5.3.3",
"vitest": "0.34.6",
"vite": "4.5.0"
"vitest": "^1.2.2"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/sqs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"declarationMap": false,
"types": ["node", "vitest/globals"],
"strict": true,
"skipLibCheck": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
Expand Down
16 changes: 11 additions & 5 deletions packages/sqs/vitest.config.ts → packages/sqs/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
threads: false,
poolOptions: {
threads: {
singleThread: true
}
},
watch: false,
environment: 'node',
reporters: ['default'],
Expand All @@ -12,10 +16,12 @@ export default defineConfig({
exclude: ['lib/**/*.spec.ts', 'lib/**/*.test.ts', 'test/**/*.*', 'lib/types/**/*.*'],
reporter: ['text'],
all: true,
lines: 90,
functions: 100,
branches: 74,
statements: 90,
thresholds: {
lines: 90,
functions: 100,
branches: 74,
statements: 90,
}
},
},
})

0 comments on commit 3979704

Please sign in to comment.