add lerna hoist, use consistent package versions

This commit is contained in:
Ron Rennick 2020-10-28 14:21:02 -03:00
parent a0233fad93
commit 7cb68e055c
5 changed files with 3954 additions and 1326 deletions

5260
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@
"wp_org_slug": "woocommerce" "wp_org_slug": "woocommerce"
}, },
"scripts": { "scripts": {
"install": "lerna bootstrap", "install": "lerna bootstrap --hoist",
"build": "./bin/build-zip.sh", "build": "./bin/build-zip.sh",
"build:core": "grunt && npm run makepot", "build:core": "grunt && npm run makepot",
"build:dev": "npm run build:core && npm run build:packages", "build:dev": "npm run build:core && npm run build:packages",
@ -48,7 +48,7 @@
"@woocommerce/e2e-utils": "file:tests/e2e/utils", "@woocommerce/e2e-utils": "file:tests/e2e/utils",
"@wordpress/babel-plugin-import-jsx-pragma": "1.1.3", "@wordpress/babel-plugin-import-jsx-pragma": "1.1.3",
"@wordpress/babel-preset-default": "3.0.2", "@wordpress/babel-preset-default": "3.0.2",
"@wordpress/e2e-test-utils": "4.6.0", "@wordpress/e2e-test-utils": "^4.6.0",
"@wordpress/eslint-plugin": "7.1.0", "@wordpress/eslint-plugin": "7.1.0",
"autoprefixer": "9.8.6", "autoprefixer": "9.8.6",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
@ -77,7 +77,7 @@
"gruntify-eslint": "5.0.0", "gruntify-eslint": "5.0.0",
"husky": "4.3.0", "husky": "4.3.0",
"istanbul": "1.0.0-alpha.2", "istanbul": "1.0.0-alpha.2",
"jest": "25.1.0", "jest": "^25.1.0",
"lerna": "3.22.1", "lerna": "3.22.1",
"lint-staged": "9.5.0", "lint-staged": "9.5.0",
"mocha": "7.2.0", "mocha": "7.2.0",

View File

@ -42,7 +42,7 @@
"@types/jest": "25.2.1", "@types/jest": "25.2.1",
"@types/moxios": "^0.4.9", "@types/moxios": "^0.4.9",
"@types/node": "13.13.5", "@types/node": "13.13.5",
"jest": "25.5.4", "jest": "^25.1.0",
"jest-mock-extended": "^1.0.10", "jest-mock-extended": "^1.0.10",
"moxios": "0.4.0", "moxios": "0.4.0",
"ts-jest": "25.5.0", "ts-jest": "25.5.0",

View File

@ -31,11 +31,11 @@
"puppeteer": "^2.1.1" "puppeteer": "^2.1.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.8.4", "@babel/cli": "7.12.0",
"@babel/core": "^7.8.4", "@babel/core": "7.12.0",
"@babel/polyfill": "^7.8.3", "@babel/polyfill": "7.11.5",
"@babel/preset-env": "^7.8.4", "@babel/preset-env": "7.12.0",
"@wordpress/eslint-plugin": "^4.0.0", "@wordpress/eslint-plugin": "7.1.0",
"ndb": "^1.1.5", "ndb": "^1.1.5",
"semver": "^7.3.2" "semver": "^7.3.2"
}, },

View File

@ -12,7 +12,7 @@
"module": "build-module/index.js", "module": "build-module/index.js",
"dependencies": { "dependencies": {
"@woocommerce/api": "0.1.0", "@woocommerce/api": "0.1.0",
"@wordpress/e2e-test-utils": "4.6.0", "@wordpress/e2e-test-utils": "^4.6.0",
"faker": "^5.1.0", "faker": "^5.1.0",
"fishery": "^1.0.1" "fishery": "^1.0.1"
}, },