@vamship/build-utils 2.4.1 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vamship/build-utils",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "Utility library for build tooling",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/project.js CHANGED
@@ -108,6 +108,7 @@ export class Project {
108
108
  test: {
109
109
  unit: null,
110
110
  api: null,
111
+ int: null,
111
112
  },
112
113
  infra: null,
113
114
  scripts: null,
@@ -116,6 +117,7 @@ export class Project {
116
117
  test: {
117
118
  unit: null,
118
119
  api: null,
120
+ int: null,
119
121
  },
120
122
  infra: null,
121
123
  node_modules: null,
@@ -16,7 +16,7 @@ export class TestTaskBuilder extends TaskBuilder {
16
16
  * "unit" or "api".
17
17
  */
18
18
  constructor(testType) {
19
- if (['unit', 'api'].indexOf(testType) < 0) {
19
+ if (['unit', 'api', 'int'].indexOf(testType) < 0) {
20
20
  throw new Error('Invalid testType (arg #1)');
21
21
  }
22
22
  super(`test-${testType}`, `Execute ${testType} tests`);
@@ -56,6 +56,7 @@ export class CliTaskFactory extends TaskFactory {
56
56
  new LintTaskBuilder(),
57
57
  new LintFixTaskBuilder(),
58
58
  new TestTaskBuilder('unit'),
59
+ new TestTaskBuilder('int'),
59
60
 
60
61
  new DocsTaskBuilder(this._project),
61
62
  new BuildTaskBuilder(this._project),