-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
2,853 additions
and
2,866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# merpress | ||
# MerPress | ||
|
||
Merpress is a WordPress plugin for creating diagrams and visualizations using | ||
MerPress is a WordPress plugin for creating diagrams and visualizations using | ||
[MermaidJS](https://mermaid.js.org). | ||
|
||
## Setup | ||
|
@@ -13,7 +13,7 @@ pnpm install && composer install | |
|
||
## Development | ||
|
||
Development now uses wordpress blocks best practices (i.e. '@wordpress/scripts' | ||
Development now uses WordPress blocks best practices (i.e. '@wordpress/scripts' | ||
to generate the javascript). Create the production javascript with: | ||
|
||
```sh | ||
|
@@ -41,13 +41,13 @@ pnpm wp-scripts format <filename> | |
1. `pnpm update -L` | ||
2. `composer update` | ||
3. Build a new version of mermaid (change to the mermaid git repo directory) | ||
1. Change the tag to the version you want: e.g. `git fetch origin [email protected].0 --depth 1` | ||
2. `git checkout -b [email protected].0 FETCH_HEAD` | ||
1. Change the tag to the version you want: e.g. `git fetch origin [email protected].1 --depth 1` | ||
2. `git checkout -b [email protected].1 FETCH_HEAD` | ||
3. `pnpm i` | ||
4. `pnpm run -r clean` | ||
5. `pnpm run build:mermaid` | ||
6. `cp packages/mermaid/dist/mermaid.{,min.}js* $MERPRESS_DIR/public/` | ||
4. Update versions (`bin/update-versions.sh`), rebuild (`pnpm build`), test, commit, create PR. | ||
4. Update versions (`bin/update-versions.sh`), rebuild (`pnpm build`), test, commit, create PR. _(Check if the WordPress version or other README values should be updated.)_ | ||
|
||
## Setting a new version | ||
|
||
|
@@ -57,7 +57,7 @@ takes 1 positional parameter (the new plugin version) and an optional one | |
|
||
```sh | ||
# Update this plugin | ||
./bin/update-versions.sh 1.1.6 11.4.0 | ||
./bin/update-versions.sh 1.1.7 11.4.1 | ||
# need to build again | ||
pnpm build | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php declare( strict_types=1 ); | ||
return array( | ||
'dependencies' => array( 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-media-utils', 'wp-notices', 'wp-primitives' ), | ||
'version' => '601083c253da339eca17', | ||
'version' => '3ac04bb5bb60a7f0bf35', | ||
); |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.