Skip to content

Commit 899888d

Browse files
committed
chore: valid binary file
1 parent b03914c commit 899888d

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

spectral/exec/rhoasapi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
npm install -g @stoplight/spectral
4+
5+
spectral $@

spectral/package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
"private": false,
66
"main": "ruleset.yaml",
77
"scripts": {
8-
"build": "npm run clean && tsc && npm run copy-ruleset && npm run copy-binary",
8+
"build": "npm run clean && tsc && npm run copy-ruleset",
99
"clean": "rm -rf dist",
1010
"lint": "eslint src/**/*.ts",
1111
"copy-ruleset": "cp ./ruleset.yaml ./dist/ruleset.yaml && cp ./package.json ./dist/package.json",
12-
"copy-binary": "cp ./node_modules/.bin/spectral ./dist",
1312
"spectral-lint": "spectral lint --ruleset ./examples/.spectral-local.yaml",
1413
"cli-integration-tests": "./scripts/rules.sh",
15-
"setupRelease": "npm version",
16-
"postinstall": "echo 'extends: node_modules/@rhoas/spectral-ruleset/dist/ruleset.yaml' > .spectral.yaml"
14+
"setupRelease": "npm version"
1715
},
1816
"dependencies": {
1917
"@stoplight/spectral-cli": "6.4.2",
@@ -48,12 +46,8 @@
4846
"url": "https://github.com/redhat-developer/app-services-api-guidelines/issues"
4947
},
5048
"homepage": "https://github.com/redhat-developer/app-services-api-guidelines#readme",
51-
"peerDependencies": {
52-
"@stoplight/spectral-cli": "6.4.2",
53-
"@stoplight/spectral-core": "1.12.4"
54-
},
5549
"bin": {
56-
"spectralx": "./dist/spectral"
50+
"rhoasapi": "./exec/rhoasapi"
5751
},
5852
"files": [
5953
"dist"

0 commit comments

Comments
 (0)