Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updated next with master #1675

Merged
merged 32 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b8cad76
ci: update of files from global .github repo (#1608)
asyncapi-bot Nov 15, 2023
52cac09
docs: fix links in migration to v2 (#1610)
jonaslagoni Nov 16, 2023
0e31207
docs: add jano-petras as a contributor for code, doc, and test (#1616)
allcontributors[bot] Nov 17, 2023
3e4f419
fix: update @asyncapi/parser to 2.1.2 version (#1618)
asyncapi-bot Nov 19, 2023
6f3b732
fix: update @asyncapi/openapi-schema-parser to 3.0.6 version (#1619)
asyncapi-bot Nov 19, 2023
777aa4f
fix: update @asyncapi/raml-dt-schema-parser to 4.0.6 version (#1621)
asyncapi-bot Nov 19, 2023
2b0dc01
chore(release): v2.0.4 (#1623)
asyncapi-bot Nov 19, 2023
716578e
fix: update @asyncapi/avro-schema-parser to 3.0.5 version (#1622)
asyncapi-bot Nov 19, 2023
56c4fb6
chore(release): v2.0.5 (#1624)
asyncapi-bot Nov 19, 2023
c612f38
docs: add nilkanth987 as a contributor for code, test, and 2 more (#1…
allcontributors[bot] Nov 22, 2023
5a01e37
chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /examples/i…
dependabot[bot] Dec 1, 2023
f01e082
chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /examples/i…
dependabot[bot] Dec 1, 2023
d1b0451
fix: update @asyncapi/openapi-schema-parser to 3.0.7 version (#1634)
asyncapi-bot Dec 1, 2023
d6713ab
chore(release): v2.0.6 (#1637)
asyncapi-bot Dec 1, 2023
28d8e7a
fix: update @asyncapi/openapi-schema-parser to 3.0.8 version (#1639)
asyncapi-bot Dec 4, 2023
fe1c62e
chore(release): v2.0.7 (#1642)
asyncapi-bot Dec 4, 2023
cc4b326
fix: update @asyncapi/raml-dt-schema-parser to 4.0.8 version (#1640)
asyncapi-bot Dec 5, 2023
091f3a8
chore(release): v2.0.8 (#1643)
asyncapi-bot Dec 5, 2023
d903dd3
fix: update @asyncapi/avro-schema-parser to 3.0.7 version (#1641)
asyncapi-bot Dec 9, 2023
a4aa19c
chore(release): v2.0.9 (#1645)
asyncapi-bot Dec 9, 2023
f173cf7
chore(website): create new playground layout (#1628)
devilkiller-ag Dec 11, 2023
753e710
docs: add devilkiller-ag as a contributor for code, and design (#1646)
allcontributors[bot] Dec 11, 2023
95078ad
fix: update @asyncapi/openapi-schema-parser to 3.0.9 version (#1651)
asyncapi-bot Dec 13, 2023
5763592
fix: update @asyncapi/avro-schema-parser to 3.0.8 version (#1653)
asyncapi-bot Dec 13, 2023
95c1e93
chore(release): v2.0.10 (#1654)
asyncapi-bot Dec 13, 2023
af95064
refactor(website): rewrite class-based functional components (#1655)
devilkiller-ag Dec 13, 2023
2d6da27
fix: update @asyncapi/openapi-schema-parser to 3.0.10 version (#1657)
asyncapi-bot Dec 13, 2023
fad2989
fix: update @asyncapi/raml-dt-schema-parser to 4.0.10 version (#1658)
asyncapi-bot Dec 13, 2023
a7602ca
fix: update @asyncapi/avro-schema-parser to 3.0.9 version (#1660)
asyncapi-bot Dec 13, 2023
7f7c3b3
chore(release): v2.0.13 (#1662)
asyncapi-bot Dec 13, 2023
2c055ec
chore: add devilkiller-ag as codeowner (#1647)
jonaslagoni Dec 19, 2023
8c836f6
chore: merge branch master into next
jonaslagoni Dec 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,39 @@
"contributions": [
"code"
]
},
{
"login": "jano-petras",
"name": "jano-petras",
"avatar_url": "https://avatars.githubusercontent.com/u/1147848?v=4",
"profile": "https://github.com/jano-petras",
"contributions": [
"code",
"doc",
"test"
]
},
{
"login": "nilkanth987",
"name": "Nilkanth Parmar",
"avatar_url": "https://avatars.githubusercontent.com/u/12413581?v=4",
"profile": "https://github.com/nilkanth987",
"contributions": [
"code",
"test",
"example",
"doc"
]
},
{
"login": "devilkiller-ag",
"name": "Ashmit JaiSarita Gupta",
"avatar_url": "https://avatars.githubusercontent.com/u/43639341?v=4",
"profile": "https://jaisarita.vercel.app/",
"contributions": [
"code",
"design"
]
}
],
"contributorsPerLine": 7,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
env:
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
GITHUB_LOGIN: asyncapi-bot
MERGE_LABELS: ""
MERGE_LABELS: "!do-not-merge"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "{pullRequest.title} (#{pullRequest.number})"
MERGE_RETRIES: "20"
Expand Down
4 changes: 4 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
# Core Champions that does a little of everything
* @magicmatatjahu @jonaslagoni @kennethaasan @asyncapi-bot-eve


# Website Champions
/modelina-website @devilkiller-ag

# Documentation champions
/docs

Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[![Discussions](https://img.shields.io/github/discussions/asyncapi/modelina)](https://github.com/asyncapi/modelina/discussions)
[![Website](https://img.shields.io/website?label=website&url=https%3A%2F%2Fwww.modelina.org)](https://www.modelina.org)
[![Playground](https://img.shields.io/website?label=playground&url=https%3A%2F%2Fwww.modelina.org%2Fplayground)](https://www.modelina.org/playground) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-69-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-72-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

Your one-stop tool for generating accurate and well-tested models for representing the message payloads. Use it as a tool in your development workflow, or a library in a larger integrations, entirely in your control.
Expand Down Expand Up @@ -413,6 +413,11 @@ Thanks go out to these wonderful people ([emoji key](https://allcontributors.org
<td align="center" valign="top" width="14.28%"><a href="http://princerajpoot.com"><img src="https://avatars.githubusercontent.com/u/44585452?v=4?s=100" width="100px;" alt="Prince Rajpoot"/><br /><sub><b>Prince Rajpoot</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=princerajpoot20" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/harshit-senpai"><img src="https://avatars.githubusercontent.com/u/93075068?v=4?s=100" width="100px;" alt="harshit mishra "/><br /><sub><b>harshit mishra </b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=harshit-senpai" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/PeteAudinate"><img src="https://avatars.githubusercontent.com/u/99274874?v=4?s=100" width="100px;" alt="PeteAudinate"/><br /><sub><b>PeteAudinate</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=PeteAudinate" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jano-petras"><img src="https://avatars.githubusercontent.com/u/1147848?v=4?s=100" width="100px;" alt="jano-petras"/><br /><sub><b>jano-petras</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=jano-petras" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=jano-petras" title="Documentation">📖</a> <a href="https://github.com/asyncapi/modelina/commits?author=jano-petras" title="Tests">⚠️</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nilkanth987"><img src="https://avatars.githubusercontent.com/u/12413581?v=4?s=100" width="100px;" alt="Nilkanth Parmar"/><br /><sub><b>Nilkanth Parmar</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=nilkanth987" title="Code">💻</a> <a href="https://github.com/asyncapi/modelina/commits?author=nilkanth987" title="Tests">⚠️</a> <a href="#example-nilkanth987" title="Examples">💡</a> <a href="https://github.com/asyncapi/modelina/commits?author=nilkanth987" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://jaisarita.vercel.app/"><img src="https://avatars.githubusercontent.com/u/43639341?v=4?s=100" width="100px;" alt="Ashmit JaiSarita Gupta"/><br /><sub><b>Ashmit JaiSarita Gupta</b></sub></a><br /><a href="https://github.com/asyncapi/modelina/commits?author=devilkiller-ag" title="Code">💻</a> <a href="#design-devilkiller-ag" title="Design">🎨</a></td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 2 additions & 2 deletions docs/migrations/version-1-to-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ In v2, `required` properties are no longer applied, but the rest of the structur

## Constant values

(Constant values)[https://json-schema.org/understanding-json-schema/reference/generic.html#constant-values] are now supported.
[Constant values](https://json-schema.org/understanding-json-schema/reference/generic.html#constant-values) are now supported.

```yaml
type: object
Expand All @@ -103,7 +103,7 @@ The `country` property will not have a setter and will automatically be initiali

## Discriminator

(Discriminator)[https://www.asyncapi.com/docs/reference/specification/v2.6.0#schemaComposition] is now supported.
[Discriminator](https://www.asyncapi.com/docs/reference/specification/v2.6.0#schemaComposition) is now supported.

```yaml
schemas:
Expand Down
6 changes: 3 additions & 3 deletions examples/integrate-with-next/package-lock.json

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

12 changes: 6 additions & 6 deletions examples/integrate-with-react/package-lock.json

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

66 changes: 66 additions & 0 deletions modelina-website/package-lock.json

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

2 changes: 2 additions & 0 deletions modelina-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/line-clamp": "^0.4.0",
"@tailwindcss/typography": "^0.5.9",
"@tippyjs/react": "^4.2.6",
"cssnano": "^5.1.14",
"js-base64": "^3.7.4",
"lodash": "^4.17.21",
Expand All @@ -28,6 +29,7 @@
"postcss": "^8.4.31",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-icons": "^4.12.0",
"react-markdown": "^8.0.7",
"react-syntax-highlighter": "15.5.0",
"rehype-raw": "^6.1.1",
Expand Down
2 changes: 1 addition & 1 deletion modelina-website/src/components/CodeBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default function CodeBlock({
className: 'pl-2 float-left left-0 sticky bg-code-editor-dark',
style: {}
}}
lineNumberProps={(lineNumber: any) => {
linenumberprops={(lineNumber: any) => {
const isHighlighted = highlightedLines?.includes(lineNumber) || false;
return {
className: `${
Expand Down
18 changes: 9 additions & 9 deletions modelina-website/src/components/InfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface InfoModalProps {
children: React.ReactNode;
}

export default function InfoModal(props: InfoModalProps){
export default function InfoModal(props: InfoModalProps) {

const [showModal, setShowModal] = useState(false);

Expand All @@ -21,24 +21,24 @@ export default function InfoModal(props: InfoModalProps){

const MyModal = () => {
return (
<>
<div className='fixed inset-0 bg-black bg-opacity-10' onClick={onCloseModal}></div>
<div className='fixed max-w-[45rem] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white p-2 rounded-md'>
<div className=' px-3 py-2 text-sm font-mono'>
<>
<div className='fixed inset-0 bg-black bg-opacity-10' onClick={onCloseModal} style={{ zIndex: 1000 }}></div>
<div className='fixed max-w-[45rem] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-white text-black p-2 rounded-md' style={{ zIndex: 1001 }}>
<div className='px-3 py-2 text-sm font-mono'>
<div className=' flex justify-between mb-3'><h2>{props.text}</h2><button onClick={onCloseModal} className='p-1 px-2 -mt-1 -mr-2 border-2 border-slate-200 items-center justify-center aspect-1 text-xs rounded-full'><p>X</p></button></div>
<div className="max-h-64 overflow-y-auto min-w-40">
{props.children}
</div>
</div>
</div>
</div>
</>
)
}

return(
return (
<>
<button onClick={onOpenModal}>
<div className=' p-1 bg-slate-50 -ml-6 mr-2 rounded-full'>
<div className='p-1 bg-slate-600 w-5 h-5 flex justify-center items-center rounded-full'>
<svg
className=" "
width="7"
Expand All @@ -54,7 +54,7 @@ export default function InfoModal(props: InfoModalProps){
</svg>
</div>
</button>
{showModal && <MyModal/>}
{showModal && <MyModal />}
</>
)

Expand Down
2 changes: 1 addition & 1 deletion modelina-website/src/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Select({
<select
onChange={(ev: any) => onChange(ev.target.value)}
className={twMerge(
`form-select h-full px-4 inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500 ${className}`
`form-select h-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500 ${className}`
)}
value={value}
style={{ paddingRight: '40px' }}
Expand Down
Loading
Loading