Commit Graph

55 Commits

Author SHA1 Message Date
Dang Huynh 99f786e149 Added repo_url to function getRepoUrlFromLocationAnnotation
Signed-off-by: Dang Huynh <dhhuynh2@gmail.com>
2022-07-07 14:18:37 -05:00
github-actions[bot] 6b985dc1c7 Version Packages (next) 2022-07-05 08:23:38 +00:00
Crevil e2d7b76f43 Upgrade git-url-parse to 12.0.0
This change upgrades git-url-parse to 12.0.0. This is a major upgrade but it
changes nothing to our usage.

Motivation for upgrade is transitively upgrading parse-url which is vulnerable
to several CVEs detected by Snyk.

- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-03 08:28:42 +02:00
github-actions[bot] c92deffe39 Version Packages (next) 2022-06-28 09:27:36 +00:00
Camila Belo f9e2ec2551 Merge pull request #11065 from anicke/techdocs-staticdir
[TechDocs] Added configuration for local publishing target
2022-06-23 16:54:42 +02:00
Camila Belo 7ad6bde557 Merge pull request #11839 from namco1992/fix-techdocs-cli-config
techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli generate
2022-06-23 15:53:49 +02:00
github-actions[bot] 2231987c10 Version Packages (next) 2022-06-21 09:04:17 +00:00
Niklas Aronsson 860765ff45 [TechDocs] Added configuration for local publishing target
This patch adds a configuration option for setting the "local"
techdocs target directory. The target directory can be set using
the "techdocs.publisher.local.publishDirectory".

This fixes two "TODOs" in the "plugins/techdocs-node/src/stages
/publish/local.ts" file:

*  Use a more persistent storage than node_modules or /tmp directory.
   Make it configurable with techdocs.publisher.local.publishDirectory
*  Move the logic of setting staticDocsDir based on config over to
   fromConfig, and set the value as a class parameter.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-06-16 22:27:39 +02:00
github-actions[bot] 2e2a82c9d7 Version Packages 2022-06-14 09:12:05 +00:00
Eric Peterson 2c048f8b90 Fix windows test and deprecated redirect method usage.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
Co-authored-by: Emma Indal <emma.indahl@gmail.com>
2022-06-13 17:46:01 +02:00
Eric Peterson 5296b00d4a chore: fix local entity path join
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-06-13 14:11:39 +02:00
Fredrik Adelöw d977673ce0 Merge pull request #11798 from backstage/renovate/typescript-4.x
chore(deps): update dependency typescript to ~4.7.0
2022-06-08 15:59:47 +02:00
Fredrik Adelöw 19781483a2 fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-06-08 13:49:27 +02:00
Renovate Bot f5283a42e2 fix(deps): update dependency @google-cloud/storage to v6
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 14:21:10 +00:00
github-actions[bot] b844443164 Version Packages (next) 2022-06-03 15:01:16 +00:00
Mengnan Gong a5d73da942 techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli
generate

Signed-off-by: Mengnan Gong <namco1992@gmail.com>
2022-06-03 14:26:51 +08:00
github-actions[bot] a13ab262de Version Packages (next) 2022-05-31 11:51:41 +00:00
github-actions[bot] bcc563abe9 Version Packages (next) 2022-05-24 11:05:52 +00:00
github-actions[bot] 64a03bd946 Version Packages 2022-05-17 09:26:29 +00:00
Eric Peterson c2a1d8935e Use @spotify/techdocs v1.0.3 by default.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 09:41:54 +02:00
github-actions[bot] c02ce52da1 Version Packages (next) 2022-05-10 08:00:04 +00:00
github-actions[bot] 1bff70d602 Version Packages (next) 2022-04-26 12:22:43 +00:00
Eric Peterson c57446c858 Merge pull request #10846 from TierMobility/master
[TechDocs] Accept sequence node custom tags in mkdocs config validation
2022-04-25 11:37:08 +02:00
Viktor Bahr 465c8770e5 fix(techdocs-node): add trailing newline to fixture
Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-25 11:00:48 +02:00
Renovate Bot cfc0f19699 fix(deps): update dependency fs-extra to v10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 14:12:43 +00:00
github-actions[bot] 3f7acfb96e Version Packages 2022-04-19 14:28:08 +00:00
Eric Peterson 9fa68705bf Update default TechDocs container to v1.0.2
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-19 13:26:26 +02:00
Viktor Bahr 24db82d8c1 feat(techdocs-node): accept sequence node custom tags
This change to the MKDOCS_SCHEMA lets the validation logic accept
custom tags that are sequence nodes as valid.

Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-14 17:57:47 +02:00
Viktor Bahr b7b2899e55 test(techdocs-node): sequence node custom tag validation failure
This test proves that currently only scalar YAML nodes are considered valid by
the mkdocs YAML validation logic, even though using the `!ENV` tag with
sequential data is officially supported by mkdocs[0].

[0] https://www.mkdocs.org/user-guide/configuration/#environment-variables

Signed-off-by: Viktor Bahr <viktor.bahr@tier.app>
2022-04-14 17:57:47 +02:00
github-actions[bot] 2e1cce5528 Version Packages (next) 2022-04-12 15:19:00 +00:00
Eric Peterson bcf1a2496c Nest config under mkdocs key.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-05 17:33:18 +02:00
Phil Kuang 9ab9ce617e fix(techdocs): do not copy docs/README.md as docs/index.md
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-04 12:57:38 -04:00
github-actions[bot] e6f3fb8575 Version Packages (next) 2022-03-29 08:42:22 +00:00
github-actions[bot] ad955c1b1b Version Packages (next) 2022-03-22 12:28:03 +00:00
Patrik Oldsberg a856043798 Merge pull request #10146 from backstage/rugvip/noglobalmocks
scaffolder-backend,techdocs-node: remove global dependency mocks
2022-03-17 14:08:35 +01:00
github-actions[bot] 0bc1611d6e Version Packages 2022-03-17 09:02:30 +00:00
Patrik Oldsberg 6634ba10d0 techdocs-node: remove custom test setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-15 17:25:58 +01:00
Patrik Oldsberg 6869f7db09 techdocs-node: inline azure mocks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-15 17:25:58 +01:00
Patrik Oldsberg 6ce22dad4d techdocs-node: inline google storage mock
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-15 17:25:58 +01:00
Patrik Oldsberg f81513197b techdocs-node: inline swift sdk mock
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-15 17:25:58 +01:00
Patrik Oldsberg d25346be78 techdocs-node: inline aws-s3 mock
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-15 17:25:57 +01:00
Fredrik Adelöw 6565f2c50b Merge pull request #10147 from rex4539/typos
Fix typos
2022-03-15 11:01:46 +01:00
Emma Indal 9234be033c api reports logger fixup
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-15 09:35:57 +01:00
Emma Indal b44692890b tests fixups
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:18 +01:00
Emma Indal cb4f0e4f07 clean up deprecations of techdocs-node plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:17 +01:00
Dimitris Apostolou aedd4daa66 Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
2022-03-13 14:12:05 +02:00
github-actions[bot] b6d947b67f Version Packages 2022-03-10 11:30:23 +00:00
github-actions[bot] 1693f2dc74 Version Packages (next) 2022-03-09 16:09:04 +00:00
Patrik Oldsberg 1f87e8a376 Merge pull request #10037 from backstage/rugvip/role-lint
cli: introduce role-based lint configuration setup
2022-03-08 09:27:19 +01:00
dependabot[bot] e0a69ba49f build(deps): bump fs-extra from 9.1.0 to 10.0.1
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 04:23:22 +00:00