react-native-macos/packages/eslint-plugin-specs
Arushi Kesarwani 2eb25cbdbe Update Node.js to v18 in all RN packages (#37791)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37791

## Bump minimum Node JS version to 18 via `react-native/package.json#engines`

In https://github.com/facebook/react-native/pull/35443 we bumped up the node version from 16 to 18.

Node 16 [ends maintenance releases on 2023-09-11](https://nodejs.org/en/blog/announcements/nodejs16-eol/), and bumping this minimum will allow other associated Node JS tools (CLI, Metro, Jest) to reduce their support burden.

This follows up by formally making Node 18 the minimum supported version.

**Docs PR:**
https://github.com/facebook/react-native-website/pull/3748

**Changelog:**
[General][Breaking] Bump minimum Node JS version to 18

Reviewed By: cortinico, NickGerleman

Differential Revision: D46583997

fbshipit-source-id: 1f31e2f205ac8b09494c2a7d3b73b9f36eff221b
2023-06-22 09:53:21 -07:00
..
__tests__ '@emails' -> '@oncall' (*.js) 2022-09-21 20:47:05 -07:00
with-babel-register fix(eslint-plugin-specs): removes unnecessary `ENOENT` error check (#36448) 2023-03-17 04:26:36 -07:00
README.md Add missing READMEs & Update package.json in all RN packages (#37090) 2023-04-28 04:26:20 -07:00
index.js '@emails' -> '@oncall' (*.js) 2022-09-21 20:47:05 -07:00
package.json Update Node.js to v18 in all RN packages (#37791) 2023-06-22 09:53:21 -07:00
postpack.js Add postpack hook that undoes prepack 2022-07-29 03:56:23 -07:00
prepack.js fix npm lifecycle hook (#34273) 2022-07-26 06:47:51 -07:00
react-native-modules.js Add `getResolvedTypeAnnotation` to Parsers (#37373) 2023-05-17 03:45:34 -07:00

README.md

@react-native/eslint-plugin-specs

Version

Installation

yarn add --dev @react-native/eslint-plugin-specs

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Testing

To run the tests in this package, run the following commands from the React Native root folder:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/eslint-plugin-specs.