Merge pull request #32793 from woocommerce/fix/standardize-lint-monorepo

Standardize linting: Admin JS packages
This commit is contained in:
Roy Ho 2022-04-28 06:14:36 -07:00 committed by GitHub
commit c8c2e4253f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 240 additions and 134 deletions

View File

@ -1,4 +1,7 @@
module.exports = {
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@woocommerce/eslint-plugin/recommended',
],
root: true,
};

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -37,7 +37,7 @@
"@types/puppeteer": "^5.4.5",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@woocommerce/api": "^0.2.0",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -52,14 +52,15 @@
"scripts": {
"prepare": "pnpm run build",
"build": "tsc --build",
"start": "tsc --build --watch",
"start": "tsc --build --watch",
"clean": "pnpm exec rimraf tsconfig.tsbuildinfo build build-*",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"prepack": "pnpm run clean && pnpm run build"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -1,61 +1,62 @@
{
"name": "@woocommerce/api",
"version": "0.2.0",
"author": "Automattic",
"description": "A simple interface for interacting with a WooCommerce installation.",
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce.git"
},
"keywords": [
"woocommerce",
"e2e"
],
"license": "GPL-3.0+",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist/",
"!*.ts.map",
"!*.tsbuildinfo",
"!/dist/**/__tests__/",
"!/dist/**/__mocks__/",
"!/dist/**/__snapshops__/",
"!/dist/**/__test_data__/"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
"compile": "tsc -b",
"build": "pnpm run clean && npm run compile",
"prepare": "pnpm run build",
"lint": "eslint src",
"test": "jest"
},
"dependencies": {
"axios": "^0.24.0",
"create-hmac": "1.1.7",
"oauth-1.0a": "2.2.6"
},
"devDependencies": {
"@types/create-hmac": "1.1.0",
"@types/jest": "^27.0.2",
"@types/node": "13.13.5",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"axios-mock-adapter": "^1.20.0",
"eslint": "^8.2.0",
"jest": "^25",
"ts-jest": "^25",
"typescript": "^4.4.4"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
]
}
"name": "@woocommerce/api",
"version": "0.2.0",
"author": "Automattic",
"description": "A simple interface for interacting with a WooCommerce installation.",
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/packages/js/api/README.md",
"repository": {
"type": "git",
"url": "https://github.com/woocommerce/woocommerce.git"
},
"keywords": [
"woocommerce",
"e2e"
],
"license": "GPL-3.0+",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist/",
"!*.ts.map",
"!*.tsbuildinfo",
"!/dist/**/__tests__/",
"!/dist/**/__mocks__/",
"!/dist/**/__snapshops__/",
"!/dist/**/__test_data__/"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf ./dist ./tsconfig.tsbuildinfo",
"compile": "tsc -b",
"build": "pnpm run clean && npm run compile",
"prepare": "pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest"
},
"dependencies": {
"axios": "^0.24.0",
"create-hmac": "1.1.7",
"oauth-1.0a": "2.2.6"
},
"devDependencies": {
"@types/create-hmac": "1.1.0",
"@types/jest": "^27.0.2",
"@types/node": "13.13.5",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"axios-mock-adapter": "^1.20.0",
"eslint": "^8.2.0",
"jest": "^25",
"ts-jest": "^25",
"typescript": "^4.4.4"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"pnpm lint:fix"
]
}
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -94,9 +94,9 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/style-build": "workspace:*",
"@wordpress/browserslist-config": "^4.1.1",
"@wordpress/eslint-plugin": "^11.0.0",
"@wordpress/scripts": "^12.6.1",
"concurrently": "^7.0.0",
"css-loader": "^3.6.0",
@ -117,6 +117,7 @@
"build:css": "webpack",
"clean": "pnpm exec rimraf tsconfig.tsbuildinfo build build-*",
"lint": "eslint src --ext=js,ts,tsx",
"lint:fix": "eslint src --ext=js,ts,tsx --fix",
"prepack": "pnpm run clean && pnpm run build",
"start": "concurrently \"tsc --build ./tsconfig.json --watch\" \"webpack --watch\"",
"test": "pnpm run build && pnpm run test:nobuild",
@ -126,7 +127,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -33,13 +33,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -49,7 +50,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -36,13 +36,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -52,7 +53,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -40,8 +40,8 @@
"@types/prop-types": "^15.7.4",
"@types/wordpress__components": "^9.8.6",
"@woocommerce/style-build": "workspace:*",
"@woocommerce/eslint-plugin": "workspace:*",
"@wordpress/browserslist-config": "^4.1.1",
"@wordpress/eslint-plugin": "^11.0.0",
"concurrently": "^7.0.0",
"css-loader": "^3.6.0",
"eslint": "^8.12.0",
@ -67,13 +67,14 @@
"start": "concurrently \"tsc --build --watch\" \"webpack --watch\"",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -52,7 +52,7 @@
"@types/wordpress__core-data": "^2.4.5",
"@types/wordpress__data": "^6.0.0",
"@types/wordpress__data-controls": "^2.2.0",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -73,13 +73,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -28,7 +28,7 @@
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"d3-time-format": "^2.3.0",
"eslint": "^8.12.0",
"jest": "^27.5.1",
@ -49,13 +49,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -25,7 +25,7 @@
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -35,6 +35,10 @@
"webpack": "^5.70.0",
"webpack-cli": "^3.3.12"
},
"scripts": {
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -36,7 +36,8 @@
"access": "public"
},
"scripts": {
"lint": "eslint ./rules ./configs"
"lint": "eslint ./rules ./configs",
"lint:fix": "eslint ./rules ./configs --fix"
},
"devDependencies": {
"@babel/core": "^7.17.5",
@ -46,5 +47,10 @@
"rimraf": "^3.0.2",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"pnpm lint:fix"
]
}
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -53,9 +53,9 @@
"@testing-library/user-event": "^13.5.0",
"@types/dompurify": "^2.3.3",
"@types/react-transition-group": "^4.4.4",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/style-build": "workspace:*",
"@wordpress/browserslist-config": "^4.1.1",
"@wordpress/eslint-plugin": "^11.0.0",
"concurrently": "^7.0.0",
"css-loader": "^3.6.0",
"eslint": "^8.12.0",
@ -81,13 +81,14 @@
"start": "concurrently \"tsc --build --watch\" \"webpack --watch\"",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -38,7 +38,7 @@
"@types/cookie": "^0.4.1",
"@types/node": "^17.0.21",
"@types/qs": "^6.9.7",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -52,13 +52,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -21,7 +21,8 @@
"ts:check": "tsc --noEmit --project ./tsconfig.json",
"clean": "pnpm exec rimraf *.tsbuildinfo build build-*",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src"
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"dependencies": {
"@testing-library/jest-dom": "^5.16.2",
@ -33,7 +34,7 @@
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -43,7 +44,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -44,13 +44,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"@babel/runtime": "^7.17.2",
"jest": "^27.5.1",
@ -61,7 +62,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -40,11 +40,12 @@
"build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json",
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src"
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -54,7 +55,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -31,13 +31,14 @@
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "pnpm run build && pnpm run test:nobuild",
"test:nobuild": "jest --config ./jest.config.json",
"test-staged": "jest --bail --config ./jest.config.json --findRelatedTests"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"@babel/runtime": "^7.17.2",
"jest": "^27.5.1",
@ -48,7 +49,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix",
"pnpm lint:fix",
"pnpm test-staged"
]
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -37,9 +37,9 @@
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@woocommerce/eslint-plugin": "workspace:*",
"@woocommerce/style-build": "workspace:*",
"@wordpress/browserslist-config": "^4.1.1",
"@wordpress/eslint-plugin": "^11.0.0",
"css-loader": "^3.6.0",
"eslint": "^8.12.0",
"jest": "^27.5.1",
@ -59,11 +59,12 @@
"build:css": "webpack",
"start": "concurrently \"tsc --build --watch\" \"webpack --watch\"",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src"
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -29,12 +29,13 @@
"webpack-rtl-plugin": "^2.0.0"
},
"scripts": {
"lint": "eslint index.js"
"lint": "eslint index.js",
"lint:fix": "eslint index.js --fix"
},
"private": true,
"devDependencies": {
"@babel/core": "^7.17.5",
"@wordpress/eslint-plugin": "^11.0.0",
"@woocommerce/eslint-plugin": "workspace:*",
"eslint": "^8.12.0",
"jest": "^27.5.1",
"jest-cli": "^27.5.1",
@ -45,7 +46,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Standardize lint scripts: add lint:fix

View File

@ -31,7 +31,8 @@
"build": "tsc --build ./tsconfig.json ./tsconfig-cjs.json",
"start": "tsc --build --watch",
"prepack": "pnpm run clean && pnpm run build",
"lint": "eslint src"
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"devDependencies": {
"@babel/core": "^7.17.5",
@ -45,7 +46,7 @@
},
"lint-staged": {
"*.(t|j)s?(x)": [
"eslint --fix"
"pnpm lint:fix"
]
}
}

View File

@ -126,7 +126,7 @@ importers:
'@types/puppeteer': ^5.4.5
'@typescript-eslint/eslint-plugin': ^5.14.0
'@woocommerce/api': ^0.2.0
'@wordpress/eslint-plugin': ^11.0.0
'@woocommerce/eslint-plugin': workspace:*
config: ^3.3.7
eslint: ^8.12.0
jest: ^27.5.1
@ -145,7 +145,7 @@ importers:
'@types/puppeteer': 5.4.5
'@typescript-eslint/eslint-plugin': 5.15.0_eslint@8.12.0+typescript@4.6.2
'@woocommerce/api': link:../api
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -228,6 +228,7 @@ importers:
'@woocommerce/currency': workspace:*
'@woocommerce/data': workspace:*
'@woocommerce/date': workspace:*
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/navigation': workspace:*
'@woocommerce/style-build': workspace:*
'@wordpress/api-fetch': ^6.0.1
@ -238,7 +239,6 @@ importers:
'@wordpress/deprecated': ^3.3.1
'@wordpress/dom': ^3.3.2
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/hooks': ^3.5.0
'@wordpress/html-entities': ^3.3.1
'@wordpress/i18n': ^4.3.1
@ -337,9 +337,9 @@ importers:
'@testing-library/jest-dom': 5.16.2
'@testing-library/react': 12.1.4
'@testing-library/user-event': 13.5.0_@testing-library+dom@8.11.3
'@woocommerce/eslint-plugin': link:../eslint-plugin
'@woocommerce/style-build': link:../style-build
'@wordpress/browserslist-config': 4.1.2
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@wordpress/scripts': 12.6.1_6cad74fe17bf42b947bda894b27e9dc2
concurrently: 7.0.0
css-loader: 3.6.0_webpack@5.70.0
@ -357,7 +357,7 @@ importers:
packages/js/csv-export:
specifiers:
'@babel/core': ^7.17.5
'@wordpress/eslint-plugin': ^11.0.0
'@woocommerce/eslint-plugin': workspace:*
browser-filesaver: ^1.1.1
eslint: ^8.12.0
jest: ^27.5.1
@ -371,7 +371,7 @@ importers:
moment: 2.29.1
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -382,10 +382,10 @@ importers:
packages/js/currency:
specifiers:
'@babel/core': ^7.17.5
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/number': workspace:*
'@wordpress/deprecated': ^2.12.3
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/html-entities': ^3.3.1
'@wordpress/i18n': ^3.20.0
eslint: ^8.12.0
@ -402,7 +402,7 @@ importers:
'@wordpress/i18n': 3.20.0
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -416,6 +416,7 @@ importers:
'@testing-library/react': ^12.1.3
'@types/prop-types': ^15.7.4
'@types/wordpress__components': ^9.8.6
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/experimental': workspace:*
'@woocommerce/style-build': workspace:*
'@wordpress/browserslist-config': ^4.1.1
@ -423,7 +424,6 @@ importers:
'@wordpress/compose': ^5.1.2
'@wordpress/data': ^6.3.0
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/i18n': ^4.3.1
'@wordpress/notices': ^3.3.2
classnames: ^2.3.1
@ -457,9 +457,9 @@ importers:
'@testing-library/react': 12.1.4
'@types/prop-types': 15.7.4
'@types/wordpress__components': 9.8.6
'@woocommerce/eslint-plugin': link:../eslint-plugin
'@woocommerce/style-build': link:../style-build
'@wordpress/browserslist-config': 4.1.2
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
concurrently: 7.0.0
css-loader: 3.6.0_webpack@5.70.0
eslint: 8.12.0
@ -485,6 +485,7 @@ importers:
'@types/wordpress__data': ^6.0.0
'@types/wordpress__data-controls': ^2.2.0
'@woocommerce/date': workspace:*
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/navigation': workspace:*
'@wordpress/api-fetch': ^6.0.1
'@wordpress/compose': ^5.1.2
@ -493,7 +494,6 @@ importers:
'@wordpress/data-controls': ^2.3.2
'@wordpress/deprecated': ^3.3.1
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/hooks': ^3.5.0
'@wordpress/i18n': ^4.3.1
'@wordpress/url': ^3.4.1
@ -535,7 +535,7 @@ importers:
'@types/wordpress__core-data': 2.4.5
'@types/wordpress__data': 6.0.0
'@types/wordpress__data-controls': 2.2.0
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -547,8 +547,8 @@ importers:
packages/js/date:
specifiers:
'@babel/core': ^7.17.5
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/date': ^4.3.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/i18n': ^4.3.1
d3-time-format: ^2.3.0
eslint: ^8.12.0
@ -566,7 +566,7 @@ importers:
qs: 6.10.3
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
d3-time-format: 2.3.0
eslint: 8.12.0
jest: 27.5.1
@ -578,8 +578,8 @@ importers:
packages/js/dependency-extraction-webpack-plugin:
specifiers:
'@babel/core': ^7.17.5
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/dependency-extraction-webpack-plugin': ^3.3.0
'@wordpress/eslint-plugin': ^11.0.0
eslint: ^8.12.0
jest: ^27.5.1
jest-cli: ^27.5.1
@ -592,7 +592,7 @@ importers:
'@wordpress/dependency-extraction-webpack-plugin': 3.4.1_webpack@5.70.0
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -811,11 +811,11 @@ importers:
'@types/dompurify': ^2.3.3
'@types/react-transition-group': ^4.4.4
'@woocommerce/components': workspace:*
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/style-build': workspace:*
'@wordpress/browserslist-config': ^4.1.1
'@wordpress/components': ^19.5.0
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/i18n': ^4.3.1
'@wordpress/icons': ^8.1.0
'@wordpress/keycodes': ^3.3.1
@ -861,9 +861,9 @@ importers:
'@testing-library/user-event': 13.5.0_@testing-library+dom@8.11.3
'@types/dompurify': 2.3.3
'@types/react-transition-group': 4.4.4
'@woocommerce/eslint-plugin': link:../eslint-plugin
'@woocommerce/style-build': link:../style-build
'@wordpress/browserslist-config': 4.1.2
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
concurrently: 7.0.0
css-loader: 3.6.0_webpack@5.70.0
eslint: 8.12.0
@ -885,8 +885,8 @@ importers:
'@types/cookie': ^0.4.1
'@types/node': ^17.0.21
'@types/qs': ^6.9.7
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/api-fetch': ^6.0.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/hooks': ^3.5.0
cookie: ^0.4.2
eslint: ^8.12.0
@ -908,7 +908,7 @@ importers:
'@types/cookie': 0.4.1
'@types/node': 17.0.21
'@types/qs': 6.9.7
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -921,8 +921,8 @@ importers:
'@babel/core': ^7.17.5
'@testing-library/jest-dom': ^5.16.2
'@testing-library/react': ^12.1.3
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/data': ^6.3.0
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/i18n': ^4.3.1
'@wordpress/jest-console': ^5.0.1
eslint: ^8.12.0
@ -941,7 +941,7 @@ importers:
regenerator-runtime: 0.13.9
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -953,11 +953,11 @@ importers:
specifiers:
'@babel/core': ^7.17.5
'@babel/runtime': ^7.17.2
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/api-fetch': ^6.0.1
'@wordpress/components': ^19.5.0
'@wordpress/compose': ^5.1.2
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/hooks': ^3.5.0
'@wordpress/notices': ^3.3.2
'@wordpress/url': ^3.4.1
@ -982,7 +982,7 @@ importers:
devDependencies:
'@babel/core': 7.17.8
'@babel/runtime': 7.17.7
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -993,9 +993,9 @@ importers:
packages/js/notices:
specifiers:
'@babel/core': ^7.17.5
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/a11y': ^3.5.0
'@wordpress/data': ^6.3.0
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/notices': ^3.3.2
eslint: ^8.12.0
jest: ^27.5.1
@ -1009,7 +1009,7 @@ importers:
'@wordpress/notices': 3.4.1
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -1021,7 +1021,7 @@ importers:
specifiers:
'@babel/core': ^7.17.5
'@babel/runtime': ^7.17.2
'@wordpress/eslint-plugin': ^11.0.0
'@woocommerce/eslint-plugin': workspace:*
eslint: ^8.12.0
jest: ^27.5.1
jest-cli: ^27.5.1
@ -1034,7 +1034,7 @@ importers:
devDependencies:
'@babel/core': 7.17.8
'@babel/runtime': 7.17.7
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -1047,13 +1047,13 @@ importers:
'@automattic/interpolate-components': ^1.2.0
'@babel/core': ^7.17.5
'@woocommerce/components': workspace:*
'@woocommerce/eslint-plugin': workspace:*
'@woocommerce/experimental': workspace:*
'@woocommerce/style-build': workspace:*
'@woocommerce/tracks': workspace:*
'@wordpress/browserslist-config': ^4.1.1
'@wordpress/components': ^19.5.0
'@wordpress/element': ^4.1.1
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/i18n': ^4.3.1
concurrently: ^7.0.0
css-loader: ^3.6.0
@ -1080,9 +1080,9 @@ importers:
gridicons: 3.4.0
devDependencies:
'@babel/core': 7.17.8
'@woocommerce/eslint-plugin': link:../eslint-plugin
'@woocommerce/style-build': link:../style-build
'@wordpress/browserslist-config': 4.1.2
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
css-loader: 3.6.0_webpack@5.70.0
eslint: 8.12.0
jest: 27.5.1
@ -1099,8 +1099,8 @@ importers:
specifiers:
'@automattic/color-studio': ^2.5.0
'@babel/core': ^7.17.5
'@woocommerce/eslint-plugin': workspace:*
'@wordpress/base-styles': ^4.3.0
'@wordpress/eslint-plugin': ^11.0.0
'@wordpress/postcss-plugins-preset': ^1.6.0
css-loader: ^3.6.0
eslint: ^8.12.0
@ -1127,7 +1127,7 @@ importers:
webpack-rtl-plugin: 2.0.0
devDependencies:
'@babel/core': 7.17.8
'@wordpress/eslint-plugin': 11.0.1_7c040a9b494a33cf8bf9079642892fb1
'@woocommerce/eslint-plugin': link:../eslint-plugin
eslint: 8.12.0
jest: 27.5.1
jest-cli: 27.5.1
@ -2302,7 +2302,7 @@ packages:
'@babel/helper-module-imports': 7.16.7
'@babel/helper-plugin-utils': 7.16.7
'@babel/traverse': 7.17.3
debug: 4.3.3
debug: 4.3.4
lodash.debounce: 4.0.8
resolve: 1.20.0
semver: 6.3.0
@ -25497,7 +25497,7 @@ packages:
dependencies:
'@tootallnate/once': 1.1.2
agent-base: 6.0.2
debug: 4.3.3
debug: 4.3.4
transitivePeerDependencies:
- supports-color
dev: true
@ -37432,7 +37432,7 @@ packages:
serialize-javascript: 6.0.0
source-map: 0.6.1
terser: 5.10.0_acorn@8.7.0
webpack: 5.70.0_webpack-cli@3.3.12
webpack: 5.70.0
transitivePeerDependencies:
- acorn
dev: true