Skip to content

Commit a27dbe0

Browse files
committed
chore: rename tutorialkit-vscode to tutorialkit in repo
1 parent 44b0bd9 commit a27dbe0

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

extensions/vscode/build.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as esbuild from 'esbuild';
2-
import fs from 'node:fs';
32
import { execa } from 'execa';
43

54
const production = process.argv.includes('--production');
@@ -31,15 +30,6 @@ async function main() {
3130
} else {
3231
await ctx.rebuild();
3332
await ctx.dispose();
34-
35-
if (production) {
36-
// rename name in package json to match extension name on store:
37-
const pkgJSON = JSON.parse(fs.readFileSync('./package.json', { encoding: 'utf8' }));
38-
39-
pkgJSON.name = 'tutorialkit';
40-
41-
fs.writeFileSync('./package.json', JSON.stringify(pkgJSON, undefined, 2), 'utf8');
42-
}
4333
}
4434
}
4535

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tutorialkit-vscode",
2+
"name": "tutorialkit",
33
"displayName": "TutorialKit",
44
"description": "TutorialKit support in VS Code",
55
"icon": "resources/tutorialkit-icon.png",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"private": true,
33
"scripts": {
4-
"build": "pnpm run --stream --filter=@tutorialkit/* --filter=create-tutorial build",
4+
"build": "pnpm run --stream --filter=@tutorialkit/* --filter=create-tutorial build",
55
"dev": "TUTORIALKIT_DEV=true pnpm -r --parallel --stream --filter='./packages/**' run dev",
66
"changelog": "./scripts/changelog.mjs",
77
"clean": "./scripts/clean.sh",
88
"prepare": "is-ci || husky install",
9-
"extension:dev": "pnpm run --filter=tutorialkit-vscode dev",
10-
"extension:build": "pnpm run --filter=tutorialkit-vscode build",
9+
"extension:dev": "pnpm run --filter='./extensions/**' dev",
10+
"extension:build": "pnpm run --filter='./extensions/**' build",
1111
"template:dev": "TUTORIALKIT_DEV=true pnpm run build && pnpm run --filter=tutorialkit-starter dev",
1212
"template:build": "pnpm run build && pnpm run --filter=tutorialkit-starter build",
1313
"cli:build-release": "pnpm run --filter=@tutorialkit/cli build-release",

0 commit comments

Comments
 (0)