Compare commits

...
Author SHA1 Message Date
Ville Immonen f00efe7b9a v0.1.0-alpha.0 2020-10-29 16:35:12 +02:00
Ville Immonen a771e94c8e WIP 2020-10-28 17:35:42 +02:00
Ville Immonen 3c83115bf7 WIP 2020-10-27 17:15:00 +02:00
7 changed files with 235 additions and 37 deletions

No files matched your search

+55
View File
@@ -0,0 +1,55 @@
on:
push
# push:
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14'
- run: yarn install --frozen-lockfile --check-files
- name: Build tarballs
working-directory: ${{ github.workspace }}/packages/eas-cli
run: yarn oclif-dev pack --targets linux-x64,linux-arm,darwin-x64
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
- name: Upload darwin-x64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: packages/eas-cli/dist/eas-darwin-x64.tar.gz
asset_name: eas-darwin-x64.tar.gz
asset_content_type: application/gzip
- name: Upload linux-x64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: packages/eas-cli/dist/eas-linux-x64.tar.gz
asset_name: eas-linux-x64.tar.gz
asset_content_type: application/gzip
- name: Upload linux-arm
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: packages/eas-cli/dist/eas-linux-arm.tar.gz
asset_name: eas-linux-arm.tar.gz
asset_content_type: application/gzip
+1 -1
View File
@@ -1,5 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.0"
"version": "0.1.0-alpha.0"
}
+1
View File
@@ -9,6 +9,7 @@
"test": "jest"
},
"devDependencies": {
"@expo/oclif-dev-cli": "1.24.0-expo",
"@types/jest": "^26.0.13",
"eslint": "^6.6.0",
"eslint-config-universe": "^4.0.0",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@eas/config",
"description": "A library for interacting with the eas.json",
"version": "0.0.1",
"version": "0.1.0-alpha.0",
"author": "Expo <[email protected]>",
"bugs": "https://github.com/expo/eas-cli/issues",
"dependencies": {
+113 -24
View File
@@ -8,42 +8,43 @@ EAS command line tool
[![License](https://img.shields.io/npm/l/eas-cli.svg)](https://github.com/expo/eas-cli/blob/main/package.json)
<!-- toc -->
- [eas-cli](#eas-cli)
- [Usage](#usage)
- [Commands](#commands)
* [eas-cli](#eas-cli)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g eas-cli
$ eas COMMAND
running command...
$ eas (-v|--version|version)
eas-cli/0.0.0 darwin-x64 node-v12.13.0
eas-cli/0.1.0-alpha.0 darwin-x64 node-v12.13.0
$ eas --help [COMMAND]
USAGE
$ eas COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
- [`eas build`](#eas-build)
- [`eas build:status`](#eas-buildstatus)
- [`eas help [COMMAND]`](#eas-help-command)
- [`eas login`](#eas-login)
- [`eas logout`](#eas-logout)
- [`eas update`](#eas-update)
- [`eas update:show`](#eas-updateshow)
- [`eas whoami`](#eas-whoami)
* [`eas build`](#eas-build)
* [`eas build:configure`](#eas-buildconfigure)
* [`eas build:create`](#eas-buildcreate)
* [`eas build:status`](#eas-buildstatus)
* [`eas build:submit`](#eas-buildsubmit)
* [`eas credentials`](#eas-credentials)
* [`eas device:create`](#eas-devicecreate)
* [`eas help [COMMAND]`](#eas-help-command)
* [`eas login`](#eas-login)
* [`eas logout`](#eas-logout)
* [`eas update`](#eas-update)
* [`eas update:show`](#eas-updateshow)
* [`eas whoami`](#eas-whoami)
## `eas build`
@@ -54,7 +55,37 @@ USAGE
$ eas build
```
_See code: [src/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/build/index.ts)_
_See code: [build/commands/build/index.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/build/index.ts)_
## `eas build:configure`
Start a build
```
USAGE
$ eas build:configure
```
_See code: [build/commands/build/configure.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/build/configure.ts)_
## `eas build:create`
Start a build
```
USAGE
$ eas build:create
OPTIONS
-p, --platform=(android|ios|all) (required)
--non-interactive Run command in --non-interactive mode
--profile=profile [default: release] Name of the build profile from eas.json
--skip-credentials-check Skip validation of build credentials
--skip-project-configuration Skip project configuration
--wait Wait for build(s) to complete
```
_See code: [build/commands/build/create.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/build/create.ts)_
## `eas build:status`
@@ -69,7 +100,66 @@ OPTIONS
--status=(in-queue|in-progress|errored|finished)
```
_See code: [src/commands/build/status.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/build/status.ts)_
_See code: [build/commands/build/status.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/build/status.ts)_
## `eas build:submit`
Submits build artifact to app store
```
USAGE
$ eas build:submit
OPTIONS
-p, --platform=(android|ios) (required) For which platform you want to submit a build
--android-package=android-package Android package name (using expo.android.package from app.json
by default)
--id=id ID of the build to submit
--key=key Path to the JSON key used to authenticate with Google Play
--latest Submit the latest build
--path=path Path to the .apk/.aab file
--release-status=(completed|draft|halted|inProgress) [default: completed] Release status (used when uploading new
apks/aabs), choose from: completed, draft, halted, inProgress
--track=(production|beta|alpha|internal|rollout) [default: internal] The track of the application to use, choose
from: production, beta, alpha, internal, rollout
--type=(apk|aab) Android archive type
--url=url App archive url
--verbose Always print logs from Submission Service
```
_See code: [build/commands/build/submit.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/build/submit.ts)_
## `eas credentials`
Manage your credentials
```
USAGE
$ eas credentials
```
_See code: [build/commands/credentials.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/credentials.ts)_
## `eas device:create`
register new Apple Devices to use for internal distribution
```
USAGE
$ eas device:create
```
_See code: [build/commands/device/create.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/device/create.ts)_
## `eas help [COMMAND]`
@@ -97,7 +187,7 @@ USAGE
$ eas login
```
_See code: [src/commands/login.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/login.ts)_
_See code: [build/commands/login.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/login.ts)_
## `eas logout`
@@ -108,7 +198,7 @@ USAGE
$ eas logout
```
_See code: [src/commands/logout.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/logout.ts)_
_See code: [build/commands/logout.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/logout.ts)_
## `eas update`
@@ -122,7 +212,7 @@ ALIASES
$ eas update:publish
```
_See code: [src/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/update/index.ts)_
_See code: [build/commands/update/index.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/update/index.ts)_
## `eas update:show`
@@ -133,7 +223,7 @@ USAGE
$ eas update:show
```
_See code: [src/commands/update/show.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/update/show.ts)_
_See code: [build/commands/update/show.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/update/show.ts)_
## `eas whoami`
@@ -144,6 +234,5 @@ USAGE
$ eas whoami
```
_See code: [src/commands/whoami.ts](https://github.com/expo/eas-cli/blob/v0.0.0/src/commands/whoami.ts)_
_See code: [build/commands/whoami.ts](https://github.com/expo/eas-cli/blob/v0.1.0-alpha.0/build/commands/whoami.ts)_
<!-- commandsstop -->
+13 -4
View File
@@ -1,14 +1,14 @@
{
"name": "eas-cli",
"description": "EAS command line tool",
"version": "0.0.0",
"version": "0.1.0-alpha.0",
"author": "Expo <[email protected]>",
"bin": {
"eas": "./bin/run"
},
"bugs": "https://github.com/expo/eas-cli/issues",
"dependencies": {
"@eas/config": "0.0.1",
"@eas/config": "^0.1.0-alpha.0",
"@expo/config": "^3.3.9",
"@expo/eas-build-job": "^0.1.1",
"@expo/json-file": "^8.2.24",
@@ -50,7 +50,6 @@
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@expo/babel-preset-cli": "^0.2.17",
"@expo/oclif-dev-cli": "1.23.0-expo",
"@types/color-string": "^1.5.0",
"@types/dateformat": "^3.0.1",
"@types/form-data": "^2.5.0",
@@ -109,12 +108,22 @@
"webhook": {
"description": "manage webhooks"
}
},
"update": {
"s3": {
"templates": {
"target": {
"unversioned": "<%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
"versioned": "<%- bin %>-<%- platform %>-<%- arch %><%- ext %>"
}
}
}
}
},
"repository": "expo/eas-cli",
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"prepack": "rm -rf build && tsc -b && oclif-dev manifest && oclif-dev readme",
"prepack": "rm -rf build && yarn build && oclif-dev manifest && oclif-dev readme",
"build": "tsc",
"test": "jest",
"version": "oclif-dev readme && git add README.md"
+51 -7
View File
@@ -862,6 +862,13 @@
"@babel/helper-plugin-utils" "^7.10.4"
"@babel/plugin-transform-typescript" "^7.10.4"
"@babel/runtime@^7.5.5":
version "7.12.1"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.1.tgz#b4116a6b6711d010b2dad3b7b6e43bf1b9954740"
integrity sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==
dependencies:
regenerator-runtime "^0.13.4"
"@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4":
version "7.11.2"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736"
@@ -1118,11 +1125,12 @@
lodash "^4.17.15"
write-file-atomic "^2.3.0"
"@expo/[email protected]3.0-expo":
version "1.23.0-expo"
resolved "https://registry.yarnpkg.com/@expo/oclif-dev-cli/-/oclif-dev-cli-1.23.0-expo.tgz#413730a4a03a4ba18f079c3cbd67205c01eea72e"
integrity sha512-N5cnPSxDUmkXrWKJ/lOQtZcOffwgi4HDVB41tQCev80QbXyWZwUUX9LOnk0RyC5G170s5oTcnIeA+th1hcC2UQ==
"@expo/[email protected]4.0-expo":
version "1.24.0-expo"
resolved "https://registry.yarnpkg.com/@expo/oclif-dev-cli/-/oclif-dev-cli-1.24.0-expo.tgz#4e1f766e79b4d99e3da29318a577952793b143bf"
integrity sha512-Kgj+IsslMn54b9at6upm25gh39F5wNDi4t4cGcXl+sDLN4aeMKK6eV3Y8gKXMDiGkyGSdp4Hvuf6VeSlQEXmcQ==
dependencies:
"@manypkg/get-packages" "^1.1.1"
"@oclif/command" "^1.5.13"
"@oclif/config" "^1.12.12"
"@oclif/errors" "^1.2.2"
@@ -2409,6 +2417,27 @@
npmlog "^4.1.2"
write-file-atomic "^2.3.0"
"@manypkg/find-root@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-1.1.0.tgz#a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f"
integrity sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==
dependencies:
"@babel/runtime" "^7.5.5"
"@types/node" "^12.7.1"
find-up "^4.1.0"
fs-extra "^8.1.0"
"@manypkg/get-packages@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@manypkg/get-packages/-/get-packages-1.1.1.tgz#7c7e72d0061ab2e61d2ce4da58ce91290a60ac8d"
integrity sha512-J6VClfQSVgR6958eIDTGjfdCrELy1eT+SHeoSMomnvRQVktZMnEA5edIr5ovRFNw5y+Bk/jyoevPzGYod96mhw==
dependencies:
"@babel/runtime" "^7.5.5"
"@manypkg/find-root" "^1.1.0"
fs-extra "^8.1.0"
globby "^11.0.0"
read-yaml-file "^1.1.0"
"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
@@ -2904,6 +2933,11 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.62.tgz#733923d73669188d35950253dd18a21570085d2b"
integrity sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==
"@types/node@^12.7.1":
version "12.19.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.19.2.tgz#9565ed5c72ba96038fc3add643edd5e7820598e7"
integrity sha512-SRH6QM0IMOBBFmDiJ75vlhcbUEYEquvSuhsVW9ijG20JvdFTfOrB1p6ddZxz5y/JNnbf+9HoHhjhOVSX2hsJyA==
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
@@ -5735,7 +5769,7 @@ globby@^10.0.1:
merge2 "^1.2.3"
slash "^3.0.0"
globby@^11.0.1:
globby@^11.0.0, globby@^11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357"
integrity sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==
@@ -5778,7 +5812,7 @@ got@^11.5.2:
p-cancelable "^2.0.0"
responselike "^2.0.0"
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4:
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4:
version "4.2.4"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.4.tgz#2256bde14d3632958c465ebc96dc467ca07a29fb"
integrity sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==
@@ -7024,7 +7058,7 @@ jpeg-js@^0.3.4:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
js-yaml@^3.13.1:
js-yaml@^3.13.1, js-yaml@^3.6.1:
version "3.14.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.0.tgz#a7a34170f26a21bb162424d8adacb4113a69e482"
integrity sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==
@@ -8968,6 +9002,16 @@ read-pkg@^5.2.0:
parse-json "^5.0.0"
type-fest "^0.6.0"
read-yaml-file@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8"
integrity sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==
dependencies:
graceful-fs "^4.1.5"
js-yaml "^3.6.1"
pify "^4.0.1"
strip-bom "^3.0.0"
read@1, read@~1.0.1:
version "1.0.7"
resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"