0.2.3 • Published 2 years ago

@qoi/cli v0.2.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

qoi

Lightweight tooling for your javascript and typescript

Requirements

  • Node 16.x
  • Git Bash Terminal or any Bash terminal

Installation

npm install --save-dev @qoi/{cli,build,test}

CLI Options

Qoi

TypeScript and ES module execution engine

Usage:
  $ qoi [file]

Options:
  -h, --help     Display this message
  -v, --version  Display version number

Build

Command Line Bundler or packager for typescript and javascript

  Usage:
  $ qoi build [dir]

  Options:
  -c, --config <file>    [string] use specified config file
  -f, --format <format>  [string] Specifies the format of the generated bundle (default: 'es')
  --preset <preset>      [preset] base configuration for your application
  --outDir <outDir>      [string] output directory (default: dist)
  --external <external>  [string] Specify external dependencies
  --resolve <resolve>    [boolean] resolve external dependencies
  --module               [boolean] module should be has extension of (.mjs)
  --minify               [boolean] enable/disable minification(default: false)
  --sourcemap            [boolean] output source maps for build (default: false)
  --emptyOutDir          [boolean] force empty outDir when it's outside of root
  --dts                  [boolean] Generates corresponding .d.ts file  (default: false)
  --link                 [boolean] symlink your outDir as npm package (default: false)
  -h, --help             Display this message
  -v, --version          Display version number

Test

Command Line testing tool for nodejs and browser base

Usage:
  $ qoi test [...file]

Options:
  -t, --timeout <timeout>  [number] Specify test timeout threshold (in milliseconds) [default: 2000]
  --threshold <threshold>  [string] Enable the thresholds
  --include-dir            [string] Directory folder source (default: src)
  --check-coverage         Enable coverage  (default false)
  -h, --help               Display this message
  -v, --version            Display version number

Versions

PackageDescriptionversion
@qoi/cliCommand line0.2.2
@qoi/buildBundler or packager for typescript and javascript0.2.2
@qoi/fsAsync Nodejs FileSystem0.2.1
@qoi/registerTranspile your esm javascript and typescript on the fly0.2.2
@qoi/testTesting tool for nodejs and browser base0.1.0
@qoi/typesall types of qoi0.0.8

Common issues

  • When using Powershell add git bash PATH in your System environment variables
  • If you encounter error when using windows, you should open powershell or git bash terminal as Administrator
    [Error: EPERM: operation not permitted, symlink <source file> -> <destination file>
  • swc paths doesnt work with symlink
  • resolving @rollup/plugin-commonjs will cause circular dependency with glob package
    /// Circular dependency: node_modules/glob/glob.js -> node_modules/glob/sync.js -> node_modules/glob/glob.js
    https://github.com/isaacs/node-glob/issues/365
  • when using Windows OS and will support tsconfig paths, you need to install 2 npm packages
    • npm i typescript-paths rollup-plugin-tsconfig-paths --save-dev or yarn add typescript-paths rollup-plugin-tsconfig-paths --dev
0.2.3

2 years ago

0.1.0-beta.7

2 years ago

0.1.0-beta.8

2 years ago

0.1.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.0-beta.3

2 years ago

0.1.0-beta.5

2 years ago

0.1.0-beta.4

2 years ago

0.1.0-beta.6

2 years ago

0.1.0-beta.2

2 years ago

0.1.0-beta.1

2 years ago

0.0.23

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12-beta.0

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago