@midwayjs/view-ejs 3.20.5 → 4.0.0-beta.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.
@@ -20,11 +20,12 @@ let ViewEJSConfiguration = class ViewEJSConfiguration {
20
20
  this.viewManager.use('ejs', view_1.EjsView);
21
21
  }
22
22
  };
23
+ exports.ViewEJSConfiguration = ViewEJSConfiguration;
23
24
  __decorate([
24
25
  (0, core_1.Inject)(),
25
26
  __metadata("design:type", View.ViewManager)
26
27
  ], ViewEJSConfiguration.prototype, "viewManager", void 0);
27
- ViewEJSConfiguration = __decorate([
28
+ exports.ViewEJSConfiguration = ViewEJSConfiguration = __decorate([
28
29
  (0, core_1.Configuration)({
29
30
  namespace: 'view-ejs',
30
31
  importConfigs: [
@@ -36,5 +37,4 @@ ViewEJSConfiguration = __decorate([
36
37
  imports: [View],
37
38
  })
38
39
  ], ViewEJSConfiguration);
39
- exports.ViewEJSConfiguration = ViewEJSConfiguration;
40
40
  //# sourceMappingURL=configuration.js.map
package/dist/view.js CHANGED
@@ -49,6 +49,7 @@ let EjsView = class EjsView {
49
49
  }
50
50
  }
51
51
  };
52
+ exports.EjsView = EjsView;
52
53
  __decorate([
53
54
  (0, core_1.Config)('ejs'),
54
55
  __metadata("design:type", Object)
@@ -57,8 +58,7 @@ __decorate([
57
58
  (0, core_1.Inject)(),
58
59
  __metadata("design:type", view_1.ViewManager)
59
60
  ], EjsView.prototype, "viewManager", void 0);
60
- EjsView = __decorate([
61
+ exports.EjsView = EjsView = __decorate([
61
62
  (0, core_1.Provide)()
62
63
  ], EjsView);
63
- exports.EjsView = EjsView;
64
64
  //# sourceMappingURL=view.js.map
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@midwayjs/view-ejs",
3
- "version": "3.20.5",
3
+ "version": "4.0.0-beta.1",
4
4
  "description": "Midway Component for ejs render",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
- "test": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand",
10
- "cov": "node --require=ts-node/register ../../node_modules/.bin/jest --runInBand --coverage --forceExit",
9
+ "test": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand",
10
+ "cov": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand --coverage --forceExit",
11
11
  "ci": "npm run test"
12
12
  },
13
13
  "keywords": [
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@midwayjs/view": "^3.20.5",
31
+ "@midwayjs/view": "^4.0.0-beta.1",
32
32
  "ejs": "3.1.10"
33
33
  },
34
34
  "devDependencies": {
35
- "@midwayjs/core": "^3.20.4",
36
- "@midwayjs/koa": "^3.20.5",
37
- "@midwayjs/mock": "^3.20.4"
35
+ "@midwayjs/core": "^4.0.0-beta.1",
36
+ "@midwayjs/koa": "^4.0.0-beta.1",
37
+ "@midwayjs/mock": "^4.0.0-beta.1"
38
38
  },
39
- "gitHead": "7ce57281bd3ef5d18dc50b47ff9bffb8a27c071e"
39
+ "gitHead": "832961ec3aff123c033197d8c00cb2bc9bad7ff8"
40
40
  }