Skip to content

Commit

Permalink
chore: refactor contributes
Browse files Browse the repository at this point in the history
  • Loading branch information
selemondev committed Oct 31, 2024
1 parent 6394d8c commit cb67018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 72 deletions.
71 changes: 0 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,77 +34,6 @@
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "svelte",
"aliases": [
"Svelte",
"Svelte 3",
"svelte"
],
"filenamePatterns": [
"*.svelte"
]
}
],
"snippets": [
{
"language": "javascript",
"path": "./src/snippets/imports-code-snippets.json"
},
{
"language": "typescript",
"path": "./src/snippets/imports-code-snippets.json"
},
{
"language": "javascript",
"path": "./src/snippets/imports-code-snippets-next.json"
},
{
"language": "typescript",
"path": "./src/snippets/imports-code-snippets-next.json"
},
{
"language": "javascript",
"path": "./src/snippets/help-code-snippets.json"
},
{
"language": "typescript",
"path": "./src/snippets/help-code-snippets.json"
},
{
"language": "javascript",
"path": "./src/snippets/help-code-snippets-next.json"
},
{
"language": "typescript",
"path": "./src/snippets/help-code-snippets-next.json"
},
{
"language": "html",
"path": "./src/snippets/help-code-snippets.json"
},
{
"language": "svelte",
"path": "./src/snippets/help-code-snippets.json"
},
{
"language": "html",
"path": "./src/snippets/help-code-snippets-next.json"
},
{
"language": "svelte",
"path": "./src/snippets/help-code-snippets-next.json"
},
{
"language": "html",
"path": "./src/snippets/usage-code-snippets.json"
},
{
"language": "svelte",
"path": "./src/snippets/usage-code-snippets.json"
}
],
"commands": [
{
"command": "shadcn-svelte.initCli",
Expand Down
3 changes: 2 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import { defineConfig } from "tsup";
export default defineConfig({
entry: ['./src/extension.ts'],
outDir: "dist",
format: ['cjs'],
dts: false,
splitting: false,
clean: true,
platform: 'node',
sourcemap: false,
external: ['vscode'],
noExternal: ['ofetch'],
})
});

0 comments on commit cb67018

Please sign in to comment.