@dotcom-tool-kit/webpack 1.2.0 → 1.2.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.
@@ -1,4 +1,4 @@
1
- import { Task } from '@dotcom-tool-kit/task';
1
+ import { Task } from '@dotcom-tool-kit/types';
2
2
  import { WebpackSchema } from '@dotcom-tool-kit/types/lib/schema/webpack';
3
3
  export default class WebpackDevelopment extends Task<typeof WebpackSchema> {
4
4
  static description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"development.d.ts","sourceRoot":"","sources":["../../src/tasks/development.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAA;AAGzE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,IAAI,CAAC,OAAO,aAAa,CAAC;IACxE,MAAM,CAAC,WAAW,SAAkB;IAE9B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
1
+ {"version":3,"file":"development.d.ts","sourceRoot":"","sources":["../../src/tasks/development.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAA;AAGzE,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,IAAI,CAAC,OAAO,aAAa,CAAC;IACxE,MAAM,CAAC,WAAW,SAAkB;IAE9B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const task_1 = require("@dotcom-tool-kit/task");
4
+ const types_1 = require("@dotcom-tool-kit/types");
5
5
  const run_webpack_1 = (0, tslib_1.__importDefault)(require("../run-webpack"));
6
- class WebpackDevelopment extends task_1.Task {
6
+ class WebpackDevelopment extends types_1.Task {
7
7
  async run() {
8
8
  await (0, run_webpack_1.default)({
9
9
  ...this.options,
@@ -1,4 +1,4 @@
1
- import { Task } from '@dotcom-tool-kit/task';
1
+ import { Task } from '@dotcom-tool-kit/types';
2
2
  import { WebpackSchema } from '@dotcom-tool-kit/types/lib/schema/webpack';
3
3
  export default class WebpackProduction extends Task<typeof WebpackSchema> {
4
4
  static description: string;
@@ -1 +1 @@
1
- {"version":3,"file":"production.d.ts","sourceRoot":"","sources":["../../src/tasks/production.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAA;AAGzE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,IAAI,CAAC,OAAO,aAAa,CAAC;IACvE,MAAM,CAAC,WAAW,SAAkB;IAE9B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
1
+ {"version":3,"file":"production.d.ts","sourceRoot":"","sources":["../../src/tasks/production.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAA;AAGzE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,IAAI,CAAC,OAAO,aAAa,CAAC;IACvE,MAAM,CAAC,WAAW,SAAkB;IAE9B,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAM3B"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const task_1 = require("@dotcom-tool-kit/task");
4
+ const types_1 = require("@dotcom-tool-kit/types");
5
5
  const run_webpack_1 = (0, tslib_1.__importDefault)(require("../run-webpack"));
6
- class WebpackProduction extends task_1.Task {
6
+ class WebpackProduction extends types_1.Task {
7
7
  async run() {
8
8
  await (0, run_webpack_1.default)({
9
9
  ...this.options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcom-tool-kit/webpack",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "lib",
5
5
  "description": "",
6
6
  "author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
@@ -17,8 +17,7 @@
17
17
  "test": "cd ../../ ; npx jest --silent --projects packages/webpack"
18
18
  },
19
19
  "dependencies": {
20
- "@dotcom-tool-kit/task": "^1.2.0",
21
- "@dotcom-tool-kit/types": "^1.2.0",
20
+ "@dotcom-tool-kit/types": "^1.2.1",
22
21
  "webpack-cli": "^4.6.0"
23
22
  },
24
23
  "peerDependencies": {