Skip to content

Commit 2b79fa0

Browse files
committed
fix: minimap dependency
BREAKING CHANGE: release 1.0.0
1 parent fc1bc61 commit 2b79fa0

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

lib/minimap-cursorline.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export default {
1212

1313
bindings: {},
1414

15-
activate (state) {},
15+
activate () {
16+
require('atom-package-deps').install('minimap-cursorline')
17+
},
1618

1719
consumeMinimapServiceV1 (minimap) {
1820
this.minimap = minimap

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "minimap-cursorline",
33
"main": "./lib/minimap-cursorline",
4-
"version": "0.2.2",
4+
"version": "0.2.0",
55
"description": "Displays Atom cursorline in the minimap",
66
"repository": "https://github.com/atom-minimap/minimap-cursorline",
77
"license": "MIT",
@@ -18,6 +18,14 @@
1818
"lint": "eslint ."
1919
},
2020
"atomTestRunner": "./spec/runner.js",
21+
"package-deps": [
22+
{
23+
"name": "minimap"
24+
}
25+
],
26+
"dependencies": {
27+
"atom-package-deps": "^7.0.2"
28+
},
2129
"devDependencies": {
2230
"@semantic-release/apm-config": "^8.0.0",
2331
"atom-jasmine3-test-runner": "^5.1.8",

0 commit comments

Comments
 (0)