fastypest 1.4.9 → 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 +9 -3
  3. package/CHANGELOG.md +0 -118
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.9",
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.4",
57
+ "@types/node": "^20.14.7",
55
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",
@@ -63,9 +67,11 @@
63
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",
package/CHANGELOG.md DELETED
@@ -1,118 +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.9](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.9) (2024-06-18)
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.8](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.8) (2024-06-17)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * change husky prepare to setup ([6143d6d](https://github.com/juanjoGonDev/fastypest/commit/6143d6d5cf2a778b161a82ea003a2c991e0563a9))
20
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
21
- * prepare husky ([#413](https://github.com/juanjoGonDev/fastypest/issues/413)) ([36fda43](https://github.com/juanjoGonDev/fastypest/commit/36fda43cca589f8d7953c0e236d36bc3509c2b98))
22
-
23
- ### [1.4.7](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.7) (2024-06-17)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
29
-
30
- ### [1.4.6](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.6) (2024-06-11)
31
-
32
-
33
- ### Bug Fixes
34
-
35
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
36
-
37
- ### [1.4.5](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.5) (2024-06-06)
38
-
39
-
40
- ### Bug Fixes
41
-
42
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
43
-
44
- ### [1.4.4](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.4) (2024-06-04)
45
-
46
-
47
- ### Bug Fixes
48
-
49
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
50
-
51
- ### [1.4.3](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.3) (2024-06-03)
52
-
53
-
54
- ### Bug Fixes
55
-
56
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
57
-
58
- ### [1.4.2](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.2) (2024-05-29)
59
-
60
-
61
- ### Bug Fixes
62
-
63
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
64
-
65
- ### [1.4.1](https://github.com/juanjoGonDev/fastypest/compare/v1.4.0...v1.4.1) (2024-05-28)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * **npm:** husky not found ([cfa9a49](https://github.com/juanjoGonDev/fastypest/commit/cfa9a49344177959fa13e72e996501ff61efaed5))
71
-
72
- ### [1.4.0](https://github.com/juanjoGonDev/fastypest/compare/v1.3.10...v1.4.0) (2024-05-26)
73
-
74
- ### Bug Fixes
75
-
76
- * fix: sequence (https://github.com/juanjoGonDev/fastypest/pull/377)
77
-
78
- ### [1.3.10](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.10) (2024-05-21)
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.9](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.9) (2024-05-20)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * **action:** pr tests ([#367](https://github.com/juanjoGonDev/fastypest/issues/367)) ([a19b97e](https://github.com/juanjoGonDev/fastypest/commit/a19b97e55b7e24e6f94f8fed239711ad63b27ec9))
93
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
94
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
95
-
96
- ### [1.3.8](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.8) (2024-05-16)
97
-
98
-
99
- ### Bug Fixes
100
-
101
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
102
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
103
-
104
- ### [1.3.7](https://github.com/juanjoGonDev/fastypest/compare/v1.3.0...v1.3.7) (2024-05-11)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * dependabot-auto-merge ([902d2c7](https://github.com/juanjoGonDev/fastypest/commit/902d2c7a6e6d3b73db06e7665bdc0fed0ceff0f9))
110
- * pull-request.workflow.yml ([#278](https://github.com/juanjoGonDev/fastypest/issues/278)) ([b275542](https://github.com/juanjoGonDev/fastypest/commit/b27554270e57d2877abc1bbfebceca8cef74afdc))
111
-
112
- ### 1.3.6 (2024-05-11)
113
-
114
- ### 1.3.5 (2024-05-11)
115
-
116
- ### 1.3.4 (2024-05-11)
117
-
118
- ### 1.3.2 (2024-05-11)