@teambit/config 0.0.773 → 0.0.774

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * this is the main configuration file of your bit workspace.
3
- * for full documentation, please see: https://bit.dev/docs/workspace/workspace-configuration
3
+ * for full documentation, please see: https://bit.dev/reference/workspace/workspace-json
4
4
  **/
5
5
  {
6
6
  "$schema": "https://static.bit.dev/teambit/schemas/schema.json",
@@ -32,7 +32,9 @@
32
32
  /**
33
33
  * default scope for all components in workspace.
34
34
  **/
35
- "defaultScope": "my-scope"
35
+ "defaultScope": "my-scope",
36
+ "resolveAspectsFromNodeModules": true,
37
+ "resolveEnvsFromRoots": true
36
38
  },
37
39
 
38
40
  /**
@@ -55,7 +57,7 @@
55
57
  * workspace. this is extremely useful for upgrading, aligning and building components with a new
56
58
  * set of dependencies. a rule can be a directory or a component-id/namespace, in which case,
57
59
  * wrap the rule with curly brackets (e.g. `"{ui/*}": {}`)
58
- * see https://bit.dev/docs/workspace/variants for more info.
60
+ * see https://bit.dev/reference/workspace/variants for more info.
59
61
  **/
60
62
  "teambit.workspace/variants": {
61
63
  /**
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/config",
3
- "version": "0.0.773",
3
+ "version": "0.0.774",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/config",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "config",
9
- "version": "0.0.773"
9
+ "version": "0.0.774"
10
10
  },
11
11
  "dependencies": {
12
12
  "comment-json": "3.0.3",
@@ -16,7 +16,7 @@
16
16
  "core-js": "^3.0.0",
17
17
  "@babel/runtime": "7.20.0",
18
18
  "@teambit/harmony": "0.4.6",
19
- "@teambit/cli": "0.0.759",
19
+ "@teambit/cli": "0.0.760",
20
20
  "@teambit/bit-error": "0.0.402"
21
21
  },
22
22
  "devDependencies": {
@@ -30,7 +30,7 @@
30
30
  "@types/testing-library__jest-dom": "5.9.5"
31
31
  },
32
32
  "peerDependencies": {
33
- "@teambit/legacy": "1.0.542",
33
+ "@teambit/legacy": "1.0.544",
34
34
  "react": "^16.8.0 || ^17.0.0",
35
35
  "react-dom": "^16.8.0 || ^17.0.0"
36
36
  },
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * this is the main configuration file of your bit workspace.
3
- * for full documentation, please see: https://bit.dev/docs/workspace/workspace-configuration
3
+ * for full documentation, please see: https://bit.dev/reference/workspace/workspace-json
4
4
  **/
5
5
  {
6
6
  "$schema": "https://static.bit.dev/teambit/schemas/schema.json",
@@ -32,7 +32,9 @@
32
32
  /**
33
33
  * default scope for all components in workspace.
34
34
  **/
35
- "defaultScope": "my-scope"
35
+ "defaultScope": "my-scope",
36
+ "resolveAspectsFromNodeModules": true,
37
+ "resolveEnvsFromRoots": true
36
38
  },
37
39
 
38
40
  /**
@@ -55,7 +57,7 @@
55
57
  * workspace. this is extremely useful for upgrading, aligning and building components with a new
56
58
  * set of dependencies. a rule can be a directory or a component-id/namespace, in which case,
57
59
  * wrap the rule with curly brackets (e.g. `"{ui/*}": {}`)
58
- * see https://bit.dev/docs/workspace/variants for more info.
60
+ * see https://bit.dev/reference/workspace/variants for more info.
59
61
  **/
60
62
  "teambit.workspace/variants": {
61
63
  /**