airplanedev / cli Goto Github PK
View Code? Open in Web Editor NEWThe Airplane CLI
Home Page: https://app.airplane.dev
The Airplane CLI
Home Page: https://app.airplane.dev
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@airplane/views
, @prisma/client
, @types/node
, @types/react
, @types/react-dom
, airplane
, airplanesdk
, esbuild
, nodemailer
, prettier
, prisma
, vite
)@types/react
, @types/react-dom
, vite
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
airplane
, yarn
)@airplane/views
, @airplane/workflow-runtime
, @babel/parser
, @babel/types
, @types/node
, @types/react
, @types/react-dom
, airplane
, esbuild
, github.com/aws/aws-sdk-go-v2
, github.com/aws/aws-sdk-go-v2/config
, github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
, github.com/aws/aws-sdk-go-v2/service/ecs
, github.com/benbjohnson/clock
, github.com/docker/docker
, github.com/evanw/esbuild
, github.com/go-sql-driver/mysql
, github.com/moby/buildkit
, github.com/otiai10/copy
, github.com/snowflakedb/gosnowflake
, go.mongodb.org/mongo-driver
, golang.org/x/exp
, golang.org/x/sync
, golang.org/x/term
, google.golang.org/api
, jsdom
, mypy
, pex
, prettier
, pylint
, tsx
, vite
)alpine
, python
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
deployments/cli/Dockerfile
alpine 3.17
pkg/examples/shell/diff-workdir/Dockerfile.airplane
ubuntu 22.04
pkg/examples/shell/dockerfilewithentrypoint/Dockerfile.airplane
ubuntu 22.04
pkg/examples/shell/ubuntu-no-newline/Dockerfile.airplane
ubuntu 22.04
pkg/examples/shell/ubuntu/Dockerfile.airplane
ubuntu 22.04
pkg/examples/shell/zcli/Dockerfile
.github/workflows/codeql.yml
actions/checkout v3
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/dependency-review.yml
actions/checkout v3
actions/dependency-review-action v3
.github/workflows/golang.yml
actions/checkout v3
actions/setup-go v4
actions/cache v3
golangci/golangci-lint-action v3
pre-commit/action v3.0.0
actions/checkout v3
actions/setup-go v4
actions/setup-python v4
actions/cache v3
.github/workflows/javascript.yml
actions/checkout v3
actions/setup-node v3
.github/workflows/python.yml
actions/checkout v3
actions/setup-python v4
.github/workflows/release.yml
actions/checkout v3
actions/setup-go v4
google-github-actions/auth v1
google-github-actions/setup-gcloud v1.1.1
goreleaser/goreleaser-action v4
.github/workflows/test-release.yml
actions/checkout v3
actions/setup-go v4
goreleaser/goreleaser-action v4
go.mod
go 1.20
cloud.google.com/go/storage v1.30.1
github.com/AlecAivazis/survey/v2 v2.3.6
github.com/MakeNowJust/heredoc v1.0.0
github.com/MakeNowJust/heredoc/v2 v2.0.1
github.com/Masterminds/semver/v3 v3.2.1
github.com/airplanedev/cronexpr v1.0.6
github.com/airplanedev/dlog v0.0.0-20210615011719-ca8d3becde5e@ca8d3becde5e
github.com/airplanedev/ojson v0.1.0
github.com/airplanedev/path v0.0.1
github.com/airplanedev/trap v0.1.0
github.com/alessio/shellescape v1.4.1
github.com/aws/aws-sdk-go-v2 v1.17.8
github.com/aws/aws-sdk-go-v2/config v1.18.21
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.20.9
github.com/aws/aws-sdk-go-v2/service/ecs v1.25.1
github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible@b565731e1464
github.com/benbjohnson/clock v1.3.1
github.com/blang/semver v3.5.1+incompatible
github.com/blang/semver/v4 v4.0.0
github.com/bluekeyes/go-gitdiff v0.7.1
github.com/briandowns/spinner v1.23.0
github.com/docker/docker v23.0.3+incompatible
github.com/dustin/go-humanize v1.0.1
github.com/evanw/esbuild v0.17.17
github.com/fatih/color v1.15.0
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568@3f9db97f8568
github.com/gavv/httpexpect/v2 v2.15.0
github.com/getsentry/sentry-go v0.21.0
github.com/go-git/go-billy/v5 v5.4.1
github.com/go-git/go-git-fixtures/v4 v4.3.1
github.com/go-git/go-git/v5 v5.6.1
github.com/go-sql-driver/mysql v1.7.0
github.com/goccy/go-yaml v1.11.0
github.com/golang-jwt/jwt/v5 v5.0.0
github.com/google/uuid v1.3.0
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/gosimple/slug v1.13.1
github.com/hashicorp/go-retryablehttp v0.7.2
github.com/hashicorp/golang-lru/v2 v2.0.2
github.com/hexops/gotextdiff v1.0.3
github.com/iancoleman/strcase v0.2.0
github.com/joho/godotenv v1.5.1
github.com/kr/text v0.2.0
github.com/mattn/go-isatty v0.0.18
github.com/mitchellh/mapstructure v1.5.0
github.com/moby/buildkit v0.11.5
github.com/olekukonko/tablewriter v0.0.5
github.com/otiai10/copy v1.10.0
github.com/pkg/errors v0.9.1
github.com/radovskyb/watcher v1.0.7
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06@525f6e181f06
github.com/segmentio/events/v2 v2.5.1
github.com/segmentio/ksuid v1.0.4
github.com/snowflakedb/gosnowflake v1.6.19
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.2
github.com/tidwall/jsonc v0.3.2
github.com/xeipuuv/gojsonschema v1.2.0
go.mongodb.org/mongo-driver v1.11.4
go.uber.org/multierr v1.11.0
golang.ngrok.com/ngrok v1.0.0
golang.org/x/exp v0.0.0-20230321023759-10a507213a29@10a507213a29
golang.org/x/sync v0.1.0
golang.org/x/term v0.7.0
golang.org/x/text v0.9.0
google.golang.org/api v0.118.0
gopkg.in/yaml.v3 v3.0.1
cmd/cli/root/initcmd/fixtures/task/package.json
airplane ^0.2.44
@types/node ^18.15.3
cmd/cli/root/initcmd/fixtures/view/package.json
@airplane/views ^2.0.1
airplane ^0.2.44
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^5.0.0
cmd/cli/tasks/initcmd/fixtures/fromrunbook/package.json
airplane ^0.2.44
@types/node ^18.15.3
cmd/cli/tasks/initcmd/fixtures/javascript/package.json
airplane ^0.2.44
@types/node ^18.15.2
cmd/cli/tasks/initcmd/fixtures/javascript_with_folder/folder/package.json
airplane ^0.2.54
@types/node ^18.15.11
cmd/cli/tasks/initcmd/fixtures/noninline/package.json
airplane ^0.2.44
@types/node ^18.15.3
cmd/cli/tasks/initcmd/fixtures/noninline_with_folder/folder/package.json
airplane ^0.2.54
@types/node ^18.15.11
cmd/cli/tasks/initcmd/fixtures/workflow/package.json
airplane ^0.2.44
@types/node ^18.15.3
cmd/cli/tasks/initcmd/fixtures/workflow_with_folder/folder/package.json
airplane ^0.2.54
@types/node ^18.15.11
cmd/cli/views/initcmd/fixtures/view/package.json
@airplane/views ^2.0.1
airplane ^0.2.44
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^5.0.0
pkg/build/node/package.json
@airplane/views 2.0.5
@airplane/workflow-runtime 0.2.54
@vitejs/plugin-react 4.0.0
airplane 0.2.54
esbuild 0.17.17
esbuild-plugin-tsc 0.4.0
jsdom 21.1.1
object-hash 3.0.0
react 18.2.0
react-dom 18.2.0
typescript 4.9.5
vite 4.2.2
@rollup/plugin-replace 5.0.2
pkg/build/views/static/package.json
@airplane/views 2.0.6
react 18.2.0
react-dom 18.2.0
object-hash 3.0.0
@types/react 18.2.0
@types/react-dom 18.2.1
@types/object-hash 3.0.2
@vitejs/plugin-react 4.0.0
typescript 5.0.4
vite 4.3.4
@rollup/plugin-replace 5.0.2
pkg/cli/initcmd/fixtures/javascript_with_entrypoint/package.json
airplane ^0.2.44
@types/node ^18.15.2
pkg/cli/initcmd/fixtures/view_with_entrypoint/package.json
@airplane/views ^2.0.1
airplane ^0.2.44
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^5.0.0
pkg/cli/initcmd/node/scaffolding/package.json
pkg/cli/initcmd/rb2wf/fixtures/base/package.json
airplane ^0.2.22
@types/node ^18.11.10
pkg/cli/initcmd/rb2wf/fixtures/end_to_end/package.json
airplane ^0.2.22
@types/node ^18.11.10
pkg/cli/initcmd/view_scaffolding/package.json
@airplane/views ^2.0.0
airplane ^0.2.44
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^4.9.5
pkg/definitions/updaters/javascript/package.json
@airplane/recast 0.1.0
@babel/parser 7.21.4
ast-types 0.14.2
@babel/types 7.21.4
@types/node 18.15.11
esbuild 0.17.17
nodemon 2.0.22
prettier 2.8.7
pkg/deploy/bundlediscover/fixtures/inlineTasksVersion/package.json
node ~18
pkg/deploy/bundlediscover/fixtures/multipleTasksDiffRoot/nested/nested/package.json
pkg/deploy/bundlediscover/fixtures/multipleTasksDiffRoot/nested/package.json
pkg/deploy/bundlediscover/fixtures/package.json
airplane ^0.2.16
@types/node ^18.11.9
pkg/deploy/discover/fixtures/package.json
@airplane/views 2.0.5
airplane 0.2.54
lodash-es 4.17.21
react 18.2.0
react-dom 18.2.0
@types/lodash-es 4.17.7
@types/react 18.0.37
@types/react-dom 18.0.11
typescript 5.0.4
pkg/deploy/discover/fixtures/tasksWithVersion/18/package.json
airplane ^0.2.10
@types/node ^18.11.0
node 18
pkg/deploy/discover/fixtures/tasksWithVersion/gt17/package.json
airplane ^0.2.10
@types/node ^18.11.0
node >=17.0.0
pkg/deploy/discover/fixtures/viewInline-yarnworkspace/package.json
pkg/deploy/discover/fixtures/viewInline-yarnworkspace/pkg1/package.json
pkg/deploy/discover/fixtures/viewInline-yarnworkspace/pkg2/package.json
@airplane/views 2.0.5
airplane 0.2.54
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^5.0.0
pkg/deploy/discover/fixtures/viewInlineCSS/package.json
react-datepicker 4.11.0
pkg/deploy/discover/parser/node/package.json
jsdom 21.1.1
@types/jsdom 21.1.1
@types/node 18.15.11
esbuild 0.17.17
prettier 2.8.7
tsx 3.12.6
typescript 4.9.5
pkg/examples/javascript/customroot/package.json
airplane 0.2.54
pkg/examples/javascript/simple/package.json
airplane 0.2.54
pkg/examples/javascript/workflow/package.json
airplane 0.2.54
pkg/examples/javascript/workflowbadimport/package.json
airplane 0.2.54
nodemailer ^6.8.0
pkg/examples/javascript/workflowslim/package.json
airplane 0.2.54
pkg/examples/typescript/aliases/package.json
airplane 0.2.54
pkg/examples/typescript/bundle/package.json
@airplane/views 2.0.5
airplane 0.2.54
react ^18.0.0
react-dom ^18.0.0
pkg/examples/typescript/custominstall/package.json
@headlessui/react ^1.4.1
airplane 0.2.54
pg ^8.7.1
pg-format ^1.0.4
prettier ^2.4.1
pkg/examples/typescript/decorator/package.json
airplane 0.2.54
pkg/examples/typescript/emitDecoratorMetadata/package.json
airplane 0.2.54
reflect-metadata ^0.1.13
pkg/examples/typescript/esm/package.json
airplane 0.2.54
node-fetch ^3.1.1
pkg/examples/typescript/esnext/package.json
airplane 0.2.54
pkg/examples/typescript/externals/package.json
@headlessui/react ^1.4.1
airplane 0.2.54
pg ^8.7.1
pg-format ^1.0.4
pkg/examples/typescript/imports/package.json
airplane 0.2.54
pkg/examples/typescript/installhooksviaairplaneconfig/package.json
airplane 0.2.54
pkg/examples/typescript/installhooksviapackagejson/package.json
airplane 0.2.54
pkg/examples/typescript/installhooksviapackagejsonoverride/package.json
airplane 0.2.54
pkg/examples/typescript/installhooksviashell/package.json
airplane 0.2.54
pkg/examples/typescript/installhooksviashellsubdirectory/package.json
airplane 0.2.54
pkg/examples/typescript/npm/package.json
airplane 0.2.54
pkg/examples/typescript/npmworkspaces/package.json
pkg/examples/typescript/npmworkspaces/pkg1/package.json
pkg/examples/typescript/npmworkspaces/pkg2/package.json
airplane 0.2.54
node-fetch 3.3.1
pkg/examples/typescript/prisma/package.json
@headlessui/react ^1.4.1
airplane 0.2.54
@prisma/client ^4.0.0
@types/node ^18.0.0
prettier ^2.4.1
prisma ^4.0.0
ts-node ^10.4.0
typescript ^5.0.0
pkg/examples/typescript/taskinviewwithcss/package.json
@airplane/views 2.0.5
airplane 0.2.54
react 18.2.0
react-datepicker 4.11.0
react-dom 18.2.0
pkg/examples/typescript/workflowbundle/package.json
airplane ^0.2
pkg/examples/typescript/yarn/package.json
airplane 0.2.54
pkg/examples/typescript/yarn2/package.json
airplane 0.2.44
yarn 3.4.1
pkg/examples/typescript/yarnworkspaces/package.json
pkg/examples/typescript/yarnworkspaces/pkg1/package.json
pkg/examples/typescript/yarnworkspaces/pkg2/package.json
airplane 0.2.54
node-fetch 3.3.1
esbuild 0.17.17
pkg/examples/typescript/yarnworkspacesbundleshimdeps/package.json
pkg/examples/typescript/yarnworkspacesbundleshimdeps/pkg1/package.json
typescript 5.0.4
pkg/examples/typescript/yarnworkspacesbundleshimdeps/pkg2/package.json
pkg/examples/typescript/yarnworkspacesnoairplane/package.json
pkg/examples/typescript/yarnworkspacesnoairplane/pkg1/package.json
pkg/examples/typescript/yarnworkspacesnoairplane/pkg2/package.json
pkg/examples/typescript/yarnworkspacesobject/package.json
pkg/examples/typescript/yarnworkspacesobject/pkg1/package.json
node-fetch 3.3.1
pg ^8.7.3
pg-format ^1.0.4
pkg/examples/typescript/yarnworkspacesobject/pkg2/package.json
airplane 0.2.54
pkg/examples/typescript/yarnworkspacespostinstall/package.json
pkg/examples/typescript/yarnworkspacespostinstall/pkg1/package.json
pkg/examples/typescript/yarnworkspacespostinstall/pkg2/package.json
airplane 0.2.54
node-fetch 3.3.1
pkg/examples/typescript/yarnworkspaceswithglob/nested/pkg1/package.json
pkg/examples/typescript/yarnworkspaceswithglob/nested/pkg2/package.json
airplane 0.2.54
node-fetch 3.3.1
pkg/examples/typescript/yarnworkspaceswithglob/package.json
pkg/examples/view/css/package.json
@airplane/views 2.0.5
@vitejs/plugin-react ^4.0.0
airplane 0.2.54
esbuild 0.17.17
react 18.2.0
react-dom 18.2.0
vite 4.2.2
@types/react 18.0.37
@types/react-dom 18.0.11
typescript ^5.0.0
pkg/examples/view/inline/package.json
airplane ^0.2.14
react ^18.0.0
react-dom ^18.0.0
@types/react ^18.0.0
@types/react-dom ^18.0.0
typescript ^5.0.0
pkg/examples/view/inlinemulti/package.json
airplane ^0.2.14
react ^18.0.0
react-dom ^18.0.0
@types/react ^18.0.0
@types/react-dom ^18.0.0
typescript ^5.0.0
pkg/examples/view/simple/package.json
react ^18.0.0
react-dom ^18.0.0
@types/react ^18.0.0
@types/react-dom ^18.0.0
typescript ^5.0.0
pkg/examples/view/yarnworkspaces/package.json
pkg/examples/view/yarnworkspaces/pkg1/package.json
pkg/examples/view/yarnworkspaces/pkg2/package.json
@airplane/views 2.0.5
airplane 0.2.54
react ^18.2.0
react-dom ^18.2.0
@types/react ^18.0.28
@types/react-dom ^18.0.11
typescript ^5.0.0
pkg/runtime/javascript/fixtures/generate/package.json
airplane 0.2.56
pkg/runtime/javascript/fixtures/version/18/package.json
node 18
pkg/runtime/javascript/fixtures/version/gt15/package.json
node >15.x.x
cmd/cli/tasks/initcmd/fixtures/python/requirements.txt
airplanesdk ~=0.3.26
cmd/cli/tasks/initcmd/fixtures/python_with_folder/folder/requirements.txt
airplanesdk ~=0.3.26
pkg/cli/initcmd/fixtures/python_with_entrypoint/requirements.txt
airplanesdk ~=0.3.26
pkg/examples/python/bundle/requirements.txt
airplanesdk ==0.3.25
pkg/examples/python/bundleimport/requirements.txt
airplanesdk ==0.3.25
pkg/examples/python/embeddedrequirements/embedded_requirements.txt
dice == 3.1.2
pkg/examples/python/installhooksviaairplaneconfig/requirements.txt
dice == 3.1.2
pkg/examples/python/installhooksviashell/requirements.txt
dice == 3.1.2
pkg/examples/python/installhooksviashellsubdirectory/requirements.txt
dice == 3.1.2
pkg/examples/python/requirements/requirements.txt
dice == 3.1.2
pkg/examples/python/requirementswithbuildargs/requirements.txt
pkg/definitions/updaters/python/pyproject.toml
black 23.3.0
typing-extensions 4.5.0
inflection 0.5.1
pex 2.1.134
pylint 2.17.3
mypy 1.2.0
pkg/definitions/updaters/python/.python-version
python 3.8
I updated the Airplane CLI yesterday on my macOS and now when trying to run the airplane dev airplane.task.yml
command always get the following error.
Error: Fdopendir airplane.task.yml: not a directory
I updated the Airplane CLI on Windows, and now when trying to run some Js tasks locally, the error below immediately occurs. I tested it on a new task created from scratch through the CLI and got the same error. I tried a task that runs daily on the platform, and I also got the same error.
Node version: 18 (same on task.yaml)
OS: Windows 11 Home (Tested on two machines)
Airplane CLI version: 0.3.61 (2022-10-29T00:22:52Z)
[warning] esbuild(error): { Could not resolve "..\\..\\proj" 0xc001465260 [{Use the relative path "./..\\..\\proj" to reference the file "proj.ts". Without the leading "./", the path "..\\..\\proj" is being interpreted as a package path instead. <nil>}] <nil>}
Example:
http: superfluous response.WriteHeader call from github.com/airplanedev/airport/pkg/cli/server/handlers.WriteHTTPError (handlers.go:153)
Version is latest as of time of creating issue: 0.3.176
Airplane doesn't find the tasks and views in my project because I have "type": "module"
in my package.json
and it throws when trying to run the parser file:
cli/pkg/deploy/discover/build.go
Line 121 in 37d7009
Fixing it seems to be as easy as using .cjs
instead of .js
here and possibly in some other places:
cli/pkg/deploy/discover/build.go
Line 105 in 37d7009
If I pipe the output of the execute command without providing all required inputs with CLI arguments, it gets stuck between prompting for inputs and prompting "Execute: Y/n".
For example: airplane execute my_task.ts -o json | jq ".path"
My tasks use Node.js
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: renovate.json5
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: packageRules[2].force.constraints.yarn, Invalid configuration option: packageRules[3].force.constraints.yarn
To reproduce:
$ airplane version
Version: 0.1.45 (2021-10-28T20:49:53Z)
$ airplane init --slug=python_test
$ airplane deploy --local python_test.py
...
Step 3/10 : WORKDIR /airplane
---> Running in 79960fbd559f
---> eba79704761c
Step 4/10 : RUN pip install airplanesdk>=0.3.0,<0.4.0
---> Running in a4f50b21a8dd
/bin/sh: 1: cannot open 0.4.0: No such file
Error: The command '/bin/sh -c pip install airplanesdk>=0.3.0,<0.4.0' returned a non-zero code: 2
Downgrading to 0.1.42 works as expected.
Possibly relates to #284
$ airplane -v
Version: 0.3.25 (2022-08-11T14:29:27Z)
$ airplane tasks -h
Manage tasks
Usage:
airplane tasks [flags]
Commands:
deploy Deploy a task
dev Locally run a task
execute Execute a task
get Get information about a task
init Initialize a task definition
list Lists all tasks
open Opens a task page in browser
Flags:
-h, --help help for tasks
Examples:
airplane tasks init
airplane tasks deploy -f mytask.yml
airplane tasks get my_task
airplane tasks execute my_task
Please note that airplane tasks deploy
does not have an -f
switch.
Currently, after running airplane dev
, it shows the message Press ENTER to open the studio in the browser.
which allows to open the browser only once. If you do it and then close the tab, it seems the only way to open the browser again from the CLI is by clicking the link. My suggestion is to allow opening the browser at any time with a shortcut. For example, Cloudflare's Wrangler opens the browser whenever you press b
, as you can see:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.