0.4.0 • Published 1 year ago

scripts-deploy v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

scripts-deploy

npm version npm downloads JSDocs License

Use scripts to quick deploy your build files.

📦 Install

pnpm i scripts-deploy -D

If install warning, you can use pnpm i scripts-deploy -D --ignore-scripts

🦄 Usage

Open cmd, Init deploy.config file and write it

deploy init

screenshots

export default {
  host: '192.xxx',
  port: 10022,
  username: 'xxx',
  password: 'xxx',
  wwwPath: '/usr/xxx/xxx',
  rootDir: '/dist',
  confirm: true
}
export interface ScriptsDeployOption {
  /** Server host */
  host: string
  /** Server post */
  port: number
  /** Server login username */
  username: string
  /** Server login password */
  password: string
  /** Server folder path */
  wwwPath: string
  /** Build output folder */
  rootDir: string
  /** Confirm execution */
  confirm?: boolean
  /** Number of concurrent uploads, Default is 15  */
  limit?: number
}

See file

Run

deploy

screenshots

License

MIT License © 2024-PRESENT warmthsea

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago