Commit Graph

31 Commits

Author SHA1 Message Date
Patrik Oldsberg b54372e9dc scripts/api-extractor: fix path handling on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-15 23:46:22 +02:00
Patrik Oldsberg c12459d93e api-extractor: tweak front matter handling
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 19:34:28 +02:00
Patrik Oldsberg b8310ae106 api-extractor: separate tables for packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:59:38 +02:00
Patrik Oldsberg d4e614bb1d remove docgen package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-12 23:16:11 +02:00
Patrik Oldsberg 6caa4df79b api-extractor: switch to subclassing instead of monkey patching
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-12 11:42:17 +02:00
Patrik Oldsberg 7da91310b0 api-extractor: document doc generation a bit
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-11 19:21:50 +02:00
Patrik Oldsberg e79b23d38b api-extractor: drop special handling of @component
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-11 19:10:16 +02:00
Patrik Oldsberg f8b3635f90 api-extractor: working docs mvp
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-11 19:08:55 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Patrik Oldsberg d669e75d95 scripts/api-extractor: enable warnings in API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 01:06:55 +02:00
Patrik Oldsberg e87aa59df3 scripts/api-extractor: run prettier on generated API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:46:43 +02:00
Patrik Oldsberg 1a6362b423 scripts/api-extractor: generate api-reports for previously unsupported packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:46:43 +02:00
Oliver Sand c267509df1 api-extractor: check whether folder has a package.json
Often when switching between branches, I have empty folders in my working copy and Git doesn't track folders. Another case is the now deleted `core` package which remains as an empty folder locally (due to the node_modules folder still being there).
Sadly, api-extractor crashes on empty folder, so this introduces a check that the folder is a package by checking for the package.json file.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-24 15:37:26 +02:00
Patrik Oldsberg c7126e7a86 docs,workflows: remove or update references to packages/core(-api)
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-24 12:50:40 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Patrik Oldsberg 5429bfa69e scripts/api-extractor: update to create reports for plugin packages too
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 10:35:51 +02:00
Patrik Oldsberg 3aeccc94ba Merge pull request #5825 from backstage/mob/evolution-v2
core: split into three new separate packages
2021-06-01 17:29:06 +02:00
Patrik Oldsberg 06e7258bc3 scripts/api-extractor: generate reports for core-*-api
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-31 16:29:29 +02:00
Fredrik Adelöw 330f4bacdb rename to backend-test-utils and rearrange a bit
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-27 10:52:04 +02:00
Fredrik Adelöw 8c0109abba Introduce @backstage/backend-testing, with TestDatabases to start off
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-26 18:02:16 +02:00
Fredrik Adelöw a66c6f986c Revert "Introduce @backstage/backend-testing, with TestDatabases to start off"
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-12 10:30:32 +02:00
Fredrik Adelöw babe473dd1 Introduce @backstage/backend-testing, with TestDatabases to start off
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-12 08:48:43 +02:00
Patrik Oldsberg 215b44de9c scripts/api-extractor: fix comment
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:37 +02:00
Patrik Oldsberg 70ac6d68c2 scripts/api-extractor: some more explanations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:37 +02:00
Patrik Oldsberg 658de01647 scripts/api-extractor: disable all inline warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:37 +02:00
Patrik Oldsberg c04a465330 scripts/api-extractor: figure out the conflicting file in CI and print the contents
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg 6768b397bd scripts/api-extractor: silence compiler warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg 0eda63fe9d scripts/api-extractor: disable inline compilation warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg d3c54f9663 scripts/api-extractor: log instructions after run is complete to avoid race
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:36 +02:00
Patrik Oldsberg 26dee60729 scripts/api-extractor: better feedback for api-report mismatches
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:33 +02:00
Patrik Oldsberg 482256023b scripts: add api-extractor script that generates API reports and documentation
Co-authored-by: Gustaf Räntilä <g.rantila@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 20:42:32 +02:00