Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
fix: ctrl+c now cancels prompts, closes #41
  • Loading branch information
Tommypop2 committed Apr 9, 2024
1 parent 19883da commit 3a4e453
Show file tree
Hide file tree
Showing 9 changed files with 132 additions and 133 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@changesets/cli": "2.27.1",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"turbo": "^1.13.0",
"turbo": "^1.13.2",
"vitest": "^1.4.0"
},
"packageManager": "pnpm@8.15.5"
Expand Down
6 changes: 3 additions & 3 deletions packages/commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@
},
"devDependencies": {
"@chialab/esbuild-plugin-meta-url": "^0.18.2",
"@types/node": "^20.11.30",
"@types/node": "^20.12.6",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
"typescript": "^5.4.4"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@begit/core": "^0.0.13",
"@begit/core": "^0.0.14",
"@clack/prompts": "0.7.0",
"@solid-cli/reactivity": "workspace:*",
"@solid-cli/ui": "workspace:*",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
"@solid-cli/swc-plugin-solid-cli": "workspace:*",
"@solid-cli/ui": "workspace:*",
"@solid-cli/utils": "workspace:*",
"@swc/core": "^1.4.8",
"@swc/core": "^1.4.13",
"cmd-ts": "^0.13.0",
"execa": "^8.0.1",
"picocolors": "^1.0.0",
"smol-toml": "^1.1.4",
"tiny-updater": "^3.5.1"
"tiny-updater": "^3.5.2"
},
"scripts": {
"start": "jiti ./src/index.ts",
"build": "tsc && tsup"
},
"devDependencies": {
"@chialab/esbuild-plugin-meta-url": "^0.18.2",
"@types/node": "^20.11.30",
"@types/node": "^20.12.6",
"jiti": "^1.21.0",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
"typescript": "^5.4.4"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"devDependencies": {
"@clack/prompts": "0.7.0",
"@solid-cli/commands": "workspace:*",
"@types/node": "^20.11.30",
"@types/node": "^20.12.6",
"cmd-ts": "^0.13.0",
"jiti": "^1.21.0",
"picocolors": "^1.0.0",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
"typescript": "^5.4.4"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/reactivity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"author": "Thomas Beer",
"devDependencies": {
"tsup": "^8.0.2",
"typescript": "^5.4.3"
"typescript": "^5.4.4"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"devDependencies": {
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"@types/node": "20.11.30"
"typescript": "^5.4.4",
"@types/node": "20.12.6"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/ui/src/components/autocomplete/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { isCancel } from "@clack/core";
import { log } from "@clack/prompts";
import color from "picocolors";
// Taken from https://github.com/natemoo-re/clack/blob/main/packages/prompts/src/index.ts#L642
Expand Down Expand Up @@ -85,7 +84,7 @@ export {
const cancelable = async <T = unknown>(prompt: Promise<T | symbol>, cancelMessage: string = "Canceled"): Promise<T> => {
const value = await prompt;

if (isCancel(value)) {
if (typeof value === "symbol") {
log.warn(cancelMessage);
process.exit(0);
}
Expand Down
6 changes: 3 additions & 3 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
},
"devDependencies": {
"@chialab/esbuild-plugin-meta-url": "^0.18.2",
"@types/node": "20.11.30",
"@types/node": "20.12.6",
"jiti": "^1.21.0",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"typescript": "^5.4.4",
"vitest": "^1.4.0"
},
"publishConfig": {
Expand All @@ -76,7 +76,7 @@
"@clack/core": "0.3.4",
"@clack/prompts": "0.7.0",
"@solid-cli/reactivity": "workspace:*",
"@swc/core": "^1.4.8",
"@swc/core": "^1.4.13",
"cmd-ts": "^0.13.0",
"execa": "^8.0.1",
"picocolors": "^1.0.0",
Expand Down
Loading

0 comments on commit 3a4e453

Please sign in to comment.