From 8d523c5f158f7881a66ed6e471076e132f31135a Mon Sep 17 00:00:00 2001 From: Bishoy Boktor <65934617+boktorbb-amzn@users.noreply.github.com> Date: Thu, 4 Mar 2021 14:25:58 -0800 Subject: [PATCH] Rename kbn-expect to osd-expect (#37) (#47) Signed-off-by: Bishoy Boktor --- packages/{kbn-expect => osd-expect}/LICENSE.txt | 0 packages/{kbn-expect => osd-expect}/README.md | 4 ++-- packages/{kbn-expect => osd-expect}/expect.js | 0 packages/{kbn-expect => osd-expect}/expect.js.d.ts | 0 packages/{kbn-expect => osd-expect}/package.json | 4 ++-- packages/{kbn-expect => osd-expect}/tsconfig.json | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) rename packages/{kbn-expect => osd-expect}/LICENSE.txt (100%) rename packages/{kbn-expect => osd-expect}/README.md (98%) rename packages/{kbn-expect => osd-expect}/expect.js (100%) rename packages/{kbn-expect => osd-expect}/expect.js.d.ts (100%) rename packages/{kbn-expect => osd-expect}/package.json (68%) rename packages/{kbn-expect => osd-expect}/tsconfig.json (63%) diff --git a/packages/kbn-expect/LICENSE.txt b/packages/osd-expect/LICENSE.txt similarity index 100% rename from packages/kbn-expect/LICENSE.txt rename to packages/osd-expect/LICENSE.txt diff --git a/packages/kbn-expect/README.md b/packages/osd-expect/README.md similarity index 98% rename from packages/kbn-expect/README.md rename to packages/osd-expect/README.md index 51cf5bcf2ee5..628cb7702b80 100644 --- a/packages/kbn-expect/README.md +++ b/packages/osd-expect/README.md @@ -1,6 +1,6 @@ > NOTE: This is a local fork of https://github.com/Automattic/expect.js -# @kbn/expect +# @osd/expect Minimalistic BDD assertion toolkit based on [should.js](http://github.com/visionmedia/should.js) @@ -17,7 +17,7 @@ expect(window).not.to.be.an(Image); - Cross-browser: works on IE6+, Firefox, Safari, Chrome, Opera. - Compatible with all test frameworks. -- Node.JS ready (`require('@kbn/expect')`). +- Node.JS ready (`require('@osd/expect')`). ## API diff --git a/packages/kbn-expect/expect.js b/packages/osd-expect/expect.js similarity index 100% rename from packages/kbn-expect/expect.js rename to packages/osd-expect/expect.js diff --git a/packages/kbn-expect/expect.js.d.ts b/packages/osd-expect/expect.js.d.ts similarity index 100% rename from packages/kbn-expect/expect.js.d.ts rename to packages/osd-expect/expect.js.d.ts diff --git a/packages/kbn-expect/package.json b/packages/osd-expect/package.json similarity index 68% rename from packages/kbn-expect/package.json rename to packages/osd-expect/package.json index 8ca37c7c8867..8b9eff017cbe 100644 --- a/packages/kbn-expect/package.json +++ b/packages/osd-expect/package.json @@ -1,10 +1,10 @@ { - "name": "@kbn/expect", + "name": "@osd/expect", "main": "./expect.js", "version": "1.0.0", "license": "MIT", "private": true, - "kibana": { + "opensearchDashboards": { "devOnly": true } } diff --git a/packages/kbn-expect/tsconfig.json b/packages/osd-expect/tsconfig.json similarity index 63% rename from packages/kbn-expect/tsconfig.json rename to packages/osd-expect/tsconfig.json index ae7e9ff090cc..52e026cc9a58 100644 --- a/packages/kbn-expect/tsconfig.json +++ b/packages/osd-expect/tsconfig.json @@ -1,9 +1,9 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "tsBuildInfoFile": "../../build/tsbuildinfo/packages/kbn-expect" + "tsBuildInfoFile": "../../build/tsbuildinfo/packages/osd-expect" }, "include": [ "expect.js.d.ts" ] -} +} \ No newline at end of file