Skip to content

Commit bc579ac

Browse files
committed
Update package.json metadata
1 parent da95418 commit bc579ac

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "@caido-community/create-plugin",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Initializer for Caido plugins",
5+
"author": "Caido Labs Inc. <dev@caido.io>",
6+
"homepage": "https://github.com/caido-community/create-plugin",
57
"bin": {
68
"create-plugin": "./dist/index.mjs"
79
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/caido-community/create-plugin.git"
13+
},
814
"scripts": {
915
"build": "unbuild"
1016
},
@@ -16,7 +22,6 @@
1622
"node": "^18.0.0 || >=20.0.0"
1723
},
1824
"keywords": [],
19-
"author": "",
2025
"license": "MIT",
2126
"devDependencies": {
2227
"@inquirer/prompts": "7.0.0",

src/prompt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const prompt = async (): Promise<ScaffoldConfig> => {
1515
});
1616

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

2121
let frontend: ScaffoldConfig['frontend'] | undefined = undefined;
@@ -24,7 +24,7 @@ export const prompt = async (): Promise<ScaffoldConfig> => {
2424
frontend = await select({
2525
message: 'Choose a frontend framework:',
2626
choices: [
27-
{ name: 'VueJS', value: { framework: 'vue' }, description: 'Build user interfaces with VueJS and Caido components' },
27+
{ name: 'VueJS', value: { framework: 'vue' }, description: 'Build UIs with VueJS and Caido components (recommended)' },
2828
{ name: 'No Framework', value: { framework: 'none' } },
2929
],
3030
});

templates/frontend-vanilla/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# VueJS Frontend Template
1+
# Vanilla JS Frontend Template
22

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

55
## Features
66

77
- [pnpm](https://pnpm.io/) as package manager
88
- [TypeScript](https://www.typescriptlang.org/)
9-
- [VueJS](https://vuejs.org/)
10-
- [PrimeVue](https://primevue.org/) for UI components

templates/frontend-vanilla/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "frontend-vue",
2+
"name": "frontend-vanilla",
33
"version": "0.0.1",
4-
"description": "Plugin template with frontend using VueJS",
4+
"description": "Plugin package template with frontend",
55
"author": "Caido Labs Inc. <dev@caido.io>",
66
"license": "CC0-1.0",
77
"type": "module",

templates/frontend-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "frontend-vue",
33
"version": "0.0.1",
4-
"description": "Plugin template with frontend using VueJS",
4+
"description": "Plugin package template with frontend using VueJS",
55
"author": "Caido Labs Inc. <dev@caido.io>",
66
"license": "CC0-1.0",
77
"type": "module",

0 commit comments

Comments
 (0)