Skip to content

Commit

Permalink
3.0.2
Browse files Browse the repository at this point in the history
- Fix JSON module breaking compatibility with 2024.3 EAP (fixes #126)
- Update Gradle
  • Loading branch information
WarningImHack3r committed Sep 13, 2024
1 parent e50c9bb commit 9cc0505
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 22 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

## [Unreleased]

### Fixed

- Fix compatibility with 2024.3 IDEs

## [3.0.1] - 2024-09-03

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pluginGroup = com.github.warningimhack3r.npmupdatedependencies
pluginName = npm-update-dependencies
pluginRepositoryUrl = https://github.com/WarningImHack3r/npm-update-dependencies
# SemVer format -> https://semver.org
pluginVersion = 3.0.1
pluginVersion = 3.0.2

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
Expand All @@ -21,7 +21,7 @@ platformPlugins =
platformBundledPlugins =

# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion = 8.10
gradleVersion = 8.10.1

# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency = false
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
39 changes: 20 additions & 19 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<vendor url="https://github.com/WarningImHack3r">WarningImHack3r</vendor>

<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.json</depends>

<actions>
<!-- Main action group -->
Expand All @@ -15,9 +16,9 @@
description="Action group for npm-update-dependencies"
icon="NUDIcons.Logo">
<!-- Add to the “Tools” menu -->
<add-to-group group-id="ToolsMenu" anchor="last" />
<add-to-group group-id="ToolsMenu" anchor="last"/>
<!-- Add to the right-click context menu -->
<add-to-group group-id="EditorPopupMenu" anchor="last" />
<add-to-group group-id="EditorPopupMenu" anchor="last"/>

<!-- Update group -->
<group id="com.github.warningimhack3r.npmupdatedependencies.ui.actions.update.UpdateActionGroup"
Expand All @@ -31,7 +32,7 @@
description="Bump all dependencies to their latest version, ignoring their satisfying range"
icon="AllIcons.Actions.TraceInto">
<!-- Shortcut -->
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt U" />
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt U"/>
</action>
<!-- Update all satisfies -->
<action id="com.github.warningimhack3r.npmupdatedependencies.ui.actions.update.UpdateAllSatisfiesAction"
Expand All @@ -40,10 +41,10 @@
description="Bump all dependencies matching their satisfying range"
icon="AllIcons.Actions.Download">
<!-- Shortcut -->
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt S" />
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt S"/>
</action>
</group>
<separator />
<separator/>
<!-- Deprecation group -->
<group id="com.github.warningimhack3r.npmupdatedependencies.ui.actions.deprecation.DeprecationActionGroup"
class="com.github.warningimhack3r.npmupdatedependencies.ui.actions.deprecation.DeprecationActionGroup"
Expand All @@ -56,7 +57,7 @@
description="Replace all deprecated dependencies with their recommended alternatives"
icon="AllIcons.Actions.SwapPanels">
<!-- Shortcut -->
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt R" />
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt R"/>
</action>
<!-- Remove all deprecations -->
<action id="com.github.warningimhack3r.npmupdatedependencies.ui.actions.deprecation.RemoveAllDeprecationsAction"
Expand All @@ -65,10 +66,10 @@
description="Remove all deprecated dependencies"
icon="AllIcons.Actions.DeleteTagHover">
<!-- Shortcut -->
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt D" />
<keyboard-shortcut keymap="$default" first-keystroke="control shift alt D"/>
</action>
</group>
<separator />
<separator/>
<!-- Scan group -->
<group id="com.github.warningimhack3r.npmupdatedependencies.ui.actions.scan.ScanActionGroup"
class="com.github.warningimhack3r.npmupdatedependencies.ui.actions.scan.ScanActionGroup"
Expand All @@ -79,44 +80,44 @@
class="com.github.warningimhack3r.npmupdatedependencies.ui.actions.scan.InvalidateCachesAction"
text="Invalidate Scan Caches"
description="Clear temporary caches used to store scan results"
icon="CollaborationToolsIcons.DeleteHovered" />
icon="CollaborationToolsIcons.DeleteHovered"/>
</group>
<action id="com.github.warningimhack3r.npmupdatedependencies.errorsubmitter.ErrorThrowingAction"
class="com.github.warningimhack3r.npmupdatedependencies.errorsubmitter.ErrorThrowingAction"
text="[Debug] Throw an Error"
description="[Debug] Try out the error handler"
icon="AllIcons.Debugger.Db_exception_breakpoint" />
icon="AllIcons.Debugger.Db_exception_breakpoint"/>
</group>
</actions>

<projectListeners>
<listener
topic="com.intellij.openapi.fileEditor.FileDocumentManagerListener"
class="com.github.warningimhack3r.npmupdatedependencies.ui.listeners.OnSaveListener" />
class="com.github.warningimhack3r.npmupdatedependencies.ui.listeners.OnSaveListener"/>
</projectListeners>

<extensions defaultExtensionNs="com.intellij">
<iconMapper
mappingFile="NUDIconMappings.json" />
mappingFile="NUDIconMappings.json"/>
<externalAnnotator
language="JSON"
implementationClass="com.github.warningimhack3r.npmupdatedependencies.ui.annotation.DeprecationAnnotator" />
implementationClass="com.github.warningimhack3r.npmupdatedependencies.ui.annotation.DeprecationAnnotator"/>
<externalAnnotator
language="JSON"
implementationClass="com.github.warningimhack3r.npmupdatedependencies.ui.annotation.UpdatesAnnotator" />
implementationClass="com.github.warningimhack3r.npmupdatedependencies.ui.annotation.UpdatesAnnotator"/>
<statusBarWidgetFactory
id="NpmUpdateDependenciesStatusBarEditorFactory"
implementation="com.github.warningimhack3r.npmupdatedependencies.ui.statusbar.StatusBarFactory" />
implementation="com.github.warningimhack3r.npmupdatedependencies.ui.statusbar.StatusBarFactory"/>
<editorNotificationProvider
implementation="com.github.warningimhack3r.npmupdatedependencies.ui.banner.DeprecationBanner" />
implementation="com.github.warningimhack3r.npmupdatedependencies.ui.banner.DeprecationBanner"/>
<applicationConfigurable
parentId="tools"
displayName="NPM Update Dependencies"
id="com.github.warningimhack3r.npmupdatedependencies.settings.NUDSettingsConfigurable"
instance="com.github.warningimhack3r.npmupdatedependencies.settings.NUDSettingsConfigurable" />
instance="com.github.warningimhack3r.npmupdatedependencies.settings.NUDSettingsConfigurable"/>
<applicationService
serviceImplementation="com.github.warningimhack3r.npmupdatedependencies.settings.NUDSettingsState" />
serviceImplementation="com.github.warningimhack3r.npmupdatedependencies.settings.NUDSettingsState"/>
<errorHandler
implementation="com.github.warningimhack3r.npmupdatedependencies.errorsubmitter.GitHubErrorReportSubmitter" />
implementation="com.github.warningimhack3r.npmupdatedependencies.errorsubmitter.GitHubErrorReportSubmitter"/>
</extensions>
</idea-plugin>

0 comments on commit 9cc0505

Please sign in to comment.