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