753 Commits

Author SHA1 Message Date
Mariusz Nowak
38c493f197 refactor: Move areAnalyticsDisabled to analytics/areDisabled 2020-06-16 10:59:59 +02:00
Mariusz Nowak
7cd44bbe05 refactor: Nest analytics utils in folder 2020-06-16 10:59:59 +02:00
Mariusz Nowak
40573444f9 refactor: Rename track to report 2020-06-16 10:59:59 +02:00
Mariusz Nowak
5234439fa1 refactor: Remove old analytics module 2020-06-16 10:59:59 +02:00
Mariusz Nowak
8fa1fe1b3d refactor: Rename isTrackingDisabled into areAnalyticsDisabled 2020-06-16 10:59:59 +02:00
Mariusz Nowak
daef9e164f refactor: Rename tracking.js to analytics.js 2020-06-16 10:59:59 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
Chris Villanueva
8991ceb209
refactor: Replace _.head with array[0] (#7817) 2020-06-08 09:09:39 +02:00
Chris Villanueva
e39cdfdf02
refactor: Replace _.unset with delete (#7813) 2020-06-03 18:07:28 +02:00
Chris Villanueva
5cf46bf109
refactor: Replace _.join with array.join (#7805) 2020-06-03 08:53:06 +02:00
Bryan Hunter
4db8b630a2
feat: Support serverless.ts as configuration input (#7755) 2020-06-01 10:43:41 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach (#7748) 2020-05-28 10:45:25 +02:00
Chris Villanueva
d43241ea8b
refactor: Replace _.keys with Object.keys (#7784) 2020-05-28 09:25:20 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign (#7766) 2020-05-26 10:24:46 +02:00
Ahmad Mahmoud Mohammad
6f32f236d8
feat(CLI): Deprecations logger (#7741)
Co-authored-by: Ahmed Abdelwahab <ahmed.abdelwahab@prophecylabs.com>
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-05-21 15:40:03 +02:00
Mariusz Nowak
7bcad688c5
fix(CLI): Fix handling of singular --config param
Fixes #7736
2020-05-15 16:19:42 +02:00
Mariusz Nowak
ae3adb62c1
test(CLI): Test singular --config params 2020-05-15 16:19:08 +02:00
Ahmad Mahmoud Mohammad
ca2a73f91a
fix(CLI): Reject multitple 'config' params (#7728) 2020-05-14 12:56:37 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
Mariusz Nowak
8bc6d542f8 fix(Standalone): Ensure pkg bug workaround is applied on WIndows 2020-05-11 13:39:52 +02:00
TATSUNO Yasuhiro
3fe2e98f15
refactor: Replace _.isArray with native Array.isArray (#7703) 2020-05-11 10:24:41 +02:00
Mariusz Nowak
e1092aff44 refactor: Drop sentry reporting as it's not used 2020-05-07 14:43:04 +02:00
Yuga Sun
d3bf39aa05
feat(Templates): Support ssh format download template urls (#7588) 2020-04-20 09:34:18 +02:00
Mariusz Nowak
8e85fe611b feat(Standalone): Support China mirror for binary downloads 2020-04-07 10:03:18 +12:00
Neil Locketz
3e1e1f486c
fix: Follow symlinks when writing a config (#7374) 2020-02-25 12:31:24 +13:00
Mariusz Nowak
9223f305f0 refactor: Increase stats request timeout
In New Zealand on good internet connection I've observed
request times to be on average 2s, sometimes leaning over 3s
2020-02-21 10:50:44 +13:00
Richard Davison
f6d9bfd6c6
feat: Improve performance of local invocation using docker (#7178) 2020-02-12 11:21:45 +13:00
Mariusz Nowak
7f9b2a520e test: Fix race condition 2020-01-14 12:56:51 +01:00
Richard Davison
780fb46e72 fix: Fix CLI params resolution (switch to yargs-parser) (#7187)
Closes #6083
2020-01-10 14:50:57 +01:00
Philipp Muens
da69527d1d test: Add tests 2020-01-09 15:30:33 +01:00
Philipp Muens
3cfa7502e2 feat: Add support for plain .git template URLs 2020-01-09 15:30:33 +01:00
Mariusz Nowak
a433367c09 test: Fix race condition 2020-01-09 13:12:54 +01:00
Mariusz Nowak
c94a614676 fix(Standalone): Workaround pkg #420 bug 2020-01-03 14:20:11 +01:00
Mariusz Nowak
7a804e1c06 fix(CLI): Recognize CLI aliases as documented
Fixes #7106
2019-12-29 18:56:10 +01:00
Mariusz Nowak
ca4d046785 refactor(CLI): Unify argv to commands and options resolution 2019-12-29 18:56:10 +01:00
Mariusz Nowak
bc04da5e41 refactor(User Config): Show config save error only with SLS_DEBUG=*
It's to not confuse users with warnings which do not affect
how application works

Fixes #7077
2019-12-23 12:54:25 +01:00
Mariusz Nowak
59bea09dad feat: Recognise as standalone 2019-12-18 09:36:52 +01:00
Philipp Muens
49f6e1e8a5 feat: Configure binaries generation 2019-12-18 09:36:52 +01:00
Mariusz Nowak
ddf3bf40a3 refactor: Centralize npm command resolution
It's to provide a room to support alternative npm locations
2019-12-18 09:36:52 +01:00
Mariusz Nowak
3f7f532b88 fix: Ensure not to autocomplete hidden commands 2019-12-18 09:36:52 +01:00
Mariusz Nowak
f29d1697dd fix: Prevent uncaught exception in case of open util issue 2019-12-17 08:42:57 +01:00
Mariusz Nowak
c900900488 feat: Unconditionally display browser url 2019-12-17 08:42:57 +01:00
Mariusz Nowak
e88d0c5f0e refactor: Ensure async function format 2019-12-17 08:42:57 +01:00
Mariusz Nowak
fead29a5a8
test: Ensure to call after callback on conditional skip 2019-12-12 14:27:40 +01:00
Mariusz Nowak
c77cf01071
Merge pull request #6990 from chocnut/feature/code-cleanup
Code cleanup and refactoring
2019-11-21 22:45:37 +01:00
Peter Indiola
2c1944e911 Simplify the return expression as this is a boolean 2019-11-21 10:06:07 +08:00
Peter Indiola
68522b691a Error message improvement 2019-11-21 10:00:26 +08:00
Peter Indiola
67e15c22e4 Code cleanup and refactoring 2019-11-21 09:52:52 +08:00
Peter Indiola
4adc5cc197 Fix spelling and typos in docs, code variables and code comments 2019-11-20 23:28:56 +08:00
Mariusz Nowak
50dbfcbf0e
Improve error handling in config processing 2019-11-15 11:09:42 +01:00