@hellaweb3/wiremock-testcontainers-nodejs 0.1.1 → 0.1.3
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 +8 -3
- package/package.json +10 -12
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!--suppress HtmlDeprecatedAttribute -->
|
|
2
2
|
<div align="center">
|
|
3
3
|
|
|
4
|
-
<h1>WireMock Testcontainers Node.js</h1>
|
|
4
|
+
<h1>WireMock Testcontainers Node.js Typescript</h1>
|
|
5
5
|
|
|
6
6
|
<p>A library for easily using WireMock with Testcontainers in Node.js applications.</p>
|
|
7
7
|
|
|
8
|
-
<a href="https://github.com/hella-web3/wiremock-testcontainers-nodejs/actions/workflows/main.yml">
|
|
8
|
+
<a href="https://github.com/hella-web3/wiremock-testcontainers-nodejs/actions/workflows/main.yml ">
|
|
9
9
|
<img alt="Build Status" src="https://github.com/hella-web3/wiremock-testcontainers-nodejs/actions/workflows/main.yml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
11
|
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
|
|
22
22
|
## Description
|
|
23
23
|
|
|
24
|
-
`wiremock-testcontainers-nodejs` spins up
|
|
24
|
+
`wiremock-testcontainers-nodejs` is a Typescript nodejs library that spins up
|
|
25
|
+
a [WireMock](https://wiremock.org/)
|
|
25
26
|
instance with [Testcontainers](https://node.testcontainers.org/). It provides a
|
|
26
27
|
fluent API to configure and start WireMock
|
|
27
28
|
containers, including support for loading mappings and files from recorded
|
|
@@ -115,6 +116,10 @@ const container = await new WiremockContainer()
|
|
|
115
116
|
4. **Resource Management**: Always ensure `container.stop()` is called in an
|
|
116
117
|
`afterAll` or `afterEach` block to prevent orphaned containers.
|
|
117
118
|
|
|
119
|
+
## Maintainers
|
|
120
|
+
|
|
121
|
+
Maintained by [Hella Labs](https://hellaweb3.com/).
|
|
122
|
+
|
|
118
123
|
## License
|
|
119
124
|
|
|
120
125
|
MIT
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"mock",
|
|
12
12
|
"api"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.1.
|
|
14
|
+
"version": "0.1.3",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
@@ -40,16 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"./package.json": "./package.json"
|
|
42
42
|
},
|
|
43
|
-
"scripts": {
|
|
44
|
-
"dev": "tsdx dev",
|
|
45
|
-
"build": "tsdx build",
|
|
46
|
-
"test": "jest --colors --injectGlobals",
|
|
47
|
-
"lint": "tsdx lint",
|
|
48
|
-
"typecheck": "tsc --noEmit",
|
|
49
|
-
"prepack": "pnpm build",
|
|
50
|
-
"prepublishOnly": "pnpm run build",
|
|
51
|
-
"check": "pnpm build && pnpm typecheck && pnpm lint && pnpm test"
|
|
52
|
-
},
|
|
53
43
|
"dependencies": {
|
|
54
44
|
"testcontainers": "^11.11.0"
|
|
55
45
|
},
|
|
@@ -88,5 +78,13 @@
|
|
|
88
78
|
},
|
|
89
79
|
"engines": {
|
|
90
80
|
"node": ">=22"
|
|
81
|
+
},
|
|
82
|
+
"scripts": {
|
|
83
|
+
"dev": "tsdx dev",
|
|
84
|
+
"build": "tsdx build",
|
|
85
|
+
"test": "jest --colors --injectGlobals",
|
|
86
|
+
"lint": "tsdx lint",
|
|
87
|
+
"typecheck": "tsc --noEmit",
|
|
88
|
+
"check": "pnpm build && pnpm typecheck && pnpm test"
|
|
91
89
|
}
|
|
92
|
-
}
|
|
90
|
+
}
|