Patrik Oldsberg
14e8162d19
cli: added temp dir utility to create context
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 13:08:25 +01:00
Patrik Oldsberg
84936dbcbe
cli: cmd options and discovery for additional creation context
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 12:03:23 +01:00
Camila Belo
eec57229eb
fix(techdocs-cli): remove quote from volume
...
Ref: https://github.com/backstage/techdocs-cli/pull/162
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-11-12 11:51:34 +01:00
Patrik Oldsberg
3ca0d3368e
cli: display create prompt messages in blue and errors in red
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 11:31:53 +01:00
Patrik Oldsberg
55e58c5568
cli: moved bulk of create implementation over to lib
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 11:24:40 +01:00
Patrik Oldsberg
2ca3f5ff4c
cli: added support for dynamically discovering create options
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 11:22:30 +01:00
Oliver Sand
58a4e67ded
Add theme switcher to sidebar of dev app
...
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com >
2021-11-12 11:16:19 +01:00
Patrik Oldsberg
0a66597793
Merge pull request #8000 from marleypowell/marley/7999-storybook-fix
...
fix: Fixed issue with running a subset of stories caused by incorrectly resolved paths.
2021-11-12 11:04:23 +01:00
Patrik Oldsberg
e607456dbc
cli: create command factory foundations
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 11:00:46 +01:00
Patrik Oldsberg
8acb23b29f
cli: initial create command
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-11-12 11:00:45 +01:00
Fredrik Adelöw
c3ffbd615f
Merge pull request #7947 from backstage/freben/service-builder-errors
...
Make sure that the server builder propagates init errors properly
2021-11-12 09:42:46 +01:00
Marley Powell
f8ebdd571c
refactor: Reworked how subset story paths are created.
...
Signed-off-by: Marley Powell <Marley.Powell@exclaimer.com >
2021-11-12 08:33:39 +00:00
Marley Powell
cdca117d58
Merge branch 'master' of https://github.com/backstage/backstage into marley/7999-storybook-fix
2021-11-12 08:13:33 +00:00
Patrik Oldsberg
2375361400
Merge pull request #8001 from backstage/rugvip/oda
...
cli: make sure JSS styles receive the highest priority
2021-11-12 01:05:15 +01:00
Camila Belo
c2f387880f
chore(techdocs-cli): add backstage app defaults
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-11-11 20:38:18 +01:00
Fredrik Adelöw
333e3c21e5
Merge pull request #7990 from backstage/freben/tar2
...
add snyk ignores for the node-gyp tar vuln
2021-11-11 20:32:04 +01:00
Fredrik Adelöw
5f606617dd
fixup yarn.lock
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:31:05 +01:00
Fredrik Adelöw
3f447ec3e1
use lodash.once instead of memoize, and skip unnecessary PK index
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:59 +01:00
Fredrik Adelöw
3bf2238187
update to the right version of the errors package
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:24:14 +01:00
Fredrik Adelöw
06b035d120
bump to the latest versions of backstage packages
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:23:19 +01:00
Fredrik Adelöw
41009bb3a5
fix missing link in api report
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
85cc6bd6aa
rename to TaskScheduler to reduce collision risk with other concepts
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
92d85b80e9
more tests and a review comment
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
b5c106ac4c
fix api export and test timeouts
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
26cf7f631d
final cleanup, removing unschedule
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
9bee0b9f71
make it possible to abort tasks
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:48 +01:00
Fredrik Adelöw
d8c28d99cf
make the original task definition into just one object
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:47 +01:00
Fredrik Adelöw
b91fe07309
use a proper AbortController instead of the home baked one
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:40 +01:00
Fredrik Adelöw
cc3b6c25aa
make timeout and frequency mandatory
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
aeaa2fe3e6
log the task id as well when unable to parse settings
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
d252c983b5
use dashes in not-ready-yet
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
5d602f8e29
get rid of the ts-ignore
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
3f1237147f
remove the lock functionality
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
67456f7fc9
remove knexfile
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
c1ac8dd174
log on failed release
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:28 +01:00
Fredrik Adelöw
e09bf604cd
move to a separate package instead and address comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:22:27 +01:00
Fredrik Adelöw
222793c849
do not modify the backend yet
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d7c1e0e34a
docs
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
751317dbf3
finishing touches
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d4f412fcd3
Get most of the task worker code into place
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:51 +01:00
Fredrik Adelöw
d088c7f0a3
Implement the locks part of the task manager
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:21:49 +01:00
Fredrik Adelöw
6f276707e3
review comments
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:06:45 +01:00
Fredrik Adelöw
a8732a1200
Make sure that the server builder propagates init errors properly
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 20:02:59 +01:00
Fredrik Adelöw
9010cdc4d7
add snyk ignores for the node-gyp tar vuln
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-11-11 19:59:13 +01:00
Camila Belo
0456b73da8
fix(techdocs-cli): config file for development build
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-11-11 19:36:38 +01:00
Camila Belo
7a3c2f9301
fix(techdocs-cli): wait for child process to finish
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-11-11 19:33:03 +01:00
Andrew Thauer
71e7b0ee92
refactor: reunification of techdocs-cli and backstage repos
...
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com >
2021-11-11 19:31:55 +01:00
Colton Padden
1b3fab7193
Use mock-fs during createApp to prevent filesystem modifications
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Colton Padden
bd90ded8b7
Add type annotations for mocked child_process.exec
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00
Colton Padden
1d666cb67e
Add regression tests to createApp entrypoint
...
Ensure that appropriate tasks are called depending on inquirer prompt answers,
and command-line argument options (--path, and --skip-install).
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-11-11 13:28:43 -05:00