Piotr Grzesik
d1a22c85f2
feat(CLI): Conditional support for .env files ( #8413 )
2020-11-25 15:18:01 +01:00
Mariusz Nowak
c2712183a5
refactor(Config Schema): Run schema validation only in service context
2020-10-30 15:26:25 +01:00
Mariusz Nowak
e3f454680e
feat: Opt-in auto update global installation
2020-10-29 12:28:11 +01:00
Mariusz Nowak
861686bbea
refactor: Refactor to async/await
2020-09-10 13:26:17 +02:00
Mariusz Nowak
dfc78396c7
feat(CLI): Fallback to service local serverless installation by default
...
BREAKING CHANGE:
When globally installed `serverless` CLI is invoked in a context of a service, which has locally installed (in its `node_modules`) `serverless`. The locally installed CLI will be (by default) run instead of a global one.
2020-09-10 13:26:17 +02:00
Mariusz Nowak
f9e955c8f8
feat(Analytics): Recognize four different installation modes
2020-09-04 14:06:31 +02:00
Mariusz Nowak
7accad6eb9
refactor: Prevent is local detection on locally installed
2020-09-04 14:06:31 +02:00
Mariusz Nowak
11fb8889c8
refactor: Remove update-notifier notifications
...
They're replaced with backend notifications, through which we can notify about updates across different major releases
2020-09-03 17:19:20 +02:00
Mariusz Nowak
246e4a6756
feat(Analytics): Introduce "isLocallyInstalled" characteristics
2020-09-02 13:04:59 +02:00
Mariusz Nowak
9fb62f1138
feat(CLI): Optionally fallback to local installation of "serverless"
2020-09-02 13:04:59 +02:00
Mariusz Nowak
cec808bcdb
test: Improve handling of triggeredDeprecations
2020-09-02 13:04:59 +02:00
Mariusz Nowak
230f34aa99
refactor(CLI): Do not notify of update when new major is published
...
Notifications about new major releases would be more intelligently solved by backend notifications
2020-08-31 15:23:58 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config ( #7335 )
...
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
f444a8d0a1
feat: Expose logDeprecation throuch which plugins may deprecate features
2020-07-15 15:25:00 +02:00
Mariusz Nowak
a83f06e07f
refactor: Remove internal logStat reporter
2020-06-16 10:59:59 +02:00
astuyve
1565d03831
fix(Standalone): Chalk is an object, not a method
2020-03-03 11:23:00 +13:00
Mariusz Nowak
ca4d046785
refactor(CLI): Unify argv to commands and options resolution
2019-12-29 18:56:10 +01:00
Mariusz Nowak
fffd00cbe8
refactor(CLI): Reuse same argv slice
...
Will allow reliable memoization of argv resolution
2019-12-29 18:56:10 +01:00
Mariusz Nowak
53e596fa67
feat: uninstall command for installed binaries
2019-12-18 09:36:52 +01:00
Mariusz Nowak
c4efd66e4e
feat: upgrade command for installed binaries
2019-12-18 09:36:52 +01:00
Mariusz Nowak
59bea09dad
feat: Recognise as standalone
2019-12-18 09:36:52 +01:00
Daniel Schep
729381f25e
move initialize hook into plugman.run & test
2019-08-27 11:40:07 -04:00
Daniel Schep
55a794f4e0
drop support for the asyncInit function on plugins
2019-08-20 15:45:32 -04:00
Daniel Schep
02fa190d0b
Add plugin hooks to define config variable getters
2019-08-20 11:23:42 -04:00
Mariusz Nowak
4944f471b1
Prettify
2019-06-26 12:43:01 +02:00
Daniel Schep
846cdabece
use minimist directly to parse the --config option early rather than instantiating CLI
2019-06-10 11:19:14 -04:00
Daniel Schep
94bf5a4382
delint
2019-06-10 11:19:14 -04:00
Daniel Schep
2b81303370
--config option.
...
closes #5589
closes #4485
closes #4473
closes #4124
closes #5822
2019-06-10 11:19:14 -04:00
Daniel Schep
537140ccbd
add a hook for plugins to perform asyncronous initialization.
...
needed for SFE to enable deployment profiles
2019-05-09 09:17:54 -04:00
Philipp Muens
549ca44531
Create instanceId when running init
2019-03-22 10:08:19 +01:00
Шестаков Павел
3cb0a0676b
Cleanup Serverless.js file from unused code
2019-03-01 21:42:34 +03:00
Eslam A. Hefnawy
5896f0c43b
fix race condition when loading config file
2019-02-05 15:05:31 +03:00
Eslam λ Hefnawy
96e8ea6b0c
Merge pull request #5636 from shanehandley/master
...
Throw an error if plugin is executed outside of a serverless directory
2019-01-31 14:31:45 +03:00
exoego
59c440e073
Make it clear that logs don't always get suppressed.
2019-01-23 14:33:53 +09:00
exoego
c930079d5b
Do not print logs if print command is used.
2019-01-20 16:10:02 +09:00
Daniel Schep
c0a48b1ef7
remove use of Object.entries & String.includes & Array.includes
2019-01-16 07:32:07 -05:00
Austen Collins
45c65ba07d
remove platform code
2019-01-11 17:23:19 -08:00
Austen Collins
5491cc5604
remove platform code
2019-01-11 17:11:47 -08:00
Austen Collins
fd5d67b427
remove platform code
2019-01-11 16:58:07 -08:00
Shane Handley
afcff8dd54
Better naming
2018-12-30 19:48:34 +11:00
Shane Handley
ee36246e7b
Load config earlier in pluginManager and store as instance property to prevent duplicate calls to getServerlessConfigFile.
2018-12-30 18:37:41 +11:00
Eslam A. Hefnawy
4dd3bd8ea1
build fixes
2018-07-25 20:11:53 +03:00
Eslam A. Hefnawy
d3835fd686
updateDeployment instead of createDeployment
2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
b66a26f317
don't show warnings for logged out users
2018-07-03 17:44:01 +03:00
Eslam A. Hefnawy
7b2c5928a0
fix warning
2018-07-03 16:57:20 +03:00
Eslam A. Hefnawy
6de4b14f67
logs before deployments
2018-06-29 16:34:35 +03:00
Eslam A. Hefnawy
0c2df4a3c4
fix typo
2018-06-26 16:35:29 +03:00
Eslam A. Hefnawy
3909253e43
clense node modules on app veyor
2018-06-20 22:44:21 +03:00
Eslam A. Hefnawy
1db858e6de
added new platform logs
2018-06-15 16:10:52 +03:00
Doug Moscrop
8bde1b4902
Support arrays in function definition too
2018-04-04 20:03:56 -04:00