We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a559271 commit 898daaeCopy full SHA for 898daae
src/cli.ts
@@ -28,6 +28,7 @@ async function getHttpsGitRemoteUrl(): Promise<string | undefined> {
28
async function main(): Promise<void> {
29
console.log(['', 'Welcome to the Sourcegraph extension creator!', ''].join('\n'))
30
31
+ const schema = 'https://raw.githubusercontent.com/sourcegraph/sourcegraph/master/shared/src/schema/extension.schema.json'
32
let name: string | undefined
33
let repository: Repository | undefined
34
let title: string | undefined
@@ -172,6 +173,7 @@ async function main(): Promise<void> {
172
173
} else {
174
console.log('📄 Adding package.json')
175
const packageJson: JsonSchemaForNpmPackageJsonFiles = {
176
+ $schema: schema,
177
name,
178
title,
179
description,
0 commit comments