fastify-rabbitmq 1.3.1 → 1.4.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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
package/package.json CHANGED
@@ -1,26 +1,29 @@
1
1
  {
2
2
  "name": "fastify-rabbitmq",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "A Fastify RabbitMQ Plugin Developed in Pure TypeScript.",
5
- "module": "./dist/esm/index.js",
6
- "main": "./dist/cjs/index.js",
7
- "types": "./dist/types/index.d.ts",
5
+ "module": "./lib/esm/index.js",
6
+ "main": "./lib/cjs/index.js",
7
+ "types": "./lib/types/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/types/index.d.ts",
11
- "import": "./dist/esm/index.js",
12
- "require": "./dist/cjs/index.js",
13
- "default": "./dist/cjs/index.js"
10
+ "types": "./lib/types/index.d.ts",
11
+ "import": "./lib/esm/index.js",
12
+ "require": "./lib/cjs/index.js",
13
+ "default": "./lib/cjs/index.js"
14
14
  }
15
15
  },
16
+ "files": [
17
+ "lib/**/**"
18
+ ],
16
19
  "scripts": {
17
- "clean": "rm -rf dist coverage",
20
+ "clean": "rm -rf lib coverage",
18
21
  "build": "tsc && tsc -p tsconfig.cjs.json && tsc -p tsconfig.types.json && ./bin/build-types.sh",
19
22
  "build:watch": "tsc -w",
20
- "lint": "ts-standard --parser @typescript-eslint/parser | snazzy",
21
- "lint:fix": "ts-standard --fix --parser @typescript-eslint/parser | snazzy",
23
+ "lint": "ts-standard | snazzy",
24
+ "lint:fix": "ts-standard | snazzy",
22
25
  "pack": "npm pack",
23
- "prepublishOnly": "npm run clean && npm run test:ci && npm run build && npm run pack",
26
+ "prepublishOnly": "npm run clean && npm run build && npm run test:ci && npm run pack",
24
27
  "test": "jest",
25
28
  "test:open": "jest --detectOpenHandles",
26
29
  "test:ci": "jest --ci",
@@ -29,7 +32,13 @@
29
32
  "typedoc:watch": "typedoc -watch",
30
33
  "semantic-release": "semantic-release",
31
34
  "semantic-release:dry-run": "semantic-release --dry-run",
32
- "update": "npx npm-check-updates -u && npm install && npm run test"
35
+ "update": "npx npm-check-updates -u && npm run update:post-update",
36
+ "update:greatest": "npx npm-check-updates --target greatest",
37
+ "update:minor": "npx npm-check-updates --target minor -u && npm run update:post-update",
38
+ "update:newest": "npx npm-check-updates --target newest",
39
+ "update:patch": "npx npm-check-updates --target patch",
40
+ "update:semver": "npx npm-check-updates --target semver",
41
+ "update:post-update": "npm install && npm run test:ci"
33
42
  },
34
43
  "repository": {
35
44
  "type": "git",
@@ -62,7 +71,7 @@
62
71
  "@types/jest": "^29.5.11",
63
72
  "@types/node": "^20.10.5",
64
73
  "@types/randomstring": "^1.1.11",
65
- "@typescript-eslint/parser": "^6.14.0",
74
+ "@typescript-eslint/parser": "^6.15.0",
66
75
  "fastify": "^4.25.1",
67
76
  "jest": "^29.7.0",
68
77
  "jest-ts-webcompat-resolver": "^1.0.0",
package/CHANGELOG.md DELETED
@@ -1,43 +0,0 @@
1
- ## [1.3.1](https://github.com/Bugs5382/fastify-rabbitmq/compare/v1.3.0...v1.3.1) (2023-12-18)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * url wrong ([f5cf4a7](https://github.com/Bugs5382/fastify-rabbitmq/commit/f5cf4a7f3ca5ceddc6ef8fa7b0d0b9148892e65c))
7
-
8
- # [1.3.0](https://github.com/Bugs5382/fastify-rabbitmq/compare/v1.2.0...v1.3.0) (2023-12-18)
9
-
10
-
11
- ### Features
12
-
13
- * fastify v5 prep fixes ([f2bbc61](https://github.com/Bugs5382/fastify-rabbitmq/commit/f2bbc6185b5ff76089ec6448f8a847183c2f368e))
14
-
15
- # 1.0.0 (2023-11-17)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * fix ci for release ([5f6982a](https://github.com/Bugs5382/fastify-rabbitmq/commit/5f6982a5676341063260e9243b4c6c4ea0810b56))
21
-
22
-
23
- * 19 build in rpc clientserver (#20) ([fc03bd1](https://github.com/Bugs5382/fastify-rabbitmq/commit/fc03bd1fa8ee0932043e778135f712530b28ac9b)), closes [#20](https://github.com/Bugs5382/fastify-rabbitmq/issues/20) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19) [#19](https://github.com/Bugs5382/fastify-rabbitmq/issues/19)
24
-
25
-
26
- ### Features
27
-
28
- * added .idea to gitignore ([4a7ca5b](https://github.com/Bugs5382/fastify-rabbitmq/commit/4a7ca5bf8d8b2a7e7383d0365f9cbb9caaa805d4))
29
- * fastify namespace issue ([5d12ca1](https://github.com/Bugs5382/fastify-rabbitmq/commit/5d12ca129e6722ba56b4e0ff8bc7920cdd437f01))
30
- * formatting, update README.md ([97d06ff](https://github.com/Bugs5382/fastify-rabbitmq/commit/97d06ff67fc37e45e34d9f19d2daa1a9402401ae))
31
- * initial code structure ([bb6c46b](https://github.com/Bugs5382/fastify-rabbitmq/commit/bb6c46b503b2cb386676ad20aa3fa367c5a12721))
32
- * major code revamp ([426d10a](https://github.com/Bugs5382/fastify-rabbitmq/commit/426d10abfc97cad177736be18cd2bdc8c682426a))
33
- * npm install works ([bd7fac3](https://github.com/Bugs5382/fastify-rabbitmq/commit/bd7fac3471faff6525a666ba728d2debb504a181))
34
- * set to version 0.0.0 for now ([a330c71](https://github.com/Bugs5382/fastify-rabbitmq/commit/a330c71773d3b89aacb2d8b19528679ce2ec9484))
35
- * updated main methods ([a05a897](https://github.com/Bugs5382/fastify-rabbitmq/commit/a05a8973d202a09300d34607c70938573fdf0eb3))
36
-
37
-
38
- ### BREAKING CHANGES
39
-
40
- * dropped node-amqp-connection-manager support
41
-
42
- * feature: typedoc generation added
43
- * new style
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes