From d5f266a5378ddb17c70fcced020f5dddca21391a Mon Sep 17 00:00:00 2001 From: Francesco Ceccon Date: Thu, 16 Nov 2023 14:26:59 +0100 Subject: [PATCH] create-starknet: fix npm package --- .changeset/tough-emus-wink.md | 5 + biome.json | 6 + packages/create-starknet/nodemon.json | 6 - packages/create-starknet/package.json | 8 +- .../templates/next/.eslintrc.json | 0 .../{ => public}/templates/next/.gitignore | 0 .../templates/next/README-template.md | 0 .../templates/next/next.config.js | 0 .../{ => public}/templates/next/package.json | 0 .../templates/next/postcss.config.js | 0 .../templates/next/public/next.svg | 0 .../templates/next/public/vercel.svg | 0 .../templates/next/src/app/favicon.ico | Bin .../templates/next/src/app/globals.css | 0 .../templates/next/src/app/layout.tsx | 0 .../templates/next/src/app/page.tsx | 0 .../next/src/components/WalletBar.tsx | 0 .../next/src/components/starknet-provider.tsx | 2 +- .../next/src/components/ui/Button.tsx | 5 +- .../templates/next/tailwind.config.ts | 0 .../{ => public}/templates/next/tsconfig.json | 0 .../{ => public}/templates/vite/.eslintrc.cjs | 0 .../{ => public}/templates/vite/eslintrc.json | 0 .../{ => public}/templates/vite/gitignore | 0 .../{ => public}/templates/vite/index.html | 0 .../{ => public}/templates/vite/package.json | 0 .../templates/vite/postcss.config.cjs | 0 .../templates/vite/public/vite.svg | 0 .../{ => public}/templates/vite/src/App.tsx | 2 +- .../templates/vite/src/components/Header.tsx | 3 +- .../src/components/starknet/ConnectModal.tsx | 2 +- .../vite/src/components/ui/Button.tsx | 5 +- .../vite/src/components/ui/Dialog.tsx | 0 .../templates/vite/src/globals.css | 0 .../{ => public}/templates/vite/src/main.tsx | 2 +- .../templates/vite/src/vite-env.d.ts | 0 .../templates/vite/tailwind.config.js | 0 .../{ => public}/templates/vite/tsconfig.json | 0 .../templates/vite/tsconfig.node.json | 0 .../templates/vite/vite.config.ts | 0 packages/create-starknet/{ => src}/index.ts | 12 +- .../{helpers => src}/installation.ts | 2 +- .../{helpers => src}/packageManager.ts | 0 .../{helpers => src}/validate.ts | 0 .../templates/next/next-env.d.ts | 5 - packages/create-starknet/tsup.config.ts | 10 ++ pnpm-lock.yaml | 123 +----------------- 47 files changed, 38 insertions(+), 160 deletions(-) create mode 100644 .changeset/tough-emus-wink.md delete mode 100644 packages/create-starknet/nodemon.json rename packages/create-starknet/{ => public}/templates/next/.eslintrc.json (100%) rename packages/create-starknet/{ => public}/templates/next/.gitignore (100%) rename packages/create-starknet/{ => public}/templates/next/README-template.md (100%) rename packages/create-starknet/{ => public}/templates/next/next.config.js (100%) rename packages/create-starknet/{ => public}/templates/next/package.json (100%) rename packages/create-starknet/{ => public}/templates/next/postcss.config.js (100%) rename packages/create-starknet/{ => public}/templates/next/public/next.svg (100%) rename packages/create-starknet/{ => public}/templates/next/public/vercel.svg (100%) rename packages/create-starknet/{ => public}/templates/next/src/app/favicon.ico (100%) rename packages/create-starknet/{ => public}/templates/next/src/app/globals.css (100%) rename packages/create-starknet/{ => public}/templates/next/src/app/layout.tsx (100%) rename packages/create-starknet/{ => public}/templates/next/src/app/page.tsx (100%) rename packages/create-starknet/{ => public}/templates/next/src/components/WalletBar.tsx (100%) rename packages/create-starknet/{ => public}/templates/next/src/components/starknet-provider.tsx (100%) rename packages/create-starknet/{ => public}/templates/next/src/components/ui/Button.tsx (69%) rename packages/create-starknet/{ => public}/templates/next/tailwind.config.ts (100%) rename packages/create-starknet/{ => public}/templates/next/tsconfig.json (100%) rename packages/create-starknet/{ => public}/templates/vite/.eslintrc.cjs (100%) rename packages/create-starknet/{ => public}/templates/vite/eslintrc.json (100%) rename packages/create-starknet/{ => public}/templates/vite/gitignore (100%) rename packages/create-starknet/{ => public}/templates/vite/index.html (100%) rename packages/create-starknet/{ => public}/templates/vite/package.json (100%) rename packages/create-starknet/{ => public}/templates/vite/postcss.config.cjs (100%) rename packages/create-starknet/{ => public}/templates/vite/public/vite.svg (100%) rename packages/create-starknet/{ => public}/templates/vite/src/App.tsx (100%) rename packages/create-starknet/{ => public}/templates/vite/src/components/Header.tsx (96%) rename packages/create-starknet/{ => public}/templates/vite/src/components/starknet/ConnectModal.tsx (94%) rename packages/create-starknet/{ => public}/templates/vite/src/components/ui/Button.tsx (69%) rename packages/create-starknet/{ => public}/templates/vite/src/components/ui/Dialog.tsx (100%) rename packages/create-starknet/{ => public}/templates/vite/src/globals.css (100%) rename packages/create-starknet/{ => public}/templates/vite/src/main.tsx (100%) rename packages/create-starknet/{ => public}/templates/vite/src/vite-env.d.ts (100%) rename packages/create-starknet/{ => public}/templates/vite/tailwind.config.js (100%) rename packages/create-starknet/{ => public}/templates/vite/tsconfig.json (100%) rename packages/create-starknet/{ => public}/templates/vite/tsconfig.node.json (100%) rename packages/create-starknet/{ => public}/templates/vite/vite.config.ts (100%) rename packages/create-starknet/{ => src}/index.ts (93%) rename packages/create-starknet/{helpers => src}/installation.ts (96%) rename packages/create-starknet/{helpers => src}/packageManager.ts (100%) rename packages/create-starknet/{helpers => src}/validate.ts (100%) delete mode 100644 packages/create-starknet/templates/next/next-env.d.ts create mode 100644 packages/create-starknet/tsup.config.ts diff --git a/.changeset/tough-emus-wink.md b/.changeset/tough-emus-wink.md new file mode 100644 index 00000000..0fece3e2 --- /dev/null +++ b/.changeset/tough-emus-wink.md @@ -0,0 +1,5 @@ +--- +"create-starknet": patch +--- + +Fix npm package diff --git a/biome.json b/biome.json index b6a54073..f686ed15 100644 --- a/biome.json +++ b/biome.json @@ -10,6 +10,12 @@ "complexity": { "useLiteralKeys": "off" + }, + "a11y": { + "useAltText": "off", + "noBlankTarget": "off", + "useButtonType": "off", + "useKeyWithClickEvents": "off" } } }, diff --git a/packages/create-starknet/nodemon.json b/packages/create-starknet/nodemon.json deleted file mode 100644 index a49f2842..00000000 --- a/packages/create-starknet/nodemon.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "watch": ["./"], - "ext": ".ts,.js", - "ignore": [], - "exec": "npx ts-node ./index.ts" -} diff --git a/packages/create-starknet/package.json b/packages/create-starknet/package.json index 74ee8ff3..c8ddbc47 100644 --- a/packages/create-starknet/package.json +++ b/packages/create-starknet/package.json @@ -4,9 +4,7 @@ "description": "Create starknet apps with one command", "main": "index.js", "scripts": { - "build": "rimraf ./dist && tsc", - "clean": "rimraf ./dist", - "dev": "npx nodemon", + "build": "tsup --publicDir", "start": "pnpm run build && node dist/index.js", "lint": "biome check .", "lint:fix": "pnpm lint --apply", @@ -27,9 +25,7 @@ "@types/node": "^18.11.18", "@types/prompts": "2.0.1", "@types/validate-npm-package-name": "^4.0.0", - "nodemon": "^2.0.20", - "rimraf": "^4.1.2", - "ts-node": "^10.9.1", + "tsup": "^7.2.0", "typescript": "^4.9.5" }, "files": [ diff --git a/packages/create-starknet/templates/next/.eslintrc.json b/packages/create-starknet/public/templates/next/.eslintrc.json similarity index 100% rename from packages/create-starknet/templates/next/.eslintrc.json rename to packages/create-starknet/public/templates/next/.eslintrc.json diff --git a/packages/create-starknet/templates/next/.gitignore b/packages/create-starknet/public/templates/next/.gitignore similarity index 100% rename from packages/create-starknet/templates/next/.gitignore rename to packages/create-starknet/public/templates/next/.gitignore diff --git a/packages/create-starknet/templates/next/README-template.md b/packages/create-starknet/public/templates/next/README-template.md similarity index 100% rename from packages/create-starknet/templates/next/README-template.md rename to packages/create-starknet/public/templates/next/README-template.md diff --git a/packages/create-starknet/templates/next/next.config.js b/packages/create-starknet/public/templates/next/next.config.js similarity index 100% rename from packages/create-starknet/templates/next/next.config.js rename to packages/create-starknet/public/templates/next/next.config.js diff --git a/packages/create-starknet/templates/next/package.json b/packages/create-starknet/public/templates/next/package.json similarity index 100% rename from packages/create-starknet/templates/next/package.json rename to packages/create-starknet/public/templates/next/package.json diff --git a/packages/create-starknet/templates/next/postcss.config.js b/packages/create-starknet/public/templates/next/postcss.config.js similarity index 100% rename from packages/create-starknet/templates/next/postcss.config.js rename to packages/create-starknet/public/templates/next/postcss.config.js diff --git a/packages/create-starknet/templates/next/public/next.svg b/packages/create-starknet/public/templates/next/public/next.svg similarity index 100% rename from packages/create-starknet/templates/next/public/next.svg rename to packages/create-starknet/public/templates/next/public/next.svg diff --git a/packages/create-starknet/templates/next/public/vercel.svg b/packages/create-starknet/public/templates/next/public/vercel.svg similarity index 100% rename from packages/create-starknet/templates/next/public/vercel.svg rename to packages/create-starknet/public/templates/next/public/vercel.svg diff --git a/packages/create-starknet/templates/next/src/app/favicon.ico b/packages/create-starknet/public/templates/next/src/app/favicon.ico similarity index 100% rename from packages/create-starknet/templates/next/src/app/favicon.ico rename to packages/create-starknet/public/templates/next/src/app/favicon.ico diff --git a/packages/create-starknet/templates/next/src/app/globals.css b/packages/create-starknet/public/templates/next/src/app/globals.css similarity index 100% rename from packages/create-starknet/templates/next/src/app/globals.css rename to packages/create-starknet/public/templates/next/src/app/globals.css diff --git a/packages/create-starknet/templates/next/src/app/layout.tsx b/packages/create-starknet/public/templates/next/src/app/layout.tsx similarity index 100% rename from packages/create-starknet/templates/next/src/app/layout.tsx rename to packages/create-starknet/public/templates/next/src/app/layout.tsx diff --git a/packages/create-starknet/templates/next/src/app/page.tsx b/packages/create-starknet/public/templates/next/src/app/page.tsx similarity index 100% rename from packages/create-starknet/templates/next/src/app/page.tsx rename to packages/create-starknet/public/templates/next/src/app/page.tsx diff --git a/packages/create-starknet/templates/next/src/components/WalletBar.tsx b/packages/create-starknet/public/templates/next/src/components/WalletBar.tsx similarity index 100% rename from packages/create-starknet/templates/next/src/components/WalletBar.tsx rename to packages/create-starknet/public/templates/next/src/components/WalletBar.tsx diff --git a/packages/create-starknet/templates/next/src/components/starknet-provider.tsx b/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx similarity index 100% rename from packages/create-starknet/templates/next/src/components/starknet-provider.tsx rename to packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx index 1fc05e22..22fb21d6 100644 --- a/packages/create-starknet/templates/next/src/components/starknet-provider.tsx +++ b/packages/create-starknet/public/templates/next/src/components/starknet-provider.tsx @@ -4,9 +4,9 @@ import { ReactNode } from "react"; import { goerli, mainnet } from "@starknet-react/chains"; import { StarknetConfig, - publicProvider, argent, braavos, + publicProvider, useInjectedConnectors, } from "@starknet-react/core"; diff --git a/packages/create-starknet/templates/next/src/components/ui/Button.tsx b/packages/create-starknet/public/templates/next/src/components/ui/Button.tsx similarity index 69% rename from packages/create-starknet/templates/next/src/components/ui/Button.tsx rename to packages/create-starknet/public/templates/next/src/components/ui/Button.tsx index 855b232a..c10931a1 100644 --- a/packages/create-starknet/templates/next/src/components/ui/Button.tsx +++ b/packages/create-starknet/public/templates/next/src/components/ui/Button.tsx @@ -8,10 +8,7 @@ export const Button = ({ children, ...props }: ButtonProps) => { return ( diff --git a/packages/create-starknet/templates/next/tailwind.config.ts b/packages/create-starknet/public/templates/next/tailwind.config.ts similarity index 100% rename from packages/create-starknet/templates/next/tailwind.config.ts rename to packages/create-starknet/public/templates/next/tailwind.config.ts diff --git a/packages/create-starknet/templates/next/tsconfig.json b/packages/create-starknet/public/templates/next/tsconfig.json similarity index 100% rename from packages/create-starknet/templates/next/tsconfig.json rename to packages/create-starknet/public/templates/next/tsconfig.json diff --git a/packages/create-starknet/templates/vite/.eslintrc.cjs b/packages/create-starknet/public/templates/vite/.eslintrc.cjs similarity index 100% rename from packages/create-starknet/templates/vite/.eslintrc.cjs rename to packages/create-starknet/public/templates/vite/.eslintrc.cjs diff --git a/packages/create-starknet/templates/vite/eslintrc.json b/packages/create-starknet/public/templates/vite/eslintrc.json similarity index 100% rename from packages/create-starknet/templates/vite/eslintrc.json rename to packages/create-starknet/public/templates/vite/eslintrc.json diff --git a/packages/create-starknet/templates/vite/gitignore b/packages/create-starknet/public/templates/vite/gitignore similarity index 100% rename from packages/create-starknet/templates/vite/gitignore rename to packages/create-starknet/public/templates/vite/gitignore diff --git a/packages/create-starknet/templates/vite/index.html b/packages/create-starknet/public/templates/vite/index.html similarity index 100% rename from packages/create-starknet/templates/vite/index.html rename to packages/create-starknet/public/templates/vite/index.html diff --git a/packages/create-starknet/templates/vite/package.json b/packages/create-starknet/public/templates/vite/package.json similarity index 100% rename from packages/create-starknet/templates/vite/package.json rename to packages/create-starknet/public/templates/vite/package.json diff --git a/packages/create-starknet/templates/vite/postcss.config.cjs b/packages/create-starknet/public/templates/vite/postcss.config.cjs similarity index 100% rename from packages/create-starknet/templates/vite/postcss.config.cjs rename to packages/create-starknet/public/templates/vite/postcss.config.cjs diff --git a/packages/create-starknet/templates/vite/public/vite.svg b/packages/create-starknet/public/templates/vite/public/vite.svg similarity index 100% rename from packages/create-starknet/templates/vite/public/vite.svg rename to packages/create-starknet/public/templates/vite/public/vite.svg diff --git a/packages/create-starknet/templates/vite/src/App.tsx b/packages/create-starknet/public/templates/vite/src/App.tsx similarity index 100% rename from packages/create-starknet/templates/vite/src/App.tsx rename to packages/create-starknet/public/templates/vite/src/App.tsx index 9310021e..e0c52eb0 100644 --- a/packages/create-starknet/templates/vite/src/App.tsx +++ b/packages/create-starknet/public/templates/vite/src/App.tsx @@ -1,6 +1,6 @@ +import React from "react"; // import { useBlock } from "@starknet-react/core"; import Header from "./components/Header"; -import React from "react"; function App() { return ( diff --git a/packages/create-starknet/templates/vite/src/components/Header.tsx b/packages/create-starknet/public/templates/vite/src/components/Header.tsx similarity index 96% rename from packages/create-starknet/templates/vite/src/components/Header.tsx rename to packages/create-starknet/public/templates/vite/src/components/Header.tsx index b9c13c2a..bdf8cace 100644 --- a/packages/create-starknet/templates/vite/src/components/Header.tsx +++ b/packages/create-starknet/public/templates/vite/src/components/Header.tsx @@ -1,5 +1,5 @@ -import React from "react"; import { useAccount, useDisconnect } from "@starknet-react/core"; +import React from "react"; import ConnectModal from "./starknet/ConnectModal"; export default function Header() { @@ -8,7 +8,6 @@ export default function Header() { return (
-
{address ? (

{`${address.slice( diff --git a/packages/create-starknet/templates/vite/src/components/starknet/ConnectModal.tsx b/packages/create-starknet/public/templates/vite/src/components/starknet/ConnectModal.tsx similarity index 94% rename from packages/create-starknet/templates/vite/src/components/starknet/ConnectModal.tsx rename to packages/create-starknet/public/templates/vite/src/components/starknet/ConnectModal.tsx index 70b74f4e..9512d82e 100644 --- a/packages/create-starknet/templates/vite/src/components/starknet/ConnectModal.tsx +++ b/packages/create-starknet/public/templates/vite/src/components/starknet/ConnectModal.tsx @@ -1,6 +1,6 @@ "use client"; +import { Connector, useConnect } from "@starknet-react/core"; import React from "react"; -import { useConnect, Connector } from "@starknet-react/core"; import { Button } from "../ui/Button"; import Dialog from "../ui/Dialog"; diff --git a/packages/create-starknet/templates/vite/src/components/ui/Button.tsx b/packages/create-starknet/public/templates/vite/src/components/ui/Button.tsx similarity index 69% rename from packages/create-starknet/templates/vite/src/components/ui/Button.tsx rename to packages/create-starknet/public/templates/vite/src/components/ui/Button.tsx index e4138be2..fc6af382 100644 --- a/packages/create-starknet/templates/vite/src/components/ui/Button.tsx +++ b/packages/create-starknet/public/templates/vite/src/components/ui/Button.tsx @@ -8,10 +8,7 @@ export const Button = ({ children, ...props }: ButtonProps) => { return ( diff --git a/packages/create-starknet/templates/vite/src/components/ui/Dialog.tsx b/packages/create-starknet/public/templates/vite/src/components/ui/Dialog.tsx similarity index 100% rename from packages/create-starknet/templates/vite/src/components/ui/Dialog.tsx rename to packages/create-starknet/public/templates/vite/src/components/ui/Dialog.tsx diff --git a/packages/create-starknet/templates/vite/src/globals.css b/packages/create-starknet/public/templates/vite/src/globals.css similarity index 100% rename from packages/create-starknet/templates/vite/src/globals.css rename to packages/create-starknet/public/templates/vite/src/globals.css diff --git a/packages/create-starknet/templates/vite/src/main.tsx b/packages/create-starknet/public/templates/vite/src/main.tsx similarity index 100% rename from packages/create-starknet/templates/vite/src/main.tsx rename to packages/create-starknet/public/templates/vite/src/main.tsx index 9eea3c98..fe0a0dd7 100644 --- a/packages/create-starknet/templates/vite/src/main.tsx +++ b/packages/create-starknet/public/templates/vite/src/main.tsx @@ -1,3 +1,4 @@ +import { devnet, goerli, mainnet } from "@starknet-react/chains"; import { StarknetConfig, argent, @@ -5,7 +6,6 @@ import { publicProvider, useInjectedConnectors, } from "@starknet-react/core"; -import { devnet, goerli, mainnet } from "@starknet-react/chains"; import React from "react"; import ReactDOM from "react-dom/client"; import App from "./App"; diff --git a/packages/create-starknet/templates/vite/src/vite-env.d.ts b/packages/create-starknet/public/templates/vite/src/vite-env.d.ts similarity index 100% rename from packages/create-starknet/templates/vite/src/vite-env.d.ts rename to packages/create-starknet/public/templates/vite/src/vite-env.d.ts diff --git a/packages/create-starknet/templates/vite/tailwind.config.js b/packages/create-starknet/public/templates/vite/tailwind.config.js similarity index 100% rename from packages/create-starknet/templates/vite/tailwind.config.js rename to packages/create-starknet/public/templates/vite/tailwind.config.js diff --git a/packages/create-starknet/templates/vite/tsconfig.json b/packages/create-starknet/public/templates/vite/tsconfig.json similarity index 100% rename from packages/create-starknet/templates/vite/tsconfig.json rename to packages/create-starknet/public/templates/vite/tsconfig.json diff --git a/packages/create-starknet/templates/vite/tsconfig.node.json b/packages/create-starknet/public/templates/vite/tsconfig.node.json similarity index 100% rename from packages/create-starknet/templates/vite/tsconfig.node.json rename to packages/create-starknet/public/templates/vite/tsconfig.node.json diff --git a/packages/create-starknet/templates/vite/vite.config.ts b/packages/create-starknet/public/templates/vite/vite.config.ts similarity index 100% rename from packages/create-starknet/templates/vite/vite.config.ts rename to packages/create-starknet/public/templates/vite/vite.config.ts diff --git a/packages/create-starknet/index.ts b/packages/create-starknet/src/index.ts similarity index 93% rename from packages/create-starknet/index.ts rename to packages/create-starknet/src/index.ts index 37f9caf9..19a61f7b 100644 --- a/packages/create-starknet/index.ts +++ b/packages/create-starknet/src/index.ts @@ -6,14 +6,10 @@ import chalk from "chalk"; import { Command, Option } from "commander"; import prompts from "prompts"; -import { - Template, - installDependencies, - installTemplate, -} from "./helpers/installation"; -import { PackageManager, getPackageManager } from "./helpers/packageManager"; -import { getPackageNameValidation } from "./helpers/validate"; -import createStarknetPackageJson from "./package.json"; +import createStarknetPackageJson from "../package.json"; +import { Template, installDependencies, installTemplate } from "./installation"; +import { PackageManager, getPackageManager } from "./packageManager"; +import { getPackageNameValidation } from "./validate"; const handleSigTerm = () => process.exit(0); diff --git a/packages/create-starknet/helpers/installation.ts b/packages/create-starknet/src/installation.ts similarity index 96% rename from packages/create-starknet/helpers/installation.ts rename to packages/create-starknet/src/installation.ts index e9e7e424..82bb5805 100644 --- a/packages/create-starknet/helpers/installation.ts +++ b/packages/create-starknet/src/installation.ts @@ -16,7 +16,7 @@ export function installTemplate( throw new Error("A template should be selected"); } - const templatesFolderPath = path.join(__dirname, "../../templates"); + const templatesFolderPath = path.join(__dirname, "./templates"); const selectedTemplatePath = path.join(templatesFolderPath, selectedTemplate); diff --git a/packages/create-starknet/helpers/packageManager.ts b/packages/create-starknet/src/packageManager.ts similarity index 100% rename from packages/create-starknet/helpers/packageManager.ts rename to packages/create-starknet/src/packageManager.ts diff --git a/packages/create-starknet/helpers/validate.ts b/packages/create-starknet/src/validate.ts similarity index 100% rename from packages/create-starknet/helpers/validate.ts rename to packages/create-starknet/src/validate.ts diff --git a/packages/create-starknet/templates/next/next-env.d.ts b/packages/create-starknet/templates/next/next-env.d.ts deleted file mode 100644 index 4f11a03d..00000000 --- a/packages/create-starknet/templates/next/next-env.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/packages/create-starknet/tsup.config.ts b/packages/create-starknet/tsup.config.ts new file mode 100644 index 00000000..43380af0 --- /dev/null +++ b/packages/create-starknet/tsup.config.ts @@ -0,0 +1,10 @@ +import { defineConfig } from "tsup"; + +export default defineConfig({ + entry: ["src/index.ts"], + splitting: false, + sourcemap: false, + dts: false, + clean: true, + format: ["cjs"], +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1f6af438..9322c560 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -169,15 +169,9 @@ importers: '@types/validate-npm-package-name': specifier: ^4.0.0 version: 4.0.0 - nodemon: - specifier: ^2.0.20 - version: 2.0.20 - rimraf: - specifier: ^4.1.2 - version: 4.1.2 - ts-node: - specifier: ^10.9.1 - version: 10.9.1(@types/node@18.11.18)(typescript@4.9.5) + tsup: + specifier: ^7.2.0 + version: 7.2.0(ts-node@10.9.1)(typescript@4.9.5) typescript: specifier: ^4.9.5 version: 4.9.5 @@ -3179,10 +3173,6 @@ packages: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} dev: true - /abbrev@1.1.1: - resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} - dev: true - /abi-wan-kanabi@1.0.3: resolution: {integrity: sha512-Xwva0AnhXx/IVlzo3/kwkI7Oa7ZX7codtcSn+Gmoa2PmjGPF/0jeVud9puasIPtB7V50+uBdUj4Mh3iATqtBvg==} hasBin: true @@ -3875,18 +3865,6 @@ packages: '@babel/runtime': 7.23.1 dev: false - /debug@3.2.7(supports-color@5.5.0): - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.3 - supports-color: 5.5.0 - dev: true - /debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -4885,10 +4863,6 @@ packages: dependencies: safer-buffer: 2.1.2 - /ignore-by-default@1.0.1: - resolution: {integrity: sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==} - dev: true - /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} @@ -6103,10 +6077,6 @@ packages: /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - /ms@2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true - /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} dependencies: @@ -6234,30 +6204,6 @@ packages: /node-releases@2.0.13: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} - /nodemon@2.0.20: - resolution: {integrity: sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==} - engines: {node: '>=8.10.0'} - hasBin: true - dependencies: - chokidar: 3.5.3 - debug: 3.2.7(supports-color@5.5.0) - ignore-by-default: 1.0.1 - minimatch: 3.1.2 - pstree.remy: 1.1.8 - semver: 5.7.1 - simple-update-notifier: 1.1.0 - supports-color: 5.5.0 - touch: 3.1.0 - undefsafe: 2.0.5 - dev: true - - /nopt@1.0.10: - resolution: {integrity: sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==} - hasBin: true - dependencies: - abbrev: 1.1.1 - dev: true - /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: @@ -6693,10 +6639,6 @@ packages: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} dev: true - /pstree.remy@1.1.8: - resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==} - dev: true - /punycode@2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} @@ -7067,11 +7009,6 @@ packages: kind-of: 6.0.3 dev: false - /semver@5.7.1: - resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} - hasBin: true - dev: true - /semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true @@ -7081,11 +7018,6 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - /semver@7.0.0: - resolution: {integrity: sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==} - hasBin: true - dev: true - /semver@7.5.2: resolution: {integrity: sha512-SoftuTROv/cRjCze/scjGyiDtcUyxw1rgYQSZY7XTmtR5hX+dm76iDbTH8TkLPHCQmlbQVSSbNZCPM2hb0knnQ==} engines: {node: '>=10'} @@ -7161,13 +7093,6 @@ packages: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} dev: true - /simple-update-notifier@1.1.0: - resolution: {integrity: sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==} - engines: {node: '>=8.10.0'} - dependencies: - semver: 7.0.0 - dev: true - /sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} dev: false @@ -7557,13 +7482,6 @@ packages: resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} dev: false - /touch@3.1.0: - resolution: {integrity: sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==} - hasBin: true - dependencies: - nopt: 1.0.10 - dev: true - /tough-cookie@4.1.3: resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} @@ -7611,37 +7529,6 @@ packages: /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /ts-node@10.9.1(@types/node@18.11.18)(typescript@4.9.5): - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 18.11.18 - acorn: 8.9.0 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 4.9.5 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /ts-node@10.9.1(@types/node@20.4.7)(typescript@4.9.5): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true @@ -7912,10 +7799,6 @@ packages: which-boxed-primitive: 1.0.2 dev: true - /undefsafe@2.0.5: - resolution: {integrity: sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==} - dev: true - /unified@10.1.2: resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} dependencies: