-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: introduce nestjs-sqs v3 (#85)
* chore(ci)!: drop support for node v16, adding node v22 * chore(deps)!: bump sqs-consumer to v11, use vitest and biome * chore(ci): enrich emq config * feat(test): apply vitest * refactor: apply Biome lint and format * chore(ci): run tests on ubuntu 24.04 * docs: update install command * chore(ci): run tests before publish
- Loading branch information
Showing
26 changed files
with
2,546 additions
and
4,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,5 @@ Temporary Items | |
dist/ | ||
node_modules/ | ||
|
||
*.tgz | ||
*.tgz | ||
tsconfig.vitest-temp.json |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"eslint.enable": false, | ||
"prettier.enable": false, | ||
"biome.enabled": true, | ||
"[json]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "never", | ||
"quickfix.biome": "always", | ||
"source.organizeImports.biome": "always" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* eslint-disable */ | ||
/* prettier-ignore */ | ||
// @ts-nocheck | ||
// noinspection JSUnusedGlobalSymbols | ||
// Generated by unplugin-auto-import | ||
export {} | ||
declare global { | ||
const afterAll: typeof import('vitest')['afterAll'] | ||
const afterEach: typeof import('vitest')['afterEach'] | ||
const assert: typeof import('vitest')['assert'] | ||
const beforeAll: typeof import('vitest')['beforeAll'] | ||
const beforeEach: typeof import('vitest')['beforeEach'] | ||
const chai: typeof import('vitest')['chai'] | ||
const describe: typeof import('vitest')['describe'] | ||
const expect: typeof import('vitest')['expect'] | ||
const it: typeof import('vitest')['it'] | ||
const suite: typeof import('vitest')['suite'] | ||
const test: typeof import('vitest')['test'] | ||
const vi: typeof import('vitest')['vi'] | ||
const vitest: typeof import('vitest')['vitest'] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"files": { | ||
"include": ["e2e/**/*.ts", "lib/**/*.ts"], | ||
"ignore": ["dist/"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "space", | ||
"lineWidth": 120, | ||
"formatWithErrors": false, | ||
"lineEnding": "lf" | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"lineWidth": 120, | ||
"semicolons": "always", | ||
"quoteStyle": "single", | ||
"arrowParentheses": "always", | ||
"jsxQuoteStyle": "double" | ||
}, | ||
"parser": { | ||
"unsafeParameterDecoratorsEnabled": true | ||
} | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": false, | ||
"complexity": { | ||
"noBannedTypes": "error", | ||
"noUselessTypeConstraint": "error" | ||
}, | ||
"correctness": { | ||
"noPrecisionLoss": "error", | ||
"noUnusedVariables": "warn", | ||
"useArrayLiterals": "off" | ||
}, | ||
"style": { | ||
"noInferrableTypes": "off", | ||
"noNamespace": "error", | ||
"noNonNullAssertion": "warn", | ||
"useAsConstAssertion": "error", | ||
"useBlockStatements": "off", | ||
"useConst": "warn" | ||
}, | ||
"suspicious": { | ||
"noAssignInExpressions": "warn", | ||
"noExplicitAny": "off", | ||
"noExtraNonNullAssertion": "error", | ||
"noMisleadingInstantiator": "error", | ||
"noUnsafeDeclarationMerging": "error", | ||
"useGetterReturn": "off" | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.