From ae6b2f23f7ef684dce5cc7b5e1915ee90e0bc0f4 Mon Sep 17 00:00:00 2001 From: Kara Brightwell Date: Mon, 11 Nov 2024 13:54:10 +0000 Subject: [PATCH] test: force resolveRoot to return relative paths for machine-agnostic snapshots --- core/cli/src/plugin.ts | 12 +- core/cli/src/plugin/resolve-root.ts | 11 + .../test/__snapshots__/config.test.ts.snap | 708 +++++++++--------- core/cli/test/config.test.ts | 10 + 4 files changed, 376 insertions(+), 365 deletions(-) create mode 100644 core/cli/src/plugin/resolve-root.ts diff --git a/core/cli/src/plugin.ts b/core/cli/src/plugin.ts index 3e4453497..a2d26b441 100644 --- a/core/cli/src/plugin.ts +++ b/core/cli/src/plugin.ts @@ -2,7 +2,6 @@ import { styles as s } from '@dotcom-tool-kit/logger' import { CURRENT_RC_FILE_VERSION, type Plugin } from '@dotcom-tool-kit/plugin' import type { RawConfig, ValidPluginsConfig } from '@dotcom-tool-kit/config' import { invalid, reduceValidated, valid, Validated } from '@dotcom-tool-kit/validated' -import * as path from 'path' import type { Logger } from 'winston' import { loadToolKitRC } from './rc-file' import { indentReasons } from './messages' @@ -12,16 +11,7 @@ import { mergeCommands } from './plugin/merge-commands' import { mergePluginOptions } from './plugin/merge-plugin-options' import { mergeInits } from './plugin/merge-inits' import { mergeTaskOptions } from './plugin/merge-task-options' - -function resolveRoot(id: string, root: string): string { - const isPath = id.startsWith('.') || id.startsWith('/') - // resolve the package.json of a plugin as many plugins don't have valid - // entrypoints now that we're intending their tasks/hooks to be loaded via - // entrypoints defined in config - const modulePath = isPath ? id : path.join(id, 'package.json') - const resolvedPath = require.resolve(modulePath, { paths: [root] }) - return path.dirname(resolvedPath) -} +import { resolveRoot } from './plugin/resolve-root' export async function loadPlugin( id: string, diff --git a/core/cli/src/plugin/resolve-root.ts b/core/cli/src/plugin/resolve-root.ts new file mode 100644 index 000000000..83d11fea4 --- /dev/null +++ b/core/cli/src/plugin/resolve-root.ts @@ -0,0 +1,11 @@ +import path from "path" + +export function resolveRoot(id: string, root: string): string { + const isPath = id.startsWith('.') || id.startsWith('/') + // resolve the package.json of a plugin as many plugins don't have valid + // entrypoints now that we're intending their tasks/hooks to be loaded via + // entrypoints defined in config + const modulePath = isPath ? id : path.join(id, 'package.json') + const resolvedPath = require.resolve(modulePath, { paths: [root] }) + return path.dirname(resolvedPath) +} diff --git a/core/cli/test/__snapshots__/config.test.ts.snap b/core/cli/test/__snapshots__/config.test.ts.snap index 09299f02f..aade0dce0 100644 --- a/core/cli/test/__snapshots__/config.test.ts.snap +++ b/core/cli/test/__snapshots__/config.test.ts.snap @@ -31,7 +31,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -56,7 +56,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -81,7 +81,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -156,7 +156,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -181,7 +181,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -206,7 +206,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -282,7 +282,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -307,7 +307,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -332,7 +332,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -410,7 +410,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -435,7 +435,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -460,7 +460,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -535,7 +535,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -560,7 +560,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -585,7 +585,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -661,7 +661,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -686,7 +686,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -711,7 +711,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -792,7 +792,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -817,7 +817,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -883,7 +883,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "tasks": [ { @@ -917,7 +917,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -942,7 +942,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -1008,7 +1008,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "task": "NTest", }, @@ -1045,7 +1045,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -1070,7 +1070,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -1136,7 +1136,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, "tasks": [ { @@ -1170,7 +1170,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -1195,7 +1195,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -1261,7 +1261,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, "task": "Eslint", }, @@ -1298,7 +1298,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -1323,7 +1323,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -1389,7 +1389,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "tasks": [ { @@ -1423,7 +1423,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -1448,7 +1448,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -1514,7 +1514,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "task": "NTest", }, @@ -1552,7 +1552,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -1577,7 +1577,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -1602,7 +1602,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -1677,7 +1677,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -1702,7 +1702,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -1727,7 +1727,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -1812,7 +1812,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -1837,7 +1837,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -1903,7 +1903,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, }, "@dotcom-tool-kit/mocha": { @@ -1942,7 +1942,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, [Circular], { @@ -1968,7 +1968,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2033,7 +2033,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, }, "@dotcom-tool-kit/n-test": { @@ -2072,7 +2072,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -2097,7 +2097,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -2163,7 +2163,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, }, "app root": { @@ -2199,7 +2199,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -2224,7 +2224,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -2249,7 +2249,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2352,7 +2352,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -2377,7 +2377,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -2402,7 +2402,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2480,7 +2480,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -2505,7 +2505,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -2530,7 +2530,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2608,7 +2608,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -2633,7 +2633,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -2658,7 +2658,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2739,7 +2739,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -2764,7 +2764,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2830,7 +2830,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, }, "Mocha": { @@ -2864,7 +2864,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, [Circular], { @@ -2890,7 +2890,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -2955,7 +2955,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, }, "NTest": { @@ -2989,7 +2989,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3014,7 +3014,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -3080,7 +3080,7 @@ exports[`loadConfig should load a config from a root 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, }, }, @@ -3118,7 +3118,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3143,7 +3143,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3168,7 +3168,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3243,7 +3243,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3268,7 +3268,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3293,7 +3293,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3369,7 +3369,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3394,7 +3394,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3419,7 +3419,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3497,7 +3497,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3522,7 +3522,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3547,7 +3547,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3622,7 +3622,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3647,7 +3647,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3672,7 +3672,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3748,7 +3748,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3773,7 +3773,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -3798,7 +3798,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -3879,7 +3879,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -3904,7 +3904,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -3970,7 +3970,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "tasks": [ { @@ -4004,7 +4004,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -4029,7 +4029,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -4095,7 +4095,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "task": "NTest", }, @@ -4132,7 +4132,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -4157,7 +4157,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -4223,7 +4223,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, "tasks": [ { @@ -4257,7 +4257,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -4282,7 +4282,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -4348,7 +4348,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, "task": "Eslint", }, @@ -4385,7 +4385,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -4410,7 +4410,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -4476,7 +4476,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "tasks": [ { @@ -4510,7 +4510,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -4535,7 +4535,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -4601,7 +4601,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "task": "NTest", }, @@ -4639,7 +4639,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -4664,7 +4664,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -4689,7 +4689,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -4764,7 +4764,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -4789,7 +4789,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -4814,7 +4814,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -4892,7 +4892,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -4917,7 +4917,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -4983,7 +4983,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, "@dotcom-tool-kit/mocha": { "children": [], @@ -5014,7 +5014,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, [Circular], { @@ -5040,7 +5040,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5105,7 +5105,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, "@dotcom-tool-kit/n-test": { "children": [], @@ -5136,7 +5136,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -5161,7 +5161,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -5227,7 +5227,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, "app root": { "children": [ @@ -5255,7 +5255,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -5280,7 +5280,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -5305,7 +5305,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5407,7 +5407,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -5432,7 +5432,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -5457,7 +5457,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5535,7 +5535,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -5560,7 +5560,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -5585,7 +5585,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5663,7 +5663,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -5688,7 +5688,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -5713,7 +5713,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5794,7 +5794,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, { "children": [], @@ -5819,7 +5819,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -5885,7 +5885,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, }, "Mocha": { @@ -5919,7 +5919,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, [Circular], { @@ -5945,7 +5945,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, ], "id": "app root", @@ -6010,7 +6010,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, }, "NTest": { @@ -6044,7 +6044,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/eslint", + "root": "plugins/eslint", }, { "children": [], @@ -6069,7 +6069,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/mocha", + "root": "plugins/mocha", }, [Circular], ], @@ -6135,7 +6135,7 @@ exports[`loadConfig should load a config from a root and validate it 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/n-test", + "root": "plugins/n-test", }, }, }, @@ -6179,7 +6179,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -6208,7 +6208,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -6242,7 +6242,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -6325,7 +6325,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -6464,7 +6464,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -6528,7 +6528,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "tasks": [ { @@ -6565,7 +6565,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -6594,7 +6594,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -6628,7 +6628,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -6711,7 +6711,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -6850,7 +6850,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -6914,7 +6914,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "task": "Webpack", }, @@ -6969,7 +6969,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -6999,7 +6999,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -7033,7 +7033,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -7116,7 +7116,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -7255,7 +7255,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -7301,7 +7301,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "tasks": [ { @@ -7353,7 +7353,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -7383,7 +7383,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -7417,7 +7417,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -7500,7 +7500,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -7639,7 +7639,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -7685,7 +7685,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "task": "Babel", }, @@ -7739,7 +7739,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -7769,7 +7769,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -7803,7 +7803,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -7886,7 +7886,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -8025,7 +8025,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -8071,7 +8071,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, }, "build:local": { @@ -8108,7 +8108,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -8137,7 +8137,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -8171,7 +8171,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -8254,7 +8254,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -8393,7 +8393,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -8457,7 +8457,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "tasks": [ { @@ -8494,7 +8494,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -8523,7 +8523,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -8557,7 +8557,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -8640,7 +8640,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -8779,7 +8779,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -8843,7 +8843,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "task": "Webpack", }, @@ -8898,7 +8898,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -8928,7 +8928,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -8962,7 +8962,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -9045,7 +9045,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -9184,7 +9184,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -9230,7 +9230,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "tasks": [ { @@ -9282,7 +9282,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -9312,7 +9312,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -9346,7 +9346,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -9429,7 +9429,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -9568,7 +9568,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -9614,7 +9614,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "task": "Babel", }, @@ -9668,7 +9668,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -9698,7 +9698,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -9732,7 +9732,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -9815,7 +9815,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -9954,7 +9954,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -10000,7 +10000,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, }, "build:remote": { @@ -10037,7 +10037,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -10066,7 +10066,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -10100,7 +10100,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -10183,7 +10183,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -10322,7 +10322,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -10386,7 +10386,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "tasks": [ { @@ -10423,7 +10423,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -10452,7 +10452,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -10486,7 +10486,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -10569,7 +10569,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -10708,7 +10708,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -10772,7 +10772,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "task": "Webpack", }, @@ -10827,7 +10827,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -10857,7 +10857,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -10891,7 +10891,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -10974,7 +10974,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -11113,7 +11113,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -11159,7 +11159,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "tasks": [ { @@ -11211,7 +11211,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -11241,7 +11241,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -11275,7 +11275,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -11358,7 +11358,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -11497,7 +11497,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -11543,7 +11543,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, "task": "Babel", }, @@ -11597,7 +11597,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -11627,7 +11627,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -11661,7 +11661,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -11744,7 +11744,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -11883,7 +11883,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -11929,7 +11929,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, }, "run:local": { @@ -11964,7 +11964,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -11993,7 +11993,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -12027,7 +12027,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -12110,7 +12110,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -12249,7 +12249,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -12313,7 +12313,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "tasks": [ { @@ -12351,7 +12351,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -12380,7 +12380,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -12414,7 +12414,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -12497,7 +12497,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -12636,7 +12636,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -12700,7 +12700,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, "task": "Webpack", }, @@ -12766,7 +12766,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -12792,7 +12792,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -12821,7 +12821,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -12855,7 +12855,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, [Circular], ], @@ -13016,7 +13016,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, "rcFile": { "commands": {}, @@ -13093,7 +13093,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, }, "PackageJson": { @@ -13150,7 +13150,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -13176,7 +13176,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, [Circular], { @@ -13260,7 +13260,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -13399,7 +13399,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -13454,7 +13454,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, "rcFile": { "commands": {}, @@ -13477,7 +13477,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, }, }, @@ -13536,7 +13536,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -13562,7 +13562,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -13591,7 +13591,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -13625,7 +13625,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, [Circular], ], @@ -13786,7 +13786,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, "rcFile": { "commands": {}, @@ -13863,7 +13863,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, }, ], @@ -13921,7 +13921,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -13947,7 +13947,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -13976,7 +13976,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -14010,7 +14010,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, [Circular], ], @@ -14171,7 +14171,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, "rcFile": { "commands": {}, @@ -14248,7 +14248,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, "options": { "cimgNodeVersions": [ @@ -14299,7 +14299,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -14325,7 +14325,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -14354,7 +14354,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -14388,7 +14388,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -14471,7 +14471,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -14610,7 +14610,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -14682,7 +14682,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -14708,7 +14708,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -14737,7 +14737,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -14771,7 +14771,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -14854,7 +14854,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -14993,7 +14993,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -15066,7 +15066,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -15092,7 +15092,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -15121,7 +15121,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -15155,7 +15155,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -15238,7 +15238,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -15377,7 +15377,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -15460,7 +15460,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -15490,7 +15490,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -15524,7 +15524,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -15607,7 +15607,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -15746,7 +15746,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -15792,7 +15792,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, }, "@dotcom-tool-kit/circleci": { @@ -15854,7 +15854,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -15880,7 +15880,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -15909,7 +15909,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -15943,7 +15943,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, [Circular], ], @@ -16104,7 +16104,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, "rcFile": { "commands": {}, @@ -16181,7 +16181,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, }, "@dotcom-tool-kit/circleci-deploy": { @@ -16272,7 +16272,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -16320,7 +16320,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -16346,7 +16346,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -16375,7 +16375,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -16409,7 +16409,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, [Circular], ], @@ -16570,7 +16570,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, }, "@dotcom-tool-kit/npm": { @@ -16607,7 +16607,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -16655,7 +16655,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -16681,7 +16681,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, [Circular], { @@ -16765,7 +16765,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -16904,7 +16904,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -16959,7 +16959,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, }, "@dotcom-tool-kit/package-json-hook": { @@ -17021,7 +17021,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -17047,7 +17047,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, [Circular], { @@ -17131,7 +17131,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -17270,7 +17270,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -17325,7 +17325,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, "rcFile": { "commands": {}, @@ -17348,7 +17348,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, }, "@dotcom-tool-kit/webpack": { @@ -17388,7 +17388,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -17417,7 +17417,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -17451,7 +17451,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -17534,7 +17534,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -17673,7 +17673,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -17737,7 +17737,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, }, "app root": { @@ -17791,7 +17791,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -17817,7 +17817,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -17846,7 +17846,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -17880,7 +17880,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -17963,7 +17963,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -18102,7 +18102,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -18212,7 +18212,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, [Circular], { @@ -18242,7 +18242,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -18276,7 +18276,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -18359,7 +18359,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -18498,7 +18498,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -18544,7 +18544,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, }, "NpmPrune": { @@ -18576,7 +18576,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -18624,7 +18624,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -18650,7 +18650,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, [Circular], { @@ -18734,7 +18734,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -18873,7 +18873,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -18928,7 +18928,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, }, "NpmPublish": { @@ -18960,7 +18960,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -19008,7 +19008,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, { "children": [], @@ -19034,7 +19034,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, [Circular], { @@ -19118,7 +19118,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -19257,7 +19257,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -19312,7 +19312,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, }, "Webpack": { @@ -19347,7 +19347,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/babel", + "root": "plugins/babel", }, { "children": [ @@ -19376,7 +19376,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/package-json-hook", + "root": "plugins/package-json-hook", }, ], "id": "@dotcom-tool-kit/npm", @@ -19410,7 +19410,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/npm", + "root": "plugins/npm", }, { "children": [ @@ -19493,7 +19493,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci", + "root": "plugins/circleci", }, ], "id": "@dotcom-tool-kit/circleci-deploy", @@ -19632,7 +19632,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` "tasks": {}, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/circleci-deploy", + "root": "plugins/circleci-deploy", }, ], "id": "app root", @@ -19696,7 +19696,7 @@ exports[`loadConfig should load an invalid config when not validating 1`] = ` }, "version": 2, }, - "root": "/Users/kara.brightwell/Code/financial-times/dotcom-tool-kit/plugins/webpack", + "root": "plugins/webpack", }, }, }, diff --git a/core/cli/test/config.test.ts b/core/cli/test/config.test.ts index b0cecc43e..2444590f4 100644 --- a/core/cli/test/config.test.ts +++ b/core/cli/test/config.test.ts @@ -3,6 +3,16 @@ import { loadConfig } from '../src/config' import winston, { Logger } from 'winston' import { styles as s } from '@dotcom-tool-kit/logger' +// force resolveRoot to return relative paths for machine-agnostic snapshots +jest.mock('../src/plugin/resolve-root', () => { + const {resolveRoot} = jest.requireActual('../src/plugin/resolve-root') + return { + resolveRoot(id: string, root: string) { + return path.relative(process.cwd(), resolveRoot(id, root)) + } + } +}) + const logger = winston as unknown as Logger describe('loadConfig', () => {