Skip to content

Commit

Permalink
Merge pull request #56 from birkskyum/Add-with-type-json-on-json-import
Browse files Browse the repository at this point in the history
Add  with { type: "json" } to package.json import
  • Loading branch information
Tommypop2 authored Oct 31, 2024
2 parents bee4bb8 + 0bdb673 commit fbba4d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-solid/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import { AllSupported, handleNew, isSupported } from "@solid-cli/commands/new";
import color from "picocolors";
import { intro } from "@clack/prompts";
import { version } from "../package.json";
import packageJson from "../package.json" with { type: "json" };
import { command, run, option, string, boolean, flag, optional, positional } from "cmd-ts";

intro(`\n${color.bgCyan(color.black(` Create-Solid v${version}`))}`);
intro(`\n${color.bgCyan(color.black(` Create-Solid v${packageJson.version}`))}`);

const app = command({
name: "create-solid",
Expand Down

0 comments on commit fbba4d7

Please sign in to comment.