Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync kirimase version with package.json #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,550 changes: 2,550 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@
"consola": "^3.2.3",
"execa": "^8.0.1",
"figlet": "^1.7.0",
"kirimase": "file:",
"ora": "^8.0.1",
"pluralize": "^8.0.0",
"strip-json-comments": "^5.0.1"
9 changes: 7 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
#!/usr/bin/env node
#!/usr/bin/env node --no-warnings=ExperimentalWarning

import { Command } from "commander";
import { initProject } from "./commands/init/index.js";
import { buildSchema } from "./commands/generate/index.js";
import { addPackage } from "./commands/add/index.js";
import { toggleAnalytics } from "./commands/init/utils.js";
import pkg from '../package.json' assert { type: "json" };

const program = new Command();
program.name("kirimase").description("Kirimase CLI").version("0.0.59");
program.name("kirimase").description("Kirimase CLI").version(
`\u001B[1mv${pkg.version}\u001B[0m`,
'-v, --version',
"Kirimase version.",
).helpOption('-h, --help', 'Output usage of Kirimase.');

program
.command("analytics")
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
"outDir": "dist",
"target": "ES2020",
"module": "NodeNext",
"resolveJsonModule": true,
// "strict": true,
"sourceMap": true,
"moduleResolution": "NodeNext"