@teambit/bit 1.3.15 → 1.3.17

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/dist/app.js CHANGED
@@ -36,20 +36,8 @@ process.on('uncaughtException', err => {
36
36
  console.error('uncaughtException', err);
37
37
  process.exit(1);
38
38
  });
39
- // to activate this on demand, run in the terminal "kill -USR2 <pid>".
40
- // eslint-disable-next-line @typescript-eslint/no-unused-vars, import/order
41
- const heapdump = require('heapdump');
42
-
43
39
  // Enable v8 compile cache, keep this before other imports
44
40
  _toolboxPerformance().nativeCompileCache === null || _toolboxPerformance().nativeCompileCache === void 0 || _toolboxPerformance().nativeCompileCache.install();
45
- // eslint-disable-next-line
46
- if (process.env.SCOPE_NAME && process.env.HEAPDUMP_PATH) {
47
- process.on('SIGUSR2', function () {
48
- // eslint-disable-next-line
49
- heapdump.writeSnapshot(`${process.env.HEAPDUMP_PATH}/${process.env.SCOPE_NAME}` + Date.now() + '.heapsnapshot');
50
- });
51
- }
52
-
53
41
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
54
42
  initApp();
55
43
  async function initApp() {
package/dist/app.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["_toolboxPerformance","data","require","_bootstrap","_handleErrors","_loadBit","process","on","err","console","error","exit","heapdump","nativeCompileCache","install","env","SCOPE_NAME","HEAPDUMP_PATH","writeSnapshot","Date","now","initApp","bootstrap","runCLI","originalError","handleErrorAndExit","argv"],"sources":["app.ts"],"sourcesContent":["/* eslint-disable import/no-dynamic-require */\n/* eslint-disable import/first */\nprocess.on('uncaughtException', (err) => {\n // eslint-disable-next-line no-console\n console.error('uncaughtException', err);\n process.exit(1);\n});\n\nimport { nativeCompileCache } from '@teambit/toolbox.performance.v8-cache';\n\n// to activate this on demand, run in the terminal \"kill -USR2 <pid>\".\n// eslint-disable-next-line @typescript-eslint/no-unused-vars, import/order\nconst heapdump = require('heapdump');\n\n// Enable v8 compile cache, keep this before other imports\nnativeCompileCache?.install();\n\nimport './hook-require';\nimport { bootstrap } from '@teambit/legacy/dist/bootstrap';\nimport { handleErrorAndExit } from '@teambit/legacy/dist/cli/handle-errors';\nimport { runCLI } from './load-bit';\n\n// eslint-disable-next-line\nif (process.env.SCOPE_NAME && process.env.HEAPDUMP_PATH) {\n process.on('SIGUSR2', function () {\n // eslint-disable-next-line\n heapdump.writeSnapshot(`${process.env.HEAPDUMP_PATH}/${process.env.SCOPE_NAME}` + Date.now() + '.heapsnapshot');\n });\n}\n\n// eslint-disable-next-line @typescript-eslint/no-floating-promises\ninitApp();\n\nasync function initApp() {\n try {\n await bootstrap();\n // registerCoreExtensions();\n // const harmony = await Harmony.load([ConfigExt], {});\n await runCLI();\n } catch (err: any) {\n const originalError = err.originalError || err;\n await handleErrorAndExit(originalError, process.argv[2]);\n }\n}\n"],"mappings":";;AAQA,SAAAA,oBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,mBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASAC,OAAA;AACA,SAAAC,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,SAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,QAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AApBA;AACA;AACAK,OAAO,CAACC,EAAE,CAAC,mBAAmB,EAAGC,GAAG,IAAK;EACvC;EACAC,OAAO,CAACC,KAAK,CAAC,mBAAmB,EAAEF,GAAG,CAAC;EACvCF,OAAO,CAACK,IAAI,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC;AAIF;AACA;AACA,MAAMC,QAAQ,GAAGV,OAAO,CAAC,UAAU,CAAC;;AAEpC;AACAW,wCAAkB,aAAlBA,wCAAkB,eAAlBA,wCAAkB,CAAEC,OAAO,CAAC,CAAC;AAO7B;AACA,IAAIR,OAAO,CAACS,GAAG,CAACC,UAAU,IAAIV,OAAO,CAACS,GAAG,CAACE,aAAa,EAAE;EACvDX,OAAO,CAACC,EAAE,CAAC,SAAS,EAAE,YAAY;IAChC;IACAK,QAAQ,CAACM,aAAa,CAAE,GAAEZ,OAAO,CAACS,GAAG,CAACE,aAAc,IAAGX,OAAO,CAACS,GAAG,CAACC,UAAW,EAAC,GAAGG,IAAI,CAACC,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;EACjH,CAAC,CAAC;AACJ;;AAEA;AACAC,OAAO,CAAC,CAAC;AAET,eAAeA,OAAOA,CAAA,EAAG;EACvB,IAAI;IACF,MAAM,IAAAC,sBAAS,EAAC,CAAC;IACjB;IACA;IACA,MAAM,IAAAC,iBAAM,EAAC,CAAC;EAChB,CAAC,CAAC,OAAOf,GAAQ,EAAE;IACjB,MAAMgB,aAAa,GAAGhB,GAAG,CAACgB,aAAa,IAAIhB,GAAG;IAC9C,MAAM,IAAAiB,kCAAkB,EAACD,aAAa,EAAElB,OAAO,CAACoB,IAAI,CAAC,CAAC,CAAC,CAAC;EAC1D;AACF"}
1
+ {"version":3,"names":["_toolboxPerformance","data","require","_bootstrap","_handleErrors","_loadBit","process","on","err","console","error","exit","nativeCompileCache","install","initApp","bootstrap","runCLI","originalError","handleErrorAndExit","argv"],"sources":["app.ts"],"sourcesContent":["/* eslint-disable import/no-dynamic-require */\n/* eslint-disable import/first */\nprocess.on('uncaughtException', (err) => {\n // eslint-disable-next-line no-console\n console.error('uncaughtException', err);\n process.exit(1);\n});\n\nimport { nativeCompileCache } from '@teambit/toolbox.performance.v8-cache';\n\n// Enable v8 compile cache, keep this before other imports\nnativeCompileCache?.install();\n\nimport './hook-require';\nimport { bootstrap } from '@teambit/legacy/dist/bootstrap';\nimport { handleErrorAndExit } from '@teambit/legacy/dist/cli/handle-errors';\nimport { runCLI } from './load-bit';\n\n// eslint-disable-next-line @typescript-eslint/no-floating-promises\ninitApp();\n\nasync function initApp() {\n try {\n await bootstrap();\n // registerCoreExtensions();\n // const harmony = await Harmony.load([ConfigExt], {});\n await runCLI();\n } catch (err: any) {\n const originalError = err.originalError || err;\n await handleErrorAndExit(originalError, process.argv[2]);\n }\n}\n"],"mappings":";;AAQA,SAAAA,oBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,mBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKAC,OAAA;AACA,SAAAC,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,cAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,aAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,SAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,QAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAhBA;AACA;AACAK,OAAO,CAACC,EAAE,CAAC,mBAAmB,EAAGC,GAAG,IAAK;EACvC;EACAC,OAAO,CAACC,KAAK,CAAC,mBAAmB,EAAEF,GAAG,CAAC;EACvCF,OAAO,CAACK,IAAI,CAAC,CAAC,CAAC;AACjB,CAAC,CAAC;AAIF;AACAC,wCAAkB,aAAlBA,wCAAkB,eAAlBA,wCAAkB,CAAEC,OAAO,CAAC,CAAC;AAO7B;AACAC,OAAO,CAAC,CAAC;AAET,eAAeA,OAAOA,CAAA,EAAG;EACvB,IAAI;IACF,MAAM,IAAAC,sBAAS,EAAC,CAAC;IACjB;IACA;IACA,MAAM,IAAAC,iBAAM,EAAC,CAAC;EAChB,CAAC,CAAC,OAAOR,GAAQ,EAAE;IACjB,MAAMS,aAAa,GAAGT,GAAG,CAACS,aAAa,IAAIT,GAAG;IAC9C,MAAM,IAAAU,kCAAkB,EAACD,aAAa,EAAEX,OAAO,CAACa,IAAI,CAAC,CAAC,CAAC,CAAC;EAC1D;AACF"}
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.3.15/dist/bit.compositions.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.3.15/dist/bit.docs.js';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.3.17/dist/bit.compositions.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_bit@1.3.17/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,15 +1,14 @@
1
1
  {
2
2
  "name": "@teambit/bit",
3
- "version": "1.3.15",
3
+ "version": "1.3.17",
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": "1.3.15"
9
+ "version": "1.3.17"
10
10
  },
11
11
  "dependencies": {
12
- "heapdump": "0.3.15",
13
12
  "comment-json": "3.0.3",
14
13
  "fs-extra": "10.0.0",
15
14
  "semver": "7.5.2",
@@ -29,7 +28,7 @@
29
28
  "@yarnpkg/plugin-pack": "3.2.0",
30
29
  "@yarnpkg/core": "3.5.2",
31
30
  "@yarnpkg/cli": "3.6.1",
32
- "@teambit/legacy": "1.0.593",
31
+ "@teambit/legacy": "1.0.595",
33
32
  "@apollo/client": "3.6.9",
34
33
  "@babel/runtime": "7.20.0",
35
34
  "@teambit/harmony": "0.4.6",
@@ -38,111 +37,111 @@
38
37
  "@teambit/ui-foundation.ui.navigation.react-router-adapter": "6.1.1",
39
38
  "@teambit/base-react.navigation.link": "2.0.27",
40
39
  "@teambit/toolbox.performance.v8-cache": "0.0.31",
41
- "@teambit/cli": "0.0.810",
42
- "@teambit/aspect-loader": "1.0.46",
43
- "@teambit/clear-cache": "0.0.366",
44
- "@teambit/config": "0.0.826",
40
+ "@teambit/cli": "0.0.812",
41
+ "@teambit/aspect-loader": "1.0.48",
42
+ "@teambit/clear-cache": "0.0.368",
43
+ "@teambit/config": "0.0.828",
45
44
  "@teambit/workspace.modules.node-modules-linker": "0.0.149",
46
- "@teambit/api-reference": "1.0.46",
47
- "@teambit/api-server": "1.0.46",
48
- "@teambit/application": "1.0.46",
49
- "@teambit/aspect": "1.0.46",
50
- "@teambit/babel": "1.0.46",
51
- "@teambit/bit-custom-aspect": "1.0.46",
52
- "@teambit/builder": "1.0.46",
53
- "@teambit/bundler": "1.0.46",
54
- "@teambit/cache": "0.0.903",
55
- "@teambit/changelog": "1.0.46",
56
- "@teambit/checkout": "1.0.46",
57
- "@teambit/cloud": "0.0.358",
58
- "@teambit/code": "1.0.46",
59
- "@teambit/command-bar": "1.0.46",
60
- "@teambit/community": "1.0.46",
61
- "@teambit/compiler": "1.0.46",
62
- "@teambit/component-compare": "1.0.46",
63
- "@teambit/component-log": "1.0.46",
64
- "@teambit/component-sizer": "1.0.46",
65
- "@teambit/component-tree": "1.0.46",
66
- "@teambit/component-writer": "1.0.46",
67
- "@teambit/component": "1.0.46",
68
- "@teambit/compositions": "1.0.46",
69
- "@teambit/dependencies": "1.0.46",
70
- "@teambit/dependency-resolver": "1.0.46",
71
- "@teambit/deprecation": "1.0.46",
72
- "@teambit/dev-files": "1.0.46",
73
- "@teambit/diagnostic": "1.0.46",
74
- "@teambit/docs": "1.0.46",
75
- "@teambit/eject": "1.0.46",
76
- "@teambit/elements": "1.0.46",
77
- "@teambit/env": "1.0.46",
78
- "@teambit/envs": "1.0.46",
79
- "@teambit/eslint": "1.0.46",
80
- "@teambit/export": "1.0.46",
81
- "@teambit/express": "0.0.909",
82
- "@teambit/forking": "1.0.46",
83
- "@teambit/formatter": "1.0.46",
84
- "@teambit/generator": "1.0.47",
85
- "@teambit/git": "1.0.46",
86
- "@teambit/global-config": "0.0.812",
87
- "@teambit/graph": "1.0.46",
88
- "@teambit/graphql": "1.0.46",
89
- "@teambit/harmony-ui-app": "1.0.46",
90
- "@teambit/html": "1.0.46",
91
- "@teambit/importer": "1.0.46",
92
- "@teambit/insights": "1.0.46",
93
- "@teambit/install": "1.0.46",
94
- "@teambit/ipc-events": "1.0.46",
95
- "@teambit/isolator": "1.0.46",
96
- "@teambit/issues": "1.0.46",
97
- "@teambit/jest": "1.0.46",
98
- "@teambit/lanes": "1.0.46",
99
- "@teambit/linter": "1.0.46",
100
- "@teambit/lister": "1.0.46",
101
- "@teambit/logger": "0.0.903",
102
- "@teambit/mdx": "1.0.46",
103
- "@teambit/merge-lanes": "1.0.46",
104
- "@teambit/merging": "1.0.46",
105
- "@teambit/mocha": "1.0.46",
106
- "@teambit/mover": "1.0.46",
107
- "@teambit/multi-compiler": "1.0.46",
108
- "@teambit/multi-tester": "1.0.46",
109
- "@teambit/new-component-helper": "1.0.46",
110
- "@teambit/node": "1.0.46",
111
- "@teambit/notifications": "1.0.46",
112
- "@teambit/panels": "0.0.811",
113
- "@teambit/pkg": "1.0.46",
114
- "@teambit/pnpm": "1.0.46",
115
- "@teambit/prettier": "1.0.46",
116
- "@teambit/preview": "1.0.46",
117
- "@teambit/pubsub": "1.0.46",
118
- "@teambit/react-elements": "1.0.46",
119
- "@teambit/react-native": "1.0.46",
120
- "@teambit/react-router": "1.0.46",
121
- "@teambit/react": "1.0.46",
122
- "@teambit/readme": "1.0.46",
123
- "@teambit/refactoring": "1.0.46",
124
- "@teambit/remove": "1.0.46",
125
- "@teambit/renaming": "1.0.46",
126
- "@teambit/schema": "1.0.46",
127
- "@teambit/scope": "1.0.46",
128
- "@teambit/sidebar": "1.0.46",
129
- "@teambit/sign": "1.0.46",
130
- "@teambit/snapping": "1.0.46",
131
- "@teambit/stash": "1.0.46",
132
- "@teambit/status": "1.0.46",
133
- "@teambit/tester": "1.0.46",
134
- "@teambit/tracker": "1.0.46",
135
- "@teambit/typescript": "1.0.46",
136
- "@teambit/ui": "1.0.46",
137
- "@teambit/update-dependencies": "1.0.46",
138
- "@teambit/user-agent": "1.0.46",
139
- "@teambit/variants": "0.0.919",
140
- "@teambit/watcher": "1.0.46",
141
- "@teambit/webpack": "1.0.46",
142
- "@teambit/worker": "0.0.1114",
143
- "@teambit/workspace-config-files": "1.0.46",
144
- "@teambit/workspace": "1.0.46",
145
- "@teambit/yarn": "1.0.46"
45
+ "@teambit/api-reference": "1.0.48",
46
+ "@teambit/api-server": "1.0.48",
47
+ "@teambit/application": "1.0.48",
48
+ "@teambit/aspect": "1.0.48",
49
+ "@teambit/babel": "1.0.48",
50
+ "@teambit/bit-custom-aspect": "1.0.48",
51
+ "@teambit/builder": "1.0.48",
52
+ "@teambit/bundler": "1.0.48",
53
+ "@teambit/cache": "0.0.905",
54
+ "@teambit/changelog": "1.0.48",
55
+ "@teambit/checkout": "1.0.48",
56
+ "@teambit/cloud": "0.0.360",
57
+ "@teambit/code": "1.0.48",
58
+ "@teambit/command-bar": "1.0.48",
59
+ "@teambit/community": "1.0.48",
60
+ "@teambit/compiler": "1.0.48",
61
+ "@teambit/component-compare": "1.0.48",
62
+ "@teambit/component-log": "1.0.48",
63
+ "@teambit/component-sizer": "1.0.48",
64
+ "@teambit/component-tree": "1.0.48",
65
+ "@teambit/component-writer": "1.0.48",
66
+ "@teambit/component": "1.0.48",
67
+ "@teambit/compositions": "1.0.48",
68
+ "@teambit/dependencies": "1.0.48",
69
+ "@teambit/dependency-resolver": "1.0.48",
70
+ "@teambit/deprecation": "1.0.48",
71
+ "@teambit/dev-files": "1.0.48",
72
+ "@teambit/diagnostic": "1.0.48",
73
+ "@teambit/docs": "1.0.48",
74
+ "@teambit/eject": "1.0.48",
75
+ "@teambit/elements": "1.0.48",
76
+ "@teambit/env": "1.0.48",
77
+ "@teambit/envs": "1.0.48",
78
+ "@teambit/eslint": "1.0.48",
79
+ "@teambit/export": "1.0.48",
80
+ "@teambit/express": "0.0.911",
81
+ "@teambit/forking": "1.0.48",
82
+ "@teambit/formatter": "1.0.48",
83
+ "@teambit/generator": "1.0.49",
84
+ "@teambit/git": "1.0.48",
85
+ "@teambit/global-config": "0.0.814",
86
+ "@teambit/graph": "1.0.48",
87
+ "@teambit/graphql": "1.0.48",
88
+ "@teambit/harmony-ui-app": "1.0.48",
89
+ "@teambit/html": "1.0.48",
90
+ "@teambit/importer": "1.0.48",
91
+ "@teambit/insights": "1.0.48",
92
+ "@teambit/install": "1.0.48",
93
+ "@teambit/ipc-events": "1.0.48",
94
+ "@teambit/isolator": "1.0.48",
95
+ "@teambit/issues": "1.0.48",
96
+ "@teambit/jest": "1.0.48",
97
+ "@teambit/lanes": "1.0.48",
98
+ "@teambit/linter": "1.0.48",
99
+ "@teambit/lister": "1.0.48",
100
+ "@teambit/logger": "0.0.905",
101
+ "@teambit/mdx": "1.0.48",
102
+ "@teambit/merge-lanes": "1.0.48",
103
+ "@teambit/merging": "1.0.48",
104
+ "@teambit/mocha": "1.0.48",
105
+ "@teambit/mover": "1.0.48",
106
+ "@teambit/multi-compiler": "1.0.48",
107
+ "@teambit/multi-tester": "1.0.48",
108
+ "@teambit/new-component-helper": "1.0.48",
109
+ "@teambit/node": "1.0.48",
110
+ "@teambit/notifications": "1.0.48",
111
+ "@teambit/panels": "0.0.813",
112
+ "@teambit/pkg": "1.0.48",
113
+ "@teambit/pnpm": "1.0.48",
114
+ "@teambit/prettier": "1.0.48",
115
+ "@teambit/preview": "1.0.48",
116
+ "@teambit/pubsub": "1.0.48",
117
+ "@teambit/react-elements": "1.0.48",
118
+ "@teambit/react-native": "1.0.48",
119
+ "@teambit/react-router": "1.0.48",
120
+ "@teambit/react": "1.0.48",
121
+ "@teambit/readme": "1.0.48",
122
+ "@teambit/refactoring": "1.0.48",
123
+ "@teambit/remove": "1.0.48",
124
+ "@teambit/renaming": "1.0.48",
125
+ "@teambit/schema": "1.0.48",
126
+ "@teambit/scope": "1.0.48",
127
+ "@teambit/sidebar": "1.0.48",
128
+ "@teambit/sign": "1.0.48",
129
+ "@teambit/snapping": "1.0.48",
130
+ "@teambit/stash": "1.0.48",
131
+ "@teambit/status": "1.0.48",
132
+ "@teambit/tester": "1.0.48",
133
+ "@teambit/tracker": "1.0.48",
134
+ "@teambit/typescript": "1.0.48",
135
+ "@teambit/ui": "1.0.48",
136
+ "@teambit/update-dependencies": "1.0.48",
137
+ "@teambit/user-agent": "1.0.48",
138
+ "@teambit/variants": "0.0.921",
139
+ "@teambit/watcher": "1.0.48",
140
+ "@teambit/webpack": "1.0.48",
141
+ "@teambit/worker": "0.0.1116",
142
+ "@teambit/workspace-config-files": "1.0.48",
143
+ "@teambit/workspace": "1.0.48",
144
+ "@teambit/yarn": "1.0.48"
146
145
  },
147
146
  "devDependencies": {
148
147
  "@types/react": "^17.0.8",
@@ -156,7 +155,7 @@
156
155
  "@teambit/bit.content.what-is-bit": "1.96.2"
157
156
  },
158
157
  "peerDependencies": {
159
- "@teambit/legacy": "1.0.593"
158
+ "@teambit/legacy": "1.0.595"
160
159
  },
161
160
  "license": "Apache-2.0",
162
161
  "packageManagerPublishArgs": [