Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
feat: update Modelina dependency (#321)
Browse files Browse the repository at this point in the history
* update dependency and implementation

* fixed linter

* install ajv

* update dependency

* Removed unused example

* added nvm file

* Updated dependencies and lock file

* update npm

* Update examples-pr-testing.yml

* Update examples-pr-testing.yml

* Update examples-pr-testing.yml

* Update examples-pr-testing.yml

* updated lockfile to v2

* Update examples-pr-testing.yml

* Update examples-pr-testing.yml

* update package

* add yaml example

* fix lint

* remove unused config for eslint

* remove unused package config

* fix script

* switch to asyncapi cli

* remove yaml example
  • Loading branch information
jonaslagoni authored Mar 22, 2023
1 parent f4b0b6e commit c3323b2
Show file tree
Hide file tree
Showing 25 changed files with 6,679 additions and 21,913 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/examples-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,17 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14
node-version-file: '.nvmrc'
- name: Install dependencies
id: first-installation
run: npm install --loglevel verbose
continue-on-error: true
- name: Clear NPM cache and install deps again
run: |
npm cache clean --force
npm install --loglevel verbose
run: npm ci
- name: Generate examples
run: npm run generate:examples
- name: Build examples
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14
2 changes: 1 addition & 1 deletion examples/newtonsoft/Generate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rm -rf ./streetlight
../../node_modules/@asyncapi/generator/cli.js --param "serializationLibrary=newtonsoft" --force-write --output "./streetlight" "../streetlight.json" "../../"
../../node_modules/.bin/asyncapi generate fromTemplate "../streetlight.json" "../../" --force-write --output "./streetlight" --param "serializationLibrary=newtonsoft"
1 change: 0 additions & 1 deletion examples/newtonsoft/streetlight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
**We highly recommend you do not modify this client in any way since it is build for you to re-generate it when your AsyncAPI document changes.**




2 changes: 1 addition & 1 deletion examples/pubsub/Generate.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

rm -rf ./streetlight
../../node_modules/@asyncapi/generator/cli.js --output "./streetlight" "../streetlight.json" "../../" --force-write
../../node_modules/.bin/asyncapi generate fromTemplate "../streetlight.json" "../../" --force-write --output "./streetlight"
1 change: 0 additions & 1 deletion examples/pubsub/streetlight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
**We highly recommend you do not modify this client in any way since it is build for you to re-generate it when your AsyncAPI document changes.**




22 changes: 0 additions & 22 deletions examples/streetlight/AsyncapiNatsClient/AsyncapiNatsClient.csproj

This file was deleted.

119 changes: 0 additions & 119 deletions examples/streetlight/AsyncapiNatsClient/Client.cs

This file was deleted.

15 changes: 0 additions & 15 deletions examples/streetlight/AsyncapiNatsClient/ClientNotConnected.cs

This file was deleted.

10 changes: 0 additions & 10 deletions examples/streetlight/AsyncapiNatsClient/LoggingInterface.cs

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions examples/streetlight/AsyncapiNatsClient/models/.cs

This file was deleted.

31 changes: 0 additions & 31 deletions examples/streetlight/AsyncapiNatsClientSolution.sln

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions examples/streetlight/AsyncapiNatsClientTests/models/Test.cs

This file was deleted.

Loading

0 comments on commit c3323b2

Please sign in to comment.