Skip to content

Commit

Permalink
Merge pull request #8 from wp-blocks/update/env-and-deps
Browse files Browse the repository at this point in the history
Updated environment and dependencies
  • Loading branch information
erikyo authored Jan 7, 2024
2 parents dfa3a43 + b7780aa commit 97b3de7
Show file tree
Hide file tree
Showing 14 changed files with 11,024 additions and 10,149 deletions.
2 changes: 0 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ trim_trailing_whitespace = true

[*.php]
indent_size = 4
indent_style = tab

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
indent_style = space
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [lts/*, latest]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
8 changes: 8 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,13 @@ module.exports = ( api ) => {
'@babel/preset-typescript',
'@wordpress/babel-preset-default',
],
plugins: [
[
'@wordpress/babel-plugin-makepot',
{
output: 'languages/boilerplate.pot',
},
],
],
};
};
8 changes: 8 additions & 0 deletions languages/boilerplate.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"X-Generator: babel-plugin-makepot\n"

#: src/edit.tsx:22
msgid "Message"
msgstr ""
Loading

0 comments on commit 97b3de7

Please sign in to comment.