cybertk / cybertk/atom-raml-preview

Deprecated Atom APIs will be removed June 1st

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (`0.0.1`) of this package:
1. Store package style sheets in the `styles/` directory instead of `stylesheets/` in the `` package
2. The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
3. Use `activationCommands` instead of `activationEvents` in your package.json Commands should be grouped by selector as follows: `json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }`
4. atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use `atom.views.getView(atom.workspace)`, which returns an HTMLElement.
5. Requiring `View` from `atom` is no longer supported. Please require `atom-space-pen-views` instead: `{View} = require 'atom-space-pen-views'` Add `"atom-space-pen-views": "^2.0.3"` to your package dependencies.

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.

If this package has been replaced by another package or functionality in core, please reply with this information.

See https://github.com/atom/atom/issues/6867 for more info. Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and search the package source for stylesheets/, activationEvents, atom.workspaceView, and imports of View. Compare each occurrence with the linked Atom deprecation guidance; done means the listed deprecated APIs and directory or dependency conventions are updated so the package loads after the deadline.

Written by the indexing model from the issue text.

Assessment

Tech stack
coffeescript
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.