README rewrite for pantry.extra split

This commit is contained in:
Max Howell 2022-10-24 16:28:36 -04:00
parent fbad316611
commit 0903d22c26
Failed to extract signature

View file

@ -1,82 +1,12 @@
![tea](https://tea.xyz/banner.png) ![tea](https://tea.xyz/banner.png)
tea is a decentralized package manager—this requires a decentralized package tea is a decentralized package manager—this requires a decentralized package
registry. Were releasing our testnet later this year. In the meantime the registry. Our pantries are our tentative first step towards that goal.
pantry is our stop-gap solution.
# Getting Started # pantry.extra
Youll need a `GITHUB_TOKEN` in your environment since we use the GitHub This pantry is our “at launch” complement to [pantry.core].
GraphQL API to fetch versions.
  For now, new pantry submissions should go here.
[pantry.core]: ../../../pantry.core
# Meta
## Entry Requirements
This pantry only accepts devtools that we feel confident we can maintain.
Quality and robustness are our goals. If you want other tools you can maintain
your own pantry and well build the binaries.
## Philosophy
Fundamentally we're coming at this from the perspective that the maintainer
should decide how their software is distributed and were making the tools so
they can do that in cross platform way.
This repo is a bootstrap and is stubs.
## Naming
We use fully-qualified names. Naming is hard, and the world has spent a while
trying to get it right. In this kind of domain the *correct choice* is
to namespace.
## Packaging Knowledgebase
Our [wiki](/wiki) is our knowledgebase. Fill it with the fruits of your
knowledge. Please keep it tidy.
 
# Coming Soon
## Maintaining Your Own Pantry
We will build binaries for forks of this repository and then surface the
`package.yml`s you maintain to users of tea/cli. This feature is coming
soon and will require signed commits and that you come to our Discord and say
hi.
## Hosting and Maintaining Your Own `package.yml`
If you have a website you can host your own `package.yml` there and we will
build binaries for you. This feature is coming soon and will require
signed, versioned tags and signed source tarballs.
 
# Dependencies
| Project | Version |
|-------------|---------|
| deno.land | ^1.23 |
| tea.xyz | ^0 |
## Build All
```sh
scripts/ls.ts | xargs scripts/sort.ts | xargs scripts/build.ts
```
## Typecheck
```sh
for x in scripts/*.ts src/app.ts; do
deno check --import-map=$SRCROOT/import-map.json $x
done
```