@trebired/git-host 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE +661 -21
- package/README.md +200 -2
- package/dist/api/forge/handler.d.ts.map +1 -1
- package/dist/api/forge/handler.js +112 -1
- package/dist/api/forge/handler.js.map +1 -1
- package/dist/api/forge/route.d.ts +6 -0
- package/dist/api/forge/route.d.ts.map +1 -1
- package/dist/api/forge/route.js +13 -0
- package/dist/api/forge/route.js.map +1 -1
- package/dist/api/handler/action.js +1 -1
- package/dist/api/handler/action.js.map +1 -1
- package/dist/api/handler/archive.d.ts +43 -0
- package/dist/api/handler/archive.d.ts.map +1 -0
- package/dist/api/handler/archive.js +185 -0
- package/dist/api/handler/archive.js.map +1 -0
- package/dist/api/handler/response.d.ts.map +1 -1
- package/dist/api/handler/response.js +8 -0
- package/dist/api/handler/response.js.map +1 -1
- package/dist/api/handler/route.d.ts +11 -0
- package/dist/api/handler/route.d.ts.map +1 -1
- package/dist/api/handler/route.js +10 -0
- package/dist/api/handler/route.js.map +1 -1
- package/dist/api/handler.d.ts.map +1 -1
- package/dist/api/handler.js +33 -1
- package/dist/api/handler.js.map +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +31 -10
- package/dist/browser/index.js.map +1 -1
- package/dist/core/archive.d.ts +22 -0
- package/dist/core/archive.d.ts.map +1 -0
- package/dist/core/archive.js +563 -0
- package/dist/core/archive.js.map +1 -0
- package/dist/core/archive_cache_filesystem.d.ts +8 -0
- package/dist/core/archive_cache_filesystem.d.ts.map +1 -0
- package/dist/core/archive_cache_filesystem.js +158 -0
- package/dist/core/archive_cache_filesystem.js.map +1 -0
- package/dist/core/create_git_forge.d.ts.map +1 -1
- package/dist/core/create_git_forge.js +64 -0
- package/dist/core/create_git_forge.js.map +1 -1
- package/dist/core/create_git_host/content_methods.d.ts +1 -1
- package/dist/core/create_git_host/content_methods.d.ts.map +1 -1
- package/dist/core/create_git_host/content_methods.js +14 -3
- package/dist/core/create_git_host/content_methods.js.map +1 -1
- package/dist/core/create_git_host/shared.d.ts +2 -0
- package/dist/core/create_git_host/shared.d.ts.map +1 -1
- package/dist/core/create_git_host/shared.js.map +1 -1
- package/dist/core/create_git_host.d.ts.map +1 -1
- package/dist/core/create_git_host.js +7 -0
- package/dist/core/create_git_host.js.map +1 -1
- package/dist/core/inspect.d.ts +1 -1
- package/dist/core/inspect.d.ts.map +1 -1
- package/dist/core/inspect.js +11 -26
- package/dist/core/inspect.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/react/client/types.d.ts +22 -2
- package/dist/react/client/types.d.ts.map +1 -1
- package/dist/react/client.d.ts.map +1 -1
- package/dist/react/client.js +50 -0
- package/dist/react/client.js.map +1 -1
- package/dist/react/components.d.ts +11 -6
- package/dist/react/components.d.ts.map +1 -1
- package/dist/react/components.js +29 -4
- package/dist/react/components.js.map +1 -1
- package/dist/react/hooks/resources.d.ts.map +1 -1
- package/dist/react/hooks/resources.js +1 -1
- package/dist/react/hooks/resources.js.map +1 -1
- package/dist/react/hooks/types.d.ts +1 -1
- package/dist/react/hooks/types.d.ts.map +1 -1
- package/dist/types/forge.d.ts +42 -3
- package/dist/types/forge.d.ts.map +1 -1
- package/dist/types/host.d.ts +95 -2
- package/dist/types/host.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/repository.d.ts +33 -7
- package/dist/types/repository.d.ts.map +1 -1
- package/dist/types/transports.d.ts +2 -1
- package/dist/types/transports.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to `@trebired/git-host` will be documented here.
|
|
|
4
4
|
|
|
5
5
|
This project follows semantic versioning once published.
|
|
6
6
|
|
|
7
|
+
## 1.8.0
|
|
8
|
+
|
|
9
|
+
- Added host-owned archive ergonomics so callers can customize source archive filenames, outer root-directory naming, and generated archive URLs without changing repository identity or cache behavior.
|
|
10
|
+
- Added exported HTTP helpers for archive and uploaded release-asset downloads, including consistent content headers, redirect handling, and `HEAD` support for host-owned routes.
|
|
11
|
+
- Extended forge release asset transport support with typed asset links/downloads, optional host URL builders and openers, client helpers, browser links, and a reusable forge asset download route.
|
|
12
|
+
- Updated the README with default archive behavior, customization examples, and host-owned route patterns, and added coverage for filename customization, URL generation, response headers, and release asset downloads.
|
|
13
|
+
|
|
14
|
+
## 1.7.0
|
|
15
|
+
|
|
16
|
+
- Added first-class host-managed source archives for branches, tags, commits, and forge releases through SHA-resolved `zipball` and `tarball` download routes backed by `git archive`.
|
|
17
|
+
- Added streamed archive generation with deterministic commit-root folders, pluggable archive cache backends, filesystem cache support, TTL cleanup, structured archive error codes, and archive request/cache/generation audit logs.
|
|
18
|
+
- Extended release and tag API/browser models with automatic source archive links that stay distinct from uploaded release assets.
|
|
19
|
+
|
|
7
20
|
## 1.6.0
|
|
8
21
|
|
|
9
22
|
- Made package styling optional instead of required for frontend integration by adding `unstyled` support across the shared repository UI provider and browser pages.
|