fastypest 1.4.8 → 1.4.10

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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/package.json +12 -6
  3. package/CHANGELOG.md +0 -109
package/README.md CHANGED
@@ -7,6 +7,9 @@
7
7
  <a href="https://www.npmjs.com/fastypest" target="_blank"><img src="https://img.shields.io/npm/l/fastypest" alt="Package License" /></a>
8
8
  <a href="https://www.npmjs.com/fastypest" target="_blank"><img src="https://img.shields.io/npm/dm/fastypest" alt="NPM Downloads" /></a>
9
9
  </p>
10
+ <p align=center>
11
+ <a href="https://buymeacoffee.com/juanjogondev" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
12
+ </p>
10
13
 
11
14
  With this library, you can run your test suites without having to stop and restore the database in between them.
12
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastypest",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "description": "Restores the database automatically after each test. Allows serial execution of tests without having to delete and restore the database having to stop the application",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "setup": "husky install",
17
17
  "prebuild": "rimraf dist",
18
18
  "build": "tsc",
19
- "eslint": "eslint --fix .",
19
+ "eslint": "eslint --fix",
20
20
  "pretest": "tsc",
21
21
  "test:ci": "jest --runInBand --forceExit --verbose --showSeed --config ./tests/jest.config.json",
22
22
  "test": "yarn build && yarn test:ci",
@@ -27,6 +27,9 @@
27
27
  "type": "git",
28
28
  "url": "git+https://github.com/juanjoGonDev/fastypest.git"
29
29
  },
30
+ "lint-staged": {
31
+ "*": "yarn eslint"
32
+ },
30
33
  "keywords": [
31
34
  "typeorm",
32
35
  "test",
@@ -51,8 +54,9 @@
51
54
  "@eslint/js": "^9.5.0",
52
55
  "@types/cross-spawn": "^6.0.6",
53
56
  "@types/jest": "^29.5.12",
54
- "@types/node": "^20.14.2",
55
- "@typescript-eslint/eslint-plugin": "^7.13.0",
57
+ "@types/node": "^20.14.7",
58
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
59
+ "@typescript-eslint/parser": "^7.13.1",
56
60
  "cross-spawn": "^7.0.3",
57
61
  "eslint": "^9.5.0",
58
62
  "eslint-config-standard-with-typescript": "^43.0.1",
@@ -60,12 +64,14 @@
60
64
  "eslint-plugin-n": "^17.9.0",
61
65
  "eslint-plugin-prettier": "^5.1.3",
62
66
  "eslint-plugin-promise": "^6.2.0",
63
- "globals": "^15.5.0",
67
+ "globals": "^15.6.0",
64
68
  "husky": "^9.0.11",
65
69
  "jest": "^29.7.0",
70
+ "lint-staged": "^15.2.7",
66
71
  "mariadb": "^3.3.1",
67
72
  "mysql": "^2.18.1",
68
73
  "pg": "^8.12.0",
74
+ "prettier": "^3.3.2",
69
75
  "rimraf": "^5.0.7",
70
76
  "standard-version": "^9.5.0",
71
77
  "ts-jest": "^29.1.5",
@@ -73,7 +79,7 @@
73
79
  "tsconfig-paths": "^4.2.0",
74
80
  "typeorm": "^0.3.20",
75
81
  "typescript": "^5.4.5",
76
- "typescript-eslint": "^7.13.0"
82
+ "typescript-eslint": "^7.13.1"
77
83
  },
78
84
  "peerDependencies": {
79
85
  "typeorm": "^0.3.20"
package/CHANGELOG.md DELETED
@@ -1,109 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [1.4.8](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.8) (2024-06-17)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * change husky prepare to setup ([6143d6d](https://github.com/juanjoGonDev/fastypest/commit/6143d6d5cf2a778b161a82ea003a2c991e0563a9))
11
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
12
- * prepare husky ([#413](https://github.com/juanjoGonDev/fastypest/issues/413)) ([36fda43](https://github.com/juanjoGonDev/fastypest/commit/36fda43cca589f8d7953c0e236d36bc3509c2b98))
13
-
14
- ### [1.4.7](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.7) (2024-06-17)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
20
-
21
- ### [1.4.6](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.6) (2024-06-11)
22
-
23
-
24
- ### Bug Fixes
25
-
26
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
27
-
28
- ### [1.4.5](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.5) (2024-06-06)
29
-
30
-
31
- ### Bug Fixes
32
-
33
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
34
-
35
- ### [1.4.4](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.4) (2024-06-04)
36
-
37
-
38
- ### Bug Fixes
39
-
40
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
41
-
42
- ### [1.4.3](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.3) (2024-06-03)
43
-
44
-
45
- ### Bug Fixes
46
-
47
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
48
-
49
- ### [1.4.2](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.2) (2024-05-29)
50
-
51
-
52
- ### Bug Fixes
53
-
54
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
55
-
56
- ### [1.4.1](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.1) (2024-05-28)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
62
-
63
- ### [1.4.0](https://github.com/juanjoGonDev/fastypest/compare/v1.3.10...v1.4.0) (2024-05-26)
64
-
65
- ### Bug Fixes
66
-
67
- * fix: sequence (https://github.com/juanjoGonDev/fastypest/pull/377)
68
-
69
- ### [1.3.10](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.10) (2024-05-21)
70
-
71
-
72
- ### Bug Fixes
73
-
74
- * **action:** pr tests ([#367](https://github.com/juanjoGonDev/fastypest/issues/367)) ([a19b97e](https://github.com/juanjoGonDev/fastypest/commit/a19b97e55b7e24e6f94f8fed239711ad63b27ec9))
75
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
76
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
77
-
78
- ### [1.3.9](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.9) (2024-05-20)
79
-
80
-
81
- ### Bug Fixes
82
-
83
- * **action:** pr tests ([#367](https://github.com/juanjoGonDev/fastypest/issues/367)) ([a19b97e](https://github.com/juanjoGonDev/fastypest/commit/a19b97e55b7e24e6f94f8fed239711ad63b27ec9))
84
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
85
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
86
-
87
- ### [1.3.8](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.8) (2024-05-16)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
93
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
94
-
95
- ### [1.3.7](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.7) (2024-05-11)
96
-
97
-
98
- ### Bug Fixes
99
-
100
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
101
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
102
-
103
- ### 1.3.6 (2024-05-11)
104
-
105
- ### 1.3.5 (2024-05-11)
106
-
107
- ### 1.3.4 (2024-05-11)
108
-
109
- ### 1.3.2 (2024-05-11)