122 Commits

Author SHA1 Message Date
Max Marze
9baf72888b
fix: use tsx for parsing serverless.ts files (#12611) 2024-06-18 16:08:00 -04:00
Max Marze
2d6214bc4b
feat: use builtin esbuild for serverless.ts files (#12569) 2024-05-31 16:06:47 -04:00
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Tomasz Czubocha
d9eaf5f44f
fix: simplify reading of serverless.js configuration (#12490) 2024-05-20 10:54:13 -07:00
Max Marze
79df074fc7
feat: esbuild support (#12462)
* feat: zero config esbuild defaults

* feat: esbuild support
2024-05-06 15:22:16 -04:00
Austen Collins
408a4c7f0b fix: Sync 2024-04-18 00:54:14 -07:00
Austen Collins
4f1a79976e chore: sync 2024-04-18 00:47:32 -07:00
Austen Collins
a2feeac615 chore: Remove version check to refactor later 2024-04-17 21:38:24 -07:00
Austen
158f644cd0
feat: Refactor logging to reduce complexity (#12432)
* chore: Change logger

* chore: continue refactor

* chore: WIP

* chore: Sync
2024-04-17 13:26:31 -07:00
Austen Collins
c358e94b2d chore: Sync 2024-04-17 08:07:55 -07:00
Austen Collins
3a6dc67a80 chore: continue refactor 2024-04-14 17:25:27 -07:00
Max Marze
201c22df55
V4.0 next (#12425)
* chore: update submodule commit

* refactor: interactive setup and variable resolution cleanup (#12424)

---------

Co-authored-by: Tomasz Czubocha <tomasz.czubocha@gmail.com>
2024-04-12 12:45:46 -04:00
Austen Collins
4eb92f85f0 chore: Remove direct process.argv reads 2024-03-07 10:42:49 -08:00
Max Marze
5e604f2e1f feat: update custom resource handlers to node20 2024-02-13 14:56:57 -05:00
Max Marze
d9e211731d feat: add stackOutputs property on serverless object 2024-02-03 13:09:21 -05:00
Austen
4fa39b8a80
chore: remove unnecessary files and rework variable resolution (#12340) 2024-01-31 14:50:04 -08:00
Austen
347d913c19
chore: Continue removing dashboard plugin (#12335)
* chore: clarify class inputs and dashboardenabled property

* chore: remove dashboard plugin
2024-01-24 14:26:57 -08:00
Austen
bd6a242812
chore: Embed dashboard plugin into framework (#12332)
* chore: initial removal of dashboard plugin as dependency and deprecated logic

* chore: continue refactor

* chore: move dashboard into framework and reduce logic
2024-01-23 00:28:56 -08:00
Jason Rowsell
022db9c8a3
fix(Variables): Support empty string environment variables (#11629) 2022-12-21 20:05:06 +01:00
Florian Proksch
9d579336fa
feat: Support .cjs and .mjs configuration extensions (#11586) 2022-12-12 15:36:57 +01:00
Mariusz Nowak
1f9a07f989 fix(Variables): Fix handling of parallel resolution of same variable
In specific scenarios, there can be multiple resolution batches which attempt to resolve same variable. Resolver internally was doing modifications on variables meta, which could result in braking flow for other resolution that's done in parallel
2022-07-28 22:04:11 +02:00
Mariusz Nowak
77e21f9045 fix(Variables): Fix reporting of unresolved sources 2022-05-16 21:10:15 +02:00
Luke LaFountaine
8e3640317e
chore: Fix several typos throughout the project (#11015) 2022-04-27 10:48:18 +02:00
Piotr Grzesik
f7ffb19788 refactor: Support custom error message for variables resolution 2022-04-20 13:07:59 +02:00
Mariusz Nowak
8dae213758 feat(Variables): Ensure support for promise properties at file source 2022-04-08 13:00:31 +02:00
Mariusz Nowak
e6cdc9d68b refactor(Console): Do not disable dashboard with console 2022-03-24 16:51:14 +01:00
Mariusz Nowak
1f12b19a22 fix(CLI Onboarding): Improve fix for initial variables resolution 2022-03-18 15:45:55 +01:00
Julian Grinblat
df08283810
feat(Variables): Add support for csj in file source (#10776) 2022-03-01 11:15:50 +01:00
Mariusz Nowak
bdaf21e1a1 feat(Console): Initial integration 2022-02-25 20:12:02 +01:00
Mariusz Nowak
ba34c573f4 refactor: Expose isDashboardEnabled resolver 2022-02-25 20:12:02 +01:00
Mariusz Nowak
2cf86e4ee9 refactor: Rename lib/utils/logDeprecation.js 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
731b3ba1e1 feat(Variables): Remove old variables resolver
BREAKING CHANGE:
Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
2022-01-27 15:21:58 +01:00
Mariusz Nowak
870a116bb1 refactor: Rely on require.resolve to detect wether module exist 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5fc55c0464 refactor: Replace ncjsm/resolve usage with native createRequire 2022-01-27 15:21:58 +01:00
Steven Noorbergen
8db03c90ff
fix(Variables): Fix too eager nested resolution tracking (#10554) 2022-01-24 14:03:32 +01:00
Piotr Grzesik
05fb97fdab refactor: Refactor direct use of @serverless/utils/log 2022-01-19 11:59:39 +01:00
Mariusz Nowak
cc905c1e39 refactor: Remove not actual TODO comments 2022-01-12 16:33:14 +01:00
Mariusz Nowak
5a764373c4 feat(Variables): Resign from projectDir concept 2022-01-10 11:52:25 +01:00
Mariusz Nowak
365a7f13af refactor(Variables): Support custom sources in internal resolver 2021-12-20 17:54:26 +01:00
Omer Shacham
503c0319b7
fix(Variables): Provide opt-out from forced decryption atssm source
(PR #10315)
2021-12-08 12:39:47 +01:00
Mariusz Nowak
63d54e1537 fix(Variables): Resolve variables in resolved address & params values 2021-12-02 11:51:08 +01:00
Mariusz Nowak
9c75044fd5 refactor(Variables): Seclude internal logic for reuse 2021-12-02 11:51:08 +01:00
Mariusz Nowak
c0f8459680 refactor(Variables): Cleanup logic 2021-12-02 11:51:08 +01:00
Piotr Grzesik
723927f2dc feat(Variables): Recognize : in address to support output source 2021-11-08 16:55:03 +01:00
Sudipto Das
f431218790
refactor: Replace fse.readFile with fs.promises.readFile (#9935) 2021-09-10 12:00:44 +02:00
Mariusz Nowak
bbb6c6cd7d feat(CLI): Enable env variables in provider.stage property 2021-08-31 10:02:47 +02:00
Mariusz Nowak
56e9423cd7 refactor(Variables): Enable early sls:stage resolution 2021-08-27 14:54:15 +02:00
Mariusz Nowak
b7f4e08661 fix(Variables): Unconditionally deprecate old vars engine extensions 2021-08-11 15:25:58 +02:00
Piotr Grzesik
60d729b5d4 feat(Telemetry): Detect used variable sources 2021-07-28 13:18:31 +02:00