Skip to content

Commit b39cfe8

Browse files
authored
Remove extension.js symnlink for local development (#173)
1 parent dc1b506 commit b39cfe8

File tree

3 files changed

+0
-56
lines changed

3 files changed

+0
-56
lines changed

programs/create/lib/messages.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,6 @@ export function cantInstallDependencies(projectName: string, error: any) {
234234
)
235235
}
236236

237-
export function symlinkCreated() {
238-
return 'Symlink created successfully.'
239-
}
240-
241-
export function symlinkError(command: string, args: string[]) {
242-
return `${red(`✖︎✖︎✖︎`)} Failed to create symlink: ${red(command)} ${red(args.join(' '))}`
243-
}
244-
245237
export function writingPackageJsonMetadata() {
246238
return `📝 - Writing ${brightYellow(`package.json`)} metadata...`
247239
}

programs/create/steps/install-dependencies.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import fs from 'fs'
1111
import * as messages from '../lib/messages'
1212

1313
import * as utils from '../lib/utils'
14-
import {createSymlink} from './symlink-extension-js'
1514

1615
function getInstallArgs() {
1716
return ['install', '--silent']
@@ -28,11 +27,6 @@ export async function installDependencies(
2827

2928
console.log(messages.installingDependencies())
3029

31-
// Symlink Extension for development
32-
if (process.env.EXTENSION_ENV === 'development') {
33-
await createSymlink(projectPath)
34-
}
35-
3630
try {
3731
const originalDirectory = process.cwd()
3832

programs/create/steps/symlink-extension-js.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)