From 8cf458b129cb84bb13ed1b88574f5cbfa78a26a2 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 7 Sep 2019 11:27:08 -0400 Subject: [PATCH] chore(@embark/): move more packages to their logical folders, remove embark- prefix (#1882) --- packages/embark-deploy-tracker/tsconfig.json | 4 ---- packages/embark-deploy-tracker/tslint.json | 3 --- packages/embark-plugin-cmd/tsconfig.json | 4 ---- packages/embark-plugin-cmd/tslint.json | 3 --- packages/embark-scaffolding/tsconfig.json | 5 ----- packages/embark-scaffolding/tslint.json | 4 ---- packages/embark-test-runner/tsconfig.json | 4 ---- packages/embark-test-runner/tslint.json | 3 --- packages/embark-watcher/tsconfig.json | 5 ----- packages/embark-watcher/tslint.json | 4 ---- packages/embark-web3/tsconfig.json | 4 ---- packages/embark-web3/tslint.json | 3 --- packages/embark-webserver/tsconfig.json | 4 ---- packages/embark-webserver/tslint.json | 3 --- .../{embark-deploy-tracker => plugins/deploy-tracker}/.npmrc | 0 .../deploy-tracker}/CHANGELOG.md | 0 .../deploy-tracker}/README.md | 0 .../deploy-tracker}/package.json | 2 +- .../deploy-tracker}/src/deploymentChecks.js | 0 .../deploy-tracker}/src/index.js | 0 .../deploy-tracker}/src/test/deploymentChecksSpec.js | 0 .../deploy-tracker}/src/test/trackingFunctionsSpec.js | 0 .../deploy-tracker}/src/trackingFunctions.js | 0 packages/plugins/deploy-tracker/tsconfig.json | 4 ++++ packages/plugins/deploy-tracker/tslint.json | 3 +++ packages/{embark-mocha-tests => plugins/mocha-tests}/.npmrc | 0 .../{embark-mocha-tests => plugins/mocha-tests}/README.md | 0 .../{embark-mocha-tests => plugins/mocha-tests}/package.json | 2 +- .../mocha-tests}/src/lib/index.js | 0 .../mocha-tests}/src/lib/reporter.js | 0 .../mocha-tests}/src/test/mocha_tests_test.js | 0 .../{embark-plugin-cmd => plugins/plugin-cmd}/CHANGELOG.md | 0 packages/{embark-plugin-cmd => plugins/plugin-cmd}/README.md | 0 .../{embark-plugin-cmd => plugins/plugin-cmd}/package.json | 2 +- .../{embark-plugin-cmd => plugins/plugin-cmd}/src/index.js | 0 packages/plugins/plugin-cmd/tsconfig.json | 4 ++++ packages/plugins/plugin-cmd/tslint.json | 3 +++ packages/{embark-scaffolding => plugins/scaffolding}/.npmrc | 0 .../{embark-scaffolding => plugins/scaffolding}/CHANGELOG.md | 0 .../{embark-scaffolding => plugins/scaffolding}/README.md | 0 .../{embark-scaffolding => plugins/scaffolding}/package.json | 0 .../scaffolding}/src/builder.ts | 0 .../scaffolding}/src/commandOptions.ts | 0 .../src/contractLanguage/solidityBuilder/index.ts | 0 .../solidityBuilder/templates/contract.sol.hbs | 0 .../scaffolding}/src/framework/reactBuilder/index.ts | 0 .../src/framework/reactBuilder/templates/dapp.js.hbs | 0 .../src/framework/reactBuilder/templates/index.html.hbs | 0 .../scaffolding}/src/handlebarHelpers.ts | 0 .../{embark-scaffolding => plugins/scaffolding}/src/index.ts | 0 .../scaffolding}/src/schema.ts | 0 .../scaffolding}/src/smartContractsRecipe.ts | 0 packages/plugins/scaffolding/tsconfig.json | 5 +++++ packages/plugins/scaffolding/tslint.json | 4 ++++ packages/{embark-web3 => plugins/web3}/CHANGELOG.md | 0 packages/{embark-web3 => plugins/web3}/README.md | 0 packages/{embark-web3 => plugins/web3}/package.json | 2 +- .../web3}/src/contract-artifact.js.ejs | 0 .../web3}/src/embarkjs-contract-artifact.js.ejs | 0 packages/{embark-web3 => plugins/web3}/src/index.js | 0 .../web3}/src/vanilla-contract.js.ejs | 0 packages/{embark-web3 => plugins/web3}/src/web3_init.js.ejs | 0 packages/plugins/web3/tsconfig.json | 4 ++++ packages/plugins/web3/tslint.json | 3 +++ packages/{embark-test-runner => stack/test-runner}/.npmrc | 0 .../{embark-test-runner => stack/test-runner}/CHANGELOG.md | 0 packages/{embark-test-runner => stack/test-runner}/README.md | 0 .../{embark-test-runner => stack/test-runner}/package.json | 2 +- .../test-runner}/src/constants.js | 0 .../{embark-test-runner => stack/test-runner}/src/index.js | 0 .../test-runner}/src/reporter.js | 0 packages/stack/test-runner/tsconfig.json | 4 ++++ packages/stack/test-runner/tslint.json | 3 +++ packages/{embark-watcher => stack/watcher}/.npmrc | 0 packages/{embark-watcher => stack/watcher}/CHANGELOG.md | 0 packages/{embark-watcher => stack/watcher}/README.md | 0 packages/{embark-watcher => stack/watcher}/package.json | 2 +- packages/{embark-watcher => stack/watcher}/src/index.js | 0 packages/stack/watcher/tsconfig.json | 5 +++++ packages/stack/watcher/tslint.json | 4 ++++ packages/{embark-webserver => stack/webserver}/.npmrc | 0 packages/{embark-webserver => stack/webserver}/CHANGELOG.md | 0 packages/{embark-webserver => stack/webserver}/README.md | 0 packages/{embark-webserver => stack/webserver}/package.json | 2 +- packages/{embark-webserver => stack/webserver}/src/index.js | 0 packages/{embark-webserver => stack/webserver}/src/server.js | 0 .../src/templates/embark-building-placeholder.html.ejs | 0 packages/stack/webserver/tsconfig.json | 4 ++++ packages/stack/webserver/tslint.json | 3 +++ 89 files changed, 60 insertions(+), 60 deletions(-) delete mode 100644 packages/embark-deploy-tracker/tsconfig.json delete mode 100644 packages/embark-deploy-tracker/tslint.json delete mode 100644 packages/embark-plugin-cmd/tsconfig.json delete mode 100644 packages/embark-plugin-cmd/tslint.json delete mode 100644 packages/embark-scaffolding/tsconfig.json delete mode 100644 packages/embark-scaffolding/tslint.json delete mode 100644 packages/embark-test-runner/tsconfig.json delete mode 100644 packages/embark-test-runner/tslint.json delete mode 100644 packages/embark-watcher/tsconfig.json delete mode 100644 packages/embark-watcher/tslint.json delete mode 100644 packages/embark-web3/tsconfig.json delete mode 100644 packages/embark-web3/tslint.json delete mode 100644 packages/embark-webserver/tsconfig.json delete mode 100644 packages/embark-webserver/tslint.json rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/.npmrc (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/CHANGELOG.md (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/README.md (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/package.json (98%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/src/deploymentChecks.js (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/src/index.js (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/src/test/deploymentChecksSpec.js (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/src/test/trackingFunctionsSpec.js (100%) rename packages/{embark-deploy-tracker => plugins/deploy-tracker}/src/trackingFunctions.js (100%) create mode 100644 packages/plugins/deploy-tracker/tsconfig.json create mode 100644 packages/plugins/deploy-tracker/tslint.json rename packages/{embark-mocha-tests => plugins/mocha-tests}/.npmrc (100%) rename packages/{embark-mocha-tests => plugins/mocha-tests}/README.md (100%) rename packages/{embark-mocha-tests => plugins/mocha-tests}/package.json (97%) rename packages/{embark-mocha-tests => plugins/mocha-tests}/src/lib/index.js (100%) rename packages/{embark-mocha-tests => plugins/mocha-tests}/src/lib/reporter.js (100%) rename packages/{embark-mocha-tests => plugins/mocha-tests}/src/test/mocha_tests_test.js (100%) rename packages/{embark-plugin-cmd => plugins/plugin-cmd}/CHANGELOG.md (100%) rename packages/{embark-plugin-cmd => plugins/plugin-cmd}/README.md (100%) rename packages/{embark-plugin-cmd => plugins/plugin-cmd}/package.json (97%) rename packages/{embark-plugin-cmd => plugins/plugin-cmd}/src/index.js (100%) create mode 100644 packages/plugins/plugin-cmd/tsconfig.json create mode 100644 packages/plugins/plugin-cmd/tslint.json rename packages/{embark-scaffolding => plugins/scaffolding}/.npmrc (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/CHANGELOG.md (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/README.md (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/package.json (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/builder.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/commandOptions.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/contractLanguage/solidityBuilder/index.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/contractLanguage/solidityBuilder/templates/contract.sol.hbs (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/framework/reactBuilder/index.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/framework/reactBuilder/templates/dapp.js.hbs (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/framework/reactBuilder/templates/index.html.hbs (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/handlebarHelpers.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/index.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/schema.ts (100%) rename packages/{embark-scaffolding => plugins/scaffolding}/src/smartContractsRecipe.ts (100%) create mode 100644 packages/plugins/scaffolding/tsconfig.json create mode 100644 packages/plugins/scaffolding/tslint.json rename packages/{embark-web3 => plugins/web3}/CHANGELOG.md (100%) rename packages/{embark-web3 => plugins/web3}/README.md (100%) rename packages/{embark-web3 => plugins/web3}/package.json (97%) rename packages/{embark-web3 => plugins/web3}/src/contract-artifact.js.ejs (100%) rename packages/{embark-web3 => plugins/web3}/src/embarkjs-contract-artifact.js.ejs (100%) rename packages/{embark-web3 => plugins/web3}/src/index.js (100%) rename packages/{embark-web3 => plugins/web3}/src/vanilla-contract.js.ejs (100%) rename packages/{embark-web3 => plugins/web3}/src/web3_init.js.ejs (100%) create mode 100644 packages/plugins/web3/tsconfig.json create mode 100644 packages/plugins/web3/tslint.json rename packages/{embark-test-runner => stack/test-runner}/.npmrc (100%) rename packages/{embark-test-runner => stack/test-runner}/CHANGELOG.md (100%) rename packages/{embark-test-runner => stack/test-runner}/README.md (100%) rename packages/{embark-test-runner => stack/test-runner}/package.json (98%) rename packages/{embark-test-runner => stack/test-runner}/src/constants.js (100%) rename packages/{embark-test-runner => stack/test-runner}/src/index.js (100%) rename packages/{embark-test-runner => stack/test-runner}/src/reporter.js (100%) create mode 100644 packages/stack/test-runner/tsconfig.json create mode 100644 packages/stack/test-runner/tslint.json rename packages/{embark-watcher => stack/watcher}/.npmrc (100%) rename packages/{embark-watcher => stack/watcher}/CHANGELOG.md (100%) rename packages/{embark-watcher => stack/watcher}/README.md (100%) rename packages/{embark-watcher => stack/watcher}/package.json (97%) rename packages/{embark-watcher => stack/watcher}/src/index.js (100%) create mode 100644 packages/stack/watcher/tsconfig.json create mode 100644 packages/stack/watcher/tslint.json rename packages/{embark-webserver => stack/webserver}/.npmrc (100%) rename packages/{embark-webserver => stack/webserver}/CHANGELOG.md (100%) rename packages/{embark-webserver => stack/webserver}/README.md (100%) rename packages/{embark-webserver => stack/webserver}/package.json (98%) rename packages/{embark-webserver => stack/webserver}/src/index.js (100%) rename packages/{embark-webserver => stack/webserver}/src/server.js (100%) rename packages/{embark-webserver => stack/webserver}/src/templates/embark-building-placeholder.html.ejs (100%) create mode 100644 packages/stack/webserver/tsconfig.json create mode 100644 packages/stack/webserver/tslint.json diff --git a/packages/embark-deploy-tracker/tsconfig.json b/packages/embark-deploy-tracker/tsconfig.json deleted file mode 100644 index 52d43eaaa..000000000 --- a/packages/embark-deploy-tracker/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} diff --git a/packages/embark-deploy-tracker/tslint.json b/packages/embark-deploy-tracker/tslint.json deleted file mode 100644 index 0946f2096..000000000 --- a/packages/embark-deploy-tracker/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tslint.json" -} diff --git a/packages/embark-plugin-cmd/tsconfig.json b/packages/embark-plugin-cmd/tsconfig.json deleted file mode 100644 index 52d43eaaa..000000000 --- a/packages/embark-plugin-cmd/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} diff --git a/packages/embark-plugin-cmd/tslint.json b/packages/embark-plugin-cmd/tslint.json deleted file mode 100644 index 0946f2096..000000000 --- a/packages/embark-plugin-cmd/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tslint.json" -} diff --git a/packages/embark-scaffolding/tsconfig.json b/packages/embark-scaffolding/tsconfig.json deleted file mode 100644 index 19efe6f9f..000000000 --- a/packages/embark-scaffolding/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} - diff --git a/packages/embark-scaffolding/tslint.json b/packages/embark-scaffolding/tslint.json deleted file mode 100644 index 969e536d2..000000000 --- a/packages/embark-scaffolding/tslint.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tslint.json" -} - diff --git a/packages/embark-test-runner/tsconfig.json b/packages/embark-test-runner/tsconfig.json deleted file mode 100644 index 52d43eaaa..000000000 --- a/packages/embark-test-runner/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} diff --git a/packages/embark-test-runner/tslint.json b/packages/embark-test-runner/tslint.json deleted file mode 100644 index 0946f2096..000000000 --- a/packages/embark-test-runner/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tslint.json" -} diff --git a/packages/embark-watcher/tsconfig.json b/packages/embark-watcher/tsconfig.json deleted file mode 100644 index 19efe6f9f..000000000 --- a/packages/embark-watcher/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} - diff --git a/packages/embark-watcher/tslint.json b/packages/embark-watcher/tslint.json deleted file mode 100644 index 969e536d2..000000000 --- a/packages/embark-watcher/tslint.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tslint.json" -} - diff --git a/packages/embark-web3/tsconfig.json b/packages/embark-web3/tsconfig.json deleted file mode 100644 index 52d43eaaa..000000000 --- a/packages/embark-web3/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} diff --git a/packages/embark-web3/tslint.json b/packages/embark-web3/tslint.json deleted file mode 100644 index 0946f2096..000000000 --- a/packages/embark-web3/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tslint.json" -} diff --git a/packages/embark-webserver/tsconfig.json b/packages/embark-webserver/tsconfig.json deleted file mode 100644 index 52d43eaaa..000000000 --- a/packages/embark-webserver/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "include": ["src/**/*"] -} diff --git a/packages/embark-webserver/tslint.json b/packages/embark-webserver/tslint.json deleted file mode 100644 index 0946f2096..000000000 --- a/packages/embark-webserver/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tslint.json" -} diff --git a/packages/embark-deploy-tracker/.npmrc b/packages/plugins/deploy-tracker/.npmrc similarity index 100% rename from packages/embark-deploy-tracker/.npmrc rename to packages/plugins/deploy-tracker/.npmrc diff --git a/packages/embark-deploy-tracker/CHANGELOG.md b/packages/plugins/deploy-tracker/CHANGELOG.md similarity index 100% rename from packages/embark-deploy-tracker/CHANGELOG.md rename to packages/plugins/deploy-tracker/CHANGELOG.md diff --git a/packages/embark-deploy-tracker/README.md b/packages/plugins/deploy-tracker/README.md similarity index 100% rename from packages/embark-deploy-tracker/README.md rename to packages/plugins/deploy-tracker/README.md diff --git a/packages/embark-deploy-tracker/package.json b/packages/plugins/deploy-tracker/package.json similarity index 98% rename from packages/embark-deploy-tracker/package.json rename to packages/plugins/deploy-tracker/package.json index 0110102e1..ff6c1d36a 100644 --- a/packages/embark-deploy-tracker/package.json +++ b/packages/plugins/deploy-tracker/package.json @@ -44,7 +44,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "colors": "1.3.2", diff --git a/packages/embark-deploy-tracker/src/deploymentChecks.js b/packages/plugins/deploy-tracker/src/deploymentChecks.js similarity index 100% rename from packages/embark-deploy-tracker/src/deploymentChecks.js rename to packages/plugins/deploy-tracker/src/deploymentChecks.js diff --git a/packages/embark-deploy-tracker/src/index.js b/packages/plugins/deploy-tracker/src/index.js similarity index 100% rename from packages/embark-deploy-tracker/src/index.js rename to packages/plugins/deploy-tracker/src/index.js diff --git a/packages/embark-deploy-tracker/src/test/deploymentChecksSpec.js b/packages/plugins/deploy-tracker/src/test/deploymentChecksSpec.js similarity index 100% rename from packages/embark-deploy-tracker/src/test/deploymentChecksSpec.js rename to packages/plugins/deploy-tracker/src/test/deploymentChecksSpec.js diff --git a/packages/embark-deploy-tracker/src/test/trackingFunctionsSpec.js b/packages/plugins/deploy-tracker/src/test/trackingFunctionsSpec.js similarity index 100% rename from packages/embark-deploy-tracker/src/test/trackingFunctionsSpec.js rename to packages/plugins/deploy-tracker/src/test/trackingFunctionsSpec.js diff --git a/packages/embark-deploy-tracker/src/trackingFunctions.js b/packages/plugins/deploy-tracker/src/trackingFunctions.js similarity index 100% rename from packages/embark-deploy-tracker/src/trackingFunctions.js rename to packages/plugins/deploy-tracker/src/trackingFunctions.js diff --git a/packages/plugins/deploy-tracker/tsconfig.json b/packages/plugins/deploy-tracker/tsconfig.json new file mode 100644 index 000000000..1bb65da9e --- /dev/null +++ b/packages/plugins/deploy-tracker/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/plugins/deploy-tracker/tslint.json b/packages/plugins/deploy-tracker/tslint.json new file mode 100644 index 000000000..1f63906f0 --- /dev/null +++ b/packages/plugins/deploy-tracker/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tslint.json" +} diff --git a/packages/embark-mocha-tests/.npmrc b/packages/plugins/mocha-tests/.npmrc similarity index 100% rename from packages/embark-mocha-tests/.npmrc rename to packages/plugins/mocha-tests/.npmrc diff --git a/packages/embark-mocha-tests/README.md b/packages/plugins/mocha-tests/README.md similarity index 100% rename from packages/embark-mocha-tests/README.md rename to packages/plugins/mocha-tests/README.md diff --git a/packages/embark-mocha-tests/package.json b/packages/plugins/mocha-tests/package.json similarity index 97% rename from packages/embark-mocha-tests/package.json rename to packages/plugins/mocha-tests/package.json index 4de40f018..bcb400ab8 100644 --- a/packages/embark-mocha-tests/package.json +++ b/packages/plugins/mocha-tests/package.json @@ -42,7 +42,7 @@ "test": "mocha dist/test/**/*.js" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "devDependencies": { "@babel/cli": "7.2.3", diff --git a/packages/embark-mocha-tests/src/lib/index.js b/packages/plugins/mocha-tests/src/lib/index.js similarity index 100% rename from packages/embark-mocha-tests/src/lib/index.js rename to packages/plugins/mocha-tests/src/lib/index.js diff --git a/packages/embark-mocha-tests/src/lib/reporter.js b/packages/plugins/mocha-tests/src/lib/reporter.js similarity index 100% rename from packages/embark-mocha-tests/src/lib/reporter.js rename to packages/plugins/mocha-tests/src/lib/reporter.js diff --git a/packages/embark-mocha-tests/src/test/mocha_tests_test.js b/packages/plugins/mocha-tests/src/test/mocha_tests_test.js similarity index 100% rename from packages/embark-mocha-tests/src/test/mocha_tests_test.js rename to packages/plugins/mocha-tests/src/test/mocha_tests_test.js diff --git a/packages/embark-plugin-cmd/CHANGELOG.md b/packages/plugins/plugin-cmd/CHANGELOG.md similarity index 100% rename from packages/embark-plugin-cmd/CHANGELOG.md rename to packages/plugins/plugin-cmd/CHANGELOG.md diff --git a/packages/embark-plugin-cmd/README.md b/packages/plugins/plugin-cmd/README.md similarity index 100% rename from packages/embark-plugin-cmd/README.md rename to packages/plugins/plugin-cmd/README.md diff --git a/packages/embark-plugin-cmd/package.json b/packages/plugins/plugin-cmd/package.json similarity index 97% rename from packages/embark-plugin-cmd/package.json rename to packages/plugins/plugin-cmd/package.json index 0be41e702..cc5b56a27 100644 --- a/packages/embark-plugin-cmd/package.json +++ b/packages/plugins/plugin-cmd/package.json @@ -34,7 +34,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "async": "2.6.1", diff --git a/packages/embark-plugin-cmd/src/index.js b/packages/plugins/plugin-cmd/src/index.js similarity index 100% rename from packages/embark-plugin-cmd/src/index.js rename to packages/plugins/plugin-cmd/src/index.js diff --git a/packages/plugins/plugin-cmd/tsconfig.json b/packages/plugins/plugin-cmd/tsconfig.json new file mode 100644 index 000000000..1bb65da9e --- /dev/null +++ b/packages/plugins/plugin-cmd/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/plugins/plugin-cmd/tslint.json b/packages/plugins/plugin-cmd/tslint.json new file mode 100644 index 000000000..1f63906f0 --- /dev/null +++ b/packages/plugins/plugin-cmd/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tslint.json" +} diff --git a/packages/embark-scaffolding/.npmrc b/packages/plugins/scaffolding/.npmrc similarity index 100% rename from packages/embark-scaffolding/.npmrc rename to packages/plugins/scaffolding/.npmrc diff --git a/packages/embark-scaffolding/CHANGELOG.md b/packages/plugins/scaffolding/CHANGELOG.md similarity index 100% rename from packages/embark-scaffolding/CHANGELOG.md rename to packages/plugins/scaffolding/CHANGELOG.md diff --git a/packages/embark-scaffolding/README.md b/packages/plugins/scaffolding/README.md similarity index 100% rename from packages/embark-scaffolding/README.md rename to packages/plugins/scaffolding/README.md diff --git a/packages/embark-scaffolding/package.json b/packages/plugins/scaffolding/package.json similarity index 100% rename from packages/embark-scaffolding/package.json rename to packages/plugins/scaffolding/package.json diff --git a/packages/embark-scaffolding/src/builder.ts b/packages/plugins/scaffolding/src/builder.ts similarity index 100% rename from packages/embark-scaffolding/src/builder.ts rename to packages/plugins/scaffolding/src/builder.ts diff --git a/packages/embark-scaffolding/src/commandOptions.ts b/packages/plugins/scaffolding/src/commandOptions.ts similarity index 100% rename from packages/embark-scaffolding/src/commandOptions.ts rename to packages/plugins/scaffolding/src/commandOptions.ts diff --git a/packages/embark-scaffolding/src/contractLanguage/solidityBuilder/index.ts b/packages/plugins/scaffolding/src/contractLanguage/solidityBuilder/index.ts similarity index 100% rename from packages/embark-scaffolding/src/contractLanguage/solidityBuilder/index.ts rename to packages/plugins/scaffolding/src/contractLanguage/solidityBuilder/index.ts diff --git a/packages/embark-scaffolding/src/contractLanguage/solidityBuilder/templates/contract.sol.hbs b/packages/plugins/scaffolding/src/contractLanguage/solidityBuilder/templates/contract.sol.hbs similarity index 100% rename from packages/embark-scaffolding/src/contractLanguage/solidityBuilder/templates/contract.sol.hbs rename to packages/plugins/scaffolding/src/contractLanguage/solidityBuilder/templates/contract.sol.hbs diff --git a/packages/embark-scaffolding/src/framework/reactBuilder/index.ts b/packages/plugins/scaffolding/src/framework/reactBuilder/index.ts similarity index 100% rename from packages/embark-scaffolding/src/framework/reactBuilder/index.ts rename to packages/plugins/scaffolding/src/framework/reactBuilder/index.ts diff --git a/packages/embark-scaffolding/src/framework/reactBuilder/templates/dapp.js.hbs b/packages/plugins/scaffolding/src/framework/reactBuilder/templates/dapp.js.hbs similarity index 100% rename from packages/embark-scaffolding/src/framework/reactBuilder/templates/dapp.js.hbs rename to packages/plugins/scaffolding/src/framework/reactBuilder/templates/dapp.js.hbs diff --git a/packages/embark-scaffolding/src/framework/reactBuilder/templates/index.html.hbs b/packages/plugins/scaffolding/src/framework/reactBuilder/templates/index.html.hbs similarity index 100% rename from packages/embark-scaffolding/src/framework/reactBuilder/templates/index.html.hbs rename to packages/plugins/scaffolding/src/framework/reactBuilder/templates/index.html.hbs diff --git a/packages/embark-scaffolding/src/handlebarHelpers.ts b/packages/plugins/scaffolding/src/handlebarHelpers.ts similarity index 100% rename from packages/embark-scaffolding/src/handlebarHelpers.ts rename to packages/plugins/scaffolding/src/handlebarHelpers.ts diff --git a/packages/embark-scaffolding/src/index.ts b/packages/plugins/scaffolding/src/index.ts similarity index 100% rename from packages/embark-scaffolding/src/index.ts rename to packages/plugins/scaffolding/src/index.ts diff --git a/packages/embark-scaffolding/src/schema.ts b/packages/plugins/scaffolding/src/schema.ts similarity index 100% rename from packages/embark-scaffolding/src/schema.ts rename to packages/plugins/scaffolding/src/schema.ts diff --git a/packages/embark-scaffolding/src/smartContractsRecipe.ts b/packages/plugins/scaffolding/src/smartContractsRecipe.ts similarity index 100% rename from packages/embark-scaffolding/src/smartContractsRecipe.ts rename to packages/plugins/scaffolding/src/smartContractsRecipe.ts diff --git a/packages/plugins/scaffolding/tsconfig.json b/packages/plugins/scaffolding/tsconfig.json new file mode 100644 index 000000000..1dc6632e6 --- /dev/null +++ b/packages/plugins/scaffolding/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} + diff --git a/packages/plugins/scaffolding/tslint.json b/packages/plugins/scaffolding/tslint.json new file mode 100644 index 000000000..1bdfa34f9 --- /dev/null +++ b/packages/plugins/scaffolding/tslint.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tslint.json" +} + diff --git a/packages/embark-web3/CHANGELOG.md b/packages/plugins/web3/CHANGELOG.md similarity index 100% rename from packages/embark-web3/CHANGELOG.md rename to packages/plugins/web3/CHANGELOG.md diff --git a/packages/embark-web3/README.md b/packages/plugins/web3/README.md similarity index 100% rename from packages/embark-web3/README.md rename to packages/plugins/web3/README.md diff --git a/packages/embark-web3/package.json b/packages/plugins/web3/package.json similarity index 97% rename from packages/embark-web3/package.json rename to packages/plugins/web3/package.json index 5f40d1ccd..4fa0f3c73 100644 --- a/packages/embark-web3/package.json +++ b/packages/plugins/web3/package.json @@ -43,7 +43,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "@babel/core": "7.2.2", diff --git a/packages/embark-web3/src/contract-artifact.js.ejs b/packages/plugins/web3/src/contract-artifact.js.ejs similarity index 100% rename from packages/embark-web3/src/contract-artifact.js.ejs rename to packages/plugins/web3/src/contract-artifact.js.ejs diff --git a/packages/embark-web3/src/embarkjs-contract-artifact.js.ejs b/packages/plugins/web3/src/embarkjs-contract-artifact.js.ejs similarity index 100% rename from packages/embark-web3/src/embarkjs-contract-artifact.js.ejs rename to packages/plugins/web3/src/embarkjs-contract-artifact.js.ejs diff --git a/packages/embark-web3/src/index.js b/packages/plugins/web3/src/index.js similarity index 100% rename from packages/embark-web3/src/index.js rename to packages/plugins/web3/src/index.js diff --git a/packages/embark-web3/src/vanilla-contract.js.ejs b/packages/plugins/web3/src/vanilla-contract.js.ejs similarity index 100% rename from packages/embark-web3/src/vanilla-contract.js.ejs rename to packages/plugins/web3/src/vanilla-contract.js.ejs diff --git a/packages/embark-web3/src/web3_init.js.ejs b/packages/plugins/web3/src/web3_init.js.ejs similarity index 100% rename from packages/embark-web3/src/web3_init.js.ejs rename to packages/plugins/web3/src/web3_init.js.ejs diff --git a/packages/plugins/web3/tsconfig.json b/packages/plugins/web3/tsconfig.json new file mode 100644 index 000000000..1bb65da9e --- /dev/null +++ b/packages/plugins/web3/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/plugins/web3/tslint.json b/packages/plugins/web3/tslint.json new file mode 100644 index 000000000..1f63906f0 --- /dev/null +++ b/packages/plugins/web3/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tslint.json" +} diff --git a/packages/embark-test-runner/.npmrc b/packages/stack/test-runner/.npmrc similarity index 100% rename from packages/embark-test-runner/.npmrc rename to packages/stack/test-runner/.npmrc diff --git a/packages/embark-test-runner/CHANGELOG.md b/packages/stack/test-runner/CHANGELOG.md similarity index 100% rename from packages/embark-test-runner/CHANGELOG.md rename to packages/stack/test-runner/CHANGELOG.md diff --git a/packages/embark-test-runner/README.md b/packages/stack/test-runner/README.md similarity index 100% rename from packages/embark-test-runner/README.md rename to packages/stack/test-runner/README.md diff --git a/packages/embark-test-runner/package.json b/packages/stack/test-runner/package.json similarity index 98% rename from packages/embark-test-runner/package.json rename to packages/stack/test-runner/package.json index c843dfe70..509cc448b 100644 --- a/packages/embark-test-runner/package.json +++ b/packages/stack/test-runner/package.json @@ -43,7 +43,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "@babel/runtime-corejs2": "7.3.1", diff --git a/packages/embark-test-runner/src/constants.js b/packages/stack/test-runner/src/constants.js similarity index 100% rename from packages/embark-test-runner/src/constants.js rename to packages/stack/test-runner/src/constants.js diff --git a/packages/embark-test-runner/src/index.js b/packages/stack/test-runner/src/index.js similarity index 100% rename from packages/embark-test-runner/src/index.js rename to packages/stack/test-runner/src/index.js diff --git a/packages/embark-test-runner/src/reporter.js b/packages/stack/test-runner/src/reporter.js similarity index 100% rename from packages/embark-test-runner/src/reporter.js rename to packages/stack/test-runner/src/reporter.js diff --git a/packages/stack/test-runner/tsconfig.json b/packages/stack/test-runner/tsconfig.json new file mode 100644 index 000000000..1bb65da9e --- /dev/null +++ b/packages/stack/test-runner/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/stack/test-runner/tslint.json b/packages/stack/test-runner/tslint.json new file mode 100644 index 000000000..1f63906f0 --- /dev/null +++ b/packages/stack/test-runner/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tslint.json" +} diff --git a/packages/embark-watcher/.npmrc b/packages/stack/watcher/.npmrc similarity index 100% rename from packages/embark-watcher/.npmrc rename to packages/stack/watcher/.npmrc diff --git a/packages/embark-watcher/CHANGELOG.md b/packages/stack/watcher/CHANGELOG.md similarity index 100% rename from packages/embark-watcher/CHANGELOG.md rename to packages/stack/watcher/CHANGELOG.md diff --git a/packages/embark-watcher/README.md b/packages/stack/watcher/README.md similarity index 100% rename from packages/embark-watcher/README.md rename to packages/stack/watcher/README.md diff --git a/packages/embark-watcher/package.json b/packages/stack/watcher/package.json similarity index 97% rename from packages/embark-watcher/package.json rename to packages/stack/watcher/package.json index 487c0590e..ee2ac1eb1 100644 --- a/packages/embark-watcher/package.json +++ b/packages/stack/watcher/package.json @@ -43,7 +43,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "@babel/runtime-corejs2": "7.3.1", diff --git a/packages/embark-watcher/src/index.js b/packages/stack/watcher/src/index.js similarity index 100% rename from packages/embark-watcher/src/index.js rename to packages/stack/watcher/src/index.js diff --git a/packages/stack/watcher/tsconfig.json b/packages/stack/watcher/tsconfig.json new file mode 100644 index 000000000..1dc6632e6 --- /dev/null +++ b/packages/stack/watcher/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} + diff --git a/packages/stack/watcher/tslint.json b/packages/stack/watcher/tslint.json new file mode 100644 index 000000000..1bdfa34f9 --- /dev/null +++ b/packages/stack/watcher/tslint.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tslint.json" +} + diff --git a/packages/embark-webserver/.npmrc b/packages/stack/webserver/.npmrc similarity index 100% rename from packages/embark-webserver/.npmrc rename to packages/stack/webserver/.npmrc diff --git a/packages/embark-webserver/CHANGELOG.md b/packages/stack/webserver/CHANGELOG.md similarity index 100% rename from packages/embark-webserver/CHANGELOG.md rename to packages/stack/webserver/CHANGELOG.md diff --git a/packages/embark-webserver/README.md b/packages/stack/webserver/README.md similarity index 100% rename from packages/embark-webserver/README.md rename to packages/stack/webserver/README.md diff --git a/packages/embark-webserver/package.json b/packages/stack/webserver/package.json similarity index 98% rename from packages/embark-webserver/package.json rename to packages/stack/webserver/package.json index 61269ecd2..14d162621 100644 --- a/packages/embark-webserver/package.json +++ b/packages/stack/webserver/package.json @@ -43,7 +43,7 @@ "// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch" }, "eslintConfig": { - "extends": "../../.eslintrc.json" + "extends": "../../../.eslintrc.json" }, "dependencies": { "@babel/runtime-corejs2": "7.3.1", diff --git a/packages/embark-webserver/src/index.js b/packages/stack/webserver/src/index.js similarity index 100% rename from packages/embark-webserver/src/index.js rename to packages/stack/webserver/src/index.js diff --git a/packages/embark-webserver/src/server.js b/packages/stack/webserver/src/server.js similarity index 100% rename from packages/embark-webserver/src/server.js rename to packages/stack/webserver/src/server.js diff --git a/packages/embark-webserver/src/templates/embark-building-placeholder.html.ejs b/packages/stack/webserver/src/templates/embark-building-placeholder.html.ejs similarity index 100% rename from packages/embark-webserver/src/templates/embark-building-placeholder.html.ejs rename to packages/stack/webserver/src/templates/embark-building-placeholder.html.ejs diff --git a/packages/stack/webserver/tsconfig.json b/packages/stack/webserver/tsconfig.json new file mode 100644 index 000000000..1bb65da9e --- /dev/null +++ b/packages/stack/webserver/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../../tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/stack/webserver/tslint.json b/packages/stack/webserver/tslint.json new file mode 100644 index 000000000..1f63906f0 --- /dev/null +++ b/packages/stack/webserver/tslint.json @@ -0,0 +1,3 @@ +{ + "extends": "../../../tslint.json" +}