Skip to content

Commit adb5c11

Browse files
authored
Merge pull request #44 from atom-community/update
2 parents be953ab + 4e98c7d commit adb5c11

File tree

7 files changed

+723
-5780
lines changed

7 files changed

+723
-5780
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
channel: ${{ matrix.atom_channel }}
2424
- name: Versions
2525
run: apm -v
26-
- name: Install APM dependencies
26+
- name: Install dependencies
2727
run: |
2828
apm install
29-
- name: Atom Package dependencies
30-
run: node ./script/install-package-deps.js
29+
./node_modules/.bin/atom-package-deps .
30+
3131
- name: Run tests 👩🏾‍💻
3232
run: npm run test
3333

@@ -64,6 +64,8 @@ jobs:
6464
node-version: "12.x"
6565
- name: NPM install
6666
run: npm install
67+
# - name: Build and Commit
68+
# run: npm run build-commit
6769
- name: Release 🎉
6870
uses: cycjimmy/semantic-release-action@v2
6971
with:

.github/workflows/bump_deps.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
ncu -u --dep prod
2525
pnpm install
2626
27-
2827
- uses: tibdex/github-app-token@v1
2928
id: generate-token
3029
with:
@@ -38,7 +37,6 @@ jobs:
3837
labels: Dependencies
3938
branch: "Bump_Dependencies"
4039

41-
4240
Bump_devDependencies:
4341
runs-on: ubuntu-latest
4442
steps:

lib/main.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"use babel"
22

33
import { CompositeDisposable } from "atom"
4-
import { install as installPackageDependencies } from "atom-package-deps"
54
import { goToDefinition } from "./goToDefinition"
65
import { ProviderRegistry } from "atom-ide-base/commons-atom/ProviderRegistry"
76
import { ClickProvider } from "./clickProvider"
@@ -10,11 +9,9 @@ const providerRegistry = new ProviderRegistry() // <DefinitionsProvider>
109
const clickProvider = new ClickProvider({
1110
providerRegistry,
1211
})
13-
let subscriptions
12+
const subscriptions = new CompositeDisposable()
1413

1514
export function activate() {
16-
subscriptions = new CompositeDisposable()
17-
1815
subscriptions.add(
1916
atom.commands.add("atom-workspace", {
2017
"atom-ide-go-to-definition:go-to-definition": () => {
@@ -23,8 +20,7 @@ export function activate() {
2320
},
2421
})
2522
)
26-
27-
installPackageDependencies("atom-ide-definitions", false)
23+
require("atom-package-deps").install("atom-ide-definitions", true)
2824
}
2925

3026
export function deactivate() {

0 commit comments

Comments
 (0)