@travetto/model-s3 3.2.2 → 3.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-s3",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "description": "S3 backing for the travetto model module.",
5
5
  "keywords": [
6
6
  "s3",
@@ -27,11 +27,11 @@
27
27
  "dependencies": {
28
28
  "@aws-sdk/client-s3": "^3.359.0",
29
29
  "@aws-sdk/credential-provider-ini": "^3.218.0",
30
- "@travetto/config": "^3.2.1",
31
- "@travetto/model": "^3.2.1"
30
+ "@travetto/config": "^3.2.2",
31
+ "@travetto/model": "^3.2.2"
32
32
  },
33
33
  "peerDependencies": {
34
- "@travetto/command": "^3.2.1"
34
+ "@travetto/command": "^3.2.2"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@travetto/command": {
@@ -1,28 +1,11 @@
1
- import { mkdirSync } from 'fs';
2
- import os from 'os';
3
-
4
1
  import type { CommandService } from '@travetto/command';
5
2
 
6
- const temp = `${os.tmpdir()}/local-stack`;
7
- try {
8
- mkdirSync(temp);
9
- } catch { }
10
-
11
- const version = '2.0.1';
3
+ const version = '3.0.0';
12
4
 
13
5
  export const service: CommandService = {
14
6
  name: 's3',
15
7
  version,
16
8
  privileged: true,
17
- env: {
18
- TEST_AWS_ACCOUNT_ID: '000000000000',
19
- LOCALSTACK_HOSTNAME: 'localhost',
20
- DEFAULT_REGION: 'us-east-1',
21
- HOST_TMP_FOLDER: temp
22
- },
23
- volumes: {
24
- [temp]: '/var/lib/localstack'
25
- },
26
- ports: { 4566: 4566, 4571: 4571, 8080: 8080, 8081: 8081 },
27
- image: `localstack/localstack:${version}`
9
+ ports: { 9091: 4566 },
10
+ image: `adobe/s3mock:${version}`
28
11
  };