Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit ad4a995

Browse files
committed
fix: remove extra # from schema $id
1 parent d9e655a commit ad4a995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"prettier": "prettier '**/*.{js?(on),ts}' --write --list-different",
2424
"tslint": "tslint -c tslint.json -p tsconfig.json './src/**/*.ts'",
2525
"typecheck": "tsc -p tsconfig.json",
26-
"build:assets": "typescript-json-schema --id 'https://sourcegraph.com/v1/contribution.schema.json#' --noExtraProps --required --include src/protocol/contribution.ts --out lib/protocol/contribution.schema.json tsconfig.dist.module.json Contributions && node -e \"/* Deletes the top-level additionalProperties property in the file. */ fs = require('fs');f = process.argv[1];o = JSON.parse(fs.readFileSync(f, 'utf8'));delete o.additionalProperties;fs.writeFileSync(f, JSON.stringify(o, null, 4))\" lib/protocol/contribution.schema.json",
26+
"build:assets": "typescript-json-schema --id 'https://sourcegraph.com/v1/contribution.schema.json' --noExtraProps --required --include src/protocol/contribution.ts --out lib/protocol/contribution.schema.json tsconfig.dist.module.json Contributions && node -e \"/* Deletes the top-level additionalProperties property in the file. */ fs = require('fs');f = process.argv[1];o = JSON.parse(fs.readFileSync(f, 'utf8'));delete o.additionalProperties;fs.writeFileSync(f, JSON.stringify(o, null, 4))\" lib/protocol/contribution.schema.json",
2727
"build:commonjs": "tsc -p tsconfig.dist.commonjs.json",
2828
"build:module": "tsc -p tsconfig.dist.module.json",
2929
"build": "npm run build:commonjs && npm run build:module && npm run build:assets",

0 commit comments

Comments
 (0)