@storybook/telemetry 7.0.0-alpha.13 → 7.0.0-alpha.18

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.
@@ -193,7 +193,8 @@ const getStorybookMetadata = async _configDir => {
193
193
  const {
194
194
  packageJson = {}
195
195
  } = _readPkgUp.default.sync({
196
- cwd: process.cwd()
196
+ cwd: process.cwd(),
197
+ normalize: false
197
198
  }) || {};
198
199
  const configDir = (_configDir || (0, _coreCommon.getStorybookConfiguration)((packageJson === null || packageJson === void 0 ? void 0 : (_packageJson$scripts = packageJson.scripts) === null || _packageJson$scripts === void 0 ? void 0 : _packageJson$scripts.storybook) || '', '-c', '--config-dir')) ?? '.storybook';
199
200
  const mainConfig = (0, _coreCommon.loadMainConfig)({
@@ -170,7 +170,8 @@ export const getStorybookMetadata = async _configDir => {
170
170
  const {
171
171
  packageJson = {}
172
172
  } = readPkgUp.sync({
173
- cwd: process.cwd()
173
+ cwd: process.cwd(),
174
+ normalize: false
174
175
  }) || {};
175
176
  const configDir = (_configDir || getStorybookConfiguration(packageJson?.scripts?.storybook || '', '-c', '--config-dir')) ?? '.storybook';
176
177
  const mainConfig = loadMainConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/telemetry",
3
- "version": "7.0.0-alpha.13",
3
+ "version": "7.0.0-alpha.18",
4
4
  "description": "Telemetry logging for crash reports and usage statistics",
5
5
  "keywords": [
6
6
  "storybook"
@@ -31,11 +31,11 @@
31
31
  ],
32
32
  "scripts": {
33
33
  "check": "tsc --noEmit",
34
- "prepare": "node ../../scripts/prepare.js"
34
+ "prepare": "node ../../../scripts/prepare.js"
35
35
  },
36
36
  "dependencies": {
37
- "@storybook/client-logger": "7.0.0-alpha.13",
38
- "@storybook/core-common": "7.0.0-alpha.13",
37
+ "@storybook/client-logger": "7.0.0-alpha.18",
38
+ "@storybook/core-common": "7.0.0-alpha.18",
39
39
  "chalk": "^4.1.0",
40
40
  "core-js": "^3.8.2",
41
41
  "detect-package-manager": "^2.0.1",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "9ac4d2e0a05eb945713a0e6689abc3b12359e181"
55
+ "gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
56
56
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2017 Kadira Inc. <hello@kadira.io>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.