Skip to content

Commit 857e9a2

Browse files
committed
fix: Fixed title and descriptiosn not showing up. Bumped to latest @codify/plugin-core library
1 parent 1301e3d commit 857e9a2

6 files changed

Lines changed: 18 additions & 14 deletions

File tree

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "default",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "Default plugin for Codify - provides 50+ declarative resources for managing development tools and system configuration across macOS and Linux",
55
"main": "dist/index.js",
66
"scripts": {
@@ -40,7 +40,7 @@
4040
"license": "ISC",
4141
"type": "module",
4242
"dependencies": {
43-
"@codifycli/plugin-core": "1.0.0",
43+
"@codifycli/plugin-core": "1.0.1",
4444
"@codifycli/schemas": "1.0.0",
4545
"ajv": "^8.18.0",
4646
"ajv-formats": "^2.1.1",

src/resources/asdf/asdf-install.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ const schema = z.object({
2626
.string()
2727
.describe('The directory to run the install command')
2828
.optional(),
29-
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf-install' });
29+
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf-install' })
30+
.describe('Install specific version of tools using asdf.');
3031

3132
export type AsdfInstallConfig = z.infer<typeof schema>;
3233
const CURRENT_VERSION_REGEX = /^([^ ]+?)\s+([^ ]+?)\s+.*/;

src/resources/asdf/asdf-plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const schema = z
2222
.string()
2323
.describe('The gitUrl of the plugin')
2424
.optional()
25-
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf-plugin' });
25+
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf-plugin' })
26+
.describe('Asdf plugin resource for installing asdf plugins.');
2627
export type AsdfPluginConfig = z.infer<typeof schema>;
2728

2829
const PLUGIN_LIST_REGEX = /^([^ ]+?)\s+([^ ]+)/

src/resources/asdf/asdf.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const schema = z.object({
1414
'Asdf plugins to install. See: https://github.com/asdf-community for a full list'
1515
)
1616
.optional()
17-
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf' });
17+
}).meta({ $comment: 'https://codifycli.com/docs/resources/asdf/asdf' })
18+
.describe('Asdf resource for installing asdf, a tool version manager');
1819

1920
export type AsdfConfig = z.infer<typeof schema>
2021

src/resources/shell/aliases/aliases-resource.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ interface AliasDeclaration {
2626
export const schema = z.object({
2727
aliases: z
2828
.array(z.object({
29-
alias: z.string(),
30-
value: z.string(),
29+
alias: z.string().describe('The name of the alias'),
30+
value: z.string().describe('The alias value'),
3131
}))
3232
.describe('Aliases to create')
3333
.optional(),
34-
declarationsOnly: z.boolean().optional(),
34+
declarationsOnly: z.boolean().optional().describe('Only plan and manage explicitly declared aliases found in shell startup scripts.'),
3535
}).meta({ $comment: 'https://codifycli.com/docs/resources/shell/aliases' })
36+
.describe('Aliases resource. Can be used to manage multiple aliases');
3637

3738
export type AliasesConfig = z.infer<typeof schema>;
3839
export class AliasesResource extends Resource<AliasesConfig> {

0 commit comments

Comments
 (0)