From d0d584a93423d231270704d14878afe19cf3f925 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Wed, 22 Jan 2020 12:09:32 +0100 Subject: [PATCH] refactor(@embark/core): move console source out of lib folder --- packages/core/console/package.json | 4 ++-- packages/core/console/src/{lib => }/index.ts | 0 packages/core/console/test/console.spec.js | 2 +- packages/core/console/tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename packages/core/console/src/{lib => }/index.ts (100%) diff --git a/packages/core/console/package.json b/packages/core/console/package.json index 7786b06e3..976bc7dba 100644 --- a/packages/core/console/package.json +++ b/packages/core/console/package.json @@ -24,8 +24,8 @@ "type": "git", "url": "https://github.com/embarklabs/embark.git" }, - "main": "./dist/lib/index.js", - "types": "./dist/lib/index.d.ts", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "embark-collective": { "build:node": true, "typecheck": true diff --git a/packages/core/console/src/lib/index.ts b/packages/core/console/src/index.ts similarity index 100% rename from packages/core/console/src/lib/index.ts rename to packages/core/console/src/index.ts diff --git a/packages/core/console/test/console.spec.js b/packages/core/console/test/console.spec.js index 4d7389845..9f59c0a02 100644 --- a/packages/core/console/test/console.spec.js +++ b/packages/core/console/test/console.spec.js @@ -1,7 +1,7 @@ /*globals describe, it*/ import assert from 'assert'; import { fakeEmbark } from 'embark-testing'; -import Console from '../src/lib'; +import Console from '../src'; import { version } from '../package.json'; // Due to our `DAPP_PATH` dependency in `embark-utils` `dappPath()`, we need to diff --git a/packages/core/console/tsconfig.json b/packages/core/console/tsconfig.json index f9c7ff106..f19019181 100644 --- a/packages/core/console/tsconfig.json +++ b/packages/core/console/tsconfig.json @@ -7,7 +7,7 @@ }, "extends": "../../../tsconfig.base.json", "include": [ - "src/lib/**/*" + "src/**/*" ], "references": [ {