+9
maintainers/maintainer-list.nix
+9
maintainers/maintainer-list.nix
···
+159
pkgs/by-name/sp/spectral-language-server/package.json
+159
pkgs/by-name/sp/spectral-language-server/package.json
···+"description": "Location of the ruleset file to use when validating. If omitted, the default is a .spectral.yml/.spectral.json in the same folder as the document being validated. Paths are relative to the workspace. This can also be a remote HTTP url.",+"description": "An array of file globs (e.g., `**/*.yaml`) in minimatch glob format which should be validated by Spectral. If language identifiers are also specified, the file must match both in order to be validated. You can also use negative file globs (e.g., `!**/package.json`) here to exclude files.",+"description": "An array of language IDs which should be validated by Spectral. If file globs are also specified, the file must match both in order to be validated.",+"test:e2e": "cross-env CI=true CHAI_JEST_SNAPSHOT_UPDATE_ALL=false ts-node ./client/src/__tests__/e2e/index.ts"
+109
pkgs/by-name/sp/spectral-language-server/package.nix
+109
pkgs/by-name/sp/spectral-language-server/package.nix
···+# Instead of the build script that spectral-language-server provides (ref: https://github.com/luizcorreia/spectral-language-server/blob/master/script/vscode-spectral-build.sh), we build vscode-spectral manually.+# This is because the script must go through the network and will not work under the Nix sandbox environment.+jq '.compilerOptions += {"module": "NodeNext", "moduleResolution": "NodeNext"}' server/tsconfig.json.bak > server/tsconfig.json+# FIXME: vscode-spactral depends on @rollup/pluginutils, but it may have a bug that doesn't provide the type definitions for NodeNext module resolution. (ref: https://github.com/rollup/plugins/issues/1192)+# tsc detects some type errors in the code. However we ignore this because it's not a problem for the final build if server/dist is generated.+description = "VS Code extension bringing the awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support";+url = "https://github.com/luizcorreia/spectral-language-server/commit/909704850dd10e7b328fc7d15f8b07cdef88899d.patch";