Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Mar 13, 2023
1 parent 7d4aac2 commit a685fc6
Show file tree
Hide file tree
Showing 24 changed files with 218 additions and 6,142 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ trim_trailing_whitespace = true
[*.astro]
insert_final_newline = false

[*.md]
[{*.md,*.yaml}]
indent_size = 2
indent_style = space
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dist
node_modules
package-lock.json
*-lock.*
*.log*
.DS_Store
.vscode
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The **`<When>`** component renders if the given conditions are truthy.
---
import { When } from '@astropub/flow'
---
<When {checkForTruthiness} {alsoCheckForTruthiness}>
<When test1={checkForTruthiness} test2={alsoCheckForTruthiness}>
<p>Everything was Truthy!</p>
<Fragment slot="else">
Expand Down Expand Up @@ -79,7 +79,7 @@ import { Case, For, Switch } from '@astropub/flow'
(item) => <h2>{item.title}</h2>
}</For>
<When {true}>
<When test={true}>
<p>Things are true.</p>
</When>
Expand Down
26 changes: 12 additions & 14 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"name": "astro-flow-demo",
"type": "module",
"version": "0.3.6",
"private": true,
"scripts": {
"start": "astro dev",
"build": "astro build",
"serve": "astro preview"
},
"devDependencies": {
"@astropub/flow": "workspace:^0.3.6",
"astro": "latest"
},

"name": "@astropub/flow.demo",
"private": true,
"type": "module",
"scripts": {
"start": "astro dev",
"build": "astro build",
"serve": "astro preview"
},
"devDependencies": {
"@astropub/flow": "0.4.0",
"astro": "latest"
}
}
Loading

0 comments on commit a685fc6

Please sign in to comment.