Skip to content

Commit da4757f

Browse files
committed
fix: WIP: trying to get spectral bundled in rhoas
1 parent 4e493be commit da4757f

File tree

7 files changed

+20
-3386
lines changed

7 files changed

+20
-3386
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
- name: Update versions of packages
2525
run: yarn setupRelease $GITHUB_REF_SLUG
2626
- name: Publish packages
27-
run: npm publish --workspace=packages
27+
run: npm publish --workspace=packages --tag=dev
2828
env:
2929
NODE_AUTH_TOKEN: ${{ secrets.RHOAS_NPM_TOKEN }} #

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@rhoas/api-guidelines-monorepo",
3-
"version": "0.0.1",
2+
"name": "@rhoas/api-guidelines",
3+
"version": "0.0.2dev",
44
"description": "API Guidelines for Red Hat OpenShift Application Services",
55
"private": true,
66
"workspaces": [
@@ -21,5 +21,8 @@
2121
"bugs": {
2222
"url": "https://github.com/redhat-developer/app-services-api-guidelines/issues"
2323
},
24-
"homepage": "https://github.com/redhat-developer/app-services-api-guidelines#readme"
25-
}
24+
"homepage": "https://github.com/redhat-developer/app-services-api-guidelines#readme",
25+
"bin": {
26+
"spectral": "node_modules/.bin/spectral"
27+
}
28+
}

spectral/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ bin/
1111
.nyc_output/
1212
coverage/
1313
.spectral.json
14-
.spectral.yaml
14+
# .spectral.yaml
1515
.spectral.yml
1616
/types

spectral/.spectral.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
extends:
2+
- ./examples/.spectral-local.yaml

0 commit comments

Comments
 (0)