@midwayjs/tenant 3.19.2 → 4.0.0-alpha.1

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.
@@ -14,7 +14,8 @@ let TenantConfiguration = class TenantConfiguration {
14
14
  await container.getAsync(tenantManager_1.TenantManager);
15
15
  }
16
16
  };
17
- TenantConfiguration = __decorate([
17
+ exports.TenantConfiguration = TenantConfiguration;
18
+ exports.TenantConfiguration = TenantConfiguration = __decorate([
18
19
  (0, core_1.Configuration)({
19
20
  namespace: 'tenant',
20
21
  importConfigs: [
@@ -28,5 +29,4 @@ TenantConfiguration = __decorate([
28
29
  ],
29
30
  })
30
31
  ], TenantConfiguration);
31
- exports.TenantConfiguration = TenantConfiguration;
32
32
  //# sourceMappingURL=configuration.js.map
@@ -34,12 +34,12 @@ let TenantManager = class TenantManager {
34
34
  }
35
35
  }
36
36
  };
37
+ exports.TenantManager = TenantManager;
37
38
  __decorate([
38
39
  (0, core_1.ApplicationContext)(),
39
40
  __metadata("design:type", Object)
40
41
  ], TenantManager.prototype, "applicationContext", void 0);
41
- TenantManager = __decorate([
42
+ exports.TenantManager = TenantManager = __decorate([
42
43
  (0, core_1.Singleton)()
43
44
  ], TenantManager);
44
- exports.TenantManager = TenantManager;
45
45
  //# sourceMappingURL=tenantManager.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midwayjs/tenant",
3
3
  "description": "midway tenant component",
4
- "version": "3.19.2",
4
+ "version": "4.0.0-alpha.1",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
7
7
  "files": [
@@ -10,8 +10,8 @@
10
10
  "index.d.ts"
11
11
  ],
12
12
  "devDependencies": {
13
- "@midwayjs/core": "^3.19.0",
14
- "@midwayjs/mock": "^3.19.2"
13
+ "@midwayjs/core": "^4.0.0-alpha.1",
14
+ "@midwayjs/mock": "^4.0.0-alpha.1"
15
15
  },
16
16
  "keywords": [
17
17
  "midway",
@@ -21,8 +21,8 @@
21
21
  "license": "MIT",
22
22
  "scripts": {
23
23
  "build": "tsc",
24
- "test": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand",
25
- "cov": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand --coverage --forceExit",
24
+ "test": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand",
25
+ "cov": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand --coverage --forceExit",
26
26
  "ci": "npm run test",
27
27
  "lint": "mwts check"
28
28
  },
@@ -33,5 +33,5 @@
33
33
  "type": "git",
34
34
  "url": "https://github.com/midwayjs/midway.git"
35
35
  },
36
- "gitHead": "57fd034be94897fb819b0d9ef776de0b9923ab0f"
36
+ "gitHead": "14bb4da91805a1cf52f190c0d37a74b395dd6372"
37
37
  }