New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sourcegraph/create-extension

Package Overview
Dependencies
Maintainers
17
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sourcegraph/create-extension - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

16

dist/cli.js

@@ -146,8 +146,8 @@ #!/usr/bin/env node

license: licenseName,
main: 'dist/extension.js',
main: `dist/${name}.js`,
scripts: {
tslint: "tslint -p tsconfig.json './src/**/*.ts'",
typecheck: 'tsc -p tsconfig.json',
build: 'parcel build --experimental-scope-hoisting --out-file extension.js src/extension.ts',
serve: 'parcel serve --no-hmr --no-source-maps --out-file extension.js src/extension.ts',
build: `parcel build --out-file dist/${name}.js src/${name}.ts`,
serve: `parcel serve --no-hmr --out-file ${name}.js src/${name}.ts`,
'watch:typecheck': 'tsc -p tsconfig.json -w',

@@ -157,2 +157,8 @@ 'watch:build': 'tsc -p tsconfig.dist.json -w',

},
browserslist: [
'last 1 Chrome versions',
'last 1 Firefox versions',
'last 1 Edge versions',
'last 1 Safari versions',
],
};

@@ -164,3 +170,3 @@ yield fs_1.writeFile('package.json', JSON.stringify(packageJson, null, 2));

yield fs_1.mkdir('src');
yield fs_1.writeFile('src/extension.ts', [
yield fs_1.writeFile(`src/${name}.ts`, [
"import * as sourcegraph from 'sourcegraph'",

@@ -170,3 +176,3 @@ '',

" sourcegraph.languages.registerHoverProvider(['*'], {",
" provideHover: () => ({ contents: { value: 'Hello world from the Sourcegraph extension creator! 🎉🎉🎉' } })",
` provideHover: () => ({ contents: { value: 'Hello world from ${title}! 🎉🎉🎉' } })`,
' })',

@@ -173,0 +179,0 @@ '}',

{
"name": "@sourcegraph/create-extension",
"version": "1.0.4",
"version": "1.0.5",
"description": "CLI to generate the skeleton for a Sourcegraph extension",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc