This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules
eleith bbbf9a4b93
npm package registry support for bin (#21372)
Fix #21303

npm package.json supports binary packaging:
https://docs.npmjs.com/cli/v8/configuring-npm/package-json#bin

the npm registry documents that the binary references will be attached
to the abbreviated version object:

https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-version-object

unfortunately their api documentation leaves this out:
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-version-objectdoc

which is likely to be the reason this was left out in gitea's initial
implementation

this response is critical for npm to install the binary in the `.bin`
folder so as to be included on the users default bin path, resulting in
immediate access to any binaries provided by the package
2022-10-08 13:24:44 +08:00
..
activitypub Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
analyze
appstate
auth
avatar Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
base
cache
charset Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
container
context Tag list should include draft releases with existing tags (#21263) 2022-10-03 20:05:53 +08:00
convert Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
csv Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
doctor Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
emoji Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
eventsource Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
generate
git Refactor parseTreeEntries, speed up tree list (#21368) 2022-10-08 01:20:53 +08:00
gitgraph
graceful Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
hcaptcha
highlight Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
hostmatcher Add proxy host into allow list (#20798) 2022-08-16 20:15:54 -04:00
httpcache
httplib
indexer test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
issue/template Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
json
lfs Removed some vestigial code related to Range bounds checks (#20312) 2022-07-28 11:04:36 +08:00
log test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
markup Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
mcaptcha Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00
metrics Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
migration Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
mirror
nosql fix broken insecureskipverify handling in rediss connection uris (#20967) 2022-08-29 16:38:49 +02:00
notification Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
options Fix and improve incorrect error messages (#21342) 2022-10-06 07:00:54 +01:00
packages npm package registry support for bin (#21372) 2022-10-08 13:24:44 +08:00
paginator
password
pprof Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
private Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
process
proxy
proxyprotocol Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
public
queue test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
recaptcha
references
regexplru
repository Remove unnecessary length check for repo's Description & Website (#21194) 2022-09-18 10:35:24 +08:00
secret
session
setting Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
sitemap
ssh Support Proxy protocol (#12527) 2022-08-21 19:20:43 +01:00
storage Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
structs Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
svg
sync
templates Add nicer error handling on template compile errors (#21350) 2022-10-07 22:02:24 +01:00
test Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
timeutil Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
translation Use en-US as fallback when using other default language (#21200) 2022-09-25 02:00:16 +03:00
typesniffer Rework raw file http header logic (#20484) 2022-07-29 17:26:55 +02:00
updatechecker
upload
uri
user
util Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
validation Add more checks in migration code (#21011) 2022-09-04 13:47:56 +03:00
watcher Share HTML template renderers and create a watcher framework (#20218) 2022-08-28 10:43:25 +01:00
web refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00