mirror of
https://github.com/pesde-pkg/tooling.git
synced 2025-05-04 10:43:58 +01:00
style: apply stylua formatter
This commit is contained in:
parent
36677adc3e
commit
940ceea50f
1 changed files with 62 additions and 62 deletions
|
@ -1,62 +1,62 @@
|
||||||
export type SPDXLicense =
|
export type SPDXLicense =
|
||||||
"MIT"
|
"MIT"
|
||||||
| "Apache-2.0"
|
| "Apache-2.0"
|
||||||
| "BSD-2-Clause"
|
| "BSD-2-Clause"
|
||||||
| "BSD-3-Clause"
|
| "BSD-3-Clause"
|
||||||
| "GPL-2.0"
|
| "GPL-2.0"
|
||||||
| "GPL-3.0"
|
| "GPL-3.0"
|
||||||
| "LGPL-2.1"
|
| "LGPL-2.1"
|
||||||
| "LGPL-3.0"
|
| "LGPL-3.0"
|
||||||
| "MPL-2.0"
|
| "MPL-2.0"
|
||||||
| "ISC"
|
| "ISC"
|
||||||
| "Unlicense"
|
| "Unlicense"
|
||||||
| "WTFPL"
|
| "WTFPL"
|
||||||
| "Zlib"
|
| "Zlib"
|
||||||
| "CC0-1.0"
|
| "CC0-1.0"
|
||||||
| "CC-BY-4.0"
|
| "CC-BY-4.0"
|
||||||
| "CC-BY-SA-4.0"
|
| "CC-BY-SA-4.0"
|
||||||
| "BSL-1.0"
|
| "BSL-1.0"
|
||||||
| "EPL-2.0"
|
| "EPL-2.0"
|
||||||
| "AGPL-3.0"
|
| "AGPL-3.0"
|
||||||
|
|
||||||
export type DependencySpecifier = ((
|
export type DependencySpecifier = ((
|
||||||
{ name: string, version: string, index: string? }
|
{ name: string, version: string, index: string? }
|
||||||
| { workspace: string, version: string }
|
| { workspace: string, version: string }
|
||||||
| { repo: string, rev: string, path: string? }
|
| { repo: string, rev: string, path: string? }
|
||||||
) & {
|
) & {
|
||||||
target: string?,
|
target: string?,
|
||||||
}) | { wally: string, version: string, index: string? }
|
}) | { wally: string, version: string, index: string? }
|
||||||
|
|
||||||
export type PackageTarget = {
|
export type PackageTarget = {
|
||||||
environment: "luau" | "lune" | "roblox" | "roblox_server",
|
environment: "luau" | "lune" | "roblox" | "roblox_server",
|
||||||
lib: string,
|
lib: string,
|
||||||
} | {
|
} | {
|
||||||
environment: "luau" | "lune",
|
environment: "luau" | "lune",
|
||||||
bin: string,
|
bin: string,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type PesdeManifest = {
|
export type PesdeManifest = {
|
||||||
name: string,
|
name: string,
|
||||||
version: string,
|
version: string,
|
||||||
description: string?,
|
description: string?,
|
||||||
license: SPDXLicense?,
|
license: SPDXLicense?,
|
||||||
authors: { string }?,
|
authors: { string }?,
|
||||||
repository: string?,
|
repository: string?,
|
||||||
private: boolean?,
|
private: boolean?,
|
||||||
includes: { string }?,
|
includes: { string }?,
|
||||||
pesde_version: string?,
|
pesde_version: string?,
|
||||||
workspace_members: { string }?,
|
workspace_members: { string }?,
|
||||||
target: PackageTarget,
|
target: PackageTarget,
|
||||||
build_files: { string }?,
|
build_files: { string }?,
|
||||||
scripts: { [string]: string }?,
|
scripts: { [string]: string }?,
|
||||||
indices: { [string]: string },
|
indices: { [string]: string },
|
||||||
wally_indices: { [string]: string }?,
|
wally_indices: { [string]: string }?,
|
||||||
overrides: { [string]: DependencySpecifier }?,
|
overrides: { [string]: DependencySpecifier }?,
|
||||||
patches: { [string]: { [string]: string } }?,
|
patches: { [string]: { [string]: string } }?,
|
||||||
place: { [string]: string }?,
|
place: { [string]: string }?,
|
||||||
dependencies: { [string]: DependencySpecifier }?,
|
dependencies: { [string]: DependencySpecifier }?,
|
||||||
peer_dependencies: { [string]: DependencySpecifier }?,
|
peer_dependencies: { [string]: DependencySpecifier }?,
|
||||||
dev_dependencies: { [string]: DependencySpecifier }?,
|
dev_dependencies: { [string]: DependencySpecifier }?,
|
||||||
}
|
}
|
||||||
|
|
||||||
return "<manifest>"
|
return "<manifest>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue