Skip to content

Commit

Permalink
Remove extension.js symnlink for local development (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto authored Sep 7, 2024
1 parent dc1b506 commit b39cfe8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
8 changes: 0 additions & 8 deletions programs/create/lib/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,6 @@ export function cantInstallDependencies(projectName: string, error: any) {
)
}

export function symlinkCreated() {
return 'Symlink created successfully.'
}

export function symlinkError(command: string, args: string[]) {
return `${red(`✖︎✖︎✖︎`)} Failed to create symlink: ${red(command)} ${red(args.join(' '))}`
}

export function writingPackageJsonMetadata() {
return `📝 - Writing ${brightYellow(`package.json`)} metadata...`
}
Expand Down
6 changes: 0 additions & 6 deletions programs/create/steps/install-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import fs from 'fs'
import * as messages from '../lib/messages'

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

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

console.log(messages.installingDependencies())

// Symlink Extension for development
if (process.env.EXTENSION_ENV === 'development') {
await createSymlink(projectPath)
}

try {
const originalDirectory = process.cwd()

Expand Down
42 changes: 0 additions & 42 deletions programs/create/steps/symlink-extension-js.ts

This file was deleted.

0 comments on commit b39cfe8

Please sign in to comment.