Mariusz Nowak
d15efd9108
refactor(CLI): Do not throw errors when help command
2021-03-18 14:36:18 +01:00
Mariusz Nowak
8d44a49e59
refactor(CLI): Improve condition
2021-03-18 14:36:18 +01:00
Mariusz Nowak
ab055a3390
refactor(CLI): Wrap with function for better maintainance
2021-03-18 14:36:18 +01:00
Mariusz Nowak
54da2c23a1
refactor(Variables): Ensure to not resolve any value with promise
2021-03-18 14:36:18 +01:00
Mariusz Nowak
a867515bc0
refactor(Variables): Simply Array.from operation
2021-03-18 14:36:18 +01:00
Mariusz Nowak
a48117041c
refactor(CLI): Integrate isHelpRequest into resolveInput util
2021-03-18 14:36:18 +01:00
Mariusz Nowak
4021ab4140
test(CLI): Improve coverage
2021-03-18 14:36:18 +01:00
Gareth McCumskey
d8dde513f3
docs: Updated link to video for credentials ( #9135 )
...
Updated link to a new YouTube video describing the dashboard and local credentials methods.
2021-03-18 11:42:50 +01:00
Piotr Grzesik
86e0b6ddbb
fix: Ensure to handle empty func definition with meaningful error
2021-03-17 13:12:16 +01:00
Mariusz Nowak
9a9a076481
chore: Release v2.30.3
v2.30.3
2021-03-17 08:33:25 +01:00
Mariusz Nowak
a663ff035b
chore: Bump dependencies
2021-03-17 08:33:25 +01:00
lewgordon
a941e87cbf
fix(CLI): Recognize --env option for sls invoke local as multiple
...
(PR #9131 )
2021-03-16 19:27:48 +01:00
Mariusz Nowak
e747a1f722
chore: Release v2.30.2
v2.30.2
2021-03-16 18:07:10 +01:00
Mariusz Nowak
3e983f347a
fix: Bring back "provider.sdk" property, to not break plugins
2021-03-16 17:54:00 +01:00
Mariusz Nowak
010a356d2f
chore: Release v2.30.1
v2.30.1
2021-03-16 15:20:11 +01:00
Mariusz Nowak
6538d3c1f7
chore: Upgrade "ci-info" to v3
2021-03-16 15:20:11 +01:00
Mariusz Nowak
41df6fbee2
fix(AWS Credentials): Fix credentials resolution (right way)
2021-03-16 14:58:54 +01:00
Piotr Grzesik
5183620e9e
fix(AWS EventBridge): Clarify CF functions support for eventBus
2021-03-16 14:57:07 +01:00
Mariusz Nowak
6f8b5b41eb
fix(AWS Credentials): Fix credentials resolution
2021-03-16 13:58:57 +01:00
Mariusz Nowak
d300cec3e9
test: Improve var name
2021-03-16 13:58:57 +01:00
Piotr Grzesik
4cd629ac44
fix(AWS Lambda): Ensure correct schema for vpc definition
2021-03-16 13:58:44 +01:00
Piotr Grzesik
a9dcb1c966
chore: Release v2.30.0
v2.30.0
2021-03-16 10:49:55 +01:00
Piotr Grzesik
3404b2bcfe
chore: Bump dependencies
2021-03-16 10:49:55 +01:00
Piotr Grzesik
f6292b2d49
feat: Extend generatePayload
2021-03-16 09:50:19 +01:00
Mariusz Nowak
e01dfacd83
refactor(CLI): Do not read service config for service unrelated commands
2021-03-16 09:34:33 +01:00
Mariusz Nowak
4779b62b8b
test: Update titles to match convention
2021-03-16 09:34:33 +01:00
Mariusz Nowak
8b301dce9c
refactor(CLI): Generalize handling of not supported commands
2021-03-16 09:34:33 +01:00
Mariusz Nowak
fe663ead50
refactor(CLI): Resolve commands and options by schema
2021-03-16 09:34:33 +01:00
Mariusz Nowak
f12095a31d
test(AWS Invocation): Fix command arguments in test
2021-03-16 09:34:33 +01:00
Mariusz Nowak
c60be4b39b
chore: Register new commit scope
2021-03-16 09:34:33 +01:00
Mariusz Nowak
aa9d8df2de
fix(CLI): Fix options schema for "info" command
2021-03-16 09:34:33 +01:00
Mariusz Nowak
6ec463cbe7
fix(CLI): Improve handling of container commands
...
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
15b5a11ecd
refactor: Refactor pluginManager.invoke to async/await
2021-03-16 09:34:33 +01:00
Mariusz Nowak
87b8d019c2
refactor: Refactor pluginManager.spawn to async/await
2021-03-16 09:34:33 +01:00
Mariusz Nowak
acf720cdef
fix(CLI): Output "Plugin: " prefix only for external plugin comands
2021-03-16 09:34:33 +01:00
Mariusz Nowak
a9a48f675e
fix(CLI): Fix internal commands merge logic
...
Originally some properties which should not have been overwritten (as `pluginName`) got overwritten and that resulted with errorneous help output
2021-03-16 09:34:33 +01:00
Mariusz Nowak
116fe85fbe
refactor(CLI): Schema for @serverless/enterprise-plugin commands
...
This plugin is scheduled to be integrated into this repository, therefore maintaining the schema here is justified at this point
2021-03-16 09:34:33 +01:00
Mariusz Nowak
ed553a7526
refactor(CLI): Add Dashboard specific options to commands schema
2021-03-16 09:34:33 +01:00
Mariusz Nowak
140990d150
refactor(CLI): Improve error construct
2021-03-16 09:34:33 +01:00
Mariusz Nowak
21cc4cf8cb
refactor(CLI): Expose "--help" in supported command options
2021-03-16 09:34:33 +01:00
Mariusz Nowak
b9afc144bf
refactor(CLI): Recognize interactive setup command in commands schema
2021-03-16 09:34:33 +01:00
Mariusz Nowak
78d0e9ee45
refactor(CLI): At schema define "--config" option
2021-03-16 09:34:33 +01:00
Mariusz Nowak
e969bb356b
fix(AWS Local Invocation): Do not document -c as --context alias
...
As it's an alias for `--config` option which is handled before command is processed
2021-03-16 09:34:33 +01:00
Mariusz Nowak
bfde21907b
fix(CLI): Recognize --stage & --region on every AWS service command
2021-03-16 09:34:33 +01:00
Mariusz Nowak
a1804f6300
fix(CLI): Fix categorization of service dependent commands
2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9
refactor(CLI): Seclude schema of core commands
2021-03-16 09:34:33 +01:00
Mariusz Nowak
6752945eaa
refactor(CLI): Fix "config tabcompletion uninstall" usage info
2021-03-16 09:34:33 +01:00
coyoteecd
e77a00dfff
fix(AWS IAM): Accept arn:${AWS::Partition} in function roles ( #9103 )
2021-03-15 16:49:03 +01:00
Mariusz Nowak
68de8bdeed
fix(Variables): Retry JS function resolvers on unresolved dependencies
2021-03-15 13:27:20 +01:00
Tony Papousek
3597f4539d
fix(Templates): Fix runtime for azure-nodejs-typescript ( #9106 )
...
I receive the error `Error: Runtime nodejs12.x is not supported. Runtimes supported: nodejs10,nodejs12,python3.6,python3.7,python3.8,dotnet2.2,dotnet3.1` when trying to run the current version. Changing to just `nodejs12` helps.
Haven't done much testing on this (struggling with AZ auth and subscription lists), but this fix seems to suppress the error message and allow `sls offline` to run.
This value aligns with [the CONFIG.md doc](https://github.com/serverless/serverless-azure-functions/blob/master/docs/CONFIG.md ), and should help prevent further occurrences of #6998 in this repo, as well as issue 393 in the [serverless-azure-functions repo](https://github.com/serverless/serverless-azure-functions ).
2021-03-15 13:08:35 +01:00