Merge pull request #32487 from woocommerce/dev/32417-clean-up-wc-admin-package-json

Clean up `woocommerce-admin` package.json
This commit is contained in:
Chi-Hsuan Huang 2022-04-08 17:13:03 +08:00 committed by GitHub
commit d914efc8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 54 additions and 460 deletions

View File

@ -1,62 +0,0 @@
/* eslint-disable */
module.exports = function ( grunt ) {
'use strict';
// Project configuration
grunt.initConfig( {
makepot: {
target: {
options: {
domainPath: '/languages',
exclude: [ '.git/*', 'bin/*', 'node_modules/*', 'tests/*' ],
mainFile: '../woocommerce/woocommerce.php',
potFilename: 'woocommerce-admin.pot',
potHeaders: {
poedit: true,
'x-poedit-keywordslist': true,
},
type: 'wp-plugin',
updateTimestamp: true,
},
},
},
checktextdomain: {
options: {
text_domain: 'woocommerce',
keywords: [
'__:1,2d',
'_e:1,2d',
'_x:1,2c,3d',
'esc_html__:1,2d',
'esc_html_e:1,2d',
'esc_html_x:1,2c,3d',
'esc_attr__:1,2d',
'esc_attr_e:1,2d',
'esc_attr_x:1,2c,3d',
'_ex:1,2c,3d',
'_n:1,2,4d',
'_nx:1,2,4c,5d',
'_n_noop:1,2,3d',
'_nx_noop:1,2,3c,4d',
],
},
files: {
src: [
'**/*.php', // Include all files/
'!node_modules/**', // Exclude node_modules/
'!tests/**', // Exclude tests/
'!vendor/**', // Exclude vendor/
'!tmp/**', // Exclude tmp/
],
expand: true,
},
},
} );
// Load NPM tasks to be used here.
grunt.loadNpmTasks( 'grunt-wp-i18n' );
grunt.loadNpmTasks( 'grunt-checktextdomain' );
grunt.util.linefeed = '\n';
};

View File

@ -22,16 +22,7 @@ module.exports = function ( api ) {
],
ignore: [ 'packages/**/node_modules' ],
env: {
production: {
plugins: [
[
'@wordpress/babel-plugin-makepot',
{
output: 'languages/woocommerce-admin.po',
},
],
],
},
production: {},
storybook: {
plugins: [

View File

@ -1,104 +0,0 @@
<?php
/**
* Command line script for merging two .pot files.
*
* @package WooCommerce\Admin
*/
/**
* Get the two file names from the command line.
*/
if ( $argc < 2 ) {
echo "Usage: php -f {$argv[0]} source-file.pot destination-file.pot\n";
exit;
}
for ( $index = 1; $index <= 2; $index++ ) {
if ( ! is_file( $argv[ $index ] ) ) {
echo "File not found: {$argv[ $index ]}\n";
exit;
}
}
/**
* Check whether an output locale has been requested.
*/
if ( isset( $argv[3] ) && 0 === stripos( $argv[3], 'lang=' ) ) {
$locale = substr( $argv[3], 5 );
$target_file = preg_replace( '|\.pot?|', "-{$locale}.po", $argv[2] );
} else {
$target_file = $argv[2];
}
/**
* Parse a .pot file into an array.
*
* @param string $file_name Pot file name.
* @return array
*/
function woocommerce_admin_parse_pot( $file_name ) {
$fh = fopen( $file_name, 'r' );
$originals = array();
$references = array();
$messages = array();
$have_msgid = false;
while ( ! feof( $fh ) ) {
$line = trim( fgets( $fh ) );
if ( ! $line ) {
$message = implode( "\n", $messages );
$originals[ $message ] = $references;
$references = array();
$messages = array();
$have_msgid = false;
$message = '';
continue;
}
if ( 'msgid' == substr( $line, 0, 5 ) ) {
$have_msgid = true;
}
if ( $have_msgid ) {
$messages[] = $line;
} else {
$references[] = $line;
}
}
fclose( $fh );
$message = implode( "\n", $messages );
$originals[ $message ] = $references;
return $originals;
}
// Read the translation files.
$originals_1 = woocommerce_admin_parse_pot( $argv[1] );
$originals_2 = woocommerce_admin_parse_pot( $argv[2] );
// Delete the original sources.
unlink( $argv[1] );
unlink( $argv[2] );
// We don't want two .pot headers in the output.
array_shift( $originals_1 );
$fh = fopen( $target_file, 'w' );
foreach ( $originals_2 as $message => $original ) {
// Use the complete message section to match strings to be translated.
if ( isset( $originals_1[ $message ] ) ) {
$original = array_merge( $original, $originals_1[ $message ] );
unset( $originals_1[ $message ] );
}
fwrite( $fh, implode( "\n", $original ) );
fwrite( $fh, "\n" . $message ."\n\n" );
}
foreach ( $originals_1 as $message => $original ) {
fwrite( $fh, implode( "\n", $original ) );
fwrite( $fh, "\n" . $message ."\n\n" );
}
fclose( $fh );
echo "Created {$target_file}\n";

View File

@ -1,23 +0,0 @@
#!/usr/bin/env bash
# Check for required version
WPCLI_VERSION=`wp cli version | cut -f2 -d' '`
if [ ${WPCLI_VERSION:0:1} -lt "2" -o ${WPCLI_VERSION:0:1} -eq "2" -a ${WPCLI_VERSION:2:1} -lt "1" ]; then
echo WP-CLI version 2.1.0 or greater is required to make JSON translation files
exit
fi
# Substitute JS source references with build references
for T in `find languages -name "*.po"`
do
sed \
-e 's/ client\/[^:]*:/ dist\/app\/index.js:/gp' \
-e 's/ packages\/components[^:]*:/ dist\/components\/index.js:/gp' \
-e 's/ packages\/date[^:]*:/ dist\/date\/index.js:/gp' \
$T | uniq > $T-build
rm $T
mv $T-build $T
done
# Make the JSON files
wp i18n make-json languages --no-purge

View File

@ -1,22 +0,0 @@
# Languages
## Contributing a Translation
If you'd like to contribute a translation, please follow the Localizing section in [CONTRIBUTING.md](https://github.com/woocommerce/woocommerce-admin/blob/main/CONTRIBUTING.md).
## Generating POT
The generated POT template file is not included in this repository. To create this file locally, follow instructions from [README.md](https://github.com/woocommerce/woocommerce-admin/blob/main/README.md) to install the project, then run the following command:
```
pnpm run i18n lang=xx_YY
```
After the build completes, you'll find a `woocommerce-admin-xx_YY.po` (eg. `woocommerce-admin-fr_FR.po`) strings file in this directory.
## Generating JSON
To generate JSON from your translations, save your translation file in this directory then run the following command:
```
pnpm run i18n:json
```

View File

@ -1,93 +1,63 @@
{
"name": "@woocommerce/admin-library",
"version": "3.3.0",
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
"repository": {
"type": "git",
"url": "https://github.com:woocommerce/woocommerce-admin.git"
},
"license": "GPL-3.0-or-later",
"author": "Automattic",
"files": [
"dist/**/*.css",
"dist/**/*.js",
"dist/feature-config-core.php",
"includes/class-wc-admin-loader.php",
"includes/features/**/*.php",
"languages/**/*.json",
"license.txt"
],
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce-admin/README.md",
"repository": {
"type": "git",
"url": "https://github.com:woocommerce/woocommerce.git"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prebuild": "pnpm run install-if-deps-outdated",
"run:packages": "pnpm run --filter ../../packages/js/",
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js",
"build": "pnpm run build:feature-config && cross-env NODE_ENV=production webpack",
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
"postbuild": "pnpm run -s i18n:pot && pnpm run -s i18n:build",
"prebuild": "pnpm run install-if-deps-outdated",
"build": "pnpm run build:feature-config && cross-env NODE_ENV=production webpack",
"build-storybook": "build-storybook -c ./storybook/.storybook",
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
"build:packages": "cross-env NODE_ENV=production pnpm run:packages -- build",
"build:release": "./bin/build-plugin-zip.sh",
"clean": "rimraf ./dist && pnpm run:packages -- clean --parallel",
"client:watch": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development webpack --watch",
"create-hook-reference": "node ./bin/hook-reference/index.js",
"create-wc-extension": "node ./bin/starter-pack/starter-pack.js",
"predev": "pnpm run -s install-if-deps-outdated",
"dev": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development pnpm run build:packages && cross-env WC_ADMIN_PHASE=development webpack",
"client:watch": "cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && cross-env WC_ADMIN_PHASE=development webpack --watch",
"packages:watch": "cross-env WC_ADMIN_PHASE=development pnpm run:packages -- start --parallel",
"docs": "./bin/import-wp-css-storybook.sh && BABEL_ENV=storybook STORYBOOK=true pnpm exec build-storybook -c storybook/.storybook -o ./docs/components/storybook",
"i18n": "pnpm run -s i18n:js && pnpm run -s i18n:check && pnpm run -s i18n:pot && pnpm run -s i18n:build",
"i18n:build": "php bin/combine-pot-files.php languages/woocommerce-admin.po languages/woocommerce-admin.pot",
"i18n:check": "grunt checktextdomain",
"i18n:js": "pnpm run clean && cross-env NODE_ENV=production babel client packages -o /dev/null",
"i18n:json": "./bin/make-i18n-json.sh",
"i18n:pot": "grunt makepot",
"example": "webpack --config docs/examples/extensions/examples.config.js --watch",
"preinstall": "npx only-allow pnpm",
"install-if-deps-outdated": "node bin/install-if-deps-outdated.js",
"install-if-no-packages": "node bin/install-if-no-packages.js",
"labels:dry": "github-label-sync --labels ./.github/label-sync-config.json --allow-added-labels --dry-run woocommerce/woocommerce-admin",
"labels:sync": "github-label-sync --labels ./.github/label-sync-config.json --allow-added-labels woocommerce/woocommerce-admin",
"lint": "pnpm run lint:js && pnpm run lint:css",
"lint:css": "stylelint '**/*.scss'",
"lint:css-fix": "stylelint '**/*.scss' --fix --ip 'storybook/wordpress'",
"lint:js": "wp-scripts lint-js ./client --ext=js,ts,tsx",
"lint:js-pre-commit": "wp-scripts lint-js --ext=js,ts,tsx",
"lint:js-packages": "wp-scripts lint-js ../../packages/js --ext=js,ts,tsx",
"lint:js-fix": "pnpm run lint:js -- --fix --ext=js,ts,tsx",
"lint:php": "./vendor/bin/phpcs --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
"lint:php-fix": "./vendor/bin/phpcbf --standard=phpcs.xml.dist $(git ls-files | grep .php$)",
"ts:check": "tsc --build ./tsconfig.json --pretty",
"ts:check:watch": "npm run ts:check -- --watch",
"reformat-files": "wp-scripts format-js -- --ignore-path .eslintignore",
"lint:js-packages": "wp-scripts lint-js ../../packages/js --ext=js,ts,tsx",
"lint:js-pre-commit": "wp-scripts lint-js --ext=js,ts,tsx",
"prepack": "pnpm install && pnpm run lint && pnpm run test && cross-env WC_ADMIN_PHASE=core pnpm run build",
"packages:fix:textdomain": "node ./bin/package-update-textdomain.js",
"packages:watch": "cross-env WC_ADMIN_PHASE=development pnpm run:packages -- start --parallel",
"pre-release": "./bin/pre-release.sh",
"publish-packages:check": "pnpm run build:packages && pnpm publish --dry-run --filter ../../packages/js/ --publish-branch main --report-summary && cat ../../pnpm-publish-summary.json && rimraf ../../pnpm-publish-summary.json",
"publish-packages:dev": "pnpm run build:packages && pnpm publish --filter ../../packages/js/ --publish-branch main --tag next",
"publish-packages:prod": "pnpm run build:packages && pnpm publish --filter ../../packages/js/ --publish-branch main",
"reformat-files": "wp-scripts format-js -- --ignore-path .eslintignore",
"run:packages": "pnpm run --filter ../../packages/js/",
"prestart": "pnpm run install-if-deps-outdated",
"start": "cross-env WC_ADMIN_PHASE=development pnpm run build:packages && cross-env WC_ADMIN_PHASE=development pnpm run build:feature-config && concurrently \"cross-env WC_ADMIN_PHASE=development webpack --watch\" \"cross-env WC_ADMIN_PHASE=development pnpm run:packages -- start --parallel\"",
"start:package": "pnpm run:packages -- start --parallel",
"pretest": "pnpm run -s install-if-no-packages",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --config client/jest.config.js --watch --runInBand --no-cache",
"test:client": "jest --config client/jest.config.js",
"test:packages": "pnpm run --filter ../../packages/js/ --filter !api-core-tests test",
"test": "pnpm nx build @woocommerce/js-tests && pnpm run test:client",
"test:e2e": "pnpm run build && test -z \"$(docker ps | grep woocommerce-admin-e2e)\" || pnpm exec wc-e2e docker:down && pnpm run e2e:docker-up && pnpm exec wc-e2e test:e2e",
"e2e:docker-up": "WC_E2E_FOLDER=../../../ pnpm exec wc-e2e docker:up ./tests/e2e/docker/initialize.sh",
"test-staged": "pnpm run test:client -- --bail --findRelatedTests",
"test:help": "wp-scripts test-unit-js --help",
"test:php": "docker-compose -f docker/wc-admin-php-test-suite/docker-compose.yml run --rm phpunit",
"posttest:php": "docker-compose -f docker/wc-admin-php-test-suite/docker-compose.yml down",
"test:update-snapshots": "pnpm run test:client -- --updateSnapshot && pnpm run --filter @woocommerce/components test:update-snapshots",
"test:watch": "tsc --build || concurrently \"pnpm run test:client -- --watch\" \"pnpm run:packages -- test:nobuild --parallel -- --watch\"",
"test:zip": "pnpm run clean && composer i && ./bin/build-test-zip.sh",
"example": "webpack --config docs/examples/extensions/examples.config.js --watch",
"pre-release": "./bin/pre-release.sh",
"create-wc-extension": "node ./bin/starter-pack/starter-pack.js",
"storybook": "./bin/import-wp-css-storybook.sh && BABEL_ENV=storybook STORYBOOK=true start-storybook -c ./storybook/.storybook -p 6007 --ci",
"storybook-rtl": "USE_RTL_STYLE=true pnpm run storybook",
"build-storybook": "build-storybook -c ./storybook/.storybook",
"changelog": "node ./bin/changelog --changelogSrcType='ZENHUB_RELEASE'",
"wp-env-mysql-port": "node ./docker/wc-admin-wp-env/mysql-port.js",
"create-hook-reference": "node ./bin/hook-reference/index.js",
"changelogger": "./vendor/bin/changelogger",
"test-instruction-logger": "./bin/test-instruction-logger/bin/test-instruction-logger"
"pretest": "pnpm run -s install-if-no-packages",
"test": "pnpm nx build @woocommerce/js-tests && pnpm run test:client",
"test-staged": "pnpm run test:client -- --bail --findRelatedTests",
"test:client": "jest --config client/jest.config.js",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --config client/jest.config.js --watch --runInBand --no-cache",
"test:help": "wp-scripts test-unit-js --help",
"test:packages": "pnpm run --filter ../../packages/js/ --filter !api-core-tests test",
"test:update-snapshots": "pnpm run test:client -- --updateSnapshot && pnpm run --filter @woocommerce/components test:update-snapshots",
"test:watch": "tsc --build || concurrently \"pnpm run test:client -- --watch\" \"pnpm run:packages -- test:nobuild --parallel -- --watch\"",
"ts:check": "tsc --build ./tsconfig.json --pretty",
"ts:check:watch": "npm run ts:check -- --watch"
},
"dependencies": {
"@automattic/explat-client": "^0.0.3",
@ -206,7 +176,6 @@
"@woocommerce/onboarding": "workspace:*",
"@woocommerce/style-build": "workspace:*",
"@woocommerce/tracks": "workspace:*",
"@wordpress/babel-plugin-makepot": "^2.1.3",
"@wordpress/babel-preset-default": "^6.5.1",
"@wordpress/browserslist-config": "^4.1.1",
"@wordpress/custom-templated-path-webpack-plugin": "^2.1.2",
@ -239,9 +208,6 @@
"expose-loader": "^3.1.0",
"fork-ts-checker-webpack-plugin": "^6.5.0",
"fs-extra": "^8.1.0",
"grunt": "^1.4.1",
"grunt-checktextdomain": "^1.0.1",
"grunt-wp-i18n": "^1.0.3",
"jest": "^27.5.1",
"jest-environment-jsdom": "~27.5.0",
"jest-environment-node": "^27.5.1",

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Remove load_plugin_textdomain method from admin plugin.

View File

@ -126,8 +126,6 @@ class FeaturePlugin {
* @return void
*/
public function on_plugins_loaded() {
$this->load_plugin_textdomain();
$this->hooks();
$this->includes();
}
@ -152,13 +150,6 @@ class FeaturePlugin {
define( 'WC_ADMIN_VERSION_NUMBER', '3.3.0' );
}
/**
* Load Localisation files.
*/
protected function load_plugin_textdomain() {
load_plugin_textdomain( 'woocommerce-admin', false, basename( dirname( __DIR__ ) ) . '/languages' );
}
/**
* Include WC Admin classes.
*/

View File

@ -1228,7 +1228,6 @@ importers:
'@woocommerce/tracks': workspace:*
'@wordpress/a11y': ^3.5.0
'@wordpress/api-fetch': ^6.0.1
'@wordpress/babel-plugin-makepot': ^2.1.3
'@wordpress/babel-preset-default': ^6.5.1
'@wordpress/base-styles': ^4.3.0
'@wordpress/browserslist-config': ^4.1.1
@ -1288,9 +1287,6 @@ importers:
github-label-sync: ^2.0.2
grapheme-splitter: ^1.0.4
gridicons: ^3.4.0
grunt: ^1.4.1
grunt-checktextdomain: ^1.0.1
grunt-wp-i18n: ^1.0.3
history: ^4.10.1
jest: ^27.5.1
jest-environment-jsdom: ~27.5.0
@ -1454,7 +1450,6 @@ importers:
'@woocommerce/onboarding': link:../../packages/js/onboarding
'@woocommerce/style-build': link:../../packages/js/style-build
'@woocommerce/tracks': link:../../packages/js/tracks
'@wordpress/babel-plugin-makepot': 2.1.3_@babel+core@7.17.8
'@wordpress/babel-preset-default': 6.6.1
'@wordpress/browserslist-config': 4.1.2
'@wordpress/custom-templated-path-webpack-plugin': 2.1.2_webpack@5.70.0
@ -1487,9 +1482,6 @@ importers:
expose-loader: 3.1.0_webpack@5.70.0
fork-ts-checker-webpack-plugin: 6.5.0_10568ae13669cc833891d65cd6879aa0
fs-extra: 8.1.0
grunt: 1.4.1
grunt-checktextdomain: 1.0.1_grunt@1.4.1
grunt-wp-i18n: 1.0.3
jest: 27.5.1
jest-environment-jsdom: 27.5.1
jest-environment-node: 27.5.1
@ -2208,7 +2200,7 @@ packages:
'@babel/helper-module-imports': 7.16.0
'@babel/helper-plugin-utils': 7.14.5
'@babel/traverse': 7.16.3
debug: 4.3.3
debug: 4.3.2
lodash.debounce: 4.0.8
resolve: 1.20.0
semver: 6.3.0
@ -2226,7 +2218,7 @@ packages:
'@babel/helper-module-imports': 7.16.0
'@babel/helper-plugin-utils': 7.14.5
'@babel/traverse': 7.16.3
debug: 4.3.3
debug: 4.3.2
lodash.debounce: 4.0.8
resolve: 1.20.0
semver: 6.3.0
@ -2244,7 +2236,7 @@ packages:
'@babel/helper-module-imports': 7.16.0
'@babel/helper-plugin-utils': 7.14.5
'@babel/traverse': 7.16.3
debug: 4.3.3
debug: 4.3.2
lodash.debounce: 4.0.8
resolve: 1.20.0
semver: 6.3.0
@ -8600,7 +8592,7 @@ packages:
react-refresh: 0.11.0
schema-utils: 3.1.1
source-map: 0.7.3
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/@pmmmwh/react-refresh-webpack-plugin/0.5.1_92cb4b81c6b9f71cf92f0bdb85e4210c:
@ -8988,7 +8980,7 @@ packages:
peerDependencies:
'@storybook/addon-actions': '*'
dependencies:
'@storybook/addon-actions': 6.4.19
'@storybook/addon-actions': 6.4.19_react-dom@17.0.2+react@17.0.2
global: 4.4.0
dev: true
@ -11301,7 +11293,7 @@ packages:
react-docgen-typescript: 2.2.2_typescript@4.6.2
tslib: 2.3.1
typescript: 4.6.2
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
transitivePeerDependencies:
- supports-color
dev: true
@ -13275,7 +13267,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.4.0
'@typescript-eslint/visitor-keys': 5.4.0
debug: 4.3.3
debug: 4.3.2
globby: 11.0.4
is-glob: 4.0.3
semver: 7.3.5
@ -13836,17 +13828,6 @@ packages:
dependencies:
'@babel/core': 7.17.8
/@wordpress/babel-plugin-makepot/2.1.3_@babel+core@7.17.8:
resolution: {integrity: sha512-8ijU4bYUmJuXPnHS47X9Y5OrESLmgx3VVGb+9tNO5hyPoXnZj+ELw9+SB4fJtg0Ur1MDNKRLz4ruJS4Y0tRnNQ==}
peerDependencies:
'@babel/core': ^7.0.0
dependencies:
'@babel/core': 7.17.8
'@babel/runtime': 7.17.7
gettext-parser: 1.4.0
lodash: 4.17.21
dev: true
/@wordpress/babel-preset-default/3.0.2:
resolution: {integrity: sha512-bsa4piS4GU02isj2XJNUgSEC7MpzdYNy9wOFySrp8G6IHAvwrlwcPEXJf5EuwE8ZqTMmFAzPyKOHFEAx/j+J1A==}
engines: {node: '>=8'}
@ -15670,11 +15651,6 @@ packages:
engines: {node: '>=12'}
dev: true
/ansi-styles/0.2.0:
resolution: {integrity: sha1-NZq0sV3NZLptdHNLcsNjYKmvLBk=}
engines: {node: '>=0.8.0'}
dev: true
/ansi-styles/2.2.1:
resolution: {integrity: sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=}
engines: {node: '>=0.10.0'}
@ -17657,14 +17633,6 @@ packages:
type-detect: 4.0.8
dev: true
/chalk/0.2.1:
resolution: {integrity: sha1-dhPhV1FFshOGSD9/SFql/6jL0Qw=}
engines: {node: '>=0.8.0'}
dependencies:
ansi-styles: 0.2.0
has-color: 0.1.7
dev: true
/chalk/1.1.3:
resolution: {integrity: sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=}
engines: {node: '>=0.10.0'}
@ -22363,7 +22331,7 @@ packages:
dependencies:
loader-utils: 2.0.2
schema-utils: 3.1.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/file-loader/6.2.0_webpack@5.64.1:
@ -22570,16 +22538,6 @@ packages:
resolve-dir: 1.0.1
dev: true
/findup-sync/4.0.0:
resolution: {integrity: sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==}
engines: {node: '>= 8'}
dependencies:
detect-file: 1.0.0
is-glob: 4.0.3
micromatch: 4.0.4
resolve-dir: 1.0.1
dev: true
/findup/0.1.5:
resolution: {integrity: sha1-itkpozk7rGJ5V6fl3kYjsGsOLOs=}
engines: {node: '>=0.6'}
@ -23215,14 +23173,6 @@ packages:
encoding: 0.1.13
safe-buffer: 5.2.1
/gettext-parser/3.1.1:
resolution: {integrity: sha512-vNhWcqXEtZPs5Ft1ReA34g7ByWotpcOIeJvXVy2jF3/G2U9v6W0wG4Z4hXzcU8R//jArqkgHcVCGgGqa4vxVlQ==}
dependencies:
encoding: 0.1.13
readable-stream: 3.6.0
safe-buffer: 5.2.1
dev: true
/github-label-sync/2.0.2:
resolution: {integrity: sha512-xDxlGG6s9LVfMNQexatne0bMUrwyYyTma9cC04b82zbEMFoy8rxSlag4eUYYF++ThMxvJp577Wk+uAv0mjRsNg==}
engines: {node: '>=12'}
@ -23657,17 +23607,6 @@ packages:
/growly/1.3.0:
resolution: {integrity: sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=}
/grunt-checktextdomain/1.0.1_grunt@1.4.1:
resolution: {integrity: sha1-slTQHh3pEwBdTbHFMD2QI7mD4Zs=}
engines: {node: '>= 0.8.0'}
peerDependencies:
grunt: '>=0.4.1'
dependencies:
chalk: 0.2.1
grunt: 1.4.1
text-table: 0.2.0
dev: true
/grunt-cli/1.3.2:
resolution: {integrity: sha512-8OHDiZZkcptxVXtMfDxJvmN7MVJNE8L/yIcPb4HB7TlyFD1kDvjHrb62uhySsU14wJx9ORMnTuhRMQ40lH/orQ==}
engines: {node: '>=4'}
@ -23680,18 +23619,6 @@ packages:
v8flags: 3.1.3
dev: true
/grunt-cli/1.4.3:
resolution: {integrity: sha512-9Dtx/AhVeB4LYzsViCjUQkd0Kw0McN2gYpdmGYKtE2a5Yt7v1Q+HYZVWhqXc/kGnxlMtqKDxSwotiGeFmkrCoQ==}
engines: {node: '>=10'}
hasBin: true
dependencies:
grunt-known-options: 2.0.0
interpret: 1.1.0
liftup: 3.0.1
nopt: 4.0.3
v8flags: 3.2.0
dev: true
/grunt-contrib-clean/2.0.0_grunt@1.3.0:
resolution: {integrity: sha512-g5ZD3ORk6gMa5ugZosLDQl3dZO7cI3R14U75hTM+dVLVxdMNJCPVmwf9OUt4v4eWgpKKWWoVK9DZc1amJp4nQw==}
engines: {node: '>=6'}
@ -23756,11 +23683,6 @@ packages:
engines: {node: '>=0.10.0'}
dev: true
/grunt-known-options/2.0.0:
resolution: {integrity: sha512-GD7cTz0I4SAede1/+pAbmJRG44zFLPipVtdL9o3vqx9IEyb7b4/Y3s7r6ofI3CchR5GvYJ+8buCSioDv5dQLiA==}
engines: {node: '>=0.10.0'}
dev: true
/grunt-legacy-log-utils/2.1.0:
resolution: {integrity: sha512-lwquaPXJtKQk0rUM1IQAop5noEpwFqOXasVoedLeNzaibf/OPWjKYvvdqnEHNmU+0T0CaReAXIbGo747ZD+Aaw==}
engines: {node: '>=10'}
@ -23855,14 +23777,6 @@ packages:
stylelint: 13.8.0
dev: true
/grunt-wp-i18n/1.0.3:
resolution: {integrity: sha512-CJNbEKeBeOSAPeaJ9B8iCgSwtaG63UR9/uT46a4OsIqnFhOJpeAi138JTlvjfIbnDVoBrzvdrKJe1svveLjUtA==}
engines: {node: '>=0.12.0'}
dependencies:
grunt: 1.4.1
node-wp-i18n: 1.2.6
dev: true
/grunt/1.3.0:
resolution: {integrity: sha512-6ILlMXv11/4cxuhSMfSU+SfvbxrPuqZrAtLN64+tZpQ3DAKfSQPQHRbTjSbdtxfyQhGZPtN0bDZJ/LdCM5WXXA==}
engines: {node: '>=8'}
@ -23885,28 +23799,6 @@ packages:
rimraf: 3.0.2
dev: true
/grunt/1.4.1:
resolution: {integrity: sha512-ZXIYXTsAVrA7sM+jZxjQdrBOAg7DyMUplOMhTaspMRExei+fD0BTwdWXnn0W5SXqhb/Q/nlkzXclSi3IH55PIA==}
engines: {node: '>=8'}
hasBin: true
dependencies:
dateformat: 3.0.3
eventemitter2: 0.4.14
exit: 0.1.2
findup-sync: 0.3.0
glob: 7.1.7
grunt-cli: 1.4.3
grunt-known-options: 2.0.0
grunt-legacy-log: 3.0.0
grunt-legacy-util: 2.0.1
iconv-lite: 0.4.24
js-yaml: 3.14.1
minimatch: 3.0.4
mkdirp: 1.0.4
nopt: 3.0.6
rimraf: 3.0.2
dev: true
/gruntify-eslint/5.0.0_grunt@1.3.0:
resolution: {integrity: sha512-pa2sXHK9+U4dCGdGSIMkpJARNwRStdLBsddNxmSHSSWROUdhWMrXvFWm6pj48zJhyV3Qy068VIuF1seYIvc0cw==}
engines: {node: '>=0.10.0'}
@ -23981,11 +23873,6 @@ packages:
/has-bigints/1.0.1:
resolution: {integrity: sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==}
/has-color/0.1.7:
resolution: {integrity: sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=}
engines: {node: '>=0.10.0'}
dev: true
/has-flag/1.0.0:
resolution: {integrity: sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=}
engines: {node: '>=0.10.0'}
@ -24318,7 +24205,7 @@ packages:
pretty-error: 2.1.2
tapable: 1.1.3
util.promisify: 1.0.0
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/html-webpack-plugin/5.5.0_webpack@5.70.0:
@ -28285,20 +28172,6 @@ packages:
resolve: 1.20.0
dev: true
/liftup/3.0.1:
resolution: {integrity: sha512-yRHaiQDizWSzoXk3APcA71eOI/UuhEkNN9DiW2Tt44mhYzX4joFoCZlxsSOF7RyeLlfqzFLQI1ngFq3ggMPhOw==}
engines: {node: '>=10'}
dependencies:
extend: 3.0.2
findup-sync: 4.0.0
fined: 1.2.0
flagged-respawn: 1.0.1
is-plain-object: 2.0.4
object.map: 1.0.1
rechoir: 0.7.1
resolve: 1.20.0
dev: true
/lilconfig/2.0.4:
resolution: {integrity: sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA==}
engines: {node: '>=10'}
@ -29916,19 +29789,6 @@ packages:
engines: {node: '>=6'}
dev: true
/node-wp-i18n/1.2.6:
resolution: {integrity: sha512-aLutjDB1rMJ3FNlNcs/XjmaejED1/y30uLYQrmkXpeUj1NH/SA6pI94CUz3iI7fbQd63lTGg0YNvOQAT8cWdIw==}
hasBin: true
dependencies:
bluebird: 3.7.2
gettext-parser: 3.1.1
glob: 7.2.0
lodash: 4.17.21
minimist: 1.2.5
mkdirp: 1.0.4
tmp: 0.2.1
dev: true
/node.extend/2.0.2:
resolution: {integrity: sha512-pDT4Dchl94/+kkgdwyS2PauDFjZG0Hk0IcHIB+LkW27HLDtdoeMxHTxZh39DYbPP8UflWXWj9JcdDozF+YDOpQ==}
engines: {node: '>=0.4.0'}
@ -31427,7 +31287,7 @@ packages:
postcss: 7.0.39
schema-utils: 3.1.1
semver: 7.3.5
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/postcss-loader/6.2.0_postcss@8.3.0+webpack@5.64.1:
@ -32900,7 +32760,7 @@ packages:
dependencies:
loader-utils: 2.0.2
schema-utils: 3.1.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/raw-loader/4.0.2_webpack@5.64.1:
@ -35882,7 +35742,7 @@ packages:
dependencies:
loader-utils: 2.0.2
schema-utils: 2.7.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/style-loader/2.0.0_webpack@5.70.0:
@ -36628,7 +36488,7 @@ packages:
serialize-javascript: 5.0.1
source-map: 0.6.1
terser: 5.10.0_acorn@7.4.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
webpack-sources: 1.4.3
transitivePeerDependencies:
- acorn
@ -36648,7 +36508,7 @@ packages:
serialize-javascript: 5.0.1
source-map: 0.6.1
terser: 5.10.0
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
webpack-sources: 1.4.3
transitivePeerDependencies:
- acorn
@ -37893,7 +37753,7 @@ packages:
loader-utils: 2.0.2
mime-types: 2.1.34
schema-utils: 3.1.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/url-parse-lax/1.0.0:
@ -38094,13 +37954,6 @@ packages:
homedir-polyfill: 1.0.3
dev: true
/v8flags/3.2.0:
resolution: {integrity: sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==}
engines: {node: '>= 0.10'}
dependencies:
homedir-polyfill: 1.0.3
dev: true
/validate-npm-package-license/3.0.4:
resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==}
dependencies:
@ -38448,7 +38301,7 @@ packages:
mime: 2.5.2
mkdirp: 0.5.5
range-parser: 1.2.1
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
webpack-log: 2.0.0
dev: true
@ -38531,7 +38384,7 @@ packages:
peerDependencies:
webpack: ^2.0.0 || ^3.0.0 || ^4.0.0
dependencies:
webpack: 4.46.0_webpack-cli@3.3.12
webpack: 4.46.0_webpack-cli@4.9.2
dev: true
/webpack-fix-style-only-entries/0.6.1:
@ -38715,7 +38568,7 @@ packages:
tapable: 1.1.3
terser-webpack-plugin: 1.4.5_webpack@4.46.0
watchpack: 1.7.5
webpack-cli: 3.3.12_webpack@5.70.0
webpack-cli: 3.3.12_webpack@4.46.0
webpack-sources: 1.4.3
dev: true