Commit Graph

12 Commits

Author SHA1 Message Date
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
Himanshu Mishra e677dbd3c0 Move techdocs-cli to backstage/techdocs-cli repository 2020-11-05 15:27:14 +01:00
Navaneeth Suresh bbeaff9daf Add a lint rule to avoid using __dirname 2020-10-09 15:03:29 +05:30
Perry Manuk 24a1298983 Techdocs-cli Build Fix
We're using cloud build in gcp to build/package our backstage deployment
and when you upload your artifacts it will remove all of the .git folder
to mimimize the upload causing the techdocs-cli to fail as it relies on
using `git rev-parse` to discover the full path. I changed this to be
statically linked so the reliance on git is no longer there and so that
as long as the structure of your repo doesn't change it should build no
matter where the root folder is placed.
2020-08-19 12:10:32 +02:00
Sebastian Qvarfordt d2f4438f5b Fix techdocs-cli when not running local 2020-08-17 11:18:09 +02:00
Patrik Oldsberg 1eceadb942 packages: fix ts-node config in local dev versions of CLIs 2020-08-12 19:17:27 +02:00
Sebastian Qvarfordt cbef4867eb More issues in techdocs-cli 2020-07-15 11:19:55 +02:00
Sebastian Qvarfordt bb63c4ceba Updated techdocs-cli build script 2020-07-15 10:48:52 +02:00
Sebastian Qvarfordt a70c4070f8 fix(techdocs): fix cli publishing no dist folder 2020-07-14 20:37:00 +02:00
Bilawal Hameed 353cf5a14f techdocs: implement serve for the techdocs-cli (#1581)
* feat(techdocs-cli): point techdocs export to localhost:3000/api

* feat(techdocs-cli): add http-proxy package

* feat(techdocs-cli): add react-dev-utils package

* feat(techdocs-cli): implement serve and serve:mkdocs commands

* fix: use [module] prefix convention in console.log

* docs: added commands

* wip

* Fix type errors

Co-authored-by: Sebastian Qvarfordt <s.qvarfordt@gmail.com>
2020-07-10 16:01:45 +02:00
Sebastian Qvarfordt eed37376fc Initial techdocs-cli (#1558)
* Initial techdocs-cli

* Run backstage serve and docker container from techdocs cli

* Added documentation for techdocs-cli

* Fix linting

* Builds and export the dev folder of a plugin

* make bin/build executable

* Remove 'src' from files

* fix

* fix: corrected bad rebase

* feat(techdocs-cli): create export in techdocs plugin + clone to cli build

* fix: added support for nodemon

* feat(techdocs-cli): add vercel/serve-handler npm package

* fix: bump eslint-config to 8.0.0 + add prettier-config

* fixup

* fix: add HTTPServer module for serving techdocs-preview-bundle/

* fix: addressed tsc issues (unused import, missing type definition)

Co-authored-by: Bilawal Hameed <bil@spotify.com>
2020-07-09 11:08:19 +02:00
Emma Indal 54735dc269 fix(techdocs-cli): add techdocs cli bin 2020-06-22 16:06:34 +02:00