@kargojs/cli 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import pc from 'picocolors';
3
3
  import { log } from '../utils/log.js';
4
4
  import { writeGeneratedFile } from '../utils/fs.js';
5
5
  function panelTemplate(id, path) {
6
- return `import { Panel, registerPanel } from '@kargojs/core';
6
+ return `import { Color, Panel, registerPanel } from '@kargojs/core';
7
7
 
8
8
  export const ${id.replace(/-/g, '_')}Panel = registerPanel(
9
9
  Panel.make({
@@ -13,7 +13,7 @@ export const ${id.replace(/-/g, '_')}Panel = registerPanel(
13
13
  databaseNotifications: false,
14
14
  })
15
15
  .colors({
16
- primary: '#2563eb',
16
+ primary: Color.Blue,
17
17
  }),
18
18
  );
19
19
  `;
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { Command } from 'commander';
2
2
  import { create } from './commands/create.js';
3
3
  import { makeResource } from './commands/make-resource.js';
4
4
  import { makePanel } from './commands/make-panel.js';
5
- const VERSION = '0.1.0';
5
+ const VERSION = '0.1.2';
6
6
  export async function main() {
7
7
  const program = new Command();
8
8
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kargojs/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for the Kargo admin framework — scaffold projects and resources",
5
5
  "license": "MIT",
6
6
  "type": "module",