feat: Bundler with tsdown
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
import { Command } from "commander";
|
||||
import { deploy } from "./commands/deploy.js";
|
||||
import { createContext } from "./lib/context.js";
|
||||
import { deploy } from "./commands/deploy";
|
||||
import { createContext } from "./lib/context";
|
||||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
const program = new Command();
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { existsSync, mkdirSync, readdirSync, rmSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { consola } from "consola";
|
||||
import type { WPopContext } from "../lib/context.js";
|
||||
import { readDeployEnv } from "../lib/env.js";
|
||||
import { run } from "../lib/run.js";
|
||||
import { createSshConfig, prepareSsh, rsyncSshShell, sshArgs, sshTarget } from "../lib/ssh.js";
|
||||
import type { WPopContext } from "../lib/context";
|
||||
import { readDeployEnv } from "../lib/env";
|
||||
import { run } from "../lib/run";
|
||||
import { createSshConfig, prepareSsh, rsyncSshShell, sshArgs, sshTarget } from "../lib/ssh";
|
||||
|
||||
export type DeployOptions = {
|
||||
skipComposer?: boolean;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { execa } from "execa";
|
||||
import type { WPopContext } from "./context.js";
|
||||
import type { WPopContext } from "./context";
|
||||
|
||||
export type RunOptions = {
|
||||
cwd?: string;
|
||||
|
||||
@@ -3,9 +3,9 @@ import { tmpdir } from "node:os";
|
||||
import { join } from "node:path";
|
||||
import { consola } from "consola";
|
||||
import { execa } from "execa";
|
||||
import type { WPopContext } from "./context.js";
|
||||
import type { DeployEnv } from "./env.js";
|
||||
import { run } from "./run.js";
|
||||
import type { WPopContext } from "./context";
|
||||
import type { DeployEnv } from "./env";
|
||||
import { run } from "./run";
|
||||
|
||||
export type SshConfig = {
|
||||
host: string;
|
||||
|
||||
Reference in New Issue
Block a user