@automattic/newspack-blocks 1.66.0 → 1.67.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.cache/babel/1e3c4531cef0122939eabd5f484f82bd.json.gz +0 -0
  2. package/.cache/babel/5cdc287b0f89d83292cb39ed8a26e634.json.gz +0 -0
  3. package/.cache/babel/60ac312fdf07fb7730b1a8a9c1b5bd5a.json.gz +0 -0
  4. package/.cache/babel/917cc52662d270e7c529afbf210a2703.json.gz +0 -0
  5. package/.cache/babel/{d57434da1e6dbb2018d47bec96e5839f.json.gz → a12f0cc885278887a2b0bbb3871824d6.json.gz} +0 -0
  6. package/.cache/babel/a46463b55ff02a8600edfde4e0e8207e.json.gz +0 -0
  7. package/.cache/babel/b13e3fd47c6307f8c1f8786edc053ed9.json.gz +0 -0
  8. package/.cache/babel/bb3ca1de54603d2730484164ed55902b.json.gz +0 -0
  9. package/.cache/babel/f82ee478ef2fe7a614db47f78264e42b.json.gz +0 -0
  10. package/.cache/babel/fe99fe0bebf3e9d74bb240487620bdd4.json.gz +0 -0
  11. package/.hooks/pre-push +8 -0
  12. package/CHANGELOG.md +19 -0
  13. package/composer.json +44 -44
  14. package/composer.lock +76 -116
  15. package/dist/carousel/view.asset.php +1 -1
  16. package/dist/carousel/view.js +1 -1
  17. package/dist/donateStreamlined.asset.php +1 -1
  18. package/dist/donateStreamlined.js +1 -1
  19. package/dist/editor.asset.php +1 -1
  20. package/dist/editor.js +3 -3
  21. package/includes/class-newspack-blocks.php +3 -0
  22. package/newspack-blocks.php +2 -2
  23. package/package.json +7 -5
  24. package/src/blocks/carousel/edit.js +2 -2
  25. package/src/blocks/carousel/view.js +29 -18
  26. package/src/blocks/donate/edit/index.tsx +26 -0
  27. package/src/types/index.d.ts +3 -0
  28. package/vendor/autoload.php +1 -1
  29. package/vendor/composer/autoload_real.php +4 -4
  30. package/vendor/composer/autoload_static.php +2 -2
  31. package/vendor/composer/installed.php +2 -2
  32. package/.cache/babel/08d184d8eed1acd6119e8e342bb400bd.json.gz +0 -0
  33. package/.cache/babel/1a61c8fad6855deba0b1c1fb600e5d4a.json.gz +0 -0
  34. package/.cache/babel/397f59bd1dc60514592744bc8808045a.json.gz +0 -0
  35. package/.cache/babel/5bd23eaba36de174a92a5786ab1efa24.json.gz +0 -0
  36. package/.cache/babel/7ca22d72a0febf20288a98f3c6ef8437.json.gz +0 -0
  37. package/.cache/babel/7d413de44cefaf70cc328ba12d417c09.json.gz +0 -0
  38. package/.cache/babel/8873287208a39ceacc6e9b47d9649dff.json.gz +0 -0
  39. package/.cache/babel/adbaeb5ddf5612b3dcd233a3f6f17bf2.json.gz +0 -0
  40. package/.cache/babel/b3640e4090ac12187a00703ee311635c.json.gz +0 -0
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+
3
+ branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,')
4
+
5
+ if [[ "$branch" = "master" ]]; then
6
+ echo "Error: pushing directly to the master branch is prohibited"
7
+ exit 1
8
+ fi
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ # [1.67.0-alpha.1](https://github.com/Automattic/newspack-blocks/compare/v1.66.1...v1.67.0-alpha.1) (2023-04-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * local git hooks ([#1414](https://github.com/Automattic/newspack-blocks/issues/1414)) ([bb99969](https://github.com/Automattic/newspack-blocks/commit/bb9996926af87eb76e0c5ab6b6a78c621021f701))
7
+
8
+
9
+ ### Features
10
+
11
+ * **donate:** add recaptcha panel in the editor ([#1419](https://github.com/Automattic/newspack-blocks/issues/1419)) ([6784bc8](https://github.com/Automattic/newspack-blocks/commit/6784bc89d109e02e72e390e261865829ef2c9044))
12
+
13
+ ## [1.66.1](https://github.com/Automattic/newspack-blocks/compare/v1.66.0...v1.66.1) (2023-04-11)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * bugs for Post Carousel ([#1422](https://github.com/Automattic/newspack-blocks/issues/1422)) ([24f3c80](https://github.com/Automattic/newspack-blocks/commit/24f3c8000d251f2272fc09d8ba7837108751506d))
19
+
1
20
  # [1.66.0](https://github.com/Automattic/newspack-blocks/compare/v1.65.0...v1.66.0) (2023-04-10)
2
21
 
3
22
 
package/composer.json CHANGED
@@ -1,46 +1,46 @@
1
1
  {
2
- "name": "automattic/newspack-blocks",
3
- "description": "Gutenberg blocks for Newspack.",
4
- "type": "wordpress-plugin",
5
- "require-dev": {
6
- "composer/installers": "~2.0",
7
- "automattic/vipwpcs": "^2.0.0",
8
- "xwp/wp-dev-lib": "^1.5",
9
- "brainmaestro/composer-git-hooks": "^2.6",
10
- "wp-coding-standards/wpcs": "*",
11
- "dealerdirect/phpcodesniffer-composer-installer": "*",
12
- "phpcompatibility/phpcompatibility-wp": "*",
13
- "sirbrillig/phpcs-variable-analysis": "^2.10",
14
- "yoast/phpunit-polyfills": "^1.0",
15
- "phpunit/phpunit": "^7.0 || ^9.5"
16
- },
17
- "license": "GPL-3.0-or-later",
18
- "scripts": {
19
- "post-install-cmd": [
20
- "vendor/bin/cghooks add --no-lock"
21
- ],
22
- "post-update-cmd": [
23
- "vendor/bin/cghooks update"
24
- ],
25
- "lint": "phpcs ./"
26
- },
27
- "extra": {
28
- "hooks": {
29
- "pre-commit": [
30
- "DEV_LIB_SKIP=eslint ./vendor/xwp/wp-dev-lib/scripts/pre-commit && ./node_modules/.bin/lint-staged"
31
- ],
32
- "commit-msg": [
33
- "cat $1 | ./node_modules/.bin/newspack-scripts commitlint"
34
- ]
35
- }
36
- },
37
- "config": {
38
- "platform": {
39
- "php": "7.4"
40
- },
41
- "allow-plugins": {
42
- "composer/installers": true,
43
- "dealerdirect/phpcodesniffer-composer-installer": true
44
- }
45
- }
2
+ "name": "automattic/newspack-blocks",
3
+ "description": "Gutenberg blocks for Newspack.",
4
+ "type": "wordpress-plugin",
5
+ "require-dev": {
6
+ "composer/installers": "~2.0",
7
+ "automattic/vipwpcs": "^2.0.0",
8
+ "brainmaestro/composer-git-hooks": "^2.6",
9
+ "wp-coding-standards/wpcs": "*",
10
+ "dealerdirect/phpcodesniffer-composer-installer": "*",
11
+ "phpcompatibility/phpcompatibility-wp": "*",
12
+ "sirbrillig/phpcs-variable-analysis": "^2.10",
13
+ "yoast/phpunit-polyfills": "^1.0",
14
+ "phpunit/phpunit": "^7.0 || ^9.5"
15
+ },
16
+ "license": "GPL-3.0-or-later",
17
+ "scripts": {
18
+ "post-install-cmd": [
19
+ "vendor/bin/cghooks add --no-lock"
20
+ ],
21
+ "pre-push": "./.hooks/pre-push",
22
+ "post-update-cmd": [
23
+ "vendor/bin/cghooks update"
24
+ ],
25
+ "lint": "phpcs ./"
26
+ },
27
+ "extra": {
28
+ "hooks": {
29
+ "pre-commit": [
30
+ "./node_modules/.bin/lint-staged"
31
+ ],
32
+ "commit-msg": [
33
+ "cat $1 | ./node_modules/.bin/newspack-scripts commitlint"
34
+ ]
35
+ }
36
+ },
37
+ "config": {
38
+ "platform": {
39
+ "php": "7.4"
40
+ },
41
+ "allow-plugins": {
42
+ "composer/installers": true,
43
+ "dealerdirect/phpcodesniffer-composer-installer": true
44
+ }
45
+ }
46
46
  }