Skip to content

Commit

Permalink
ci(publish): tweak semmantic-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrc committed May 16, 2024
1 parent ae110a9 commit 4d32788
Show file tree
Hide file tree
Showing 3 changed files with 2,742 additions and 59 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="docs/logo.png" width="350px"/></p>
<p align="center"><img src="https://raw.githubusercontent.com/cern-sis/react-formule/master/docs/logo.png" width="350px"/></p>

<h3 align="center"> 🕹️ <a href="https://cern-sis.github.io/react-formule/">DEMO</a> </h2>

Expand All @@ -17,7 +17,7 @@ It originated from the need of a flexible tool for physicists at CERN to create

A simple setup (see `./formule-demo`) could look like this:

<p align="center"><img src="docs/demo.gif"/></p>
<p align="center"><img src="https://raw.githubusercontent.com/cern-sis/react-formule/master/docs/demo.gif"/></p>

## :racehorse: How it works

Expand Down Expand Up @@ -85,7 +85,11 @@ const useEffect(() => initFormuleSchema(), []);
### Customizing and adding new field types

```jsx
<FormuleContext theme={{token: {colorPrimary: "blue"}}} customFieldTypes={...} customFields={...} customWidgets={...}>
<FormuleContext
theme={{token: {colorPrimary: "blue"}}}
customFieldTypes={...}
customFields={...}
customWidgets={...}>
// ...
</FormuleContext>
```
Expand All @@ -98,7 +102,7 @@ const transformSchema = (schema) => {
return transformedSchema;
};

<FormuleContext transformSchema={transformSchema}>// ...</FormuleContext>;
<FormuleContext transformSchema={transformSchema}>/* ... */</FormuleContext>;
```

### Syncing Formule state
Expand Down
4 changes: 2 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export default {
branches: ["master", "semantic-release-github-plugin"],
branches: ["master"],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/git",
{
assets: ["package.json", "CHANGELOG.md"],
assets: ["package.json"],
message:
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
Expand Down
Loading

0 comments on commit 4d32788

Please sign in to comment.