Rename app-* folders to page-* (#2318)

* Rename app-* folders to page-*

* Cleanup test paths
This commit is contained in:
Jaco Greeff 2020-03-01 19:56:31 +01:00 committed by GitHub
parent e0f71fe828
commit 315995d6bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
420 changed files with 100 additions and 98 deletions

View File

@ -2,11 +2,13 @@
const config = require('@polkadot/dev/config/jest');
const findPackages = require('./scripts/findPackages');
const internalModules = findPackages().reduce((modules, { dir, name }) => {
modules[`${name}(.*)$`] = `<rootDir>/packages/${dir}/src/$1`;
const internalModules = findPackages()
.filter(({ name }) => !['@polkadot/apps'].includes(name))
.reduce((modules, { dir, name }) => {
modules[`${name}(.*)$`] = `<rootDir>/packages/${dir}/src/$1`;
return modules;
}, {});
return modules;
}, {});
module.exports = Object.assign({}, config, {
moduleNameMapper: {

View File

@ -29,8 +29,8 @@
"clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test packages/app-claims/src",
"vanitygen": "node packages/app-accounts/scripts/vanitygen.js",
"test": "polkadot-dev-run-test packages/page-claims/src",
"vanitygen": "node packages/page-accounts/scripts/vanitygen.js",
"start": "cd packages/apps && webpack --config webpack.config.js"
},
"devDependencies": {

Some files were not shown because too many files have changed in this diff Show More