6.4.0 • Published 3 years ago

@wpackio/cli v6.4.0

Weekly downloads
49
License
MIT
Repository
github
Last release
3 years ago

@wpackio/cli

A cli tooling intended to be used with npx to quickly add needed dependencies to your WordPress theme/plugin project.

For more information, check our website wpack.io.

Installation

If using yarn

yarn global add @wpackio/cli

or with npm

npm i -g @wpackio/cli

It creates a wpackio-cli binary to your system. Run it with

wpackio-cli --client yarn

NOTE: This is not intended to be used locally, rather globally or with npx. See usage instruction below.

Usage

To add @wpackio/scripts dependency to your project, run this tool.

npx @wpackio/cli

Options

`-c, --client npm|yarn

Specify which npm client you want to use, yarn or npm.

It tries to detect automatically, if yarn.lock file is present in the directory. But it can be overridden with -c.

npx @wpackio/cli --client yarn

Development

This package has the same npm scripts as this monorepo. These should be run using lerna run <script>. More information can be found under CONTRIBUTION.md.

  • build: Use babel to build for nodejs 8.6+. Files inside src are compiled and put under lib. All type definitions are stripped and individual type declaration files are created.
  • prepare: Run build after yarn and before publish.
  • lint: Lint all files using eslint.
  • test: Run tests on files using jest.
6.4.0

3 years ago

6.0.0-next.185

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

6.3.0

3 years ago

6.0.0-beta.187

3 years ago

6.0.0-beta.186

3 years ago

5.0.0

4 years ago

4.4.1

4 years ago

4.4.0

4 years ago

4.3.0

4 years ago

4.2.0

5 years ago

4.0.0

5 years ago

3.5.0

5 years ago

3.2.0

5 years ago

3.0.0

5 years ago

2.13.0

5 years ago

2.12.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.4.0

6 years ago

2.2.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago