@testcontainers/redis 12.0.1 → 12.0.2
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/build/import.sh +4 -0
- package/build/redis-container.js +0 -2
- package/package.json +5 -4
package/build/import.sh
ADDED
package/build/redis-container.js
CHANGED
|
@@ -74,8 +74,6 @@ class RedisContainer extends testcontainers_1.GenericContainer {
|
|
|
74
74
|
]);
|
|
75
75
|
}
|
|
76
76
|
const startedRedisContainer = new StartedRedisContainer(await super.start(), this.password);
|
|
77
|
-
if (this.initialImportScriptFile)
|
|
78
|
-
await this.importInitialData(startedRedisContainer);
|
|
79
77
|
return startedRedisContainer;
|
|
80
78
|
}
|
|
81
79
|
async importInitialData(container) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testcontainers/redis",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"redis",
|
|
@@ -26,12 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"prepack": "shx cp ../../../README.md . && shx cp ../../../LICENSE .",
|
|
29
|
-
"build": "tsc --project tsconfig.build.json"
|
|
29
|
+
"build": "tsc --project tsconfig.build.json",
|
|
30
|
+
"postbuild": "shx cp src/import.sh build"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"redis": "^
|
|
33
|
+
"redis": "^6.0.0"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
|
-
"testcontainers": "^12.0.
|
|
36
|
+
"testcontainers": "^12.0.2"
|
|
36
37
|
}
|
|
37
38
|
}
|