Skip to content

Commit

Permalink
Merge branch 'main' into fix-windows-ci-2
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter authored Dec 18, 2024
2 parents ca73aa8 + 9672eaf commit 7dc2cde
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 66 deletions.
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ body:
id: scope
attributes:
label: Scope
description: Select the scope(s) of the issue.
description: >-
Select the scope(s) of the issue. To propose a new directive, use the
`unstable` scope.
multiple: true
options:
- bind
Expand Down
116 changes: 58 additions & 58 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,89 +14,89 @@
## == Autogenerated configuration starts below == ##

"scope: bind":
- - changed-files:
- any-glob-to-any-file: "@mizu/bind/**"
- changed-files:
- any-glob-to-any-file: "@mizu/bind/**"
"scope: clean":
- - changed-files:
- any-glob-to-any-file: "@mizu/clean/**"
- changed-files:
- any-glob-to-any-file: "@mizu/clean/**"
"scope: code":
- - changed-files:
- any-glob-to-any-file: "@mizu/code/**"
- changed-files:
- any-glob-to-any-file: "@mizu/code/**"
"scope: custom-element":
- - changed-files:
- any-glob-to-any-file: "@mizu/custom-element/**"
- changed-files:
- any-glob-to-any-file: "@mizu/custom-element/**"
"scope: eval":
- - changed-files:
- any-glob-to-any-file: "@mizu/eval/**"
- changed-files:
- any-glob-to-any-file: "@mizu/eval/**"
"scope: event":
- - changed-files:
- any-glob-to-any-file: "@mizu/event/**"
- changed-files:
- any-glob-to-any-file: "@mizu/event/**"
"scope: for":
- - changed-files:
- any-glob-to-any-file: "@mizu/for/**"
- changed-files:
- any-glob-to-any-file: "@mizu/for/**"
"scope: html":
- - changed-files:
- any-glob-to-any-file: "@mizu/html/**"
- changed-files:
- any-glob-to-any-file: "@mizu/html/**"
"scope: http":
- - changed-files:
- any-glob-to-any-file: "@mizu/http/**"
- changed-files:
- any-glob-to-any-file: "@mizu/http/**"
"scope: if":
- - changed-files:
- any-glob-to-any-file: "@mizu/if/**"
- changed-files:
- any-glob-to-any-file: "@mizu/if/**"
"scope: internal":
- - changed-files:
- any-glob-to-any-file: "@mizu/internal/**"
- changed-files:
- any-glob-to-any-file: "@mizu/internal/**"
"scope: is":
- - changed-files:
- any-glob-to-any-file: "@mizu/is/**"
- changed-files:
- any-glob-to-any-file: "@mizu/is/**"
"scope: markdown":
- - changed-files:
- any-glob-to-any-file: "@mizu/markdown/**"
- changed-files:
- any-glob-to-any-file: "@mizu/markdown/**"
"scope: mizu":
- - changed-files:
- any-glob-to-any-file: "@mizu/mizu/**"
- changed-files:
- any-glob-to-any-file: "@mizu/mizu/**"
"scope: model":
- - changed-files:
- any-glob-to-any-file: "@mizu/model/**"
- changed-files:
- any-glob-to-any-file: "@mizu/model/**"
"scope: mustache":
- - changed-files:
- any-glob-to-any-file: "@mizu/mustache/**"
- changed-files:
- any-glob-to-any-file: "@mizu/mustache/**"
"scope: once":
- - changed-files:
- any-glob-to-any-file: "@mizu/once/**"
- changed-files:
- any-glob-to-any-file: "@mizu/once/**"
"scope: ref":
- - changed-files:
- any-glob-to-any-file: "@mizu/ref/**"
- changed-files:
- any-glob-to-any-file: "@mizu/ref/**"
"scope: refresh":
- - changed-files:
- any-glob-to-any-file: "@mizu/refresh/**"
- changed-files:
- any-glob-to-any-file: "@mizu/refresh/**"
"scope: render":
- - changed-files:
- any-glob-to-any-file: "@mizu/render/**"
- changed-files:
- any-glob-to-any-file: "@mizu/render/**"
"scope: repo":
- - changed-files:
- any-glob-to-any-file: "@mizu/repo/**"
- changed-files:
- any-glob-to-any-file: "@mizu/repo/**"
"scope: set":
- - changed-files:
- any-glob-to-any-file: "@mizu/set/**"
- changed-files:
- any-glob-to-any-file: "@mizu/set/**"
"scope: show":
- - changed-files:
- any-glob-to-any-file: "@mizu/show/**"
- changed-files:
- any-glob-to-any-file: "@mizu/show/**"
"scope: skip":
- - changed-files:
- any-glob-to-any-file: "@mizu/skip/**"
- changed-files:
- any-glob-to-any-file: "@mizu/skip/**"
"scope: test":
- - changed-files:
- any-glob-to-any-file: "@mizu/test/**"
- changed-files:
- any-glob-to-any-file: "@mizu/test/**"
"scope: text":
- - changed-files:
- any-glob-to-any-file: "@mizu/text/**"
- changed-files:
- any-glob-to-any-file: "@mizu/text/**"
"scope: toc":
- - changed-files:
- any-glob-to-any-file: "@mizu/toc/**"
- changed-files:
- any-glob-to-any-file: "@mizu/toc/**"
"scope: unstable":
- - changed-files:
- any-glob-to-any-file: "@mizu/unstable/**"
- changed-files:
- any-glob-to-any-file: "@mizu/unstable/**"
"scope: www":
- - changed-files:
- any-glob-to-any-file: "@mizu/www/**"
- changed-files:
- any-glob-to-any-file: "@mizu/www/**"
2 changes: 1 addition & 1 deletion .github/tools/fill_github_scopes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (import.meta.main) {
log.info("patching pull request labeler")
const path = ".github/labeler.yml"
const generated = YAML.stringify(Object.fromEntries(scopes.map((scope) => [`scope: ${scope}`, [
[{ "changed-files": [{ "any-glob-to-any-file": `@mizu/${scope}/**` }] }],
{ "changed-files": [{ "any-glob-to-any-file": `@mizu/${scope}/**` }] },
]])))
await Deno.writeTextFile(path, (await Deno.readTextFile(path)).replace(/(## == Autogenerated configuration starts below == ##)[\s\S]*/g, `$1\n\n${generated}`))
await command("deno", ["fmt", path], { stdout: null, stderr: null })
Expand Down
3 changes: 3 additions & 0 deletions @mizu/model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Bind an [`<input>`](https://developer.mozilla.org/docs/Web/HTML/Element/input),
> Must be used on elements with a `value` property, such as [`<input>`](https://developer.mozilla.org/docs/Web/HTML/Element/input), [`<select>`](https://developer.mozilla.org/docs/Web/HTML/Element/select), or
> [`<textarea>`](https://developer.mozilla.org/docs/Web/HTML/Element/textarea). For other elements, use the [`: attribute`](#bind) directive.
> [!NOTE]
> The `.nullish`, `.boolean`, `.number`, and `.string` modifiers are currently implemented as boolean modifiers, but future versions may change this behavior to offer more parsing features.
> [!NOTE]
> You can use the shorthand syntax `::="model"` instead of `:: value="model"`.
Expand Down
3 changes: 3 additions & 0 deletions @mizu/model/mod.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
href="https://developer.mozilla.org/docs/Web/HTML/Element/textarea"
><code>&lt;textarea&gt;</code></a>. For other elements, use the <a href="#bind"><code class="hljs-keyword">:<span class="hljs-meta">attribute</span></code></a> directive.
</mizu-restriction>
<mizu-tbd #note>
The <code>.nullish</code>, <code>.boolean</code>, <code>.number</code>, and <code>.string</code> modifiers are currently implemented as boolean modifiers, but future versions may change this behavior to offer more parsing features.
</mizu-tbd>
<mizu-note #note>
You can use the shorthand syntax <code><span class="hljs-keyword">::</span>="model"</code> instead of <code><span class="hljs-keyword">::<span class="hljs-meta">value</span></span>="model"</code>.
</mizu-note>
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7dc2cde

Please sign in to comment.