Make root workspaces commands topological

This commit is contained in:
willclarktech 2021-04-28 14:14:50 +02:00
parent b3a5ca85ce
commit 1f10a45150
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -23,18 +23,18 @@
"packages/*"
],
"scripts": {
"format": "yarn workspaces foreach run format",
"format-text": "prettier --write \"./*.md\" && yarn workspaces foreach run format-text",
"format": "yarn workspaces foreach --topological-dev run format",
"format-text": "prettier --write \"./*.md\" && yarn workspaces foreach --topological-dev run format-text",
"format-shell": "shfmt -w scripts packages",
"lint": "yarn workspaces foreach run lint",
"lint-fix": "yarn workspaces foreach run lint-fix",
"lint": "yarn workspaces foreach --topological-dev run lint",
"lint-fix": "yarn workspaces foreach --topological-dev run lint-fix",
"test": "lerna run test",
"test-firefox": "lerna run test-firefox",
"test-chrome": "lerna run test-chrome",
"coverage": "yarn workspaces foreach run coverage",
"coverage": "yarn workspaces foreach --topological-dev run coverage",
"build": "lerna run build",
"docs": "yarn workspaces foreach run docs",
"pack-web": "yarn workspaces foreach run pack-web"
"docs": "yarn workspaces foreach --topological-dev run docs",
"pack-web": "yarn workspaces foreach --topological-dev run pack-web"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",