Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apple/pkl-pantry
Shared Pkl packages
https://github.com/apple/pkl-pantry
Last synced: about 1 month ago
JSON representation
Shared Pkl packages
- Host: GitHub
- URL: https://github.com/apple/pkl-pantry
- Owner: apple
- License: apache-2.0
- Created: 2024-01-19T17:27:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T22:53:36.000Z (2 months ago)
- Last Synced: 2024-07-16T12:18:02.795Z (2 months ago)
- Language: Pkl
- Homepage:
- Size: 455 KB
- Stars: 229
- Watchers: 13
- Forks: 31
- Open Issues: 9
-
Metadata Files:
- Readme: README.adoc
- Contributing: CONTRIBUTING.adoc
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.adoc
- Security: SECURITY.adoc
Awesome Lists containing this project
README
= Pkl Pantry
This is a monorepo of packages that are maintained and published by the Pkl team.
== Using packages
Packages within this repository are published as `package://pkg.pkl-lang.org/pkl-pantry/@`.
=== Direct imports
Modules from package can be imported directly. For example, the below line imports module `toml.pkl` from package link:packages/pkl.toml/[`pkl.toml`] at version `1.0.0`:
[source,pkl]
----
import "package://pkg.pkl-lang.org/pkl-pantry/[email protected]#/toml.pkl"
----=== In a project
If using a link:https://pkl-lang.org/main/current/language-reference/index.html#projects[project], add a package as a dependency:
[source,pkl]
----
amends "pkl:Project"dependencies {
["toml"] { uri = "package://pkg.pkl-lang.org/pkl-pantry/[email protected]" }
}
----== Documentation
The documentation for all packages published here can be found in our
link:https://pkl-lang.org/package-docs[Package Docs] website.