diff --git a/.bitmap b/.bitmap index ede8e01e6da5..95c9881d2599 100644 --- a/.bitmap +++ b/.bitmap @@ -21,21 +21,39 @@ "scope": "teambit.api-reference", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/api-reference/api-reference" + "rootDir": "scopes/api-reference/api-reference", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "api-server": { "name": "api-server", "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/api-server" + "rootDir": "scopes/harmony/api-server", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "application": { "name": "application", "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/application" + "rootDir": "scopes/harmony/application", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "array/duplications-finder": { "name": "array/duplications-finder", @@ -49,7 +67,13 @@ "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/aspect" + "rootDir": "scopes/harmony/aspect", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "aspect-docs/babel": { "name": "aspect-docs/babel", @@ -203,14 +227,26 @@ "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/aspect-loader" + "rootDir": "scopes/harmony/aspect-loader", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "babel": { "name": "babel", "scope": "teambit.compilation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/compilation/babel" + "rootDir": "scopes/compilation/babel", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "babel/bit-react-transformer": { "name": "babel/bit-react-transformer", @@ -224,7 +260,13 @@ "scope": "teambit.harmony", "version": "1.8.69", "mainFile": "index.ts", - "rootDir": "scopes/harmony/bit" + "rootDir": "scopes/harmony/bit", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "bit-map": { "name": "bit-map", @@ -238,7 +280,13 @@ "scope": "teambit.pipelines", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/pipelines/builder" + "rootDir": "scopes/pipelines/builder", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "builder-data": { "name": "builder-data", @@ -252,42 +300,78 @@ "scope": "teambit.compilation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/compilation/bundler" + "rootDir": "scopes/compilation/bundler", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "cache": { "name": "cache", "scope": "teambit.harmony", "version": "0.0.1088", "mainFile": "index.ts", - "rootDir": "scopes/harmony/cache" + "rootDir": "scopes/harmony/cache", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "changelog": { "name": "changelog", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/changelog" + "rootDir": "scopes/component/changelog", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "checkout": { "name": "checkout", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/checkout" + "rootDir": "scopes/component/checkout", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "clear-cache": { "name": "clear-cache", "scope": "teambit.workspace", "version": "0.0.413", "mainFile": "index.ts", - "rootDir": "scopes/workspace/clear-cache" + "rootDir": "scopes/workspace/clear-cache", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "cli": { "name": "cli", "scope": "teambit.harmony", "version": "0.0.995", "mainFile": "index.ts", - "rootDir": "scopes/harmony/cli" + "rootDir": "scopes/harmony/cli", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "cli-table": { "name": "cli-table", @@ -315,56 +399,104 @@ "scope": "teambit.cloud", "version": "0.0.694", "mainFile": "index.ts", - "rootDir": "scopes/cloud/cloud" + "rootDir": "scopes/cloud/cloud", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "code": { "name": "code", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/code" + "rootDir": "scopes/component/code", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "command-bar": { "name": "command-bar", "scope": "teambit.explorer", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/explorer/command-bar" + "rootDir": "scopes/explorer/command-bar", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "community": { "name": "community", "scope": "teambit.community", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/community/community" + "rootDir": "scopes/community/community", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "compiler": { "name": "compiler", "scope": "teambit.compilation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/compilation/compiler" + "rootDir": "scopes/compilation/compiler", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component": { "name": "component", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component" + "rootDir": "scopes/component/component", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-compare": { "name": "component-compare", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component-compare" + "rootDir": "scopes/component/component-compare", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-descriptor": { "name": "component-descriptor", "scope": "teambit.component", "version": "0.0.425", "mainFile": "index.ts", - "rootDir": "scopes/component/component-descriptor" + "rootDir": "scopes/component/component-descriptor", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-diff": { "name": "component-diff", @@ -392,7 +524,13 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component-log" + "rootDir": "scopes/component/component-log", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-package-version": { "name": "component-package-version", @@ -406,21 +544,39 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component-sizer" + "rootDir": "scopes/component/component-sizer", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-tree": { "name": "component-tree", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component-tree" + "rootDir": "scopes/component/component-tree", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "component-writer": { "name": "component-writer", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/component-writer" + "rootDir": "scopes/component/component-writer", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "composition-card": { "name": "composition-card", @@ -434,21 +590,39 @@ "scope": "teambit.compositions", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/compositions/compositions" + "rootDir": "scopes/compositions/compositions", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "config": { "name": "config", "scope": "teambit.harmony", "version": "0.0.1169", "mainFile": "index.ts", - "rootDir": "scopes/harmony/config" + "rootDir": "scopes/harmony/config", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "config-merger": { "name": "config-merger", "scope": "teambit.workspace", "version": "0.0.285", "mainFile": "index.ts", - "rootDir": "scopes/workspace/config-merger" + "rootDir": "scopes/workspace/config-merger", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "content/cli-reference": { "name": "content/cli-reference", @@ -469,42 +643,78 @@ "scope": "teambit.dependencies", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/dependencies/dependencies" + "rootDir": "scopes/dependencies/dependencies", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "dependency-resolver": { "name": "dependency-resolver", "scope": "teambit.dependencies", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/dependencies/dependency-resolver" + "rootDir": "scopes/dependencies/dependency-resolver", + "config": { + "teambit.harmony/envs/core-aspect-env-jest@0.0.37": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env-jest" + } + } }, "deprecation": { "name": "deprecation", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/deprecation" + "rootDir": "scopes/component/deprecation", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "dev-files": { "name": "dev-files", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/dev-files" + "rootDir": "scopes/component/dev-files", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "diagnostic": { "name": "diagnostic", "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/diagnostic" + "rootDir": "scopes/harmony/diagnostic", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "docs": { "name": "docs", "scope": "teambit.docs", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/docs/docs" + "rootDir": "scopes/docs/docs", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "doctor": { "name": "doctor", @@ -518,7 +728,13 @@ "scope": "teambit.workspace", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/workspace/eject" + "rootDir": "scopes/workspace/eject", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "entities/lane-diff": { "name": "entities/lane-diff", @@ -539,21 +755,39 @@ "scope": "teambit.envs", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/envs/env" + "rootDir": "scopes/envs/env", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "envs": { "name": "envs", "scope": "teambit.envs", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/envs/envs" + "rootDir": "scopes/envs/envs", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "eslint": { "name": "eslint", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/eslint" + "rootDir": "scopes/defender/eslint", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "eslint-config-bit-react": { "name": "eslint-config-bit-react", @@ -581,28 +815,52 @@ "scope": "teambit.scope", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/scope/export" + "rootDir": "scopes/scope/export", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "express": { "name": "express", "scope": "teambit.harmony", "version": "0.0.1094", "mainFile": "index.ts", - "rootDir": "scopes/harmony/express" + "rootDir": "scopes/harmony/express", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "forking": { "name": "forking", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/forking" + "rootDir": "scopes/component/forking", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "formatter": { "name": "formatter", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/formatter" + "rootDir": "scopes/defender/formatter", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "fs/extension-getter": { "name": "fs/extension-getter", @@ -658,7 +916,13 @@ "scope": "teambit.generator", "version": "1.0.419", "mainFile": "index.ts", - "rootDir": "scopes/generator/generator" + "rootDir": "scopes/generator/generator", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "get-bit-version": { "name": "get-bit-version", @@ -672,35 +936,65 @@ "scope": "teambit.git", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/git/git" + "rootDir": "scopes/git/git", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "global-config": { "name": "global-config", "scope": "teambit.harmony", "version": "0.0.998", "mainFile": "index.ts", - "rootDir": "scopes/harmony/global-config" + "rootDir": "scopes/harmony/global-config", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "graph": { "name": "graph", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/graph" + "rootDir": "scopes/component/graph", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "graphql": { "name": "graphql", "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/graphql" + "rootDir": "scopes/harmony/graphql", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "harmony-ui-app": { "name": "harmony-ui-app", "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/harmony-ui-app/harmony-ui-app" + "rootDir": "scopes/ui-foundation/harmony-ui-app/harmony-ui-app", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "hooks/use-api": { "name": "hooks/use-api", @@ -791,56 +1085,104 @@ "scope": "teambit.scope", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/scope/importer" + "rootDir": "scopes/scope/importer", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "insights": { "name": "insights", "scope": "teambit.explorer", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/explorer/insights" + "rootDir": "scopes/explorer/insights", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "install": { "name": "install", "scope": "teambit.workspace", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/workspace/install" + "rootDir": "scopes/workspace/install", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "ipc-events": { "name": "ipc-events", "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/ipc-events" + "rootDir": "scopes/harmony/ipc-events", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "isolator": { "name": "isolator", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/isolator" + "rootDir": "scopes/component/isolator", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "issues": { "name": "issues", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/issues" + "rootDir": "scopes/component/issues", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "jest": { "name": "jest", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/jest" + "rootDir": "scopes/defender/jest", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "lanes": { "name": "lanes", "scope": "teambit.lanes", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/lanes/lanes" + "rootDir": "scopes/lanes/lanes", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "legacy-component-log": { "name": "legacy-component-log", @@ -854,21 +1196,39 @@ "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/linter" + "rootDir": "scopes/defender/linter", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "lister": { "name": "lister", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/lister" + "rootDir": "scopes/component/lister", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "logger": { "name": "logger", "scope": "teambit.harmony", "version": "0.0.1088", "mainFile": "index.ts", - "rootDir": "scopes/harmony/logger" + "rootDir": "scopes/harmony/logger", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "mdx": { "name": "mdx", @@ -882,21 +1242,39 @@ "scope": "teambit.lanes", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/lanes/merge-lanes" + "rootDir": "scopes/lanes/merge-lanes", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "merging": { "name": "merging", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/merging" + "rootDir": "scopes/component/merging", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "mocha": { "name": "mocha", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/mocha" + "rootDir": "scopes/defender/mocha", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "model/composition-id": { "name": "model/composition-id", @@ -1162,21 +1540,39 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/mover" + "rootDir": "scopes/component/mover", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "multi-compiler": { "name": "multi-compiler", "scope": "teambit.compilation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/compilation/multi-compiler" + "rootDir": "scopes/compilation/multi-compiler", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "multi-tester": { "name": "multi-tester", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/multi-tester" + "rootDir": "scopes/defender/multi-tester", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "network/get-port": { "name": "network/get-port", @@ -1190,7 +1586,13 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/new-component-helper" + "rootDir": "scopes/component/new-component-helper", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "node": { "name": "node", @@ -1204,7 +1606,13 @@ "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/notifications/aspect" + "rootDir": "scopes/ui-foundation/notifications/aspect", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "overview/api-reference-table-of-contents": { "name": "overview/api-reference-table-of-contents", @@ -1225,7 +1633,13 @@ "scope": "teambit.ui-foundation", "version": "0.0.997", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/panels" + "rootDir": "scopes/ui-foundation/panels", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "panels/composition-gallery": { "name": "panels/composition-gallery", @@ -1274,7 +1688,13 @@ "scope": "teambit.pkg", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/pkg/pkg" + "rootDir": "scopes/pkg/pkg", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "plugins/inject-head-webpack-plugin": { "name": "plugins/inject-head-webpack-plugin", @@ -1288,14 +1708,26 @@ "scope": "teambit.dependencies", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/dependencies/pnpm" + "rootDir": "scopes/dependencies/pnpm", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "prettier": { "name": "prettier", "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/prettier" + "rootDir": "scopes/defender/prettier", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "prettier/config-mutator": { "name": "prettier/config-mutator", @@ -1309,7 +1741,13 @@ "scope": "teambit.preview", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/preview/preview" + "rootDir": "scopes/preview/preview", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "promise/map-pool": { "name": "promise/map-pool", @@ -1323,7 +1761,13 @@ "scope": "teambit.harmony", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/harmony/pubsub" + "rootDir": "scopes/harmony/pubsub", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "react": { "name": "react", @@ -1337,14 +1781,26 @@ "scope": "teambit.react", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/react/react-native" + "rootDir": "scopes/react/react-native", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "react-router": { "name": "react-router", "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/react-router/react-router" + "rootDir": "scopes/ui-foundation/react-router/react-router", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "readme": { "name": "readme", @@ -1358,21 +1814,39 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/refactoring" + "rootDir": "scopes/component/refactoring", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "remove": { "name": "remove", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/remove" + "rootDir": "scopes/component/remove", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "renaming": { "name": "renaming", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/renaming" + "rootDir": "scopes/component/renaming", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "renderers/api-node-details": { "name": "renderers/api-node-details", @@ -1526,14 +2000,26 @@ "scope": "teambit.semantics", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/semantics/schema" + "rootDir": "scopes/semantics/schema", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "scope": { "name": "scope", "scope": "teambit.scope", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/scope/scope" + "rootDir": "scopes/scope/scope", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "scope-api": { "name": "scope-api", @@ -1561,21 +2047,39 @@ "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/sidebar" + "rootDir": "scopes/ui-foundation/sidebar", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "sign": { "name": "sign", "scope": "teambit.scope", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/scope/sign" + "rootDir": "scopes/scope/sign", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "snapping": { "name": "snapping", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/snapping" + "rootDir": "scopes/component/snapping", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "sources": { "name": "sources", @@ -1589,14 +2093,26 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/stash" + "rootDir": "scopes/component/stash", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "status": { "name": "status", "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/status" + "rootDir": "scopes/component/status", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "string/capitalize": { "name": "string/capitalize", @@ -1652,7 +2168,13 @@ "scope": "teambit.defender", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/defender/tester" + "rootDir": "scopes/defender/tester", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "testing/load-aspect": { "name": "testing/load-aspect", @@ -1694,7 +2216,13 @@ "scope": "teambit.component", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/component/tracker" + "rootDir": "scopes/component/tracker", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "ts-server": { "name": "ts-server", @@ -1715,14 +2243,26 @@ "scope": "teambit.typescript", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/typescript/typescript" + "rootDir": "scopes/typescript/typescript", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "ui": { "name": "ui", "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/ui" + "rootDir": "scopes/ui-foundation/ui", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "ui/aspect-box": { "name": "ui/aspect-box", @@ -2086,7 +2626,13 @@ "scope": "teambit.scope", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/scope/update-dependencies" + "rootDir": "scopes/scope/update-dependencies", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "url/add-avatar-query-params": { "name": "url/add-avatar-query-params", @@ -2107,7 +2653,13 @@ "scope": "teambit.ui-foundation", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/ui-foundation/user-agent" + "rootDir": "scopes/ui-foundation/user-agent", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "utils": { "name": "utils", @@ -2163,56 +2715,104 @@ "scope": "teambit.workspace", "version": "0.0.1262", "mainFile": "index.ts", - "rootDir": "scopes/workspace/variants" + "rootDir": "scopes/workspace/variants", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "version-history": { "name": "version-history", "scope": "teambit.scope", "version": "0.0.210", "mainFile": "index.ts", - "rootDir": "scopes/scope/version-history" + "rootDir": "scopes/scope/version-history", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "watcher": { "name": "watcher", "scope": "teambit.workspace", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/workspace/watcher" + "rootDir": "scopes/workspace/watcher", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "webpack": { "name": "webpack", "scope": "teambit.webpack", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/webpack/webpack" + "rootDir": "scopes/webpack/webpack", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "worker": { "name": "worker", "scope": "teambit.harmony", "version": "0.0.1299", "mainFile": "index.ts", - "rootDir": "scopes/harmony/worker" + "rootDir": "scopes/harmony/worker", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "workspace": { "name": "workspace", "scope": "teambit.workspace", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/workspace/workspace" + "rootDir": "scopes/workspace/workspace", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "workspace-config-files": { "name": "workspace-config-files", "scope": "teambit.workspace", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/workspace/workspace-config-files" + "rootDir": "scopes/workspace/workspace-config-files", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "yarn": { "name": "yarn", "scope": "teambit.dependencies", "version": "1.0.418", "mainFile": "index.ts", - "rootDir": "scopes/dependencies/yarn" + "rootDir": "scopes/dependencies/yarn", + "config": { + "teambit.harmony/envs/core-aspect-env@0.0.60": {}, + "teambit.envs/envs": { + "env": "teambit.harmony/envs/core-aspect-env" + } + } }, "$schema-version": "17.0.0" -} \ No newline at end of file +} diff --git a/.circleci/config.yml b/.circleci/config.yml index a6d9f17deffe..812a0435f60e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -461,7 +461,7 @@ jobs: - restore_cache: key: bitsrc-registry10 - restore_cache: - key: core-aspect-env-v0.0.59-v1 + key: core-aspect-env-v0.0.60-v1 - run: echo $BIT_FEATURES - run: node -v - run: npm -v @@ -491,7 +491,7 @@ jobs: name: bbit install command: cd bit && bbit install - save_cache: - key: core-aspect-env-v0.0.59-v1 + key: core-aspect-env-v0.0.60-v1 paths: - /home/circleci/Library/Caches/Bit/capsules/caec9a107 - run: cd bit && npm run link-bit-legacy @@ -537,7 +537,7 @@ jobs: - restore_cache: key: v3-linux-bvm-folder-{{ checksum "version.txt" }} - restore_cache: - key: core-aspect-env-v0.0.59-v1 + key: core-aspect-env-v0.0.60-v1 # - update_ssh_agent # temporary, check if we can remove it - run: cd bit && bit cc @@ -574,7 +574,7 @@ jobs: - restore_cache: key: v3-linux-bvm-folder-{{ checksum "version.txt" }} - restore_cache: - key: core-aspect-env-v0.0.59-v1 + key: core-aspect-env-v0.0.60-v1 - bit_config: env: "hub" - restore_cache: @@ -887,7 +887,7 @@ jobs: - restore_cache: key: bitsrc-registry10 - restore_cache: - key: core-aspect-env-v0.0.59-v1 + key: core-aspect-env-v0.0.60-v1 - run: npm view @teambit/bit version > ./version.txt - restore_cache: key: v3-linux-bvm-folder-{{ checksum "version.txt" }} diff --git a/components/crypto/sha1/sha1.ts b/components/crypto/sha1/sha1.ts index 99d6829dabba..5806059a1141 100644 --- a/components/crypto/sha1/sha1.ts +++ b/components/crypto/sha1/sha1.ts @@ -9,5 +9,6 @@ import * as crypto from 'crypto'; */ // @ts-ignore todo: fix after deleting teambit.legacy export function sha1(data: string | Buffer, encoding: crypto.BinaryToTextEncoding = 'hex'): string { + // @ts-ignore should be fixed after upgrading @types/node from '12.20.4' to > 20. return crypto.createHash('sha1').update(data).digest(encoding); } diff --git a/components/renderers/api-node-details/api-node-details.tsx b/components/renderers/api-node-details/api-node-details.tsx index b6610f89aea2..eff3bdd65cb6 100644 --- a/components/renderers/api-node-details/api-node-details.tsx +++ b/components/renderers/api-node-details/api-node-details.tsx @@ -77,8 +77,7 @@ export function APINodeDetails({ const example = (doc?.tags || []).find((tag) => tag.tagName === 'example'); const comment = - doc?.comment ?? - doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + doc?.comment ?? doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); const linkComment = doc?.tags?.find((tag) => tag.tagName === 'link')?.comment; let linkPlaceholder: string | undefined; diff --git a/components/renderers/class/class.renderer.tsx b/components/renderers/class/class.renderer.tsx index 1d4d0b9fb1ab..182988f195c2 100644 --- a/components/renderers/class/class.renderer.tsx +++ b/components/renderers/class/class.renderer.tsx @@ -72,8 +72,7 @@ function ClassOverviewComponent(props: APINodeRenderProps) { const icon = renderer.icon; const description = - doc?.comment ?? - doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + doc?.comment ?? doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); return ( tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + doc?.comment ?? doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); return ( tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + doc?.comment ?? doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); return ( tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + api?.doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); return (
diff --git a/components/renderers/type-literal/type-literal.renderer.tsx b/components/renderers/type-literal/type-literal.renderer.tsx index 9484beb9182a..e24297d0de7f 100644 --- a/components/renderers/type-literal/type-literal.renderer.tsx +++ b/components/renderers/type-literal/type-literal.renderer.tsx @@ -48,8 +48,7 @@ function TypeLiteralOverviewComponent(props: APINodeRenderProps) { const icon = renderer.icon; const description = - doc?.comment ?? - doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n` ?? ''), ''); + doc?.comment ?? doc?.tags?.filter((tag) => tag.comment).reduce((acc, tag) => acc.concat(`${tag.comment}\n`), ''); return ( { helper.scopeHelper.destroy(); diff --git a/scopes/component/checkout/checkout-version.ts b/scopes/component/checkout/checkout-version.ts index 414d9b4c3e8c..c4da11031ed7 100644 --- a/scopes/component/checkout/checkout-version.ts +++ b/scopes/component/checkout/checkout-version.ts @@ -107,6 +107,7 @@ export async function applyVersion( export function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent) { files.forEach((file) => { const fileFromFs = componentFromFS?.files.find((f) => f.relative === file.relative); + // @ts-ignore should be fixed after upgrading @types/node from '12.20.4' to > 20 const areFilesEqual = fileFromFs && Buffer.compare(fileFromFs.contents, file.contents) === 0; // @ts-ignore filesStatus[pathNormalizeToLinux(file.relative)] = areFilesEqual ? FileStatus.unchanged : FileStatus.updated; diff --git a/scopes/defender/tester/test.cmd.ts b/scopes/defender/tester/test.cmd.ts index 8b326655eb25..03038d8dee4c 100644 --- a/scopes/defender/tester/test.cmd.ts +++ b/scopes/defender/tester/test.cmd.ts @@ -121,7 +121,7 @@ otherwise, only new and modified components will be tested`); updateSnapshot, }); if (tests.hasErrors()) code = 1; - if (process.exitCode && process.exitCode !== 0) { + if (process.exitCode && process.exitCode !== 0 && typeof process.exitCode === 'number') { // this is needed for testers such as "vitest", where it sets the exitCode to non zero when the coverage is not met. code = process.exitCode; } diff --git a/scopes/toolbox/performance/v8-cache/file-system-blob-store.ts b/scopes/toolbox/performance/v8-cache/file-system-blob-store.ts index d5318f77a6c6..3ab79a1448a7 100644 --- a/scopes/toolbox/performance/v8-cache/file-system-blob-store.ts +++ b/scopes/toolbox/performance/v8-cache/file-system-blob-store.ts @@ -125,6 +125,7 @@ export class FileSystemBlobStore { save(): boolean { const dump = this._getDump(); + // @ts-ignore should be fixed after upgrading @types/node from '12.20.4' to > 20 const blobToStore = Buffer.concat(dump[0]); const mapToStore = JSON.stringify(dump[1]); @@ -137,6 +138,7 @@ export class FileSystemBlobStore { } try { + // @ts-ignore should be fixed after upgrading @types/node from '12.20.4' to > 20 writeFileSync(this._blobFilename, blobToStore); writeFileSync(this._mapFilename, mapToStore); } finally { diff --git a/scopes/workspace/config-merger/component-config-merger.ts b/scopes/workspace/config-merger/component-config-merger.ts index df85725e2120..cb8b60d2b39c 100644 --- a/scopes/workspace/config-merger/component-config-merger.ts +++ b/scopes/workspace/config-merger/component-config-merger.ts @@ -136,13 +136,13 @@ export class ComponentConfigMerger { // exist in other but not in current and base, so it got created on other. return { id, mergedConfig: this.getConfig(otherExt) }; }); - const envResult = [this.envStrategy()] || []; + const envResult = this.envStrategy(); this.logger.debug(`*** end config-merger for ${this.compIdStr} ***\n`); return new ConfigMergeResult( this.compIdStr, this.currentLabel, this.otherLabel, - compact([...results, ...otherAspectsNotHandledResults, ...envResult]) + compact([...results, ...otherAspectsNotHandledResults, envResult]) ); }