dotcom-tool-kit 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/plugin.d.ts.map +1 -1
- package/lib/plugin.js +2 -0
- package/package.json +15 -15
package/lib/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,MAAM,EACN,YAAY,EAIZ,SAAS,EACV,MAAM,wBAAwB,CAAA;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAiB,SAAS,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAmBvE,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC,YAAY,CAAC,CAgDvE;AAoBD,wBAAsB,UAAU,CAC9B,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,MAAM,EACN,YAAY,EAIZ,SAAS,EACV,MAAM,wBAAwB,CAAA;AAG/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAiB,SAAS,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAmBvE,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC,YAAY,CAAC,CAgDvE;AAoBD,wBAAsB,UAAU,CAC9B,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CA8D5B;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAyI9F"}
|
package/lib/plugin.js
CHANGED
|
@@ -105,6 +105,8 @@ async function loadPlugin(id, config, logger, parent) {
|
|
|
105
105
|
const pluginModulePromise = isAppRoot
|
|
106
106
|
? Promise.resolve({ valid: true, value: undefined })
|
|
107
107
|
: importPlugin(pluginRoot);
|
|
108
|
+
// ESlint disable explanation: erroring due to a possible race condition but is a false positive since the plugin variable isn't from another scope and can't be written to concurrently.
|
|
109
|
+
// eslint-disable-next-line require-atomic-updates
|
|
108
110
|
plugin.value.rcFile = await rcFilePromise;
|
|
109
111
|
// start loading child plugins in the background
|
|
110
112
|
const childrenPromise = Promise.all(plugin.value.rcFile.plugins.map((child) => loadPlugin(child, config, logger, plugin.value)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotcom-tool-kit",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "modern, maintainable, modular developer tooling for FT.com projects",
|
|
5
5
|
"author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"test": "cd ../../ ; npx jest --silent --projects core/cli"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@dotcom-tool-kit/babel": "^3.1.
|
|
24
|
-
"@dotcom-tool-kit/backend-heroku-app": "^2.1.
|
|
25
|
-
"@dotcom-tool-kit/circleci": "^5.3.
|
|
26
|
-
"@dotcom-tool-kit/circleci-deploy": "^3.2.
|
|
27
|
-
"@dotcom-tool-kit/eslint": "^3.1.
|
|
28
|
-
"@dotcom-tool-kit/frontend-app": "^3.1.
|
|
29
|
-
"@dotcom-tool-kit/heroku": "^3.
|
|
30
|
-
"@dotcom-tool-kit/mocha": "^3.1.
|
|
31
|
-
"@dotcom-tool-kit/n-test": "^3.2.
|
|
32
|
-
"@dotcom-tool-kit/npm": "^3.1.
|
|
33
|
-
"@dotcom-tool-kit/webpack": "^3.1.
|
|
23
|
+
"@dotcom-tool-kit/babel": "^3.1.4",
|
|
24
|
+
"@dotcom-tool-kit/backend-heroku-app": "^2.1.9",
|
|
25
|
+
"@dotcom-tool-kit/circleci": "^5.3.6",
|
|
26
|
+
"@dotcom-tool-kit/circleci-deploy": "^3.2.6",
|
|
27
|
+
"@dotcom-tool-kit/eslint": "^3.1.4",
|
|
28
|
+
"@dotcom-tool-kit/frontend-app": "^3.1.10",
|
|
29
|
+
"@dotcom-tool-kit/heroku": "^3.3.0",
|
|
30
|
+
"@dotcom-tool-kit/mocha": "^3.1.4",
|
|
31
|
+
"@dotcom-tool-kit/n-test": "^3.2.4",
|
|
32
|
+
"@dotcom-tool-kit/npm": "^3.1.4",
|
|
33
|
+
"@dotcom-tool-kit/webpack": "^3.1.5",
|
|
34
34
|
"@jest/globals": "^27.4.6",
|
|
35
35
|
"@types/lodash": "^4.14.185",
|
|
36
36
|
"@types/node": "^16.18.23",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@dotcom-tool-kit/error": "^3.1.0",
|
|
44
|
-
"@dotcom-tool-kit/logger": "^3.
|
|
45
|
-
"@dotcom-tool-kit/options": "^3.1.
|
|
46
|
-
"@dotcom-tool-kit/types": "^3.
|
|
44
|
+
"@dotcom-tool-kit/logger": "^3.2.0",
|
|
45
|
+
"@dotcom-tool-kit/options": "^3.1.4",
|
|
46
|
+
"@dotcom-tool-kit/types": "^3.4.0",
|
|
47
47
|
"@dotcom-tool-kit/wait-for-ok": "^3.1.0",
|
|
48
48
|
"cosmiconfig": "^7.0.0",
|
|
49
49
|
"lodash": "^4.17.21",
|