Skip to content

Commit

Permalink
fix(package): dependences
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalwolak committed Jul 28, 2019
1 parent eb18b69 commit 17e46a0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 74 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ node_js:
- 8
- 6

before_install:
- yarn

jobs:
include:
# Define the release stage that runs semantic-release
Expand All @@ -19,4 +22,4 @@ jobs:
provider: script
skip_cleanup: true
script:
- npx semantic-release
- yarn run release
6 changes: 6 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ vsc-extension-quickstart.md
**/*.ts
*.code-workspace
*.log
node_modules
!node_modules/uuid
!node_modules/verror
!node_modules/assert-plus
!node_modules/extsprintf
!node_modules/core-util-is
package-lock.json
yarn.lock
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
],
"main": "./out/src/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"publish": "vsce publish",
"package": "vsce package",
"vscode:prepublish": "yarn run compile",
"publish": "vsce publish --yarn",
"package": "vsce package --yarn",
"clean": "rimraf out",
"compile": "npm run clean && tsc -p ./",
"compile": "yarn run clean && tsc -p ./",
"watch": "tsc -watch -p ./",
"commit": "commit",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile",
"test": "yarn run compile",
"release": "./node_modules/.bin/semantic-release"
},
"dependencies": {
Expand Down
68 changes: 0 additions & 68 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,74 +63,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
Logger.error(e, 'Error initializing atlascode!');
}

// const disposables = [];

// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.saveWorkspace',
// () => saveWorkspaceCommand()
// )
// );
// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.switchWorkspace',
// (workspaceEntry?: WorkspaceEntry) =>
// workspaceEntry
// ? switchToWorkspaceCommand(workspaceEntry, false)
// : switchWorkspaceCommand(false)
// )
// );
// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.switchWorkspaceInNewWindow',
// (treeItem?: TreeItem) =>
// treeItem
// ? switchToWorkspaceCommand(treeItem.workspaceEntry, true)
// : switchWorkspaceCommand(true)
// )
// );
// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.deleteWorkspace',
// (treeItem?: TreeItem) =>
// treeItem
// ? deleteWorkspace(treeItem.workspaceEntry, true)
// : deleteWorkspaceCommand()
// )
// );
// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.reloadWorkspaces',
// () => refreshTreeDataCommand()
// )
// );
// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.closeWorkspace',
// () => closeWorkspaceCommand()
// )
// );

// const treeDataProvider = new TreeDataProvider();

// window.registerTreeDataProvider(
// 'workspaceManager.viewInActivityBar',
// treeDataProvider
// );
// window.registerTreeDataProvider(
// 'workspaceManager.viewInExplorer',
// treeDataProvider
// );

// disposables.push(
// vscode.commands.registerCommand(
// 'workspaceManager.treeData.refresh',
// () => treeDataProvider.refresh()
// )
// );

// context.subscriptions.push(...disposables);

const elapsed = process.hrtime(start);
const elapsedMs = elapsed[0] * 1e3 + elapsed[1] / 1e6;
telemetry.Reporter.trackEvent(
Expand Down

0 comments on commit 17e46a0

Please sign in to comment.