Skip to content

Commit

Permalink
Merge pull request #44 from atom-community/update
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Feb 6, 2021
2 parents be953ab + 4e98c7d commit adb5c11
Show file tree
Hide file tree
Showing 7 changed files with 723 additions and 5,780 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
channel: ${{ matrix.atom_channel }}
- name: Versions
run: apm -v
- name: Install APM dependencies
- name: Install dependencies
run: |
apm install
- name: Atom Package dependencies
run: node ./script/install-package-deps.js
./node_modules/.bin/atom-package-deps .
- name: Run tests 👩🏾‍💻
run: npm run test

Expand Down Expand Up @@ -64,6 +64,8 @@ jobs:
node-version: "12.x"
- name: NPM install
run: npm install
# - name: Build and Commit
# run: npm run build-commit
- name: Release 🎉
uses: cycjimmy/semantic-release-action@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/bump_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
ncu -u --dep prod
pnpm install
- uses: tibdex/github-app-token@v1
id: generate-token
with:
Expand All @@ -38,7 +37,6 @@ jobs:
labels: Dependencies
branch: "Bump_Dependencies"


Bump_devDependencies:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 2 additions & 6 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use babel"

import { CompositeDisposable } from "atom"
import { install as installPackageDependencies } from "atom-package-deps"
import { goToDefinition } from "./goToDefinition"
import { ProviderRegistry } from "atom-ide-base/commons-atom/ProviderRegistry"
import { ClickProvider } from "./clickProvider"
Expand All @@ -10,11 +9,9 @@ const providerRegistry = new ProviderRegistry() // <DefinitionsProvider>
const clickProvider = new ClickProvider({
providerRegistry,
})
let subscriptions
const subscriptions = new CompositeDisposable()

export function activate() {
subscriptions = new CompositeDisposable()

subscriptions.add(
atom.commands.add("atom-workspace", {
"atom-ide-go-to-definition:go-to-definition": () => {
Expand All @@ -23,8 +20,7 @@ export function activate() {
},
})
)

installPackageDependencies("atom-ide-definitions", false)
require("atom-package-deps").install("atom-ide-definitions", true)
}

export function deactivate() {
Expand Down
Loading

0 comments on commit adb5c11

Please sign in to comment.