Comments (4)
What would be the use case for this?. Just wanna understand it with an example to see if I can help.
from giget.
This way we can support any artillery template provider using a known convention without the need to create a custom one, out of the box.
Something like this: tar:https://my-template-registry.com/template/v1.tar#name=pikachu&version=1.0.0
Resolves to:
{
name: 'pikachu',
version: '1.0.0',
tar: `https://my-template-registry.com/template/v1.tar`
}
This way, other than custom CDN, we can support npm registry and github releases as template provider! Examples:
- https://registry.npmjs.org/unstorage/-/unstorage-0.0.0.tgz
- https://github.com/unjs/unstorage/archive/refs/tags/v0.6.0.tar.gz
from giget.
@pi0 I can take this if you approve the scope described above
from giget.
When will this functionality be in master?
from giget.
Related Issues (20)
- Support multiple registries
- Dispose: delete pre-created folders when the template does not exist
- Does not use http proxy on node 20 HOT 3
- Improve tests coverage HOT 1
- migrate from `tar` to `nanotar`
- CLI can not be used HOT 1
- How to download `.ts` file HOT 1
- Cannot resolve "node-fetch-native/native/proxy" from "..." and externals are not allowed! HOT 5
- Try using `gh` cli token as fallback when cloning github sources HOT 1
- [bun] No matching export in "node_modules/node-fetch-native/dist/proxy.cjs" HOT 6
- parseGitURI is not working for repositories in sub directory HOT 2
- Disable `--install` until `nypm` has better ways of detecting the package manager HOT 3
- parseGitURI is not working for tags containing `@` characters
- Option to throw if fetching a template fails
- URL download option
- Add Codeberg as a provider HOT 3
- restructure provider registration
- Move cache directory on Windows to AppData HOT 1
- Extracting not working on Bun on Windows
- Missing escape slash on RegEx in Utils HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giget.