Skip to content

Commit

Permalink
Merge pull request #200 from woocommerce/fix/i18n
Browse files Browse the repository at this point in the history
fix/i18n: Add missing `i18n` directory
  • Loading branch information
dkotter authored Aug 15, 2024
2 parents 21c7d4a + 5232f93 commit 1ff7704
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 3 deletions.
82 changes: 81 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
"version": "4.7.3",
"homepage": "https://woocommerce.com/products/woocommerce-square/",
"scripts": {
"build": "composer install --no-dev && npm run build:webpack && npm run archive",
"build": "composer install --no-dev && npm run build:webpack && npm run makepot && npm run archive",
"build:dev": "composer install && npm run build:webpack",
"build:webpack": "rimraf build/* && wp-scripts build",
"build-watch:webpack": "rimraf build/* && wp-scripts start",
"lint:js": "wp-scripts lint-js src/ --ext js",
"lint:js:fix": "wp-scripts lint-js src/ --ext js --fix",
"phpcompat": "./vendor/bin/phpcs --standard=phpcs-compat.xml.dist -p .",
"update-deps": "npm install -g rimraf && rimraf node_modules && rimraf npm-shrinkwrap.json && npm install && npm shrinkwrap --dev",
"makepot": "wpi18n makepot --domain-path i18n/languages --pot-file woocommerce-square.pot --type plugin --main-file woocommerce-square.php --exclude node_modules,tests,docs",
"archive": "composer archive --file=$npm_package_name --format=zip",
"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
"woorelease": "npm run build",
Expand All @@ -37,7 +38,8 @@
"@wordpress/env": "^10.0.0",
"@wordpress/scripts": "^28.2.0",
"copy-webpack-plugin": "^12.0.2",
"dotenv": "^16.4.5"
"dotenv": "^16.4.5",
"node-wp-i18n": "^1.2.7"
},
"engines": {
"node": ">=20",
Expand Down

0 comments on commit 1ff7704

Please sign in to comment.