Commit Graph

136 Commits

Author SHA1 Message Date
Jan Jakes
c41ab7464c Make mailpoet a pnpm workspace
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
Jan Jakes
c83a3b7d8d Use pnpm in the monorepo root
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00
Pavel Dohnal
a32af0c103 Fix Shop project 2022-06-21 13:17:45 +02:00
Pavel Dohnal
57937c71a0 Display number of reviews 2022-06-21 13:17:45 +02:00
David Remer
0d4048b682 Remove WordPress from build process
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
d15be7555c Add hbs and txt files
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
afb03bd83f Add twig:generate-cache command
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
Rodrigo Primo
e56e2db9ef Update release script to use trunk instead of master
[MAILPOET-3466]
2022-05-31 11:23:33 +01:00
Sam Najian
77d46d9a1b Remove memory limit when building translations 2022-05-18 15:27:29 +02:00
Sam Najian
e4886cf812 Update Doctrine before running tests
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Sam Najian
393154e080 Adjust used Docker container to run integration tests
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
Rostislav Wolny
c50715698c Run cache cleanup command within do install command
Changes introduced in new versions of packages often cause incompatibility issues in generated and cached files.
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
Rostislav Wolny
51e67dca73 Add do command for cleaning up generated and cached files
[MAILPOET-4262]
2022-05-04 09:20:32 +02:00
Jan Jakes
ba322bc078 Add Robo commands for prettier
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Jan Jakes
b5530bad70 Install repo root dependencies in ./do install
[MAILPOET-4075]
2022-04-12 15:38:27 +02:00
Rodrigo Primo
f38443f82e Fix minor error in logic to create lang dir
This commit fixes a small error in the logic to create the lang dir
inside the Robo command to get the mailpoet.pot file from the CircleCI
build.

The old code would always return false and thus ways try to create the
directory mailpoet/lang as the path 'mailpoet/lang' is not a file and it
is wrong. To fix this problem `is_file()` was replaced with
`file_exists()` and the correct path was passed to the function (__DIR__
. '/lang' instead of 'mailpoet/lang').

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
Rodrigo Primo
05c3c68c56 Remove references to CircleCI from command to get the .pot file
This commit removes references to CircleCI from the command that gets
the .pot file from the CircleCI release build. I'm doing this based on
review feedback in case in the future we decide to get the .pot file
from a different source.

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
Rodrigo Primo
8e0283b4dd Update release:publish to use mailpoet.pot file from CircleCI
This commit changes the Robo command release:publish to use the
mailpoet.pot file that is present in the zip file in the release branch
of the CircleCI build. Before we were using the mailpoet.pot file
present in the local repository, which meant it could contain undesired
local changes that should not be included when creating a new MailPoet
release.

A new Robo command was created to get the zip file from CircleCI called
translations:get-pot-file-from-circle-ci. The old translations:build was
preserved as it is used inside mailpoet/build.sh.

[MAILPOET-4173]
2022-04-09 10:36:16 +02:00
David Remer
f4b040d8ff Fix two minor sniff warnings
WordPress.NamingConventions.PrefixAllGlobals.DeprecatedWhitelistCommentFound
WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
Jan Lysý
d0822be924 Remove translations:pack command
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Jakes
2ba8d15c6a Pass transifex token using env variable
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
2322ec909c Use new Transifex CLI
[MAILPOET-4189]
2022-03-16 13:20:19 +01:00
Jan Jakes
66243f246b Allow PHPStan cache
[MAILPOET-4055]
2022-03-09 14:11:03 +01:00
Rostislav Wolný
4e4352187a Revert "Remove translations:pack command"
This reverts commit af76206d19.
2022-02-16 12:49:35 +01:00
Jan Lysý
af76206d19 Remove translations:pack command
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
4ce1c4f4e6 Use WPOrgDownloader for WC blocks downloading
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Jan Lysý
2aa2c39b1c Add command for downloading WC Blocks plugin
[MAILPOET-3937]
2022-02-10 12:35:14 +01:00
Sam NAjian
897c9bbd8c Add tests for MailPoetDate.isInFuture and fix test eslint issues
- Convert date.js to typescript and define types
- Fix test script to include ts tests as well
- Make eslint for ts tests work correct and recognize mocha

[MAILPOET-4023]
2022-02-09 16:32:26 +01:00
Jan Lysý
4d6fd85007 Add install npm eslint dependencies
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
Jan Lysý
73f735ecaa Use moved eslint configuration files
[MAILPOET-3358]
2022-01-31 13:31:06 +01:00
wxa
46a9baba1d Add tests
[MAILPOET-3880]
2022-01-27 16:14:14 +01:00
Brezo Cordero
824b4566d3 Add comment about files to exclude on qaLintBuild
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Brezo Cordero
63bb2e1a86 Add vendor and vendor-prefixed files to 7.4 lint
[MAILPOET-3905]
2022-01-20 10:53:02 +01:00
Jan Jakes
a3ef6f8f0d Ensure lang directory exists when building translations
[MAILPOET-3919]
2022-01-18 15:30:22 +01:00
Jan Jakes
9405f144be Add .mp_svn to ignored folders for code sniffer
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00