7943 Commits

Author SHA1 Message Date
Piotr Grzesik
dee54ed55c feat(CLI Onboarding): Present default project name if possible 2021-05-19 16:48:40 +02:00
Mariusz Nowak
8d0ff078f7 feat(Telemetry): Report awsUserResourceTypes 2021-05-19 15:32:45 +02:00
Piotr Grzesik
f1a288ce2c feat(CLI Onboarding): Support template and template-url options 2021-05-19 14:58:19 +02:00
Mariusz Nowak
a6f4dc3b2b refactor: Improve granularity of stack deployment error codes 2021-05-19 13:16:42 +02:00
Mariusz Nowak
a46abe3d56 refactor: Ensure to propagate as is stack monitoring error 2021-05-19 13:16:42 +02:00
Mariusz Nowak
f87aee268d fix: Do not stumble on missing resource properties 2021-05-19 13:16:42 +02:00
Mariusz Nowak
5a23931734 refactor(Telemetry): Normalize AWS request error codes 2021-05-19 13:16:42 +02:00
Mariusz Nowak
07d5b9c19e refactor(Telemetry): Report error location for non-normative error codes 2021-05-19 13:16:42 +02:00
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Mariusz Nowak
277d66c75b test(AWS Local Invocation): Move fixtures to test folder 2021-05-19 13:16:42 +02:00
Mariusz Nowak
91b10ed208 refactor(Telemetry): Remove dead path error handling 2021-05-19 13:16:42 +02:00
Mariusz Nowak
a8f4aebe5d fix(Variables): Ensure report user error as user error 2021-05-19 13:16:42 +02:00
Mariusz Nowak
a2297ee916 fix(AWS Local Invocation): Report invalid handler path meaningfully 2021-05-19 13:16:42 +02:00
Mariusz Nowak
8f3d4e4bdb fix: Expose remote lambda invocation failure as user error 2021-05-19 13:16:42 +02:00
Mariusz Nowak
07b60a6bb4 fix: Expose template errror with user error 2021-05-19 13:16:42 +02:00
Mariusz Nowak
f4cfcbb1a3 style: Whitespace 2021-05-19 13:16:42 +02:00
lyndoh
5601025dd8
fix(AWS API Gateway): Fix schema for apiKeys and permissionsBoundary 2021-05-18 09:48:47 +02:00
Piotr Grzesik
da7a70d83f feat(CLI Onboarding): Remove serverless.template.yml from template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
acc9010d79 feat(CLI Onboarding): Run npm i after fetching template 2021-05-17 15:55:23 +02:00
Piotr Grzesik
e4ea50d401 feat(CLI Onboarding): Fetch templates from serverless/examples 2021-05-17 15:55:23 +02:00
Piotr Grzesik
7e8e1b62bb feat(CLI Onboarding): Dont allow setup with options in service dir 2021-05-14 14:17:19 +02:00
Piotr Grzesik
e63302bcb5 feat(CLI Onboarding): Skip "enable" question when options provided 2021-05-14 14:17:19 +02:00
Piotr Grzesik
53575dc360 feat(CLI Onboarding): Support --name CLI option 2021-05-14 14:17:19 +02:00
Piotr Grzesik
98c9700bcd feat(CLI Onboarding): Support template-path param 2021-05-14 14:17:19 +02:00
Piotr Grzesik
03011baf07 refactor: Add create-from-local-template util 2021-05-14 14:17:19 +02:00
Piotr Grzesik
9eea885b39 refactor(CLI Onboarding): Add history and stepHistory to context 2021-05-14 13:46:29 +02:00
Mariusz Nowak
f6b7cfaaaf fix(Variables): Fix reporting of variable resolution errors 2021-05-14 13:42:54 +02:00
Mariusz Nowak
eeddf9f518 fix(Telemetry): If global & local report outcome, report with global 2021-05-13 13:06:33 +02:00
Mariusz Nowak
65a1f3875c fix(CLI): Ensure resolved CLI params are correct in local fallback 2021-05-13 13:06:33 +02:00
Mariusz Nowak
7047c34929 fix(CLI): Fallback to local version only if we're not in its context 2021-05-13 13:06:33 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 2021-05-12 12:41:30 +02:00
Mariusz Nowak
1060d1468b refactor(CLI Onboarding): Refactor to async/await 2021-05-12 12:41:30 +02:00
Mariusz Nowak
7864f4d28d refactor(CLI Onboarding): Seclude from internal Framework logic 2021-05-12 12:41:30 +02:00
Mariusz Nowak
c13586ee23 refactor(CLI Onboarding): Simplify tabcompletion support check 2021-05-12 12:41:30 +02:00
Mariusz Nowak
4f6a50a2e1 refactor(Telemetry): Make generatePayload serverless independent 2021-05-12 12:41:30 +02:00
Mariusz Nowak
b915cc4671 refactor: Refactor isNpmPackageWritable to not depend on serverless 2021-05-12 12:41:30 +02:00
Mariusz Nowak
05588f77c0 refactor(CLI): Rely internally on @serverless/utils/log 2021-05-12 12:41:30 +02:00
Corentin Doue
9cc05ad2f6
feat(Templates): Add google-nodejs-typescript template (#9445) 2021-05-12 11:02:44 +02:00
Piotr Grzesik
bbfe742b24 fix(CLI): Correctly resolve version during local fallback 2021-05-11 13:40:55 +02:00
Piotr Grzesik
56f85874c6 fix(AWS API Gateway): Support Fn::Split for vpcEndpointIds schema 2021-05-11 09:47:18 +02:00
Mariusz Nowak
096ed9652b fix(Telemetry): For local fallback ensure to report locally used version 2021-05-11 08:57:29 +02:00
Mariusz Nowak
2672047c2f refactor: Resolve path to package in resolveLocalServerlessPath 2021-05-11 08:57:29 +02:00
Mariusz Nowak
fa8c076c56 fix(CLI): Fix local installation fallback
Older versions expose just `serverless.isInvokedByGlobalInstallation` property, not `serverless._isInvokedByGlobalInstallation`
2021-05-11 08:57:29 +02:00
Mariusz Nowak
4d077d1653 fix(Telemetry): Let old versions report telemetry old way 2021-05-11 08:57:29 +02:00
Piotr Grzesik
7361e04960 fix(Telemetry): Ensure telemetry only matches js stacktrace paths 2021-05-10 15:52:53 +02:00
Piotr Grzesik
277f4e8e9c fix(AWS Lambda): Ensure that docker image is build and pushed only once 2021-05-10 13:38:48 +02:00
Piotr Grzesik
59fd478550 refactor: Use object-param for resolveImageUriAndShaFromPath 2021-05-10 13:38:48 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Jaakko Lappalainen
9e558eefd6
feat(AWS Lambda): Deprecate nodejs12.x as default runtime (#9416) 2021-05-10 09:40:57 +02:00
Zach Whaley
40e56fc0e9
fix(Packaging): Fix support of the artifact S3 uri with region (#9411) 2021-05-09 21:21:19 +02:00