-
Notifications
You must be signed in to change notification settings - Fork 392
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
Cb 5988 plugin template #3136
base: devel
Are you sure you want to change the base?
Cb 5988 plugin template #3136
Conversation
const opts = body && body.length > 0 ? { input: body } : {}; | ||
return require('execa').command(action, { ...opts, shell: true }); | ||
}, | ||
createPrompter: () => require('enquirer'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add enquirer dependency to the package.json
{ | ||
"path": "../core-di/tsconfig.json" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will not work in ee
"dependencies": { | ||
"@cloudbeaver/core-di": "^0", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have core-cli and typescript dev dependencies
--- | ||
import type { PluginManifest } from '@cloudbeaver/core-di'; | ||
|
||
export const <%= h.changeCase.camel(name) %>: PluginManifest = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add Manifest suffix
import { Bootstrap, injectable } from '@cloudbeaver/core-di'; | ||
|
||
@injectable() | ||
export class <%= h.changeCase.pascal(name) %>Service extends Bootstrap { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use Bootstrap suffix
No description provided.