@teambit/bit 2.2.80 → 2.2.82

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/bin/bit CHANGED
@@ -5,6 +5,13 @@
5
5
  // one-component workspace). Location follows NODE_COMPILE_CACHE, else a dir under os.tmpdir().
6
6
  // This is node's own mechanism (>= 22.1), not the `v8-compile-cache` package dropped in 2024
7
7
  // (7a159b374) which patched Module._compile and broke on ESM. BIT_NO_COMPILE_CACHE=1 opts out.
8
+ // libuv runs async fs calls on a thread-pool of 4 threads by default. on macOS (APFS), file create/rename calls are
9
+ // slow, and with 4 threads bit's concurrent object writes (import/export/tag) are effectively serialized: writing 12k
10
+ // object files took ~14s with 4 threads and ~2s with 16. on Linux (ext4), more threads made it slower (same-directory
11
+ // creates/renames serialize on the dir lock), so the libuv default is kept there. it must be set before the pool is
12
+ // first used. a user-provided value wins. child processes inherit it, which is intended (they hit the same APFS cost).
13
+ if (process.platform === 'darwin' && !process.env.UV_THREADPOOL_SIZE) process.env.UV_THREADPOOL_SIZE = '16';
14
+
8
15
  if (!process.env.BIT_NO_COMPILE_CACHE) {
9
16
  try {
10
17
  require('module').enableCompileCache();
package/dist/bin/bit CHANGED
@@ -5,6 +5,13 @@
5
5
  // one-component workspace). Location follows NODE_COMPILE_CACHE, else a dir under os.tmpdir().
6
6
  // This is node's own mechanism (>= 22.1), not the `v8-compile-cache` package dropped in 2024
7
7
  // (7a159b374) which patched Module._compile and broke on ESM. BIT_NO_COMPILE_CACHE=1 opts out.
8
+ // libuv runs async fs calls on a thread-pool of 4 threads by default. on macOS (APFS), file create/rename calls are
9
+ // slow, and with 4 threads bit's concurrent object writes (import/export/tag) are effectively serialized: writing 12k
10
+ // object files took ~14s with 4 threads and ~2s with 16. on Linux (ext4), more threads made it slower (same-directory
11
+ // creates/renames serialize on the dir lock), so the libuv default is kept there. it must be set before the pool is
12
+ // first used. a user-provided value wins. child processes inherit it, which is intended (they hit the same APFS cost).
13
+ if (process.platform === 'darwin' && !process.env.UV_THREADPOOL_SIZE) process.env.UV_THREADPOOL_SIZE = '16';
14
+
8
15
  if (!process.env.BIT_NO_COMPILE_CACHE) {
9
16
  try {
10
17
  require('module').enableCompileCache();
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@2.2.80/dist/bit.compositions.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@2.2.80/dist/bit.docs.js';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@2.2.82/dist/bit.compositions.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_bit@2.2.82/dist/bit.docs.js';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/bit",
3
- "version": "2.2.80",
3
+ "version": "2.2.82",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/bit",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "bit",
9
- "version": "2.2.80"
9
+ "version": "2.2.82"
10
10
  },
11
11
  "dependencies": {
12
12
  "comment-json": "4.2.5",
@@ -45,138 +45,138 @@
45
45
  "@teambit/harmony": "0.4.12",
46
46
  "@teambit/design.ui.brand.logo": "1.96.19",
47
47
  "@teambit/harmony.modules.runtimes": "0.0.1",
48
- "@teambit/legacy.extension-data": "0.0.175",
49
48
  "@teambit/bit.get-bit-version": "0.0.29",
50
- "@teambit/cli": "0.0.1404",
51
49
  "@teambit/legacy.analytics": "0.0.110",
52
50
  "@teambit/legacy.constants": "0.0.46",
53
51
  "@teambit/legacy.loader": "0.0.32",
54
52
  "@teambit/legacy.logger": "0.0.63",
55
53
  "@teambit/bit-error": "0.0.404",
56
- "@teambit/clear-cache": "0.0.613",
57
54
  "@teambit/component-id": "1.2.4",
58
- "@teambit/config": "0.0.1579",
59
55
  "@teambit/legacy-bit-id": "1.1.3",
60
- "@teambit/legacy.bit-map": "0.0.230",
61
- "@teambit/legacy.consumer-component": "0.0.174",
62
- "@teambit/legacy.consumer-config": "0.0.173",
63
- "@teambit/legacy.consumer": "0.0.173",
64
- "@teambit/legacy.scope-api": "0.0.228",
65
56
  "@teambit/scope.modules.find-scope-path": "0.0.48",
66
- "@teambit/workspace.modules.node-modules-linker": "0.0.406",
67
57
  "@teambit/workspace.modules.workspace-locator": "0.0.47",
68
58
  "@teambit/cache": "0.0.1494",
69
- "@teambit/cli-mcp-server": "0.0.272",
70
59
  "@teambit/community": "1.0.829",
71
- "@teambit/config-store": "0.0.285",
72
60
  "@teambit/express": "0.0.1500",
73
- "@teambit/global-config": "0.0.1408",
74
61
  "@teambit/logger": "0.0.1494",
75
62
  "@teambit/mocha": "1.0.919",
76
63
  "@teambit/panels": "0.0.1404",
77
- "@teambit/variants": "0.0.1672",
78
64
  "@teambit/worker": "0.0.1705",
79
65
  "@teambit/ui-foundation.ui.navigation.react-router-adapter": "6.1.3",
80
66
  "@teambit/base-react.navigation.link": "2.0.31",
81
- "@teambit/harmony.content.cli-reference": "2.0.1289",
82
- "@teambit/dependency-resolver": "1.0.1196",
83
- "@teambit/aspect-loader": "1.0.1196",
84
- "@teambit/envs": "1.0.1196",
85
- "@teambit/generator": "1.0.1197",
86
- "@teambit/host-initializer": "0.0.909",
87
- "@teambit/workspace-root": "0.0.22",
88
- "@teambit/api-reference": "1.0.1197",
89
- "@teambit/api-server": "1.0.1230",
90
- "@teambit/application": "1.0.1196",
91
- "@teambit/aspect": "1.0.1196",
92
- "@teambit/babel": "1.0.1196",
93
- "@teambit/builder": "1.0.1196",
94
- "@teambit/bundler": "1.0.1196",
95
- "@teambit/changelog": "1.0.1196",
96
- "@teambit/checkout": "1.0.1198",
97
- "@teambit/ci": "1.0.595",
98
- "@teambit/cloud": "0.0.1498",
99
- "@teambit/code": "1.0.1196",
100
- "@teambit/command-bar": "1.0.1196",
101
- "@teambit/compiler": "1.0.1196",
102
- "@teambit/component-compare": "1.0.1196",
103
- "@teambit/component-log": "1.0.1196",
104
- "@teambit/component-sizer": "1.0.1196",
105
- "@teambit/component-tree": "1.0.1196",
106
- "@teambit/component-writer": "1.0.1196",
107
- "@teambit/component": "1.0.1196",
108
- "@teambit/compositions": "1.0.1196",
109
- "@teambit/config-merger": "0.0.1063",
110
- "@teambit/dependencies": "1.0.1196",
111
- "@teambit/deprecation": "1.0.1196",
112
- "@teambit/dev-files": "1.0.1196",
113
- "@teambit/diagnostic": "1.0.1196",
114
- "@teambit/docs": "1.0.1196",
115
- "@teambit/doctor": "0.0.881",
116
- "@teambit/eject": "1.0.1196",
117
- "@teambit/empty-env": "0.0.111",
118
- "@teambit/env": "1.0.1196",
119
- "@teambit/eslint": "1.0.1196",
120
- "@teambit/export": "1.0.1196",
121
- "@teambit/forking": "1.0.1196",
122
- "@teambit/formatter": "1.0.1196",
123
- "@teambit/git": "1.0.1196",
124
- "@teambit/graph": "1.0.1196",
125
- "@teambit/graphql": "1.0.1196",
126
- "@teambit/harmony-ui-app": "1.0.1196",
127
- "@teambit/importer": "1.0.1196",
128
- "@teambit/insights": "1.0.1197",
129
- "@teambit/install": "1.0.1196",
130
- "@teambit/internalize": "0.0.195",
131
- "@teambit/ipc-events": "1.0.1196",
132
- "@teambit/isolator": "1.0.1196",
133
- "@teambit/issues": "1.0.1196",
134
- "@teambit/jest": "1.0.1196",
135
- "@teambit/lanes": "1.0.1219",
136
- "@teambit/linter": "1.0.1196",
137
- "@teambit/lister": "1.0.1196",
138
- "@teambit/mdx": "1.0.1197",
139
- "@teambit/merge-lanes": "1.0.1219",
140
- "@teambit/merging": "1.0.1200",
141
- "@teambit/mover": "1.0.1196",
142
- "@teambit/multi-compiler": "1.0.1196",
143
- "@teambit/multi-tester": "1.0.1196",
144
- "@teambit/new-component-helper": "1.0.1196",
145
- "@teambit/node": "1.0.1196",
146
- "@teambit/notifications": "1.0.1197",
147
- "@teambit/objects": "0.0.703",
148
- "@teambit/pkg": "1.0.1196",
149
- "@teambit/pnpm": "1.0.1239",
150
- "@teambit/prettier": "1.0.1196",
151
- "@teambit/preview": "1.0.1196",
152
- "@teambit/pubsub": "1.0.1196",
153
- "@teambit/react-router": "1.0.1196",
154
- "@teambit/react": "1.0.1196",
155
- "@teambit/readme": "1.0.1197",
156
- "@teambit/refactoring": "1.0.1196",
157
- "@teambit/remove": "1.0.1196",
158
- "@teambit/renaming": "1.0.1197",
159
- "@teambit/ripple": "0.0.285",
160
- "@teambit/schema": "1.0.1196",
161
- "@teambit/scope": "1.0.1196",
162
- "@teambit/scripts": "0.0.415",
163
- "@teambit/sidebar": "1.0.1196",
164
- "@teambit/snapping": "1.0.1196",
165
- "@teambit/stash": "1.0.1198",
166
- "@teambit/status": "1.0.1223",
167
- "@teambit/tester": "1.0.1196",
168
- "@teambit/tracker": "1.0.1196",
169
- "@teambit/typescript": "1.0.1196",
170
- "@teambit/ui": "1.0.1196",
171
- "@teambit/user-agent": "1.0.1196",
172
- "@teambit/validator": "0.0.433",
173
- "@teambit/version-history": "0.0.988",
174
- "@teambit/vue-aspect": "0.0.562",
175
- "@teambit/watcher": "1.0.1196",
176
- "@teambit/webpack": "1.0.1196",
177
- "@teambit/workspace-config-files": "1.0.1196",
178
- "@teambit/workspace": "1.0.1196",
179
- "@teambit/yarn": "1.0.1197"
67
+ "@teambit/harmony.content.cli-reference": "2.0.1291",
68
+ "@teambit/legacy.extension-data": "0.0.177",
69
+ "@teambit/cli": "0.0.1406",
70
+ "@teambit/dependency-resolver": "1.0.1198",
71
+ "@teambit/aspect-loader": "1.0.1198",
72
+ "@teambit/clear-cache": "0.0.615",
73
+ "@teambit/config": "0.0.1581",
74
+ "@teambit/envs": "1.0.1198",
75
+ "@teambit/generator": "1.0.1199",
76
+ "@teambit/host-initializer": "0.0.911",
77
+ "@teambit/legacy.bit-map": "0.0.232",
78
+ "@teambit/legacy.consumer-component": "0.0.176",
79
+ "@teambit/legacy.consumer-config": "0.0.175",
80
+ "@teambit/legacy.consumer": "0.0.175",
81
+ "@teambit/legacy.scope-api": "0.0.230",
82
+ "@teambit/workspace-root": "0.0.24",
83
+ "@teambit/workspace.modules.node-modules-linker": "0.0.408",
84
+ "@teambit/api-reference": "1.0.1199",
85
+ "@teambit/api-server": "1.0.1232",
86
+ "@teambit/application": "1.0.1198",
87
+ "@teambit/aspect": "1.0.1198",
88
+ "@teambit/babel": "1.0.1198",
89
+ "@teambit/builder": "1.0.1198",
90
+ "@teambit/bundler": "1.0.1198",
91
+ "@teambit/changelog": "1.0.1198",
92
+ "@teambit/checkout": "1.0.1200",
93
+ "@teambit/ci": "1.0.597",
94
+ "@teambit/cli-mcp-server": "0.0.274",
95
+ "@teambit/cloud": "0.0.1500",
96
+ "@teambit/code": "1.0.1198",
97
+ "@teambit/command-bar": "1.0.1198",
98
+ "@teambit/compiler": "1.0.1198",
99
+ "@teambit/component-compare": "1.0.1198",
100
+ "@teambit/component-log": "1.0.1198",
101
+ "@teambit/component-sizer": "1.0.1198",
102
+ "@teambit/component-tree": "1.0.1198",
103
+ "@teambit/component-writer": "1.0.1198",
104
+ "@teambit/component": "1.0.1198",
105
+ "@teambit/compositions": "1.0.1198",
106
+ "@teambit/config-merger": "0.0.1065",
107
+ "@teambit/config-store": "0.0.287",
108
+ "@teambit/dependencies": "1.0.1198",
109
+ "@teambit/deprecation": "1.0.1198",
110
+ "@teambit/dev-files": "1.0.1198",
111
+ "@teambit/diagnostic": "1.0.1198",
112
+ "@teambit/docs": "1.0.1198",
113
+ "@teambit/doctor": "0.0.883",
114
+ "@teambit/eject": "1.0.1198",
115
+ "@teambit/empty-env": "0.0.113",
116
+ "@teambit/env": "1.0.1198",
117
+ "@teambit/eslint": "1.0.1198",
118
+ "@teambit/export": "1.0.1198",
119
+ "@teambit/forking": "1.0.1198",
120
+ "@teambit/formatter": "1.0.1198",
121
+ "@teambit/git": "1.0.1198",
122
+ "@teambit/global-config": "0.0.1410",
123
+ "@teambit/graph": "1.0.1198",
124
+ "@teambit/graphql": "1.0.1198",
125
+ "@teambit/harmony-ui-app": "1.0.1198",
126
+ "@teambit/importer": "1.0.1198",
127
+ "@teambit/insights": "1.0.1199",
128
+ "@teambit/install": "1.0.1198",
129
+ "@teambit/internalize": "0.0.197",
130
+ "@teambit/ipc-events": "1.0.1198",
131
+ "@teambit/isolator": "1.0.1198",
132
+ "@teambit/issues": "1.0.1198",
133
+ "@teambit/jest": "1.0.1198",
134
+ "@teambit/lanes": "1.0.1221",
135
+ "@teambit/linter": "1.0.1198",
136
+ "@teambit/lister": "1.0.1198",
137
+ "@teambit/mdx": "1.0.1199",
138
+ "@teambit/merge-lanes": "1.0.1221",
139
+ "@teambit/merging": "1.0.1202",
140
+ "@teambit/mover": "1.0.1198",
141
+ "@teambit/multi-compiler": "1.0.1198",
142
+ "@teambit/multi-tester": "1.0.1198",
143
+ "@teambit/new-component-helper": "1.0.1198",
144
+ "@teambit/node": "1.0.1198",
145
+ "@teambit/notifications": "1.0.1199",
146
+ "@teambit/objects": "0.0.705",
147
+ "@teambit/pkg": "1.0.1198",
148
+ "@teambit/pnpm": "1.0.1241",
149
+ "@teambit/prettier": "1.0.1198",
150
+ "@teambit/preview": "1.0.1198",
151
+ "@teambit/pubsub": "1.0.1198",
152
+ "@teambit/react-router": "1.0.1198",
153
+ "@teambit/react": "1.0.1198",
154
+ "@teambit/readme": "1.0.1199",
155
+ "@teambit/refactoring": "1.0.1198",
156
+ "@teambit/remove": "1.0.1198",
157
+ "@teambit/renaming": "1.0.1199",
158
+ "@teambit/ripple": "0.0.287",
159
+ "@teambit/schema": "1.0.1198",
160
+ "@teambit/scope": "1.0.1198",
161
+ "@teambit/scripts": "0.0.417",
162
+ "@teambit/sidebar": "1.0.1198",
163
+ "@teambit/snapping": "1.0.1198",
164
+ "@teambit/stash": "1.0.1200",
165
+ "@teambit/status": "1.0.1225",
166
+ "@teambit/tester": "1.0.1198",
167
+ "@teambit/tracker": "1.0.1198",
168
+ "@teambit/typescript": "1.0.1198",
169
+ "@teambit/ui": "1.0.1198",
170
+ "@teambit/user-agent": "1.0.1198",
171
+ "@teambit/validator": "0.0.435",
172
+ "@teambit/variants": "0.0.1674",
173
+ "@teambit/version-history": "0.0.990",
174
+ "@teambit/vue-aspect": "0.0.564",
175
+ "@teambit/watcher": "1.0.1198",
176
+ "@teambit/webpack": "1.0.1198",
177
+ "@teambit/workspace-config-files": "1.0.1198",
178
+ "@teambit/workspace": "1.0.1198",
179
+ "@teambit/yarn": "1.0.1199"
180
180
  },
181
181
  "devDependencies": {
182
182
  "@types/fs-extra": "9.0.7",