Skip to content

Commit c0b7292

Browse files
authored
[Rename] kbn-utility-types in packages directory to osd-utility-types (#39)
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
1 parent 0137573 commit c0b7292

12 files changed

+7
-7
lines changed

packages/kbn-utility-types/README.md packages/osd-utility-types/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# `@kbn/utility-types`
1+
# `@osd/utility-types`
22

3-
TypeScript utility types for usage in Kibana.
3+
TypeScript utility types for usage in OpenSearch Dashboards.
44

55
- This package re-exports a subset of the items in [`utility-types`](https://github.com/piotrwitek/utility-types)
66
- You can also add more utility types here.
@@ -9,7 +9,7 @@ TypeScript utility types for usage in Kibana.
99
## Usage
1010

1111
```ts
12-
import { UnwrapPromise } from '@kbn/utility-types';
12+
import { UnwrapPromise } from '@osd/utility-types';
1313

1414
type A = Promise<string>;
1515
type B = UnwrapPromise<A>; // string
File renamed without changes.

packages/kbn-utility-types/package.json packages/osd-utility-types/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "@kbn/utility-types",
2+
"name": "@osd/utility-types",
33
"version": "1.0.0",
44
"private": true,
55
"license": "Apache-2.0",
66
"main": "target",
77
"types": "target/index.d.ts",
8-
"kibana": {
8+
"opensearchDashboards": {
99
"devOnly": true
1010
},
1111
"scripts": {
1212
"build": "tsc",
13-
"kbn:bootstrap": "tsc",
14-
"kbn:watch": "tsc --watch",
13+
"osd:bootstrap": "tsc",
14+
"osd:watch": "tsc --watch",
1515
"test": "tsd",
1616
"clean": "del target"
1717
},
File renamed without changes.

0 commit comments

Comments
 (0)