Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flyyer-cli@next: Move from Parcel 1 to Parcel 2 #17

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ module.exports = {
complexity: "off",
"no-warning-comments": "off",
"no-await-in-loop": "off",
"node/no-missing-import": "off",
"valid-jsdoc": "off", // TODO ?
"unicorn/prefer-node-protocol": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/prefer-module": "off",
"@typescript-eslint/no-shadow": "off",
},
};
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Patricio López Juri

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,24 @@ $ npm install -g @flyyer/cli
$ flyyer COMMAND
running command...
$ flyyer (-v|--version|version)
@flyyer/cli/2.0.2 darwin-x64 node-v16.4.2
@flyyer/cli/3.0.0-beta.5 darwin-x64 node-v16.4.2
$ flyyer --help [COMMAND]
USAGE
$ flyyer COMMAND
...
```
<!-- usagestop -->

## Troubleshot

Show additional CLI information by setting `DEBUG=flyyer:*` environment variable.

```sh
DEBUG=flyyer:* npm run-script build

DEBUG=flyyer:* yarn build
```

# Commands
<!-- commands -->
* [`flyyer build [DIRECTORY]`](#flyyer-build-directory)
Expand Down Expand Up @@ -59,7 +70,7 @@ EXAMPLES
$ flyyer build --help
```

_See code: [src/commands/build.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/build.ts)_
_See code: [src/commands/build.ts](https://github.com/useflyyer/flyyer-cli/blob/v3.0.0-beta.5/src/commands/build.ts)_

## `flyyer deploy [DIRECTORY]`

Expand Down Expand Up @@ -87,7 +98,7 @@ EXAMPLES
$ flyyer deploy --help
```

_See code: [src/commands/deploy.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/useflyyer/flyyer-cli/blob/v3.0.0-beta.5/src/commands/deploy.ts)_

## `flyyer help [COMMAND]`

Expand Down Expand Up @@ -131,5 +142,5 @@ EXAMPLES
$ flyyer start --help
```

_See code: [src/commands/start.ts](https://github.com/useflyyer/flyyer-cli/blob/v2.0.2/src/commands/start.ts)_
_See code: [src/commands/start.ts](https://github.com/useflyyer/flyyer-cli/blob/v3.0.0-beta.5/src/commands/start.ts)_
<!-- commandsstop -->
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "@flyyer/cli",
"description": "Flyyer CLI",
"version": "2.0.2",
"version": "3.0.0-beta.5",
"author": "Patricio López Juri @lopezjurip",
"repository": "useflyyer/flyyer-cli",
"license": "MIT",
"private": false,
"sideEffects": false,
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
Expand Down Expand Up @@ -57,24 +58,31 @@
"dependencies": {
"@flyyer/flyyer": "^3.4.1",
"@flyyer/goerr": "^3.0.0",
"@flyyer/parcel-commonjs": "^0.1.1",
"@flyyer/types": "^2.0.3",
"@flyyer/utils": "^0.2.1",
"@oclif/command": "^1.8.0",
"@oclif/config": "^1.17.0",
"@oclif/parser": "^3.8.5",
"@oclif/plugin-help": "^3.2.3",
"@parcel/config-default": "^2.0.0",
"@parcel/core": "^2.0.0",
"@parcel/fs": "^2.0.0",
"@parcel/source-map": "^2.0.0",
"@parcel/transformer-image": "^2.0.0",
"@parcel/types": "^2.0.0",
"archiver": "^5.3.0",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"cross-fetch": "^3.1.4",
"debug": "^4.3.2",
"dedent": "^0.7.0",
"del": "^6.0.0",
"endent": "^2.1.0",
"form-data": "^4.0.0",
"graphql": "^15.6.1",
"graphql-request": "3.6.1",
"mini-svg-data-uri": "^1.4.3",
"open": "~7.4.2",
"parcel-bundler": "^1.12.5",
"qs": "^6.10.1",
"tslib": "^2.3.1",
"twemoji": "^13.1.0"
Expand All @@ -85,9 +93,8 @@
"@types/archiver": "^5.1.1",
"@types/debug": "^4.1.7",
"@types/dedent": "^0.7.0",
"@types/node": "^16.11.1",
"@types/node": "^16.11.2",
"@types/node-fetch": "^3.0.3",
"@types/parcel-bundler": "^1.12.4",
"apollo": "2.33.6",
"eslint": "^7.32.0",
"eslint-config-oclif": "^3.1",
Expand Down
Loading