Rename app-* folders to page-* (#2318)
* Rename app-* folders to page-* * Cleanup test paths
This commit is contained in:
parent
e0f71fe828
commit
315995d6bf
@ -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: {
|
||||
|
||||
@ -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
Loading…
Reference in New Issue
Block a user