Releases: adobe/aio-cli
Added new `info` plugin, bumped runtime and app plugins
Commits:
- chore(health-table): add @adobe/generator-aio-app (#135) a85aef2
- added plugin-info, bumped runtime and app plugins 14ebafd
@adobe/aio-cli-plugin-app@1.5.0
- webpack config includes .json files
- fix broken bash terminal after run
- support run with skip actions
- inject remote action urls even if skipActions is set
@adobe/aio-cli-plugin-info@0.1.0 ( New plugin )
aio info
Display dev environment version information, useful for identifying issueaio report
Report an issue with the CLI or submit a feature request
Added `aio update` and `aio rollback` commands. `New cli available` warning
Changelog
- Added note about Linux containers on Windows e189977
- feat: add update and rollback commands, and cli new version update core plugin (#132) 20bba9f
- Update eslint-config-standard to the latest version 🚀 (#129) 07ce9cc
- consolidate sorting tests, only test the output order and not date objects (#127) 4fccd35
feat: add update and rollback commands
The update
command will update all installed plugins by checking for any updated versions in the npm registry (with --interactive mode available). Note that this will not check for any updates for any non @adobe namespaced core plugins, for compatibility reasons.
The rollback
command will uninstall all user-installed plugins (with --interactive mode available).
feat: add @oclif/plugin-warn-if-update-available as a core plugin
Through a hook via the @oclif/plugin-warn-if-update-available plugin, npm is checked whether there is a newer version of the CLI available, and it will warn the user. This is shown at every command (can't turn it off) but it has a timeout of 7 days (so after 7 days of warnings, it won't prompt the user anymore).
feat: print out warning for user-installed plugins that are older or equal to core plugin versions
`aio login` feature
- fix: npm audit issues 64a1b63
- fix(package): update @adobe/aio-cli-plugin-auth to version 2.0.0 (#126) 8bbb737
- Bump acorn from 7.1.0 to 7.1.1 (#125) 2a73ca7
- Update eslint-plugin-jest to the latest version 🚀 (#122) dcf299c
- e2e test (#111) 886c5b4
- Update eslint-plugin-jest to the latest version 🚀 (#121) f350f59
- Update eslint-plugin-jest to the latest version 🚀 (#118) 80953a2
- Bump codecov from 3.6.1 to 3.6.5 (#117) 3c629f1
- chore(package): update @adobe/aioi-cli-plugin-auth to ^1.1.0 (#115) 3bb8172
- Bump yarn from 1.19.1 to 1.22.0 (#114) 9c81e8c
- bump dep on plugin-certificate cfd8b3b
- Describe how to invoke actions when running app locally (#109) ed3b280
- Update eslint-plugin-jest to the latest version 🚀 (#112) d6e4986
- Remove reference to missing d.ts lib file in package.json (#108) 0b51701
- Update exc url documentation 3b3691d
- Update readme for M1 release changes (#104) 94b909f
- fix: update health table (with repo links) e7622c1
Auth plugin
Add core plugin @adobe/aio-cli-plugin-certificate, discover plugin
0aa2f0f (tag: 2.3.0) Incremented version to 2.3.0
7f61024 read package.json and gen health markdown table in readme (#101)
903858a Add @adobe/aio-cli-plugin-auth to health table
847f258 Add @adobe/aio-cli-plugin-auth as a core plugin
625a8b7 Update jest-fetch-mock to the latest version 🚀 (#96)
5b71d89 Update eslint-plugin-jest to the latest version 🚀 (#100)
10e4ce9 Update eslint-plugin-node to the latest version 🚀 (#99)
ea20b2a Merge pull request #98 from adobe/duynguyen-patch-1
88fad96 remove wskdebug install
9543248 Recommend to use nvm (#97)
a1d152b Add core plugin @adobe/aio-cli-plugin-certificate
c185c46 Update inquirer to the latest version 🚀 (#94)
9bcbb75 chore: update health matrix to add aio-cli-plugin-ims
a6cc1c1 Update jest-junit to the latest version 🚀 (#93)
1d8f8dc Update eslint-plugin-jest to the latest version 🚀 (#92)
4a2a66e Discover available plugins, and install them (#87)
4c6d1a1 Greenkeeper/eslint plugin jest 23.1.0 (#91)
e9f91b5 Update readme toc (#89)
0b68a1a (purplecabbage/master) Update readme with getting started guidance (#82)
63acafa Update eslint-plugin-jest to the latest version 🚀 (#81)
d8afb85 provide a relaxed tidelift config (#84)
2bfe6dc (tag: 2.2.3) 2.2.3
ac756ee fix: pin chalk@^2.4.2 in the cli -- npm tends to install chalk@latest which is v3.0.0, which is not specified anywhere in the dependency tree
fix: pin chalk@^2.4.2 in the cli (npm resolver issue)
- fix: pin chalk@^2.4.2 in the cli -- npm tends to install chalk@latest which is v3.0.0, which is not specified anywhere in the dependency tree ac756ee
Fix exception when running `aio plugins`
- fix: include package-lock.json in npm published tarball (#83) 363770a
- fix: disable Github Actions workflows (#80) 87c240b
- Update eslint-plugin-jest to the latest version 🚀 (#78) 5fa3bf1
- chore: add @adobe/aio-cli-plugin-app to health.xlsx 0bfe958
- fix: add @adobe/aio-cli-plugin-app to the health table 9e25523
- fix: re-add health table so it doesn't get clobbered by oclif-dev readme generation 1e41412
2.1.1
- updated dependent auto-install plugin @adobe/aio-cli-plugin-config@2.0.2
2.1.0
- Adobe Runtime plugin is now a core plugin
- updated dependencies of internal libs after numerous renames
2.0.1
INSTALLATION
In your terminal, type:
npm install @adobe/aio-cli
WHAT'S NEW
- local configuration file support ($CWD/.aio file)
# This a HJSON/JSON file named ".aio"
# This file is read from your current working directory (a.k.a $CWD)
$ cat .aio
{
foo: bar
mykey: myvalue
}
# now when your command is run, your config will have
console.log(config['foo']) // will print 'bar'
console.log(config['mykey']) // will print 'myvalue'
- environmental variable file support ($CWD/.env file)
# This a properties file named ".env", the keys and values will be added to `process.env`
# This file is read from your current working directory (a.k.a $CWD)
$ cat .env
foo=bar
mykey=myvalue
# now when your command is run, process.env will have
console.log(process.env['foo']) // will print 'bar'
console.log(process.env['mykey']) // will print 'myvalue'
- AIO_ prefixed environmental variable support: these variables will be added to your config at runtime
$ cat .env
AIO_mykey_mysubkey=myvalue
# for keys with underscores, use double underscores
AIO_akey_sub__key=avalue
# now when your command is run, your config will have
console.log(config['mykey.mysubkey']) // will print 'myvalue'
console.log(config['akey.sub_key']) // will print 'avalue'
# you can also prefix your command on unix-y systems with the key
AIO_mykey_mysubkey=myvalue aio console:list-integrations
-
HJSON "human json" format support for configuration files:
- object names don't have to be quoted
- comments are allowed (block, single line etc)
- multi-line strings are allowed
- omit commas at the end of lines
- trailing commas are allowed at the end of lists
-
If you want to specify the location of the global configuration file, you can do so via environment variables (in order of precedence):
- AIO_CONFIG_FILE
if you set AIO_CONFIG_FILE=/my/global/folder/config.json to a file location, the CLI will load /my/global/folder/config.json as the global configuration - XDG_CONFIG_HOME
if you set XDG_CONFIG_HOME=/my/global/folder to a a folder location, the cli will load the aio file from that folder, e.g. /my/global/folder/aio, as the global configuration - $HOME/.config/aio
This is the default file location for your global configuration. $HOME is the current user's home folder
- AIO_CONFIG_FILE
-
The configuration is merged from the .env, local, and global configuration file locations. The precedence of the configuration values are:
- .env file
- local configuration file (.aio)
- global configuration file