@jterrazz/test 3.1.0 → 3.2.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.
- package/README.md +113 -43
- package/dist/assets/cpufeatures-B-FC6C9Z.node +0 -0
- package/dist/assets/sshcrypto-D82met6T.node +0 -0
- package/dist/build.cjs +122200 -0
- package/dist/build.cjs.map +1 -0
- package/dist/build.js +122193 -0
- package/dist/build.js.map +1 -0
- package/dist/chunk.cjs +64 -0
- package/dist/chunk.js +37 -0
- package/dist/dist.cjs +6587 -0
- package/dist/dist.cjs.map +1 -0
- package/dist/dist.js +6582 -0
- package/dist/dist.js.map +1 -0
- package/dist/dist2.cjs +20838 -0
- package/dist/dist2.cjs.map +1 -0
- package/dist/dist2.js +20834 -0
- package/dist/dist2.js.map +1 -0
- package/dist/index.cjs +5129 -7
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +316 -0
- package/dist/index.d.ts +316 -1
- package/dist/index.js +5119 -1
- package/dist/index.js.map +1 -1
- package/package.json +30 -19
- package/dist/mocking/index.d.ts +0 -2
- package/dist/mocking/index.js +0 -4
- package/dist/mocking/index.js.map +0 -1
- package/dist/mocking/mock-of-date.d.ts +0 -5
- package/dist/mocking/mock-of-date.js +0 -4
- package/dist/mocking/mock-of-date.js.map +0 -1
- package/dist/mocking/mock-of.d.ts +0 -3
- package/dist/mocking/mock-of.js +0 -4
- package/dist/mocking/mock-of.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,43 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jterrazz/test",
|
|
3
|
+
"version": "3.2.0",
|
|
3
4
|
"author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
|
|
4
|
-
"
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/jterrazz/package-test"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"type": "module",
|
|
5
13
|
"exports": {
|
|
6
14
|
".": {
|
|
7
15
|
"require": "./dist/index.cjs",
|
|
8
16
|
"import": "./dist/index.js"
|
|
9
17
|
}
|
|
10
18
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
],
|
|
14
|
-
"type": "module",
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "ts-build",
|
|
17
|
-
"lint": "ts-check",
|
|
18
|
-
"lint:fix": "ts-fix",
|
|
19
|
-
"test": "# No tests"
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"registry": "https://registry.npmjs.org/"
|
|
20
21
|
},
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "typescript bundle",
|
|
24
|
+
"lint": "codestyle check",
|
|
25
|
+
"lint:fix": "codestyle fix",
|
|
26
|
+
"test": "vitest --run"
|
|
25
27
|
},
|
|
26
28
|
"dependencies": {
|
|
27
|
-
"@types/mockdate": "^2.0.0",
|
|
28
29
|
"mockdate": "^3.0.5",
|
|
29
30
|
"vitest-mock-extended": "^3.1.0"
|
|
30
31
|
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@hono/node-server": "^1.19.11",
|
|
34
|
+
"@jterrazz/codestyle": "^2.1.0",
|
|
35
|
+
"@jterrazz/typescript": "^5.1.1",
|
|
36
|
+
"@types/node": "^25.5.0",
|
|
37
|
+
"@types/pg": "^8.20.0",
|
|
38
|
+
"hono": "^4.12.9",
|
|
39
|
+
"pg": "^8.20.0",
|
|
40
|
+
"redis": "^5.11.0",
|
|
41
|
+
"testcontainers": "^11.13.0",
|
|
42
|
+
"vitest": "^4.1.2",
|
|
43
|
+
"yaml": "^2.8.3"
|
|
44
|
+
},
|
|
31
45
|
"peerDependencies": {
|
|
32
46
|
"msw": "^2.12.0",
|
|
33
|
-
"vitest": "^4.
|
|
47
|
+
"vitest": "^4.1.2"
|
|
34
48
|
},
|
|
35
49
|
"peerDependenciesMeta": {
|
|
36
50
|
"msw": {
|
|
37
51
|
"optional": true
|
|
38
52
|
}
|
|
39
|
-
},
|
|
40
|
-
"publishConfig": {
|
|
41
|
-
"registry": "https://registry.npmjs.org/"
|
|
42
53
|
}
|
|
43
54
|
}
|
package/dist/mocking/index.d.ts
DELETED
package/dist/mocking/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/mocking/index.ts"],"sourcesContent":["export { type MockDatePort, mockOfDate } from './mock-of-date.js';\nexport { mockOf, type MockPort } from './mock-of.js';\n"],"names":["mockOfDate","mockOf"],"mappings":"AAAA,SAA4BA,UAAU,QAAQ,oBAAoB;AAClE,SAASC,MAAM,QAAuB,eAAe"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/mocking/mock-of-date.ts"],"sourcesContent":["import MockDatePackage from 'mockdate';\n\nexport interface MockDatePort {\n reset: () => void;\n set: (date: Date | number | string) => void;\n}\n\nexport const mockOfDate: MockDatePort = MockDatePackage;\n"],"names":["MockDatePackage","mockOfDate"],"mappings":"AAAA,OAAOA,qBAAqB,WAAW;AAOvC,OAAO,IAAMC,aAA2BD,gBAAgB"}
|
package/dist/mocking/mock-of.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/mocking/mock-of.ts"],"sourcesContent":["import { type DeepMockProxy, mockDeep } from 'vitest-mock-extended';\n\nexport type MockPort = <T>() => DeepMockProxy<T>;\n\nexport const mockOf: MockPort = mockDeep;\n"],"names":["mockDeep","mockOf"],"mappings":"AAAA,SAA6BA,QAAQ,QAAQ,uBAAuB;AAIpE,OAAO,IAAMC,SAAmBD,SAAS"}
|