For running glee on your local computer, you need NodeJS
preferrably v18 or higher and npm.
install nodejs from https://nodejs.org/en
- Install dependencies -
npm i
- build glee using
npm run build
ornpm run dev
.
Onboarding guide for asycapi/glee
Welcome new maintainer! Now that you have been voted in as a new asyncapi/glee maintainer, we wanted to make sure we got you off to a good start.
The primary objective of a core maintainer is to further CLI's goal of being both an awesome command Line Interface and a thriving and friendly community.
All maintainers are expected to do the following:
- Positively represent asyncapi/glee
Onboading guide for asyncapi/cli
Welcome new maintainer! Now that you have been voted in as a new asyncapi/cli maintainer, we wanted to make sure we got you off to a good start.
The primary objective of a core maintainer is to further CLI's goal of being both an awesome command Line Interface and a thriving and friendly community.
export default async function () { | |
return { | |
authentication: (servername: string, channelname: string, parsedAsyncAPISpec: AsyncAPI) { | |
if (servername === 'ws-client') { | |
return {token: process.env.TOKEN} | |
} | |
} | |
} | |
} |
➜ npm run test | |
> @asyncapi/cli@0.27.2 pretest | |
> npm run build | |
> @asyncapi/cli@0.27.2 build | |
> rimraf lib && node scripts/fetch-asyncapi-example.js && tsc && echo "Build Completed" | |
Fetched ZIP file |
// bundler integration function | |
const bundle = require('@asyncapi/bundler'); | |
async function bundler(inputs,options, output) { | |
const files = inputs.files; | |
const base = options.base; | |
const format = output.format; | |
const document = await bundle(files, { | |
base: base |
import {main, options} from '@asyncapi/bundler/cli'; | |
import bundle from '@asyncapi/bundler'; | |
import Command from './base'; | |
import {Flags} from '@oclif/core'; | |
export default class Bundle extends Command { | |
static strict = false; | |
static flags = options.getFlags(Flags); | |
async run(){ |
import {main, options} from '@asyncapi/diff/cli'; | |
import Command from '../base'; | |
import {flags} from '@oclif/command'; | |
export default class Diff extends Command { | |
static flags = options.getFlags(flags); | |
static args = options.args; |
import "./styles.css"; | |
import { usePokemon } from "./hook"; | |
export default function App() { | |
let pokemons = usePokemon(); | |
return ( | |
<div> | |
<h1>Hello CodeSandbox</h1> | |
<h2>Start editing to see some magic happen!</h2> | |
<table> | |
<tr> |