@zapier/spectral-api-ruleset
Advanced tools
Comparing version 0.0.3-0 to 0.0.3-1
@@ -1,1 +0,8 @@ | ||
export {}; | ||
import type { RulesetDefinition } from '@stoplight/spectral-core'; | ||
declare type RulesetDefinitionWithRules = Exclude<Extract<RulesetDefinition, { | ||
rules: any; | ||
}>, { | ||
extends: any; | ||
}>; | ||
declare const ruleset: RulesetDefinitionWithRules; | ||
export default ruleset; |
export * from "./declarations/src/index"; | ||
export { default } from "./declarations/src/index"; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var _ = require('lodash'); | ||
@@ -95,1 +97,3 @@ | ||
module.exports = ruleset; | ||
exports["default"] = ruleset; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var _ = require('lodash'); | ||
@@ -95,1 +97,3 @@ | ||
module.exports = ruleset; | ||
exports["default"] = ruleset; |
@@ -89,1 +89,3 @@ import _ from 'lodash'; | ||
module.exports = ruleset; | ||
export { ruleset as default }; |
{ | ||
"name": "@zapier/spectral-api-ruleset", | ||
"version": "0.0.3-0", | ||
"version": "0.0.3-1", | ||
"description": "Node package with Spectral ruleset for Zapier API Guidelines.", | ||
@@ -23,3 +23,3 @@ "repository": "https://gitlab.com/zapier/spectral-api-ruleset/-/tree/main", | ||
"lint": "eslint \"{src/**/*,*}.{js,ts,tsx}\"", | ||
"test:integration": "yarn spectral lint test-schema.yaml -r dist/zapier-spectral-api-ruleset.esm.js", | ||
"test:integration": "yarn spectral lint test-schema.yaml", | ||
"test": "jest", | ||
@@ -26,0 +26,0 @@ "prettier-check": "prettier --check \"{,**/}*.{js,ts,tsx}\"", |
@@ -34,3 +34,3 @@ <h1 align="center"> | ||
> For some reason, installing the CLI global and running `spectral lint` always fails to find the package. Adding the CLI as local dependency and then running either `yarn spectral lint` or even `npx spectral lint` does work. | ||
> For some reason, installing the CLI global and running `spectral lint` or `npx spectral lint` always fails to find the package. Adding the CLI as local dependency and then running either `yarn spectral lint` does work. | ||
@@ -41,3 +41,3 @@ ## Usage | ||
Create a local `spectral.yaml` that extends the ruleset provided by the package: | ||
Create a local `spectral.yaml` [like ours](/spectral.yaml) that extends the ruleset provided by the package: | ||
@@ -44,0 +44,0 @@ ```yaml |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13377
274