0.4.0 • Published 11 months ago

sqd-build v0.4.0

Weekly downloads
-
License
BSD 3-Clause
Repository
github
Last release
11 months ago

sqd-build 0.4

Usage: npx build [options] -- [exec args...]

Traverse root source folder for build outputs

Options:
  --version                   Print the current version
  -d, --dir <path>            Start directory
  -e, --exec <program>        Name of executable
  -f, --filename <string>     Name of config for executable
  -p, --pipeline <path>       Module dependency order
  -c, --config <path>         JSON file with non-overriding options
  -w, --worker                Use separate process for each execution
  -a, --all                   Do not abort build for any reason
  -t, --timeout <seconds>     Maximum build time for each execution
  -n, --newline <number>      Exec separation for stdout
  -E, --exclude <folders...>  Name only or full path of sub-directories not to traverse
  -Q, --break [limit]         Abort when error limit is breached (preset: 1)
  -s, --silent                Suppress all console output
  --no-color                  Disable coloring for console output
  --help                      Print the command line options

Commands:
  help [command]              Print help for command

squared

npx build -d ./src -e tsc -f tsconfig.json -n-1 -a -- -b
npx build -c ./config/dev/build.json
{
  "dir": "framework",
  "exec": "tsc",
  "args": ["-b"],
  "filename": "tsconfig.json",
  "all": true,
  "worker": false,
  "pipeline": [
    ["android", "chrome", "vdom"],
    ["vdom-lite"]
  ]
}
node build.js -c ./config/dev/bundle.json
{
  "dir": "config/dev",
  "exec": "rollup",
  "args": ["--silent", "-c"],
  "filename": "rollup.config.js",
  "exclude": ["sqd"],
  "all": true,
  "worker": false,
  "newline": 1
}

E-mc

npx build -c ./scripts/build.dev.json
{
  "dir": "src",
  "exec": "tsc",
  "args": ["-b"],
  "filename": "tsconfig.json",
  "all": false,
  "worker": false,
  "pipeline": [
    ["types"],
    ["module"],
    ["core", "request", "compress"],
    ["watch", "image", "db", "task"],
    ["cloud", "document"],
    ["file-manager", "compat-v4"]
  ]
}

LICENSE

BSD 3-Clause

0.3.2

12 months ago

0.4.0

11 months ago

0.3.1

12 months ago

0.3.4

12 months ago

0.3.3

12 months ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago