diff --git a/pkgs/JohnnyMorganz/StyLua/pkg.yaml b/pkgs/JohnnyMorganz/StyLua/pkg.yaml index 652d34d1a8b..48f91c7dd69 100644 --- a/pkgs/JohnnyMorganz/StyLua/pkg.yaml +++ b/pkgs/JohnnyMorganz/StyLua/pkg.yaml @@ -1,10 +1,10 @@ packages: - name: JohnnyMorganz/StyLua@v2.0.1 - name: JohnnyMorganz/StyLua - version: v0.15.0 + version: v0.19.1 - name: JohnnyMorganz/StyLua - version: v0.14.0 + version: v0.14.3 - name: JohnnyMorganz/StyLua - version: v0.13.0 + version: v0.13.1 - name: JohnnyMorganz/StyLua - version: v0.1.0-alpha + version: v0.12.5 diff --git a/pkgs/JohnnyMorganz/StyLua/registry.yaml b/pkgs/JohnnyMorganz/StyLua/registry.yaml index 1bbc75b9a31..e404a002378 100644 --- a/pkgs/JohnnyMorganz/StyLua/registry.yaml +++ b/pkgs/JohnnyMorganz/StyLua/registry.yaml @@ -2,56 +2,64 @@ packages: - type: github_release repo_owner: JohnnyMorganz repo_name: StyLua - description: An opinionated Lua code formatter - asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} - format: zip - overrides: - - goos: windows - replacements: - arm64: arm64 - replacements: - amd64: x86_64 - arm64: aarch64 - darwin: macos - supported_envs: - - darwin - - linux - - amd64 + description: A Lua code formatter files: - name: stylua - version_constraint: semver(">= 0.15.0") + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 0.14.0") - asset: stylua-{{.OS}}.{{.Format}} - overrides: - - goos: darwin - goarch: arm64 - asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} - replacements: - arm64: aarch64 + - version_constraint: semver("<= 0.12.5") + asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}} + format: zip replacements: darwin: macos windows: win64 supported_envs: - darwin + - windows - amd64 - - version_constraint: semver(">= 0.13.0") + - version_constraint: semver("<= 0.13.1") asset: stylua-{{.OS}}.{{.Format}} - overrides: [] + format: zip replacements: darwin: macos windows: win64 supported_envs: - darwin + - windows - amd64 - rosetta2: true - - version_constraint: semver("< 0.13.0") - asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}} - overrides: [] + - version_constraint: semver("<= 0.14.3") + asset: stylua-{{.OS}}.{{.Format}} + format: zip replacements: darwin: macos windows: win64 + overrides: + - goos: darwin + goarch: arm64 + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + replacements: + arm64: aarch64 supported_envs: - darwin + - windows - amd64 - rosetta2: true + - version_constraint: semver("<= 0.19.1") + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + format: zip + windows_arm_emulation: true + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + - version_constraint: "true" + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + format: zip + windows_arm_emulation: true + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + overrides: + - goos: linux + goarch: amd64 + asset: stylua-{{.OS}}-{{.Arch}}-musl.{{.Format}} diff --git a/registry.yaml b/registry.yaml index b86ad7d0430..46bb765030e 100644 --- a/registry.yaml +++ b/registry.yaml @@ -2303,59 +2303,67 @@ packages: - type: github_release repo_owner: JohnnyMorganz repo_name: StyLua - description: An opinionated Lua code formatter - asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} - format: zip - overrides: - - goos: windows - replacements: - arm64: arm64 - replacements: - amd64: x86_64 - arm64: aarch64 - darwin: macos - supported_envs: - - darwin - - linux - - amd64 + description: A Lua code formatter files: - name: stylua - version_constraint: semver(">= 0.15.0") + version_constraint: "false" version_overrides: - - version_constraint: semver(">= 0.14.0") - asset: stylua-{{.OS}}.{{.Format}} - overrides: - - goos: darwin - goarch: arm64 - asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} - replacements: - arm64: aarch64 + - version_constraint: semver("<= 0.12.5") + asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}} + format: zip replacements: darwin: macos windows: win64 supported_envs: - darwin + - windows - amd64 - - version_constraint: semver(">= 0.13.0") + - version_constraint: semver("<= 0.13.1") asset: stylua-{{.OS}}.{{.Format}} - overrides: [] + format: zip replacements: darwin: macos windows: win64 supported_envs: - darwin + - windows - amd64 - rosetta2: true - - version_constraint: semver("< 0.13.0") - asset: stylua-{{trimV .Version}}-{{.OS}}.{{.Format}} - overrides: [] + - version_constraint: semver("<= 0.14.3") + asset: stylua-{{.OS}}.{{.Format}} + format: zip replacements: darwin: macos windows: win64 + overrides: + - goos: darwin + goarch: arm64 + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + replacements: + arm64: aarch64 supported_envs: - darwin + - windows - amd64 - rosetta2: true + - version_constraint: semver("<= 0.19.1") + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + format: zip + windows_arm_emulation: true + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + - version_constraint: "true" + asset: stylua-{{.OS}}-{{.Arch}}.{{.Format}} + format: zip + windows_arm_emulation: true + replacements: + amd64: x86_64 + arm64: aarch64 + darwin: macos + overrides: + - goos: linux + goarch: amd64 + asset: stylua-{{.OS}}-{{.Arch}}-musl.{{.Format}} - type: github_release repo_owner: Julien-R44 repo_name: fast-ssh