Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more packages #148

Merged
merged 1 commit into from
Dec 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions packages/shopify-theme-check/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: shopify-theme-check
description: The Ultimate Shopify Theme Linter.
homepage: https://github.com/Shopify/theme-check
licenses:
- proprietary
languages:
- Liquid
categories:
- LSP
- Linter

source:
id: pkg:gem/theme-check@1.12.1

bin:
theme-check-language-server: gem:theme-check-language-server
24 changes: 24 additions & 0 deletions packages/slint-lsp/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: slint-lsp
description: A LSP Server that adds features like auto-complete and live preview of the .slint files to many editors.
homepage: https://slint-ui.com/
licenses:
- proprietary
- GPL-3.0-or-later
languages:
- Slint
categories:
- LSP

source:
id: pkg:github/slint-ui/slint@v0.3.3
asset:
- target: linux_x64
file: slint-lsp-linux.tar.gz
bin: slint-lsp/slint-lsp
- target: win_x64
file: slint-lsp-windows.zip
bin: slint-lsp/slint-lsp.exe

bin:
slint-lsp: "{{source.asset.bin}}"
18 changes: 18 additions & 0 deletions packages/smithy-language-server/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: smithy-language-server
description: A Language Server Protocol implementation for the Smithy IDL.
homepage: https://github.com/awslabs/smithy-language-server
licenses:
- Apache-2.0
languages:
- Smithy
categories:
- LSP

source:
id: pkg:github/awslabs/smithy-language-server@2a9ef9cc7cf2ad054c0320a395a19ec6e1a9f7bc
build:
run: ./gradlew build

bin:
smithy-language-server: java-jar:build/libs/smithy-language-server-0.2.2.jar
43 changes: 43 additions & 0 deletions packages/solang/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: solang
description: Solidity Compiler for Solana, Substrate, and ewasm.
homepage: https://solang.readthedocs.io/en/latest/
licenses:
- Apache-2.0
languages:
- Solidity
categories:
- LSP
- Compiler

source:
id: pkg:github/hyperledger-labs/solang@v0.2.0
asset:
- target: darwin_x64
file:
- solang-mac-intel
- llvm13.0-mac-intel.tar.xz
bin: solang-mac-intel
- target: darwin_arm64
file:
- solang-mac-arm
- llvm13.0-mac-arm.tar.xz
bin: solang-mac-arm
- target: linux_arm64
file:
- solang-linux-arm64
- llvm13.0-linux-arm64.tar.xz
bin: solang-linux-arm64
- target: linux_x64
file:
- solang-linux-x86-64
- llvm13.0-linux-x86-64.tar.xz
bin: solang-linux-x86-64
- target: win_x64
file:
- solang.exe
- llvm13.0-win.zip
bin: solang.exe

bin:
solang: "{{source.asset.bin}}"
16 changes: 16 additions & 0 deletions packages/solargraph/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: solargraph
description: Solargraph is a Ruby gem that provides intellisense features through the language server protocol.
homepage: https://solargraph.org
licenses:
- MIT
languages:
- Ruby
categories:
- LSP

source:
id: pkg:gem/solargraph@0.48.0

bin:
solargraph: gem:solargraph
16 changes: 16 additions & 0 deletions packages/solhint/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: solhint
description: Solhint is a linting utility for Solidity code.
homepage: https://protofire.github.io/solhint/
licenses:
- MIT
languages:
- Solidity
categories:
- Linter

source:
id: pkg:npm/solhint@3.3.7

bin:
solhint: npm:solhint
16 changes: 16 additions & 0 deletions packages/solidity-ls/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: solidity-ls
description: Solidity language server.
homepage: https://github.com/qiuxiang/solidity-ls
licenses:
- proprietary
languages:
- Solidity
categories:
- LSP

source:
id: pkg:npm/solidity-ls@0.5.3

bin:
solidity-ls: npm:solidity-ls
24 changes: 24 additions & 0 deletions packages/solidity/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: solidity
description: Solidity, the Smart Contract Programming Language.
homepage: https://github.com/ethereum/solidity
licenses:
- GPL-3.0-or-later
languages:
- Solidity
categories:
- Compiler
- LSP

source:
id: pkg:github/ethereum/solidity@v0.8.17
asset:
- target: [darwin_x64, darwin_arm64]
file: solc-macos
- target: linux_x64
file: solc-static-linux
- target: win_x64
file: solc-windows.exe

bin:
solc: "{{source.asset.file}}"
23 changes: 23 additions & 0 deletions packages/sorbet/package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: sorbet
description: Sorbet is a fast, powerful type checker designed for Ruby.
homepage: https://sorbet.org/
licenses:
- Apache-2.0
languages:
- Ruby
categories:
- LSP

source:
id: pkg:gem/sorbet@0.5.10598
supported_platforms:
- darwin_x64
- darwin_arm64
- linux_x64
- linux_x86
- linux_arm64
- linux_arm

bin:
srb: gem:srb
7 changes: 7 additions & 0 deletions schemas/components/sources/gem.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"items": {
"type": "string"
}
},
"supported_platforms": {
"type": "array",
"description": "List of platforms supported by the gem package.",
"items": {
"$ref": "/mason-org/mason-registry/schemas/enums/platform"
}
}
}
}
22 changes: 13 additions & 9 deletions schemas/components/sources/github/release.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"$defs": {
"Asset": {
"type": "object",
"required": [
"target",
"file"
],
"required": ["target", "file"],
"additionalProperties": true,
"properties": {
"target": {
Expand All @@ -25,16 +22,23 @@
]
},
"file": {
"type": "string"
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
}
}
}
},
"additionalProperties": false,
"required": [
"id",
"asset"
],
"required": ["id", "asset"],
"properties": {
"id": {
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions schemas/enums/language.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"Sh",
"Shell",
"Slint",
"Smithy",
"Solidity",
"Sphinx",
"Stylelint",
Expand Down