greenpeace / planet4-child-theme-netherlands
Child theme for Netherlands for the Planet 4 Wordpress project
Installs: 2 824
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 14
Forks: 0
Open Issues: 13
Language:SCSS
Type:wordpress-theme
Requires (Dev)
- squizlabs/php_codesniffer: 3.4.*
- wp-coding-standards/wpcs: 2.1.*
- dev-develop
- v4.19.9
- v4.19.7
- v4.19.5
- v4.19.3
- v4.18.1
- v4.18.0
- v4.17.1
- v4.17.0
- v4.16.0
- v4.15.0
- v4.14.2
- v4.14.1
- v4.14.0
- v4.13.0
- v4.12.0
- v4.11.0
- v4.10.0
- v4.9.0
- v4.8.0
- v4.7.0
- v4.6.0
- v4.5.0
- v4.4.18
- v4.4.17
- v4.4.16
- v4.4.15
- v4.4.14
- v4.4.13
- v4.4.12
- v4.4.11
- v4.4.10
- v4.4.9
- v4.4.8
- v4.4.7
- v4.4.6
- v4.4.5
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.0
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.4
- v4.1.3
- v4.1.2
- 4.1.1
- v4.1.0
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.0
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1
- dev-dependabot/npm_and_yarn/minimist-1.2.8
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/json5-and-wordpress/scripts-and-babel-loader-2.2.3
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/minimatch-3.0.8
- dev-dependabot/npm_and_yarn/jsdom-and-wordpress/scripts-16.7.0
- dev-master
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-floating-take-action-boxout
- dev-fix-footer-images
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-remove-navbar-template-override
- dev-gpnl-latest-planet4-update
- dev-feature/navbartest
- dev-feature/style-fixes
- dev-feature/cookiebar
- dev-snyk-upgrade-51c50448fd5a12a0e69cca7d5abdd883
- dev-feature/simplify-webpack
- dev-release-v4.9.0
- dev-feature/PoC/metabox
- dev-feature/PoC/author-fields
This package is auto-updated.
Last update: 2024-04-04 05:46:57 UTC
README
Child theme for the Planet 4 Wordpress project. The related master theme’s code lives at:
https://github.com/greenpeace/planet4-master-theme.
Please check the master theme code for more information.
GPNL specific development instructions
Commit guidelines
Included is a githook (commit-msg) which is run to ensure standardized commit messages. Conventional commits is used as the convention.
In short:
[optional 'maintenance' type][type]([optional scope])[breaking change]: [description]
[optional body]
Section | Explanation |
---|---|
'Maintenance' type | Revert Merge |
Type | build docs feat fix perf refactor style test chore |
Scope | Optional explanation of the scope of the change ie ux ui admin etc |
Breaking change | When a breaking change is introduced use ! after the commit type |
Description | 10-52 char explanation what the commit does |
Body | Optionally more axplanation on the what and why |
The following commits correlate to SemVer version changes.
Commit | SemVer change |
---|---|
commit with ! |
Major version change, ie 2.x.x |
commit type feat |
Minor version change, ie x.2.x |
commit with type fix |
Patch version change, ie x.x.2 |
Build process
Development
To watch the files run yarn start
.
Build for production
To build files for production run yarn build
.
Browserslist
All source code gets transpiled according to our actual usage data. To make sure we don't support too old browsers, the usage data should be refreshed every once in a while (once-twice a year).
Generating the usage data can be done using browserslist-ga-export
Linting
Linters for both CSS and JS are available both for linting and fixing.
yarn lint
yarn lint:fix
for both CSS and JS
yarn lint:[css/js]
for either CSS or JS
yarn lint:[css/js]:fix
for either CSS or JS
Release preparation
Release steps are largely automated, this includes: changing branching to loosely follow gitflow, generating assets generating changelogs and tagging the new release. Only (purposely) manual step left is pushing the branches and tags to remote.
Changelogs are autogenerated by standard-version
if the commit guidelines are followed.
yarn release
for running releases
yarn dryrelease
for checking what the impact of a release is
CircleCI is used as the CI automation. Steps for releasing new versions are in the Planet4 Documentation