Share uuid
Summary: Expose uuid from flipper-common as it is required in multiple packages Reviewed By: lblasa Differential Revision: D36441889 fbshipit-source-id: 1fa539cb437976dbefe7d5d9a52e5e098a6402a7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
88bc3110a5
commit
0f038218f8
@@ -8,8 +8,12 @@
|
||||
"types": "lib/index.d.ts",
|
||||
"license": "MIT",
|
||||
"bugs": "https://github.com/facebook/flipper/issues",
|
||||
"dependencies": {},
|
||||
"devDependencies": {},
|
||||
"dependencies": {
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/uuid": "^8.3.4"
|
||||
},
|
||||
"peerDependencies": {},
|
||||
"scripts": {
|
||||
"reset": "rimraf lib *.tsbuildinfo",
|
||||
|
||||
@@ -52,6 +52,7 @@ export {
|
||||
} from './utils/errors';
|
||||
export {createControlledPromise} from './utils/controlledPromise';
|
||||
export * from './utils/typeUtils';
|
||||
export * from './utils/uuid';
|
||||
export * from './GK';
|
||||
export * from './clientUtils';
|
||||
export * from './settings';
|
||||
|
||||
10
desktop/flipper-common/src/utils/uuid.tsx
Normal file
10
desktop/flipper-common/src/utils/uuid.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
export {v4 as uuid} from 'uuid';
|
||||
Reference in New Issue
Block a user