@actuate-media/cli 0.1.1 → 0.1.3

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.
package/src/index.ts CHANGED
@@ -1,26 +1,26 @@
1
- #!/usr/bin/env node
2
- import { Command } from "commander";
3
- import { registerMigrateCommand } from "./commands/migrate.js";
4
- import { registerGenerateCommand } from "./commands/generate.js";
5
- import { registerSeedCommand } from "./commands/seed.js";
6
- import { registerImportCommand } from "./commands/import.js";
7
- import { registerExportCommand } from "./commands/export.js";
8
- import { registerUpgradeCommand } from "./commands/upgrade.js";
9
- import { registerUpdateCheckCommand } from "./commands/update-check.js";
10
-
11
- const program = new Command();
12
-
13
- program
14
- .name("actuate")
15
- .description("Actuate CMS — CLI toolkit for migrations, codegen, and more")
16
- .version("0.1.0");
17
-
18
- registerMigrateCommand(program);
19
- registerGenerateCommand(program);
20
- registerSeedCommand(program);
21
- registerImportCommand(program);
22
- registerExportCommand(program);
23
- registerUpgradeCommand(program);
24
- registerUpdateCheckCommand(program);
25
-
26
- program.parse();
1
+ #!/usr/bin/env node
2
+ import { Command } from "commander";
3
+ import { registerMigrateCommand } from "./commands/migrate.js";
4
+ import { registerGenerateCommand } from "./commands/generate.js";
5
+ import { registerSeedCommand } from "./commands/seed.js";
6
+ import { registerImportCommand } from "./commands/import.js";
7
+ import { registerExportCommand } from "./commands/export.js";
8
+ import { registerUpgradeCommand } from "./commands/upgrade.js";
9
+ import { registerUpdateCheckCommand } from "./commands/update-check.js";
10
+
11
+ const program = new Command();
12
+
13
+ program
14
+ .name("actuate")
15
+ .description("Actuate CMS — CLI toolkit for migrations, codegen, and more")
16
+ .version("0.1.0");
17
+
18
+ registerMigrateCommand(program);
19
+ registerGenerateCommand(program);
20
+ registerSeedCommand(program);
21
+ registerImportCommand(program);
22
+ registerExportCommand(program);
23
+ registerUpgradeCommand(program);
24
+ registerUpdateCheckCommand(program);
25
+
26
+ program.parse();
@@ -1,26 +1,26 @@
1
- import chalk from "chalk";
2
-
3
- export interface Logger {
4
- info(message: string): void;
5
- success(message: string): void;
6
- warn(message: string): void;
7
- error(message: string): void;
8
- }
9
-
10
- export const logger: Logger = {
11
- info(message: string): void {
12
- console.log(chalk.blue("ℹ"), message);
13
- },
14
-
15
- success(message: string): void {
16
- console.log(chalk.green("✔"), message);
17
- },
18
-
19
- warn(message: string): void {
20
- console.warn(chalk.yellow("⚠"), message);
21
- },
22
-
23
- error(message: string): void {
24
- console.error(chalk.red("✖"), message);
25
- },
26
- };
1
+ import chalk from "chalk";
2
+
3
+ export interface Logger {
4
+ info(message: string): void;
5
+ success(message: string): void;
6
+ warn(message: string): void;
7
+ error(message: string): void;
8
+ }
9
+
10
+ export const logger: Logger = {
11
+ info(message: string): void {
12
+ console.log(chalk.blue("ℹ"), message);
13
+ },
14
+
15
+ success(message: string): void {
16
+ console.log(chalk.green("✔"), message);
17
+ },
18
+
19
+ warn(message: string): void {
20
+ console.warn(chalk.yellow("⚠"), message);
21
+ },
22
+
23
+ error(message: string): void {
24
+ console.error(chalk.red("✖"), message);
25
+ },
26
+ };
package/tsconfig.json CHANGED
@@ -1,9 +1,9 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "dist",
5
- "rootDir": "src",
6
- "noEmit": false
7
- },
8
- "include": ["src"]
9
- }
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "dist",
5
+ "rootDir": "src",
6
+ "noEmit": false
7
+ },
8
+ "include": ["src"]
9
+ }
@@ -1,5 +0,0 @@
1
-  WARN  Issue while reading "C:\Git Local\actuatecms\.npmrc". Failed to replace env in config: ${NPM_TOKEN}
2
-
3
- > @actuate-media/cli@0.1.0 type-check C:\Git Local\actuatecms\packages\cli
4
- > tsc --noEmit
5
-