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

feat: initial changes to just compile with bun #1678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3,395 changes: 3,395 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

9,571 changes: 2,902 additions & 6,669 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"@asyncapi/converter": "^1.6.2",
"@asyncapi/diff": "^0.5.0",
"@asyncapi/generator": "^1.17.25",
"@asyncapi/modelina-cli": "^4.0.0-next.48",
"@asyncapi/openapi-schema-parser": "^3.0.24",
"@asyncapi/optimizer": "^1.0.4",
"@asyncapi/parser": "^3.3.0",
"@asyncapi/protobuf-schema-parser": "^3.4.0",
"@asyncapi/raml-dt-schema-parser": "^4.0.24",
"@asyncapi/studio": "^0.20.0",
"@clack/prompts": "^0.7.0",
"@oclif/core": "^4.0.28",
"@smoya/asyncapi-adoption-metrics": "^2.4.9",
"@stoplight/spectral-cli": "6.9.0",
"@stoplight/spectral-core": "^1.19.4",
"@stoplight/spectral-functions": "^1.9.3",
"ajv": "^8.17.1",
"chalk": "^4.1.0",
"chokidar": "^3.5.2",
"fast-levenshtein": "^3.0.0",
Expand Down Expand Up @@ -140,7 +140,7 @@
},
"repository": "asyncapi/cli",
"scripts": {
"build": "rimraf lib && node scripts/fetch-asyncapi-example.js && tsc && oclif manifest && echo \"Build Completed\"",
"build": "rimraf lib && tsc && oclif manifest && echo \"Build Completed\"",
"bump:github-action": "cd github-action/lib/ && node bump-action-version.js",
"bump:version": "npx -p @changesets/[email protected] changeset version && npm run bump:github-action",
"dev": "tsc --watch",
Expand Down
262 changes: 0 additions & 262 deletions src/commands/diff.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/commands/generate/fromTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { load, Specification } from '../../core/models/SpecificationFile';
import { isLocalTemplate, Watcher } from '../../core/utils/generator';
import { ValidationError } from '../../core/errors/validation-error';
import { GeneratorError } from '../../core/errors/generator-error';
import { Parser } from '@asyncapi/parser';
// import { Parser } from '@asyncapi/parser';
import { intro, isCancel, spinner, text } from '@clack/prompts';
import { inverse, yellow, magenta, green, red } from 'picocolors';
import fetch from 'node-fetch';
Expand Down Expand Up @@ -64,7 +64,7 @@ export default class Template extends Command {
template: Args.string({ description: '- Name of the generator template like for example @asyncapi/html-template or https://github.com/asyncapi/html-template', required: true }),
};

parser = new Parser();
//parser = new Parser();

async run() {
const { args, flags } = await this.parse(Template); // NOSONAR
Expand Down
Loading
Loading