Patrik Oldsberg
a4c08241ad
switch to TypeScript 5.0 + 5.2 in create-app
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-09-18 17:47:57 +02:00
Patrik Oldsberg
349611126a
scaffolder-backend: removed alpha options
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-08-15 16:27:35 +02:00
Patrik Oldsberg
e07a4914f6
scaffolder-backend: move more types to -node
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-08-15 16:16:18 +02:00
Ben Lambert
46454c148f
Merge pull request #18157 from alexef/scaffolder-each
...
scaffolder: enable each property on task step (#8890 )
2023-08-11 14:54:31 +02:00
Alex Eftimie
5a432881d7
Merge branch 'master' into scaffolder-each
2023-08-03 09:01:29 +03:00
Brian Fletcher
e07f7fcb75
Merge branch 'master' into add-examples
...
Signed-off-by: Brian Fletcher <brian@roadie.io >
2023-08-02 10:25:48 +01:00
Fredrik Adelöw
d3b31a791e
Expose executeShellCommand, RunCommandOptions, and fetchContents from the node package
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-07-31 14:52:03 +02:00
Brian Fletcher
0b1d775be0
Adds a number of examples for builtin functions
...
This patch also proposes:
- changing the pattern by which the examples are imported
- adds tests for the examples
Signed-off-by: Brian Fletcher <brian@roadie.io >
2023-07-28 11:07:03 +01:00
Alex Eftimie
a0303ee5ef
scaffolder: enable each property on task step ( #8890 )
...
Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com >
2023-06-07 03:46:41 +02:00
Andreas Berger
6d954de4b0
Update typings for RouterOptions::actions and ScaffolderActionsExtensionPoint::addActions to allow any kind of action being assigned to it.
...
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-04-20 18:17:02 +02:00
Patrik Oldsberg
2898b6c8d5
fixes for TypeScript 5.0
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-03-29 12:24:19 +02:00
blam
f7e8b8ba83
chore: simplify the types a little bit
...
Signed-off-by: blam <ben@blam.sh >
2023-03-28 14:52:46 +02:00
Andreas Berger
ce0cf80ef2
Allow defining output type in createTemplateAction
...
This change allow to define the output type of the createTemplateAction.
This is necessary for zod definitions, which results in "Type instantiation is excessively deep and possibly infinite."
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:30:23 +02:00
Andreas Berger
0da07e505b
Distinguish between undefined and unknown action outputs
...
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:30:22 +02:00
Andreas Berger
a7eb36c6e3
Improve type-check for scaffolder output parameters
...
If an action uses zod to define the actions output schema, it is now ensured that `ctx.output` is using only the defined properties
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:29:01 +02:00
Bogdan Nechyporenko
e27ddc36da
Cancelling the running task (executing of a scaffolder template)
...
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com >
2023-03-09 15:40:47 +01:00
blam
0afbe44ab9
chore: fixing the action context
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
d57708a0c7
chore: really fix up the api-reports and make them clean and tidy
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
14d1a325b7
chore: reworking the types a little bit
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
f86eb7f17d
chore: finishing off zod zupport
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
10a64ff693
feat: reworking zod integration a little bit to reduce the amount of typing you have to do
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
Fredrik Adelöw
ad3edc402d
propagate the deprecations properly
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-01-19 15:47:20 +01:00
Fredrik Adelöw
d72866f0cc
create new package scaffolder-node
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-01-19 15:05:45 +01:00