Added `wireit` Dependency

We're adding this to _every_ package since they have their own
configuration and scripts to run. This also keeps them
isolated so that they can operate independently.
This commit is contained in:
Christopher Allford 2023-10-23 14:05:59 -07:00
parent c936b5339e
commit df32d8e967
49 changed files with 1358 additions and 2309 deletions

View File

@ -238,6 +238,15 @@
], ],
"pinVersion": "~29.1.1" "pinVersion": "~29.1.1"
}, },
{
"dependencies": [
"wireit"
],
"packages": [
"**"
],
"pinVersion": "^0.14.1"
},
{ {
"label": "Only manage versions for these dependencies", "label": "Only manage versions for these dependencies",
"dependencies": [ "dependencies": [

View File

@ -50,7 +50,8 @@
"jest-mock-extended": "^1.0.18", "jest-mock-extended": "^1.0.18",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -59,7 +59,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^17.0.71", "@types/react": "^17.0.71",

View File

@ -71,7 +71,8 @@
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12", "webpack-cli": "^3.3.12",
"webpack-rtl-plugin": "^2.0.0" "webpack-rtl-plugin": "^2.0.0",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js && pnpm run build:css", "turbo:build": "pnpm run build:js && pnpm run build:css",

View File

@ -36,7 +36,8 @@
}, },
"devDependencies": { "devDependencies": {
"@woocommerce/eslint-plugin": "workspace:*", "@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.55.0" "eslint": "^8.55.0",
"wireit": "^0.14.1"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -59,7 +59,8 @@
"eslint": "^8.55.0", "eslint": "^8.55.0",
"jest": "~27.5.1", "jest": "~27.5.1",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -62,7 +62,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js && pnpm run build:css", "turbo:build": "pnpm run build:js && pnpm run build:css",

View File

@ -145,7 +145,8 @@
"typescript": "^5.3.3", "typescript": "^5.3.3",
"uuid": "^8.3.2", "uuid": "^8.3.2",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js && pnpm run build:css", "turbo:build": "pnpm run build:js && pnpm run build:css",

View File

@ -27,5 +27,8 @@
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/create-product-editor-block-extensionv#readme", "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/create-product-editor-block-extensionv#readme",
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
},
"devDependencies": {
"wireit": "^0.14.1"
} }
} }

View File

@ -21,5 +21,8 @@
"bugs": { "bugs": {
"url": "https://github.com/woocommerce/woocommerce/issues" "url": "https://github.com/woocommerce/woocommerce/issues"
}, },
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/create-woo-extensionv#readme" "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/create-woo-extensionv#readme",
"devDependencies": {
"wireit": "^0.14.1"
}
} }

View File

@ -59,7 +59,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -62,7 +62,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -66,7 +66,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^17.0.2", "react": "^17.0.2",

View File

@ -71,7 +71,8 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"@wordpress/core-data": "wp-6.0", "@wordpress/core-data": "wp-6.0",

View File

@ -48,7 +48,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"lodash": "^4.17.0" "lodash": "^4.17.0"

View File

@ -37,7 +37,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"prepare": "composer install", "prepare": "composer install",

View File

@ -42,7 +42,8 @@
"@wordpress/babel-preset-default": "3.0.2", "@wordpress/babel-preset-default": "3.0.2",
"@wordpress/browserslist-config": "wp-6.0", "@wordpress/browserslist-config": "wp-6.0",
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-plugin-jest": "23.20.0" "eslint-plugin-jest": "23.20.0",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"@woocommerce/api": "^0.2.0", "@woocommerce/api": "^0.2.0",

View File

@ -59,7 +59,8 @@
"@wordpress/babel-preset-default": "3.0.2", "@wordpress/babel-preset-default": "3.0.2",
"@wordpress/browserslist-config": "wp-6.0", "@wordpress/browserslist-config": "wp-6.0",
"ndb": "^1.1.5", "ndb": "^1.1.5",
"semver": "^7.5.4" "semver": "^7.5.4",
"wireit": "^0.14.1"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -38,7 +38,8 @@
"@wordpress/babel-preset-default": "3.0.2", "@wordpress/babel-preset-default": "3.0.2",
"@wordpress/browserslist-config": "wp-6.0", "@wordpress/browserslist-config": "wp-6.0",
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-plugin-jest": "23.20.0" "eslint-plugin-jest": "23.20.0",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"@woocommerce/api": "^0.2.0" "@woocommerce/api": "^0.2.0"

View File

@ -53,7 +53,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -76,7 +76,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^17.0.2", "react": "^17.0.2",

View File

@ -52,7 +52,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "tsc --project tsconfig.json && tsc --project tsconfig-cjs.json", "turbo:build": "tsc --project tsconfig.json && tsc --project tsconfig-cjs.json",

View File

@ -58,7 +58,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -21,5 +21,8 @@
"bugs": { "bugs": {
"url": "https://github.com/woocommerce/woocommerce/issues" "url": "https://github.com/woocommerce/woocommerce/issues"
}, },
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/extend-cart-checkout-block#readme" "homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/extend-cart-checkout-block#readme",
"devDependencies": {
"wireit": "^0.14.1"
}
} }

View File

@ -59,7 +59,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js", "turbo:build": "pnpm run build:js",

View File

@ -31,7 +31,8 @@
"eslint": "^8.55.0", "eslint": "^8.55.0",
"glob": "^7.2.3", "glob": "^7.2.3",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mkdirp": "^1.0.4" "mkdirp": "^1.0.4",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -47,7 +47,8 @@
"resize-observer-polyfill": "1.5.1", "resize-observer-polyfill": "1.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -46,7 +46,8 @@
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0" "webpack": "^5.89.0",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -72,7 +72,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -63,7 +63,8 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -58,7 +58,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -66,7 +66,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12" "webpack-cli": "^3.3.12",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js && pnpm run build:css", "turbo:build": "pnpm run build:js && pnpm run build:css",

View File

@ -118,7 +118,8 @@
"webpack": "^5.89.0", "webpack": "^5.89.0",
"webpack-cli": "^3.3.12", "webpack-cli": "^3.3.12",
"webpack-remove-empty-scripts": "^0.7.3", "webpack-remove-empty-scripts": "^0.7.3",
"webpack-rtl-plugin": "^2.0.0" "webpack-rtl-plugin": "^2.0.0",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"turbo:build": "pnpm run build:js && pnpm run build:css", "turbo:build": "pnpm run build:js && pnpm run build:css",

View File

@ -52,7 +52,8 @@
"jest-cli": "~27.5.1", "jest-cli": "~27.5.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"lint-staged": { "lint-staged": {
"*.(t|j)s?(x)": [ "*.(t|j)s?(x)": [

View File

@ -26,7 +26,8 @@
"prettier": "npm:wp-prettier@^2.8.5", "prettier": "npm:wp-prettier@^2.8.5",
"ts-loader": "^9.5.1", "ts-loader": "^9.5.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"uglify-js": "^3.17.4" "uglify-js": "^3.17.4",
"wireit": "^0.14.1"
}, },
"dependencies": { "dependencies": {
"@automattic/tour-kit": "^1.1.1", "@automattic/tour-kit": "^1.1.1",

View File

@ -238,7 +238,8 @@
"webpack-dev-server": "^4.15.1", "webpack-dev-server": "^4.15.1",
"webpack-fix-style-only-entries": "^0.6.1", "webpack-fix-style-only-entries": "^0.6.1",
"webpack-merge": "^5.10.0", "webpack-merge": "^5.10.0",
"webpack-rtl-plugin": "^2.0.0" "webpack-rtl-plugin": "^2.0.0",
"wireit": "^0.14.1"
}, },
"peerDependencies": { "peerDependencies": {
"@wordpress/data": "wp-6.0" "@wordpress/data": "wp-6.0"

View File

@ -23,7 +23,8 @@
"prettier": "npm:wp-prettier@^2.8.5", "prettier": "npm:wp-prettier@^2.8.5",
"ts-loader": "^9.5.1", "ts-loader": "^9.5.1",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"uglify-js": "^3.17.4" "uglify-js": "^3.17.4",
"wireit": "^0.14.1"
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.11.1", "@emotion/react": "^11.11.1",

View File

@ -252,6 +252,7 @@
"webpack": "5.88.2", "webpack": "5.88.2",
"webpack-bundle-analyzer": "4.7.0", "webpack-bundle-analyzer": "4.7.0",
"webpack-cli": "5.1.4", "webpack-cli": "5.1.4",
"wireit": "^0.14.1",
"wp-types": "3.63.0", "wp-types": "3.63.0",
"zenhub-api": "0.2.0" "zenhub-api": "0.2.0"
}, },

View File

@ -38,6 +38,7 @@
"prettier": "npm:wp-prettier@^2.8.5", "prettier": "npm:wp-prettier@^2.8.5",
"ts-loader": "^9.5.1", "ts-loader": "^9.5.1",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
} }
} }

View File

@ -33,7 +33,8 @@
"gruntify-eslint": "5.0.0", "gruntify-eslint": "5.0.0",
"nodemon": "^2.0.22", "nodemon": "^2.0.22",
"sass": "^1.69.5", "sass": "^1.69.5",
"stylelint": "13.8.0" "stylelint": "13.8.0",
"wireit": "^0.14.1"
}, },
"dependencies": { "dependencies": {
"sourcebuster": "github:woocommerce/sourcebuster-js#v1.1.2" "sourcebuster": "github:woocommerce/sourcebuster-js#v1.1.2"

View File

@ -148,6 +148,7 @@
"uuid": "^8.3.2", "uuid": "^8.3.2",
"webpack": "5.70.0", "webpack": "5.70.0",
"webpack-cli": "3.3.12", "webpack-cli": "3.3.12",
"wireit": "^0.14.1",
"wp-textdomain": "1.0.1" "wp-textdomain": "1.0.1"
}, },
"lint-staged": { "lint-staged": {

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,8 @@
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",

View File

@ -15,5 +15,8 @@
"engines": { "engines": {
"node": "^16.14.1", "node": "^16.14.1",
"pnpm": "^8.6.7" "pnpm": "^8.6.7"
},
"devDependencies": {
"wireit": "^0.14.1"
} }
} }

View File

@ -33,7 +33,8 @@
"shx": "^0.3.4", "shx": "^0.3.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"oclif": { "oclif": {
"bin": "monorepo-merge", "bin": "monorepo-merge",

View File

@ -40,7 +40,8 @@
"eslint": "^8.55.0", "eslint": "^8.55.0",
"jest": "~27.5.1", "jest": "~27.5.1",
"ts-jest": "~29.1.1", "ts-jest": "~29.1.1",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",

View File

@ -31,7 +31,8 @@
"shx": "^0.3.4", "shx": "^0.3.4",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"oclif": { "oclif": {
"bin": "package-release", "bin": "package-release",

View File

@ -21,7 +21,8 @@
"@types/node": "^16.18.68", "@types/node": "^16.18.68",
"@types/node-fetch": "^2.6.9", "@types/node-fetch": "^2.6.9",
"@types/semver": "^7.5.6", "@types/semver": "^7.5.6",
"typescript": "^5.3.3" "typescript": "^5.3.3",
"wireit": "^0.14.1"
}, },
"dependencies": { "dependencies": {
"@commander-js/extra-typings": "^0.1.0", "@commander-js/extra-typings": "^0.1.0",

View File

@ -49,7 +49,8 @@
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"webpack": "^5.89.0" "webpack": "^5.89.0",
"wireit": "^0.14.1"
}, },
"dependencies": { "dependencies": {
"@babel/preset-typescript": "^7.23.3" "@babel/preset-typescript": "^7.23.3"