Skip to content

Commit

Permalink
fix(monorepo): Resolved issues in package.json from previous restru…
Browse files Browse the repository at this point in the history
…cturing
  • Loading branch information
sullivanpj committed Dec 26, 2024
1 parent 2845945 commit 5552236
Show file tree
Hide file tree
Showing 22 changed files with 30 additions and 162 deletions.
9 changes: 2 additions & 7 deletions packages/base/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/cli"
"directory": "packages/base/cli"
},
"private": false,
"dependencies": {
Expand All @@ -16,12 +16,7 @@
"@storm-software/config-tools": "latest",
"chalk": "5.3.0",
"commander": "12.1.0",
"console-table-printer": "2.12.1",
"execa": "^9.4.0",
"figlet": "^1.7.0",
"prompts": "^2.4.2",
"terminal-link": "^3.0.0",
"tinyexec": "^0.3.1"
"console-table-printer": "2.12.1"
},
"devDependencies": {
"@types/figlet": "^1.7.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/base/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@
*/

export * from "./program";
export * from "./types";
export * from "./utilities";
16 changes: 12 additions & 4 deletions packages/base/cli/src/program/run-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,23 @@

import type { StormConfig } from "@storm-software/config";
import { createStormConfig } from "@storm-software/config-tools";
import { writeBanner } from "@storm-stack/cli-helpers/terminal/write-banner";
import type {
CLIArgument,
CLICommand,
CLIConfig,
CLIOption
} from "@storm-stack/cli-helpers/types";
import { StormError } from "@storm-stack/errors";
import { StormLog } from "@storm-stack/logging";
import { titleCase } from "@storm-stack/string-fns";
import { EMPTY_STRING, NEWLINE_STRING } from "@storm-stack/types";
import { titleCase } from "@storm-stack/string-fns/title-case";
import {
EMPTY_STRING,
NEWLINE_STRING
} from "@storm-stack/types/utility-types/base";
import chalk from "chalk";
import { Argument, Command, Option } from "commander";
import { Table } from "console-table-printer";
import type { CLIArgument, CLICommand, CLIConfig, CLIOption } from "../types";
import { writeBanner } from "../utilities/write-banner";
import { registerShutdown } from "./shutdown";

const createCLIArgument = (cliArgument: CLIArgument): Argument => {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/cli/src/program/shutdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-------------------------------------------------------------------*/

import { StormLog } from "@storm-stack/logging";
import { StormLog } from "@storm-stack/logging/storm-log";
import type { MaybePromise } from "@storm-stack/types";

const errorTypes = ["unhandledRejection", "uncaughtException"];
Expand Down
96 changes: 0 additions & 96 deletions packages/base/cli/src/types.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/base/cli/src/utilities/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/base/date-time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/date-time"
"directory": "packages/base/date-time"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/env"
"directory": "packages/base/env"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/logging"
"directory": "packages/base/logging"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/plugin-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/plugin-system"
"directory": "packages/base/plugin-system"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/server-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/server-cache"
"directory": "packages/base/server-cache"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/server-result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/server-result"
"directory": "packages/base/server-result"
},
"private": false,
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/base/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/telemetry"
"directory": "packages/base/telemetry"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/file-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/file-system"
"directory": "packages/utils/file-system"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/hashing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/hashing"
"directory": "packages/utils/hashing"
},
"private": false,
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/hooks"
"directory": "packages/utils/hooks"
},
"private": false,
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/serialization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/serialization"
"directory": "packages/utils/serialization"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/string-fns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/string-fns"
"directory": "packages/utils/string-fns"
},
"private": false,
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/types"
"directory": "packages/utils/types"
},
"private": false,
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/unique-identifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/unique-identifier"
"directory": "packages/utils/unique-identifier"
},
"private": false,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository": {
"type": "github",
"url": "https://github.com/storm-software/storm-stack.git",
"directory": "packages/utilities"
"directory": "packages/utils/utilities"
},
"private": false,
"dependencies": {
Expand Down
15 changes: 0 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5552236

Please sign in to comment.