Skip to content

Commit

Permalink
Update package.json metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Corb3nik committed Oct 14, 2024
1 parent da95418 commit bc579ac
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"name": "@caido-community/create-plugin",
"version": "0.0.1",
"version": "0.0.2",
"description": "Initializer for Caido plugins",
"author": "Caido Labs Inc. <[email protected]>",
"homepage": "https://github.com/caido-community/create-plugin",
"bin": {
"create-plugin": "./dist/index.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/caido-community/create-plugin.git"
},
"scripts": {
"build": "unbuild"
},
Expand All @@ -16,7 +22,6 @@
"node": "^18.0.0 || >=20.0.0"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@inquirer/prompts": "7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const prompt = async (): Promise<ScaffoldConfig> => {
});

const hasFrontend = await confirm({
message: "Will your plugin package need to customize the user interface?",
message: "Will your plugin package customize the Caido UI?",
});

let frontend: ScaffoldConfig['frontend'] | undefined = undefined;
Expand All @@ -24,7 +24,7 @@ export const prompt = async (): Promise<ScaffoldConfig> => {
frontend = await select({
message: 'Choose a frontend framework:',
choices: [
{ name: 'VueJS', value: { framework: 'vue' }, description: 'Build user interfaces with VueJS and Caido components' },
{ name: 'VueJS', value: { framework: 'vue' }, description: 'Build UIs with VueJS and Caido components (recommended)' },
{ name: 'No Framework', value: { framework: 'none' } },
],
});
Expand Down
6 changes: 2 additions & 4 deletions templates/frontend-vanilla/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# VueJS Frontend Template
# Vanilla JS Frontend Template

This template should be used as a starting point for creating a new plugin with a VueJS frontend.
This template should be used as a starting point for creating a new plugin with a vanilla JS frontend.

## Features

- [pnpm](https://pnpm.io/) as package manager
- [TypeScript](https://www.typescriptlang.org/)
- [VueJS](https://vuejs.org/)
- [PrimeVue](https://primevue.org/) for UI components
4 changes: 2 additions & 2 deletions templates/frontend-vanilla/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend-vue",
"name": "frontend-vanilla",
"version": "0.0.1",
"description": "Plugin template with frontend using VueJS",
"description": "Plugin package template with frontend",
"author": "Caido Labs Inc. <[email protected]>",
"license": "CC0-1.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion templates/frontend-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "frontend-vue",
"version": "0.0.1",
"description": "Plugin template with frontend using VueJS",
"description": "Plugin package template with frontend using VueJS",
"author": "Caido Labs Inc. <[email protected]>",
"license": "CC0-1.0",
"type": "module",
Expand Down

0 comments on commit bc579ac

Please sign in to comment.