Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

猬嗭笍 keyboard-layout@2.0.17 (and rename deprecated "prepublish" script to "prepare") #250

Merged
merged 2 commits into from
Jul 6, 2021

Conversation

DeeDeeG
Copy link
Contributor

@DeeDeeG DeeDeeG commented Jul 6, 2021

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Bump the keyboard-layout package to version 2.0.17.

Alternate Designs

Fix the code warning in the keyboard-layout package, I guess.

Benefits

Includes atom/keyboard-layout#59, which allows the module to compile on Windows 32-bit against Electron 10 and newer, by ignoring a compilation warning that would otherwise be treated as a hard error.

Possible Drawbacks

None, unless that compilation warning was important. 馃し

Applicable Issues

Fixes compilation on Windows 32-bit against Electron 11,
by adding a compilation warning to the list of ignored ones.

(Compilation for this package is configures to hard error out
for non-ignored warnings.)
@DeeDeeG DeeDeeG mentioned this pull request Jul 6, 2021
64 tasks
@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Jul 6, 2021

Unrelated, but I recommend renaming the prepublish script to prepare in package.json, similar to the other packages that was done for recently.

https://github.com/atom/atom-keymap/blob/v8.2.14/package.json#L7

I can add that to this PR if you want, or open another PR. But it's a pretty simple edit.

@sadick254
Copy link
Contributor

@DeeDeeG you can add it to this PR no problem.

The npm lifecycle script "prepublish" has been deprecated
for a long time. In npm 7, it doesn't run before `npm publish`,
only during `npm install` or `npm ci` building this package locally.

The "prepare" lifecycle script does what "prepublish" used to do.

See: https://docs.npmjs.com/cli/v7/using-npm/scripts
@DeeDeeG DeeDeeG changed the title 猬嗭笍 keyboard-layout@2.0.17 猬嗭笍 keyboard-layout@2.0.17 (and rename deprecated "prepublish" script to "prepare") Jul 6, 2021
@DeeDeeG
Copy link
Contributor Author

DeeDeeG commented Jul 6, 2021

@sadick254 okay, I pushed the updated package.json script name.

@sadick254 sadick254 merged commit b48a129 into atom:master Jul 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants