Skip to content

Commit 21ccfbf

Browse files
authored
fix: update ci images and NPM packages (#72)
* fix: update ci images * fix: update calypso-build and other wp dependencies * chore: update all dependencies * fix: add webpack deps to re-enable build and de commands * fix: lint errors
1 parent ce45916 commit 21ccfbf

File tree

7 files changed

+52544
-24398
lines changed

7 files changed

+52544
-24398
lines changed

.circleci/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ commands:
1010
jobs:
1111
build:
1212
docker:
13-
- image: circleci/php:7.2-node-browsers
13+
- image: cimg/php:7.4-browsers
1414
steps:
1515
- checkout_with_workspace
1616
- run:
@@ -24,7 +24,7 @@ jobs:
2424
# Linting
2525
lint:
2626
docker:
27-
- image: circleci/php:7.2-node-browsers
27+
- image: cimg/php:7.4-browsers
2828
steps:
2929
- checkout_with_workspace
3030
- run:
@@ -42,12 +42,12 @@ jobs:
4242
# Release job
4343
release:
4444
docker:
45-
- image: circleci/php:7.2-node-browsers
45+
- image: cimg/php:7.4-browsers
4646
steps:
4747
- checkout_with_workspace
4848
- run:
4949
name: Install rsync
50-
command: sudo apt install rsync
50+
command: sudo apt-get update && sudo apt-get install rsync
5151
- run:
5252
name: Install PHP dependencies
5353
command: composer install --no-dev --no-scripts
@@ -58,7 +58,7 @@ jobs:
5858
# Reset alpha branch after a release
5959
post_release:
6060
docker:
61-
- image: circleci/node:12
61+
- image: cimg/php:7.4-browsers
6262
steps:
6363
- checkout_with_workspace
6464
- run:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/node_modules/
44
/dist/
55
.DS_Store
6+
.cache
67
release

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.11.1

.stylelintrc

+25-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
{
2-
"extends": ["stylelint-config-wordpress/scss", "stylelint-prettier/recommended"],
3-
"rules": {
4-
"rule-empty-line-before": null,
5-
"at-rule-empty-line-before": null,
6-
"comment-empty-line-before": null,
7-
"string-quotes": "single",
8-
"no-descending-specificity": null,
9-
"function-url-quotes": null,
10-
"declaration-property-unit-whitelist": null,
11-
"font-weight-notation": null,
12-
"color-named": null,
13-
"selector-class-pattern": null,
14-
"function-parentheses-space-inside": "always-single-line",
15-
"media-feature-parentheses-space-inside": "always",
16-
"selector-pseudo-class-parentheses-space-inside": "always",
17-
}
2+
"extends": [
3+
"@wordpress/stylelint-config/scss",
4+
"stylelint-prettier/recommended"
5+
],
6+
"rules": {
7+
"rule-empty-line-before": null,
8+
"at-rule-empty-line-before": null,
9+
"comment-empty-line-before": null,
10+
"string-quotes": "single",
11+
"no-descending-specificity": null,
12+
"function-url-quotes": null,
13+
"declaration-property-unit-whitelist": null,
14+
"font-weight-notation": null,
15+
"color-named": null,
16+
"selector-class-pattern": null,
17+
"function-parentheses-space-inside": "always-single-line",
18+
"media-feature-parentheses-space-inside": "always",
19+
"selector-pseudo-class-parentheses-space-inside": "always",
20+
"declaration-property-unit-allowed-list": {
21+
"line-height": [
22+
"px",
23+
"em"
24+
]
25+
}
26+
}
1827
}

0 commit comments

Comments
 (0)