@storybook/telemetry 6.5.0 → 6.5.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.
|
@@ -43,6 +43,8 @@ var getMonorepoType = function getMonorepoType() {
|
|
|
43
43
|
return monorepoType;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
if (!_fsExtra.default.existsSync(_path.default.join(projectRootPath, 'package.json'))) return undefined;
|
|
47
|
+
|
|
46
48
|
var packageJson = _fsExtra.default.readJsonSync(_path.default.join(projectRootPath, 'package.json'));
|
|
47
49
|
|
|
48
50
|
if (packageJson !== null && packageJson !== void 0 && packageJson.workspaces) {
|
|
@@ -24,6 +24,7 @@ export var getMonorepoType = function getMonorepoType() {
|
|
|
24
24
|
return monorepoType;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
if (!fs.existsSync(path.join(projectRootPath, 'package.json'))) return undefined;
|
|
27
28
|
var packageJson = fs.readJsonSync(path.join(projectRootPath, 'package.json'));
|
|
28
29
|
|
|
29
30
|
if (packageJson !== null && packageJson !== void 0 && packageJson.workspaces) {
|
|
@@ -20,6 +20,7 @@ export const getMonorepoType = () => {
|
|
|
20
20
|
return monorepoType;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
if (!fs.existsSync(path.join(projectRootPath, 'package.json'))) return undefined;
|
|
23
24
|
const packageJson = fs.readJsonSync(path.join(projectRootPath, 'package.json'));
|
|
24
25
|
|
|
25
26
|
if (packageJson !== null && packageJson !== void 0 && packageJson.workspaces) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/telemetry",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.2",
|
|
4
4
|
"description": "Telemetry logging for crash reports and usage statistics",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"prepare": "node ../../scripts/prepare.js"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@storybook/client-logger": "6.5.
|
|
44
|
-
"@storybook/core-common": "6.5.
|
|
43
|
+
"@storybook/client-logger": "6.5.2",
|
|
44
|
+
"@storybook/core-common": "6.5.2",
|
|
45
45
|
"chalk": "^4.1.0",
|
|
46
46
|
"core-js": "^3.8.2",
|
|
47
47
|
"detect-package-manager": "^2.0.1",
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "08d672feb1bae54cd61a9a9d7170da45fb5c19ce",
|
|
60
60
|
"sbmodern": "dist/modern/index.js"
|
|
61
61
|
}
|