Skip to content

Commit ef95c98

Browse files
committed
2 parents 633e249 + 1cf4f67 commit ef95c98

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

buildTsPlugin.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ts-check
2+
import { join, resolve } from 'path'
23
import { ensureDir } from 'fs-extra'
34
import { build } from 'esbuild'
4-
import { join, resolve } from 'path'
55
import { writePackageJsonFile } from 'typed-jsonfile'
66

77
export const buildTsPlugin = async (/** @type {string} */ outDir, /** @type {string} */ name, /** @type {string} */ entrypoint) => {
@@ -25,9 +25,9 @@ export const buildTsPlugin = async (/** @type {string} */ outDir, /** @type {str
2525
format: 'cjs',
2626
entryPoints: [entrypoint],
2727
outfile: join(outDir, 'index.js'),
28-
mainFields: ['module', 'main']
28+
mainFields: ['module', 'main'],
2929
})
3030
}
3131

32-
const name = 'ts-essential-plugins'
32+
const name = 'typescript-essential-plugins'
3333
buildTsPlugin(`out/node_modules/${name}`, name, 'typescript/src/index.ts')

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "ts-essential-plugins",
3-
"displayName": "TS Essential Plugins",
3+
"displayName": "TypeScript Essential Plugins",
44
"version": "0.0.1",
55
"license": "MIT",
66
"contributes": {
77
"typescriptServerPlugins": [
88
{
9-
"name": "ts-essential-plugins",
9+
"name": "typescript-essential-plugins",
1010
"enableForWorkspaceTypeScriptVersions": true
1111
}
1212
]
@@ -19,9 +19,10 @@
1919
"private": true,
2020
"keywords": [
2121
"ts",
22-
"typescript",
23-
"ts plugin",
24-
"webstorm"
22+
"javascript",
23+
"plugin",
24+
"webstorm",
25+
"TypeScript Hero"
2526
],
2627
"activationEvents": [
2728
"onLanguage:javascript",
@@ -42,7 +43,7 @@
4243
"@zardoy/tsconfig": "^1.3.1",
4344
"esbuild": "^0.14.38",
4445
"fs-extra": "^10.1.0",
45-
"ts-essential-plugins": "workspace:*",
46+
"typescript-essential-plugins": "workspace:*",
4647
"typed-jsonfile": "^0.2.1",
4748
"typescript": "^4.5.4",
4849
"vscode-manifest": "^0.0.4"

typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "ts-essential-plugins",
2+
"name": "typescript-essential-plugins",
33
"version": "0.0.1",
44
"main": "build/index.js"
55
}

0 commit comments

Comments
 (0)