Gijs Weterings
d4ad19c969
Revert D49370200: Migrate codegen to shared build setup, remove package build pre-step from RNTester
...
Differential Revision:
D49370200
Original commit changeset: 992913155169
Original Phabricator Diff: D49370200
fbshipit-source-id: e8232c97c22065fb54ac940ee2351b2155eb51e0
2023-10-23 12:00:54 -07:00
Alex Hunt
4db31a3110
Migrate codegen to shared build setup, remove package build pre-step from RNTester ( #39540 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39540
This simplifies the use of Codegen when creating dev builds of `rn-tester` in the monorepo. It now runs from source for this internal scenario, and this package is now built using the shared monorepo build setup.
Changes:
- Migrate `packages/react-native-codegen` to the shared `yarn build` setup.
- Update package to use `"exports"` field and wrap entry point modules with `babel-register` (NOTE: This is only required for each entry point internally used in the monorepo).
- Fixup small Flow syntax quirks that fail under `hermes-parser`.
- Remove `BuildCodegenCLITask` task from Android build.
- Remove Codegen `build.sh` call from iOS build, use `require.resolve` for `combine-js-to-schema-cli.js` entry point.
Externally significant FYIs:
- `react-native/codegen` is converted to use the `"exports"` field — it should export all `.js` files, as before.
- `codegenPath` is now ignored and marked as deprecated on `ReactExtensions.kt`.
NOTE: TypeScript auto-generation is not yet enabled on this package, since it uses CommonJS `module.exports` syntax (unsupported by `flow-api-translator`).
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D49370200
fbshipit-source-id: 992913155169912ea1a3cb24cb26efbd3f783058
2023-10-23 08:32:33 -07:00
Alex Hunt
f40bb9331c
Bump package versions for next major ( #39764 )
...
Summary:
#publish-packages-to-npm
Bump all package versions to `0.74.0` (next major release) for `main`, following instructions at https://reactnative.dev/contributing/release-branch-cut-and-rc0#12-bump-minor-version-of-all-monorepo-packages-in-main .
```sh
yarn bump-all-updated-packages --release-branch-cutoff
```
Changelog: [Internal]
Pull Request resolved: https://github.com/facebook/react-native/pull/39764
Test Plan: —
Reviewed By: robhogan
Differential Revision: D49871039
Pulled By: huntie
fbshipit-source-id: f4df6efeae4d8a9209e7aae7b9e6fea3d15793b5
2023-10-11 08:36:23 -07:00
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
Pieter Vanderwerff
08dc0a63ce
Update prettier to v2.8.8 ( #37738 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37738
Upgrade Prettier to the latest stable version, 2.8.8.
Reviewed By: SamChou19815
Differential Revision: D46403769
fbshipit-source-id: 551d64db0b701a8d3f275900dd8f6324c115a3e6
2023-06-06 20:06:25 -07:00
Lorenzo Sciandra
f10dd3f666
bump @babel/* packages ( #35787 )
...
Summary:
X-link: https://github.com/facebook/metro/pull/987
While working on https://github.com/facebook/react-native/pull/35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
Pull Request resolved: https://github.com/facebook/react-native/pull/35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
2023-05-18 14:05:38 -07:00
Pranav Yadav
14316bd635
Add missing READMEs & Update package.json in all RN packages ( #37090 )
...
Summary:
This diff adds _missing_ README files for all public RN packages.
#### Changes:
For all public RN packages:
- Add _Missing_ READMEs
Update package.json in all RN packages to add:
- Issues, Bugs urls
- Keywords and Homepage urls to respective pkgs
## Changelog:
[GENERAL][ADDED] - Add missing README files for all public RN packages.
[GENERAL][CHANGED] - Update package.json in all RN packages to add required fields.
Pull Request resolved: https://github.com/facebook/react-native/pull/37090
Test Plan: - `yarn lint && yarn flow && yarn test-ci` --> _should be green_
Reviewed By: cortinico
Differential Revision: D45390861
Pulled By: hoxyq
fbshipit-source-id: 524a92de56a7cb553573d9f54ccf40a998dfd35f
2023-04-28 04:26:20 -07:00
Pranav Yadav
a58dea1e9e
Update Node.js to v16 in all RN packages ( #37073 )
...
Summary:
**NOTE**: This is a **BREAKING** change.
TLDR; Enforce minimum Node.js v16 in all RN packages.
This diff **Updates Node.js to v16** across all RN packages.
#### Context:
- For RN development and new project created; bump to node 16 was in https://github.com/facebook/react-native/pull/36217
- Recently `react-native-windows` also; updated node to v16, https://github.com/microsoft/react-native-windows/pull/11500
#### Changes:
- [BREAKING] Update Node.js to v16 across all RN packages under 'packages/' dir
## Changelog:
[GENERAL][BREAKING] - Update Node.js to v16 in all RN packages
Pull Request resolved: https://github.com/facebook/react-native/pull/37073
Test Plan: - `yarn lint && yarn flow && yarn test-ci` --> _should be green_
Reviewed By: cipolleschi
Differential Revision: D45306108
Pulled By: jacdebug
fbshipit-source-id: e3ba7d0151b86a6a0a3d63fb29c2bd887e1ac1e7
2023-04-26 08:24:06 -07:00
Ruslan Lesiutin
8a18b53bcd
bump packages for 0.73 ( #36556 )
...
Summary:
Changelog: [Internal]
Publishing to check CI if bumping and aligning in the same commit will work, since these new versions are not available on npm yet, but maybe our new monorepo setup will resolve this
**Adding back `react-native/virtualized-lists` as a workspace to `xplat/js` so that it won't be resolved from npm**
#publish-packages-to-npm
Pull Request resolved: https://github.com/facebook/react-native/pull/36556
Reviewed By: cipolleschi
Differential Revision: D44255353
Pulled By: hoxyq
fbshipit-source-id: 21372487d6e9c0b2382b7cd9af835beed46b8ce1
2023-03-30 15:55:58 -07:00
Nicola Corti
b0863e1239
Bumping all the changes we have on main ( #36355 )
...
Summary:
This will publish several changes we have pending on main, specifically changes to React Native Gradle Plugin which are needed to unblock nightlies.
#publish-packages-to-npm
## Changelog
[INTERNAL] - Bumping all the changes we have on main
Pull Request resolved: https://github.com/facebook/react-native/pull/36355
Test Plan: n/a
Reviewed By: hoxyq
Differential Revision: D43733634
Pulled By: cortinico
fbshipit-source-id: 9c041f7557cd8e494dfc942ae89e13e55353bb48
2023-03-02 07:11:43 -08:00
Nicola Corti
e42dd1593d
bump package versions ( #36184 )
...
Summary:
We do have a lot of changes on `main` to ship to nightlies. This change bump all the packages with pending changes.
## Changelog
[INTERNAL] [CHANGED] - [ci][monorepo] bump package versions
Pull Request resolved: https://github.com/facebook/react-native/pull/36184
Test Plan: Will rely on CI run.
Reviewed By: hoxyq
Differential Revision: D43363981
Pulled By: cortinico
fbshipit-source-id: eba5152dbe007eb3fad43f9088d145b3741fd94e
2023-02-17 06:19:37 -08:00
Vicary A
a69a924d51
fix(deps): expose yarn peer dependencies ( #35915 )
...
Summary:
Fixes https://github.com/facebook/react-native/issues/35913
## CHANGELOG
[General] [Fixed] - Peer dependency warnings for Yarn 3
Pull Request resolved: https://github.com/facebook/react-native/pull/35915
Test Plan:
```bash
yarn set version berry
yarn add react-native-changelog
```
Reviewed By: cortinico
Differential Revision: D42674105
Pulled By: jacdebug
fbshipit-source-id: 4270512b1b4857765a183389981b797cfecefcbd
2023-01-23 04:25:32 -08:00
Nicola Corti
177f30a323
Bump all the @react-native/ packages to publish on main
...
Summary:
Nightlies are currently broken on main. That's because nightlies rely on packages that got
re-scoped under `react-native`. We need to publish them to NPM.
In order to do so, I'm bumping versions for the one that have changes on main so that they
can be published to NPM to unblock nightlies.
Changelog:
[Internal] [Changed] - Bump all the react-native/ packages to publish on main
Reviewed By: hoxyq
Differential Revision: D41840985
fbshipit-source-id: 45b691611e33668df0922d4ff753738a773f162c
2022-12-09 02:10:17 -08:00
Rob Hogan
3e19c97646
Bump remaining build-time Babel deps
...
Summary:
Update `babel/*` dependencies specifying `^7.x.y` where `x > 0` to the latest available semver minor, and corresponding superficial snapshot updates reflecting a small decrease in JS bundle size.
- `babel/core` to `^7.20.0`
- `babel/parser` to `^7.20.0`
- `babel/preset-env` to `^7.20.0`
- `babel/traverse` to `^7.20.0`
- `babel/cli` to `^7.19.0`
- `babel/eslint-parser` to `^7.19.0`
- `babel/preset-flow` to `^7.18.0`
- `babel/preset-syntax-flow` to `^7.18.0`
- Deduplicate / refresh others to take in patch updates
Changelog: [Internal] Bump Babel dependencies to latest 7.x
Reviewed By: JoeyMou
Differential Revision: D41449678
fbshipit-source-id: f04fe837a7961c4e2dde45fed59fcd138c2f8723
2022-11-30 19:16:23 -08:00
shivenmian
b7a85b59b5
chore: renamed react-native-codegen to @react-native/codegen ( #34804 )
...
Summary:
Renamed react-native-codegen package to react-native/codegen and updated references, without changing the folder name; part of RFC480 (https://github.com/facebook/react-native/issues/34692 ). Follow-up from https://github.com/facebook/react-native/pull/34578
## Changelog
[General] [Changed] - Renamed react-native-codegen package to react-native/codegen and updated references
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
Pull Request resolved: https://github.com/facebook/react-native/pull/34804
Reviewed By: cortinico
Differential Revision: D39883584
Pulled By: hoxyq
fbshipit-source-id: 0ef384b75c6edd248b31e37b8f05f64b4d39ca6f
2022-11-28 08:28:51 -08:00
Stian Jensen
462d93d9c1
Bump jscodeshift to 0.14 ( #35356 )
...
Summary:
Jscodeshift has become maintained again in the past year, and has gotten rid of quite a good chunk of old dependencies that are no longer needed!
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[Internal] [Changed] - update jscodeshift
Pull Request resolved: https://github.com/facebook/react-native/pull/35356
Reviewed By: cipolleschi
Differential Revision: D41325527
Pulled By: rshest
fbshipit-source-id: 666b25c9bb3b1720479e9e098968b3b983adc2b4
2022-11-17 08:04:00 -08:00
Dmitry Rykun
d62b0b463b
Bump dependency versions to 0.72.0 after the branch cut
...
Summary:
Changelog
[General][Changed] - Bump dependency versions to 0.72.0 after the branch cut.
Reviewed By: cipolleschi
Differential Revision: D41079762
fbshipit-source-id: 83e912c4eaf969c1673ccc5fa854646efa99fa4a
2022-11-07 06:57:35 -08:00
Dmitry Rykun
8183aac0b1
Bump dependency versions before the branch cut 0.71.0
...
Summary: Changelog: [General][Changed] - Bump dependency versions.
Reviewed By: cipolleschi
Differential Revision: D40991336
fbshipit-source-id: 71c8edbeb274d095403b2f17e60f217d16fe01c0
2022-11-03 17:28:26 -07:00
Riccardo Cipolleschi
a2166b24f8
bump codegen to v0.71.1 ( #35154 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35154
This diff bumps the codegen to v0.71.1, preparing it for the branch cut.
## Changelog
[General][Changed] - Bump codegen version
Reviewed By: dmytrorykun
Differential Revision: D40852498
fbshipit-source-id: ba1dc87f3726bc27cbd176f160c62a0bdc291433
2022-10-31 12:31:00 -07:00
Lorenzo Sciandra
cd25fb3240
chore(deps): add wanted dependencies to remove yarn warnings ( #35122 )
...
Summary:
This is take 2 of this https://github.com/facebook/react-native/pull/35088 , see this comment for why https://github.com/facebook/react-native/pull/35088#issuecomment-1295091902
I wanted to start working on a thing but this barrage of warnings was very annoying so ended up doing this instead: a very small PR to take care of some warnings during yarn install.
It doesn't change anything (the versions are the ones already used all around the repo), just makes yarn happier.
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[General] [Fixed] - add wanted dependencies to remove yarn warnings
Pull Request resolved: https://github.com/facebook/react-native/pull/35122
Test Plan:
### Before
<img width="1920" alt="Screenshot 2022-10-26 at 10 53 32" src="https://user-images.githubusercontent.com/16104054/197996489-f463be29-b35b-45cc-9d9c-2d176579fb7d.png ">
### After
<img width="947" alt="Screenshot 2022-10-26 at 10 52 19" src="https://user-images.githubusercontent.com/16104054/197996505-3d60b319-006b-45ab-83bf-2f431272fdcd.png ">
Reviewed By: cortinico
Differential Revision: D40804260
Pulled By: rshest
fbshipit-source-id: 86af14c885d6d63a0d60bb85f204d17d8757f72a
2022-10-28 13:01:48 -07:00
Benny Singer
cf5addf423
Revert D40716713: chore(deps): add wanted dependencies to remove yarn warnings
...
Differential Revision:
D40716713 (https://github.com/facebook/react-native/commit/8422c5315caf5cf696791a5ad49ed0fbd37ef9df )
Original commit changeset: eeb95a91c6cd
Original Phabricator Diff: D40716713 (https://github.com/facebook/react-native/commit/8422c5315caf5cf696791a5ad49ed0fbd37ef9df )
fbshipit-source-id: e85f111e7da0381e09f8a23d3bd0d553b3a7c4a9
2022-10-26 07:22:28 -07:00
Lorenzo Sciandra
8422c5315c
chore(deps): add wanted dependencies to remove yarn warnings ( #35088 )
...
Summary:
I wanted to start working on a thing but this barrage of warnings was very annoying so ended up doing this instead: a very small PR to take care of some warnings during yarn install.
It doesn't change anything (the versions are the ones already used all around the repo), just makes yarn happier.
Also, while doing that I found a dependency that was lying there unused for 2 years so took care of it.
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[General] [Fixed] - add wanted dependencies to remove yarn warnings
Pull Request resolved: https://github.com/facebook/react-native/pull/35088
Test Plan:
### Before
<img width="1920" alt="Screenshot 2022-10-26 at 10 53 32" src="https://user-images.githubusercontent.com/16104054/197996489-f463be29-b35b-45cc-9d9c-2d176579fb7d.png ">
### After
<img width="947" alt="Screenshot 2022-10-26 at 10 52 19" src="https://user-images.githubusercontent.com/16104054/197996505-3d60b319-006b-45ab-83bf-2f431272fdcd.png ">
Reviewed By: jacdebug
Differential Revision: D40716713
Pulled By: robhogan
fbshipit-source-id: eeb95a91c6cdf37edfe868fefe4ba04aebe500ec
2022-10-26 06:42:50 -07:00
Zihan Chen (MSFT)
c4f9556f7e
Make yarn and yarn jest react-native-codegen works on Windows with git ( #34854 )
...
Summary:
A few fixings to make `yarn jest react-native-doegen` works on Windows:
- ~~Add a `.gitignore` file to tell git not to track generated/temporary files.~~
- There is no `rm` on Windows, change it to `rimraf`.
I have been using it in the last 3 months and it works perfectly on Windows, otherwise I could not even build the code in my laptop.
## Changelog
[General] [Changed] - Make `yarn` and `yarn jest react-native-codegen` works on Windows with git
Pull Request resolved: https://github.com/facebook/react-native/pull/34854
Test Plan: `yarn jest react-native-codegen` passed
Reviewed By: cortinico
Differential Revision: D40059524
Pulled By: cortinico
fbshipit-source-id: e3cde2506c7d18c2b580099257637b90f4cb328c
2022-10-07 08:04:02 -07:00
Christoph Purrer
776046b89b
Update flow-parser for react-native-codegen and eslint-plugin-spec
...
Summary:
Updating flow-parser to a more recent version which also supports parsing enums
Changelog: [Internal]
Reviewed By: yungsters
Differential Revision: D38832380
fbshipit-source-id: e3ef477abf85939ce3c9d92844e28dc59d8231c1
2022-08-18 11:32:01 -07:00
Dmitry Rykun
e44150409e
Bump dependencies version number
...
Summary:
[Changelog][General] - Bump packages version number:
react-native/eslint-plugin-specs: ^0.71.0,
react-native-gradle-plugin: ^0.71.0,
react-native-codegen: ^0.71.0
Reviewed By: cortinico
Differential Revision: D38204441
fbshipit-source-id: 7188aae2decb307852e55a1b6b1180f3f068a75c
2022-07-27 08:19:11 -07:00
Dmitry Rykun
ce4246a05c
Bump react-native-codegen before 0.70 branch cut ( #34195 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/34195
Bumping React Native Codegen to prepare for the release of React Native 0.70
Changelog:
[General] [Changed] - Bump react-native-codegen before 0.70 branch cut
Reviewed By: cortinico
Differential Revision: D37849972
fbshipit-source-id: 4c61baab937a7c44745b3597c575ca8b525e69bf
2022-07-15 02:41:48 -07:00
Nicola Corti
8af7870c61
Update script from prepublish (deprecated) to prepack ( #34198 )
...
Summary:
Currently `react-native-codegen` uses `prepublish` to pre-build before publishing. Moving to `prepare` as `prepublish` is deprecated and not invoked anymore:
https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scripts
## Changelog
[Internal][Fixed] - [codegen] Update script from prepublish (deprecated) to prepack
Pull Request resolved: https://github.com/facebook/react-native/pull/34198
Test Plan:
Tested locally with:
```
cd packages/react-native-codegen/ && rm -rf lib && npm publish --dry-run --foreground-scripts
```
output is:
```
> react-native-codegen@0.70 .1 prepare
> yarn run build
yarn run v1.22.18
$ yarn clean && node scripts/build.js --verbose
$ rm -rf lib
react-native-codegen........................................................... • src/__tests__/__snapshots__/SchemaValidator-test.js.snap (ignore)
• src/__tests__/SchemaValidator-test.js (ignore)
• src/cli/combine/combine-js-to-schema-cli.js ⇒ lib/cli/combine/combine-js-to-schema-cli.js
• src/cli/combine/combine-js-to-schema.js ⇒ lib/cli/combine/combine-js-to-schema.js
• src/cli/generators/generate-all.js ⇒ lib/cli/generators/generate-all.js
• src/cli/parser/parser-cli.js ⇒ lib/cli/parser/parser-cli.js
• src/cli/parser/parser.js ⇒ lib/cli/parser/parser.js
• src/cli/parser/parser.sh ⇒ lib/cli/parser/parser.sh (copy)
• src/CodegenSchema.js ⇒ lib/CodegenSchema.js
• src/generators/__test_fixtures__/fixtures.js ⇒ lib/generators/__test_fixtures__/fixtures.js
• src/generators/__tests__/RNCodegen-test.js (ignore)
• src/generators/components/__test_fixtures__/fixtures.js ⇒ lib/generators/components/__test_fixtures__/fixtures.js
• src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GeneratePropsJavaDelegate-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GeneratePropsJavaInterface-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GeneratePropsJavaPojo-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderH-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js.snap (ignore)
• src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap (ignore)
• src/generators/components/__tests__/GenerateComponentDescriptorH-test.js (ignore)
• src/generators/components/__tests__/GenerateComponentHObjCpp-test.js (ignore)
• src/generators/components/__tests__/GenerateEventEmitterCpp-test.js (ignore)
• src/generators/components/__tests__/GenerateEventEmitterH-test.js (ignore)
• src/generators/components/__tests__/GeneratePropsCpp-test.js (ignore)
• src/generators/components/__tests__/GeneratePropsH-test.js (ignore)
• src/generators/components/__tests__/GeneratePropsJavaDelegate-test.js (ignore)
• src/generators/components/__tests__/GeneratePropsJavaInterface-test.js (ignore)
• src/generators/components/__tests__/GeneratePropsJavaPojo-test.js (ignore)
• src/generators/components/__tests__/GenerateShadowNodeCpp-test.js (ignore)
• src/generators/components/__tests__/GenerateShadowNodeH-test.js (ignore)
• src/generators/components/__tests__/GenerateTests-test.js (ignore)
• src/generators/components/__tests__/GenerateThirdPartyFabricComponentsProviderH-test.js (ignore)
• src/generators/components/__tests__/GenerateThirdPartyFabricComponentsProviderObjCpp-test.js (ignore)
• src/generators/components/__tests__/GenerateViewConfigJs-test.js (ignore)
• src/generators/components/CppHelpers.js ⇒ lib/generators/components/CppHelpers.js
• src/generators/components/GenerateComponentDescriptorH.js ⇒ lib/generators/components/GenerateComponentDescriptorH.js
• src/generators/components/GenerateComponentHObjCpp.js ⇒ lib/generators/components/GenerateComponentHObjCpp.js
• src/generators/components/GenerateEventEmitterCpp.js ⇒ lib/generators/components/GenerateEventEmitterCpp.js
• src/generators/components/GenerateEventEmitterH.js ⇒ lib/generators/components/GenerateEventEmitterH.js
• src/generators/components/GeneratePropsCpp.js ⇒ lib/generators/components/GeneratePropsCpp.js
• src/generators/components/GeneratePropsH.js ⇒ lib/generators/components/GeneratePropsH.js
• src/generators/components/GeneratePropsJavaDelegate.js ⇒ lib/generators/components/GeneratePropsJavaDelegate.js
• src/generators/components/GeneratePropsJavaInterface.js ⇒ lib/generators/components/GeneratePropsJavaInterface.js
• src/generators/components/GeneratePropsJavaPojo/index.js ⇒ lib/generators/components/GeneratePropsJavaPojo/index.js
• src/generators/components/GeneratePropsJavaPojo/PojoCollector.js ⇒ lib/generators/components/GeneratePropsJavaPojo/PojoCollector.js
• src/generators/components/GeneratePropsJavaPojo/serializePojo.js ⇒ lib/generators/components/GeneratePropsJavaPojo/serializePojo.js
• src/generators/components/GenerateShadowNodeCpp.js ⇒ lib/generators/components/GenerateShadowNodeCpp.js
• src/generators/components/GenerateShadowNodeH.js ⇒ lib/generators/components/GenerateShadowNodeH.js
• src/generators/components/GenerateTests.js ⇒ lib/generators/components/GenerateTests.js
• src/generators/components/GenerateThirdPartyFabricComponentsProviderH.js ⇒ lib/generators/components/GenerateThirdPartyFabricComponentsProviderH.js
• src/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js ⇒ lib/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js
• src/generators/components/GenerateViewConfigJs.js ⇒ lib/generators/components/GenerateViewConfigJs.js
• src/generators/components/JavaHelpers.js ⇒ lib/generators/components/JavaHelpers.js
• src/generators/modules/__test_fixtures__/fixtures.js ⇒ lib/generators/modules/__test_fixtures__/fixtures.js
• src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleHObjCpp-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleJavaSpec-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleJniCpp-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleJniH-test.js.snap (ignore)
• src/generators/modules/__tests__/__snapshots__/GenerateModuleMm-test.js.snap (ignore)
• src/generators/modules/__tests__/GenerateModuleCpp-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleH-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleHObjCpp-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleJavaSpec-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleJniCpp-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleJniH-test.js (ignore)
• src/generators/modules/__tests__/GenerateModuleMm-test.js (ignore)
• src/generators/modules/GenerateModuleCpp.js ⇒ lib/generators/modules/GenerateModuleCpp.js
• src/generators/modules/GenerateModuleH.js ⇒ lib/generators/modules/GenerateModuleH.js
• src/generators/modules/GenerateModuleJavaSpec.js ⇒ lib/generators/modules/GenerateModuleJavaSpec.js
• src/generators/modules/GenerateModuleJniCpp.js ⇒ lib/generators/modules/GenerateModuleJniCpp.js
• src/generators/modules/GenerateModuleJniH.js ⇒ lib/generators/modules/GenerateModuleJniH.js
• src/generators/modules/GenerateModuleObjCpp/header/serializeConstantsStruct.js ⇒ lib/generators/modules/GenerateModuleObjCpp/header/serializeConstantsStruct.js
• src/generators/modules/GenerateModuleObjCpp/header/serializeRegularStruct.js ⇒ lib/generators/modules/GenerateModuleObjCpp/header/serializeRegularStruct.js
• src/generators/modules/GenerateModuleObjCpp/header/serializeStruct.js ⇒ lib/generators/modules/GenerateModuleObjCpp/header/serializeStruct.js
• src/generators/modules/GenerateModuleObjCpp/index.js ⇒ lib/generators/modules/GenerateModuleObjCpp/index.js
• src/generators/modules/GenerateModuleObjCpp/serializeMethod.js ⇒ lib/generators/modules/GenerateModuleObjCpp/serializeMethod.js
• src/generators/modules/GenerateModuleObjCpp/source/serializeModule.js ⇒ lib/generators/modules/GenerateModuleObjCpp/source/serializeModule.js
• src/generators/modules/GenerateModuleObjCpp/StructCollector.js ⇒ lib/generators/modules/GenerateModuleObjCpp/StructCollector.js
• src/generators/modules/GenerateModuleObjCpp/Utils.js ⇒ lib/generators/modules/GenerateModuleObjCpp/Utils.js
• src/generators/modules/Utils.js ⇒ lib/generators/modules/Utils.js
• src/generators/RNCodegen.js ⇒ lib/generators/RNCodegen.js
• src/generators/Utils.js ⇒ lib/generators/Utils.js
• src/parsers/flow/components/__test_fixtures__/failures.js ⇒ lib/parsers/flow/components/__test_fixtures__/failures.js
• src/parsers/flow/components/__test_fixtures__/fixtures.js ⇒ lib/parsers/flow/components/__test_fixtures__/fixtures.js
• src/parsers/flow/components/__tests__/__snapshots__/component-parser-test.js.snap (ignore)
• src/parsers/flow/components/__tests__/component-parser-test.js (ignore)
• src/parsers/flow/components/commands.js ⇒ lib/parsers/flow/components/commands.js
• src/parsers/flow/components/events.js ⇒ lib/parsers/flow/components/events.js
• src/parsers/flow/components/extends.js ⇒ lib/parsers/flow/components/extends.js
• src/parsers/flow/components/index.js ⇒ lib/parsers/flow/components/index.js
• src/parsers/flow/components/options.js ⇒ lib/parsers/flow/components/options.js
• src/parsers/flow/components/props.js ⇒ lib/parsers/flow/components/props.js
• src/parsers/flow/components/schema.js ⇒ lib/parsers/flow/components/schema.js
• src/parsers/flow/errors.js ⇒ lib/parsers/flow/errors.js
• src/parsers/flow/index.js ⇒ lib/parsers/flow/index.js
• src/parsers/flow/modules/__test_fixtures__/failures.js ⇒ lib/parsers/flow/modules/__test_fixtures__/failures.js
• src/parsers/flow/modules/__test_fixtures__/fixtures.js ⇒ lib/parsers/flow/modules/__test_fixtures__/fixtures.js
• src/parsers/flow/modules/__tests__/__snapshots__/module-parser-snapshot-test.js.snap (ignore)
• src/parsers/flow/modules/__tests__/module-parser-e2e-test.js (ignore)
• src/parsers/flow/modules/__tests__/module-parser-snapshot-test.js (ignore)
• src/parsers/flow/modules/errors.js ⇒ lib/parsers/flow/modules/errors.js
• src/parsers/flow/modules/index.js ⇒ lib/parsers/flow/modules/index.js
• src/parsers/flow/modules/schema.js ⇒ lib/parsers/flow/modules/schema.js
• src/parsers/flow/modules/utils.js ⇒ lib/parsers/flow/modules/utils.js
• src/parsers/flow/utils.js ⇒ lib/parsers/flow/utils.js
• src/parsers/schema/index.js ⇒ lib/parsers/schema/index.js
• src/parsers/typescript/components/__test_fixtures__/failures.js ⇒ lib/parsers/typescript/components/__test_fixtures__/failures.js
• src/parsers/typescript/components/__test_fixtures__/fixtures.js ⇒ lib/parsers/typescript/components/__test_fixtures__/fixtures.js
• src/parsers/typescript/components/__tests__/__snapshots__/typescript-component-parser-test.js.snap (ignore)
• src/parsers/typescript/components/__tests__/typescript-component-parser-test.js (ignore)
• src/parsers/typescript/components/commands.js ⇒ lib/parsers/typescript/components/commands.js
• src/parsers/typescript/components/events.js ⇒ lib/parsers/typescript/components/events.js
• src/parsers/typescript/components/extends.js ⇒ lib/parsers/typescript/components/extends.js
• src/parsers/typescript/components/index.js ⇒ lib/parsers/typescript/components/index.js
• src/parsers/typescript/components/options.js ⇒ lib/parsers/typescript/components/options.js
• src/parsers/typescript/components/props.js ⇒ lib/parsers/typescript/components/props.js
• src/parsers/typescript/components/schema.js ⇒ lib/parsers/typescript/components/schema.js
• src/parsers/typescript/errors.js ⇒ lib/parsers/typescript/errors.js
• src/parsers/typescript/index.js ⇒ lib/parsers/typescript/index.js
• src/parsers/typescript/modules/__test_fixtures__/failures.js ⇒ lib/parsers/typescript/modules/__test_fixtures__/failures.js
• src/parsers/typescript/modules/__test_fixtures__/fixtures.js ⇒ lib/parsers/typescript/modules/__test_fixtures__/fixtures.js
• src/parsers/typescript/modules/__tests__/__snapshots__/typescript-module-parser-snapshot-test.js.snap (ignore)
• src/parsers/typescript/modules/__tests__/typescript-module-parser-e2e-test.js (ignore)
• src/parsers/typescript/modules/__tests__/typescript-module-parser-snapshot-test.js (ignore)
• src/parsers/typescript/modules/errors.js ⇒ lib/parsers/typescript/modules/errors.js
• src/parsers/typescript/modules/index.js ⇒ lib/parsers/typescript/modules/index.js
• src/parsers/typescript/modules/schema.js ⇒ lib/parsers/typescript/modules/schema.js
• src/parsers/typescript/modules/utils.js ⇒ lib/parsers/typescript/modules/utils.js
• src/parsers/typescript/utils.js ⇒ lib/parsers/typescript/utils.js
• src/SchemaValidator.js ⇒ lib/SchemaValidator.js
[ OK ]
✨ Done in 2.27s.
npm notice
npm notice 📦 react-native-codegen@0.70 .1
npm notice === Tarball Contents ===
npm notice 383B README.md
npm notice 3.2kB lib/cli/combine/combine-js-to-schema-cli.js
npm notice 1.8kB lib/cli/combine/combine-js-to-schema-cli.js.flow
npm notice 2.5kB lib/cli/combine/combine-js-to-schema.js
npm notice 1.3kB lib/cli/combine/combine-js-to-schema.js.flow
npm notice 1.5kB lib/cli/generators/generate-all.js
npm notice 1.4kB lib/cli/generators/generate-all.js.flow
npm notice 1.7kB lib/cli/parser/parser-cli.js
npm notice 386B lib/cli/parser/parser-cli.js.flow
npm notice 777B lib/cli/parser/parser.js
npm notice 811B lib/cli/parser/parser.js.flow
npm notice 483B lib/cli/parser/parser.sh
npm notice 222B lib/CodegenSchema.js
npm notice 8.8kB lib/CodegenSchema.js.flow
npm notice 1.8kB lib/generators/__test_fixtures__/fixtures.js
npm notice 1.9kB lib/generators/__test_fixtures__/fixtures.js.flow
npm notice 43.6kB lib/generators/components/__test_fixtures__/fixtures.js
npm notice 44.0kB lib/generators/components/__test_fixtures__/fixtures.js.flow
npm notice 5.7kB lib/generators/components/CppHelpers.js
npm notice 6.4kB lib/generators/components/CppHelpers.js.flow
npm notice 2.0kB lib/generators/components/GenerateComponentDescriptorH.js
npm notice 2.3kB lib/generators/components/GenerateComponentDescriptorH.js.flow
npm notice 9.3kB lib/generators/components/GenerateComponentHObjCpp.js
npm notice 10.3kB lib/generators/components/GenerateComponentHObjCpp.js.flow
npm notice 6.3kB lib/generators/components/GenerateEventEmitterCpp.js
npm notice 7.2kB lib/generators/components/GenerateEventEmitterCpp.js.flow
npm notice 6.5kB lib/generators/components/GenerateEventEmitterH.js
npm notice 7.4kB lib/generators/components/GenerateEventEmitterH.js.flow
npm notice 4.0kB lib/generators/components/GeneratePropsCpp.js
npm notice 4.3kB lib/generators/components/GeneratePropsCpp.js.flow
npm notice 23.4kB lib/generators/components/GeneratePropsH.js
npm notice 26.1kB lib/generators/components/GeneratePropsH.js.flow
npm notice 9.4kB lib/generators/components/GeneratePropsJavaDelegate.js
npm notice 10.0kB lib/generators/components/GeneratePropsJavaDelegate.js.flow
npm notice 7.1kB lib/generators/components/GeneratePropsJavaInterface.js
npm notice 7.8kB lib/generators/components/GeneratePropsJavaInterface.js.flow
npm notice 2.0kB lib/generators/components/GeneratePropsJavaPojo/index.js
npm notice 2.1kB lib/generators/components/GeneratePropsJavaPojo/index.js.flow
npm notice 4.0kB lib/generators/components/GeneratePropsJavaPojo/PojoCollector.js
npm notice 4.7kB lib/generators/components/GeneratePropsJavaPojo/PojoCollector.js.flow
npm notice 7.2kB lib/generators/components/GeneratePropsJavaPojo/serializePojo.js
npm notice 7.5kB lib/generators/components/GeneratePropsJavaPojo/serializePojo.js.flow
npm notice 2.0kB lib/generators/components/GenerateShadowNodeCpp.js
npm notice 2.2kB lib/generators/components/GenerateShadowNodeCpp.js.flow
npm notice 2.8kB lib/generators/components/GenerateShadowNodeH.js
npm notice 3.1kB lib/generators/components/GenerateShadowNodeH.js.flow
npm notice 5.3kB lib/generators/components/GenerateTests.js
npm notice 5.9kB lib/generators/components/GenerateTests.js.flow
npm notice 2.5kB lib/generators/components/GenerateThirdPartyFabricComponentsProviderH.js
npm notice 2.7kB lib/generators/components/GenerateThirdPartyFabricComponentsProviderH.js.flow
npm notice 2.6kB lib/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js
npm notice 2.8kB lib/generators/components/GenerateThirdPartyFabricComponentsProviderObjCpp.js.flow
npm notice 13.4kB lib/generators/components/GenerateViewConfigJs.js
npm notice 14.0kB lib/generators/components/GenerateViewConfigJs.js.flow
npm notice 2.7kB lib/generators/components/JavaHelpers.js
npm notice 3.2kB lib/generators/components/JavaHelpers.js.flow
npm notice 47.0kB lib/generators/modules/__test_fixtures__/fixtures.js
npm notice 47.2kB lib/generators/modules/__test_fixtures__/fixtures.js.flow
npm notice 8.4kB lib/generators/modules/GenerateModuleCpp.js
npm notice 7.3kB lib/generators/modules/GenerateModuleCpp.js.flow
npm notice 8.5kB lib/generators/modules/GenerateModuleH.js
npm notice 7.0kB lib/generators/modules/GenerateModuleH.js.flow
npm notice 16.8kB lib/generators/modules/GenerateModuleJavaSpec.js
npm notice 15.6kB lib/generators/modules/GenerateModuleJavaSpec.js.flow
npm notice 14.9kB lib/generators/modules/GenerateModuleJniCpp.js
npm notice 13.9kB lib/generators/modules/GenerateModuleJniCpp.js.flow
npm notice 4.7kB lib/generators/modules/GenerateModuleJniH.js
npm notice 4.9kB lib/generators/modules/GenerateModuleJniH.js.flow
npm notice 9.5kB lib/generators/modules/GenerateModuleObjCpp/header/serializeConstantsStruct.js
npm notice 7.9kB lib/generators/modules/GenerateModuleObjCpp/header/serializeConstantsStruct.js.flow
npm notice 9.1kB lib/generators/modules/GenerateModuleObjCpp/header/serializeRegularStruct.js
npm notice 7.6kB lib/generators/modules/GenerateModuleObjCpp/header/serializeRegularStruct.js.flow
npm notice 720B lib/generators/modules/GenerateModuleObjCpp/header/serializeStruct.js
npm notice 836B lib/generators/modules/GenerateModuleObjCpp/header/serializeStruct.js.flow
npm notice 6.4kB lib/generators/modules/GenerateModuleObjCpp/index.js
npm notice 6.6kB lib/generators/modules/GenerateModuleObjCpp/index.js.flow
npm notice 14.6kB lib/generators/modules/GenerateModuleObjCpp/serializeMethod.js
npm notice 13.1kB lib/generators/modules/GenerateModuleObjCpp/serializeMethod.js.flow
npm notice 2.9kB lib/generators/modules/GenerateModuleObjCpp/source/serializeModule.js
npm notice 3.6kB lib/generators/modules/GenerateModuleObjCpp/source/serializeModule.js.flow
npm notice 6.8kB lib/generators/modules/GenerateModuleObjCpp/StructCollector.js
npm notice 5.4kB lib/generators/modules/GenerateModuleObjCpp/StructCollector.js.flow
npm notice 549B lib/generators/modules/GenerateModuleObjCpp/Utils.js
npm notice 673B lib/generators/modules/GenerateModuleObjCpp/Utils.js.flow
npm notice 848B lib/generators/modules/Utils.js
npm notice 1.3kB lib/generators/modules/Utils.js.flow
npm notice 7.1kB lib/generators/RNCodegen.js
npm notice 8.4kB lib/generators/RNCodegen.js.flow
npm notice 647B lib/generators/Utils.js
npm notice 700B lib/generators/Utils.js.flow
npm notice 14.1kB lib/parsers/flow/components/__test_fixtures__/failures.js
npm notice 14.1kB lib/parsers/flow/components/__test_fixtures__/failures.js.flow
npm notice 27.8kB lib/parsers/flow/components/__test_fixtures__/fixtures.js
npm notice 27.9kB lib/parsers/flow/components/__test_fixtures__/fixtures.js.flow
npm notice 2.6kB lib/parsers/flow/components/commands.js
npm notice 2.9kB lib/parsers/flow/components/commands.js.flow
npm notice 6.2kB lib/parsers/flow/components/events.js
npm notice 6.6kB lib/parsers/flow/components/events.js.flow
npm notice 1.2kB lib/parsers/flow/components/extends.js
npm notice 1.6kB lib/parsers/flow/components/extends.js.flow
npm notice 8.1kB lib/parsers/flow/components/index.js
npm notice 6.5kB lib/parsers/flow/components/index.js.flow
npm notice 1.8kB lib/parsers/flow/components/options.js
npm notice 2.1kB lib/parsers/flow/components/options.js.flow
npm notice 13.1kB lib/parsers/flow/components/props.js
npm notice 13.8kB lib/parsers/flow/components/props.js.flow
npm notice 2.1kB lib/parsers/flow/components/schema.js
npm notice 1.3kB lib/parsers/flow/components/schema.js.flow
npm notice 738B lib/parsers/flow/errors.js
npm notice 849B lib/parsers/flow/errors.js.flow
npm notice 5.7kB lib/parsers/flow/index.js
npm notice 3.7kB lib/parsers/flow/index.js.flow
npm notice 5.3kB lib/parsers/flow/modules/__test_fixtures__/failures.js
npm notice 5.4kB lib/parsers/flow/modules/__test_fixtures__/failures.js.flow
npm notice 15.4kB lib/parsers/flow/modules/__test_fixtures__/fixtures.js
npm notice 15.4kB lib/parsers/flow/modules/__test_fixtures__/fixtures.js.flow
npm notice 8.6kB lib/parsers/flow/modules/errors.js
npm notice 9.5kB lib/parsers/flow/modules/errors.js.flow
npm notice 25.7kB lib/parsers/flow/modules/index.js
npm notice 21.8kB lib/parsers/flow/modules/index.js.flow
npm notice 416B lib/parsers/flow/modules/schema.js
npm notice 557B lib/parsers/flow/modules/schema.js.flow
npm notice 595B lib/parsers/flow/modules/utils.js
npm notice 830B lib/parsers/flow/modules/utils.js.flow
npm notice 4.4kB lib/parsers/flow/utils.js
npm notice 5.1kB lib/parsers/flow/utils.js.flow
npm notice 428B lib/parsers/schema/index.js
npm notice 526B lib/parsers/schema/index.js.flow
npm notice 12.9kB lib/parsers/typescript/components/__test_fixtures__/failures.js
npm notice 13.0kB lib/parsers/typescript/components/__test_fixtures__/failures.js.flow
npm notice 28.1kB lib/parsers/typescript/components/__test_fixtures__/fixtures.js
npm notice 28.1kB lib/parsers/typescript/components/__test_fixtures__/fixtures.js.flow
npm notice 3.1kB lib/parsers/typescript/components/commands.js
npm notice 3.0kB lib/parsers/typescript/components/commands.js.flow
npm notice 7.0kB lib/parsers/typescript/components/events.js
npm notice 7.4kB lib/parsers/typescript/components/events.js.flow
npm notice 1.3kB lib/parsers/typescript/components/extends.js
npm notice 1.6kB lib/parsers/typescript/components/extends.js.flow
npm notice 8.2kB lib/parsers/typescript/components/index.js
npm notice 6.6kB lib/parsers/typescript/components/index.js.flow
npm notice 1.8kB lib/parsers/typescript/components/options.js
npm notice 2.1kB lib/parsers/typescript/components/options.js.flow
npm notice 19.4kB lib/parsers/typescript/components/props.js
npm notice 18.0kB lib/parsers/typescript/components/props.js.flow
npm notice 2.1kB lib/parsers/typescript/components/schema.js
npm notice 1.3kB lib/parsers/typescript/components/schema.js.flow
npm notice 738B lib/parsers/typescript/errors.js
npm notice 849B lib/parsers/typescript/errors.js.flow
npm notice 5.8kB lib/parsers/typescript/index.js
npm notice 3.9kB lib/parsers/typescript/index.js.flow
npm notice 4.7kB lib/parsers/typescript/modules/__test_fixtures__/failures.js
npm notice 4.7kB lib/parsers/typescript/modules/__test_fixtures__/failures.js.flow
npm notice 18.8kB lib/parsers/typescript/modules/__test_fixtures__/fixtures.js
npm notice 18.8kB lib/parsers/typescript/modules/__test_fixtures__/fixtures.js.flow
npm notice 8.6kB lib/parsers/typescript/modules/errors.js
npm notice 9.5kB lib/parsers/typescript/modules/errors.js.flow
npm notice 26.8kB lib/parsers/typescript/modules/index.js
npm notice 22.9kB lib/parsers/typescript/modules/index.js.flow
npm notice 416B lib/parsers/typescript/modules/schema.js
npm notice 557B lib/parsers/typescript/modules/schema.js.flow
npm notice 595B lib/parsers/typescript/modules/utils.js
npm notice 830B lib/parsers/typescript/modules/utils.js.flow
npm notice 4.6kB lib/parsers/typescript/utils.js
npm notice 5.3kB lib/parsers/typescript/utils.js.flow
npm notice 1.4kB lib/SchemaValidator.js
npm notice 1.6kB lib/SchemaValidator.js.flow
npm notice 1.4kB package.json
npm notice === Tarball Details ===
npm notice name: react-native-codegen
npm notice version: 0.70.1
npm notice filename: react-native-codegen-0.70.1.tgz
npm notice package size: 168.4 kB
npm notice unpacked size: 1.3 MB
npm notice shasum: 10bf591db802342bd5ac38352821ad6452ba4b52
npm notice integrity: sha512-KXRXARscSO4mt[...]WCnuO5sLFEYQg==
npm notice total files: 167
npm notice
+ react-native-codegen@0.70 .1
```
Reviewed By: dmitryrykun
Differential Revision: D37851965
Pulled By: cortinico
fbshipit-source-id: 4d8c80831691e5f671c234bc3a1678ccb7435ff4
2022-07-14 10:26:17 -07:00
Nicola Corti
080a5921e1
Bump dependencies before 0.70 branch cut ( #34185 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/34185
Bumping React Native Codegen & Gradle plugin to prepare for
the release of React Native 0.70
Changelog:
[General] [Changed] - Bump dependencies before 0.70 branch cut
Reviewed By: dmitryrykun
Differential Revision: D37818496
fbshipit-source-id: 12b3f1af29d314c9acf270ca4dfb4c007a400076
2022-07-13 08:50:33 -07:00
Nicola Corti
2a274c1a08
Bump React Native Codegen to 0.70.0
...
Summary:
I'm updating the versioning schema of `react-native-codegen` to use minor instead of patch versions.
Historically we used to use a version as `0.0.15` and incrementally bump it.
Today, we had to do released a patched version of `react-native-codegen` for React Native 0.68.
Therefore, we're moving to use a versioning scheme as `0.<RN-VERSION>.x` which gives more flexibility and allows us to follow-up on specific version of the codegen for every RN version, should we need to.
`react-native-codegen` 0.70 is essentially a re-publishing of 0.0.16 from `main`
Changelog:
[General] [Changed] - Bump React Native Codegen to 0.70.0
Reviewed By: motiz88
Differential Revision: D36244307
fbshipit-source-id: 475615e5dbc4e6bc850f64110c060a1c87544292
2022-05-09 09:23:20 -07:00
Nicola Corti
b9bb30b1ad
Bump React Native Codegen to 0.0.16 ( #33749 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/33749
Yet another bump of the Codegen to ship new features for RN 0.69
Changelog:
[Internal] [Changed] - Bump React Native Codegen to 0.0.16
Reviewed By: cipolleschi
Differential Revision: D36096803
fbshipit-source-id: 46e118f633eff2abf636737e69718e8fcb3608ed
2022-05-04 04:04:10 -07:00
Nicola Corti
208422fe8e
Bump React Native Codegen to 0.0.15
...
Summary:
For RN 0.69, we want to ship all the changes we have on master
for React Native Codegen.
Changelog:
[Internal] [Changed] - Bump React Native Codegen to 0.0.15
Reviewed By: cipolleschi
Differential Revision: D35964934
fbshipit-source-id: d6b6c36a9a077cb53113907ea59da3148e18e5cd
2022-04-28 04:18:28 -07:00
Rob Hogan
47d742ae58
Update graceful-fs->^4.2.4, micromatch->^4.0.4
...
Summary:
A couple of semver-minor/patch dependency bumps to reduce the number of distinct requirements across the repo.
Changelog: [Internal]
Reviewed By: yungsters
Differential Revision: D35748473
fbshipit-source-id: 270c9a1b828aba20e03ac27600eb3a6e4ce2f0ec
2022-04-19 18:56:51 -07:00
Nicola Corti
94d0afe6e3
Bump codegen to 0.0.14 ( #33475 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/33475
To unblock the broken iOS circle ci, I'm bumping codegen to 0.0.14
Changelog:
[General] [Changed] - Bump codegen to 0.0.14
Reviewed By: ShikaSD
Differential Revision: D35079748
fbshipit-source-id: 703773ec2a5fd864b9c9a2f8d29359a4046c18a4
2022-03-23 11:50:27 -07:00
Dmitry Rykun
37e5cc966f
Bump to version 0.0.13
...
Summary:
Bump react-native-codegen version to include new fixes and improvements.
Changelog: [internal] Updated react-native-codegen version
Reviewed By: cortinico
Differential Revision: D33684175
fbshipit-source-id: bfc6cb627659c7cdfca2676894bece5f02aff767
2022-01-21 07:30:41 -08:00
Michaël De Boey
c279a186fa
chore(deps): update jscodeshift ( #32905 )
...
Summary:
This will include https://github.com/facebook/jscodeshift/pull/473 , which will fix the problems with the `colors` package (see https://github.com/facebook/jscodeshift/issues/474 )
## Changelog
<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->
[Internal] [Security] - update `jscodeshift`
Pull Request resolved: https://github.com/facebook/react-native/pull/32905
Test Plan: N/A
Reviewed By: cortinico
Differential Revision: D33623209
Pulled By: yungsters
fbshipit-source-id: 38f366cb2e004cca55cd921c61a9e88439c8e784
2022-01-19 10:54:15 -08:00
Charles Dudley
114d5a8a17
TypeScript parser foundation
...
Summary:
These are utility functions that the TypeScript parser uses and are copied from and follows the same logic as the flow parser with some TypeScript specific changes. Also added dependency of `babel/parser` as the parsing engine we're using for TypeScript.
Changelog:
[General][Add] - Add foundation for WIP TypeScript parser for Codegen
Reviewed By: RSNara
Differential Revision: D33080527
fbshipit-source-id: d4bd515af549a41f07a2e3ee1a16b5ed678180b2
2021-12-20 14:20:21 -08:00
Sota Ogo
74f3913128
Version bump
...
Summary:
I added some functionalities to react-native-codegen to support the new architecture. Publishing the new version so that those are available to use.
Changelog: [internal] Updated react-native-codegen version
Reviewed By: cortinico
Differential Revision: D32941951
fbshipit-source-id: f1ab3d72c76ac153939c634655a4725b4f49d48d
2021-12-08 20:56:35 -08:00
Nicola Corti
3b7044dd07
Bump codegen to 0.0.11 ( #32534 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/32534
Bumping react-native-codegen to 0.0.11 as 0.0.10 was broken (published empty).
Fixes #32533
Changelog:
[Internal] [Changed] - Bump codegen to 0.0.10
Reviewed By: lunaleaps
Differential Revision: D32156067
fbshipit-source-id: 61025b1159d1430728313bd1afcd96f83ee85ff5
2021-11-04 10:33:39 -07:00
Tim Yung
4e587a1b7d
JS: Upgrade to Prettier v2.4.1 [1/n]
...
Summary:
Changelog:
[General][Changed] - Upgraded to `prettier@^2.4.1`.
Reviewed By: zertosh
Differential Revision: D31854010
fbshipit-source-id: 6d7a2e758a3ddf7c758ceffb14d98eb93b0ce4b0
2021-11-02 22:14:16 -07:00
Nicola Corti
8fef52035b
Bump codegen to 0.0.10
...
Summary:
For the sake of the playbook, I'm bumping the codegen to the latest stable.
This is needed as there was a change in the Android NDK Makefile that wasn't shipped yet.
Changelog:
[Internal] [Changed] - Bump codegen to 0.0.10
Reviewed By: hramos
Differential Revision: D32101355
fbshipit-source-id: c20268f1ea93ebad8f92f760874a43c8ceeaf9f9
2021-11-02 12:22:17 -07:00
Nicola Corti
e3a71b019f
Bump react-native-codegen to 0.0.9
...
Summary:
Bumping the codegen to a new version to ship a change to the Android template.
Changelog:
[General] [Changed] - Bump react-native-codegen to 0.0.9
Reviewed By: hramos, mdvacca
Differential Revision: D31762139
fbshipit-source-id: 71a96210a3577c12ff3c9f9013c6e72adf4a0ecb
2021-10-22 03:09:24 -07:00
Héctor Ramos
b494ae0703
Move react-native-codegen dependency to react-native root package.json
...
Summary:
The `react-native-codegen` package handles the generation of native code artifacts for modules and components in the new React Native architecture.
This change moves the dependency from being an application-level dependency to being a direct dependency of the `react-native` package.
Changelog:
[General] Move react-native-codegen dependency to react-native root package.json
Reviewed By: yungsters
Differential Revision: D31129619
fbshipit-source-id: dfa0df589c4dbca70dde6db0208485431e304809
2021-09-23 21:40:22 -07:00
Tim Yung
92c13f0d1d
RN: Replace master with main in Documentation
...
Summary:
Updates documentation in React Native to reference `main` (or `HEAD` for URLs) instead of `master`.
Part of https://github.com/facebook/react-native/issues/31788 .
Changelog:
[General][Changed] - Update documentation reference from `master` to `main` or `HEAD`.
Reviewed By: JoshuaGross
Differential Revision: D29717128
fbshipit-source-id: 0b0babd8407c6fd3d0e5431f6eaf976059731d6f
2021-07-15 15:22:57 -07:00
Micha Reiser
58a0f9b4e2
Upgrade babel from 7.12.3 -> 7.14.1
...
Summary:
Changelog:
[General] [Changed] Upgrade Babel from 7.12.3 to 7.14.1
Reviewed By: motiz88
Differential Revision: D27851184
fbshipit-source-id: 59326332d1d188f163cdb034556eea7808824360
2021-05-13 02:48:09 -07:00
Héctor Ramos
edf18c74ce
Bump react-native-codegen to 0.0.7
...
Summary:
Publish a new react-native-codegen release with latest changes in order to support the 0.64 react-native release.
Changelog:
[Internal]
Reviewed By: fkgozali
Differential Revision: D26253312
fbshipit-source-id: 766cfa3e088b3715bc9bc815523c8d04fae409bf
2021-02-04 17:35:57 -08:00
Héctor Ramos
e99b8bbb40
Use react-native-codegen@0.0.6 in new app template
...
Summary:
Use pre-built react-native-codegen library from npm in the iOS app template.
Built react-native-codegen from source when used with RNTester.
Published react-native-codegen@0.0.6.
Changelog:
[iOS][Added] - Use react-native-codegen in iOS app template
[Internal] - Bump react-native-codegen: 0.0.6
Reviewed By: fkgozali
Differential Revision: D25128036
fbshipit-source-id: f294c23b9b911aae6f404edc01b62426fb578477
2020-11-20 20:11:59 -08:00
Kevin Gozali
17a8737ecb
Codegen Android: update Docker configuration to support codegen ( #30268 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/30268
This addresses the following CI failure:
https://app.circleci.com/pipelines/github/facebook/react-native/6847/workflows/36d59aab-bc4a-4d21-9ce1-a8348e71aea3/jobs/173669
The problem was missing directories because we didn't copy the relevant ones for docker build.
In addition:
* The codegen depends on `invariant`, but didn't specify the dep in package.json. This fixes it.
* Also ask Metro to ignore buck-out
Note that this will depend on docker image v1.0.5 (to be released later) to fully build. v1.0.5 will need to install `rsync`, see this patch: https://gist.github.com/fkgozali/1d8cae92a5bc521e0f2e4f275008db93 . With my test image (of 1.0.5 local build), I got the docker build to pass:
```
$ docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .
[+] Building 1624.2s (27/27) FINISHED
=> [internal] load build definition from Dockerfile.android 0.0s
=> => transferring dockerfile: 52B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/reactnativecommunity/react-native-android:1.0.5 0.0s
=> [1/22] FROM docker.io/reactnativecommunity/react-native-android:1.0.5 0.0s
=> [internal] load build context 5.6s
=> => transferring context: 7.11MB 5.5s
=> CACHED [2/22] ADD .buckconfig /app/.buckconfig 0.0s
=> CACHED [3/22] ADD .buckjavaargs /app/.buckjavaargs 0.0s
=> CACHED [4/22] ADD Libraries /app/Libraries 0.0s
=> CACHED [5/22] ADD ReactAndroid /app/ReactAndroid 0.0s
=> CACHED [6/22] ADD ReactCommon /app/ReactCommon 0.0s
=> CACHED [7/22] ADD React /app/React 0.0s
=> CACHED [8/22] ADD keystores /app/keystores 0.0s
=> CACHED [9/22] ADD packages/react-native-codegen /app/packages/react-native-codegen 0.0s
=> CACHED [10/22] ADD tools /app/tools 0.0s
=> CACHED [11/22] WORKDIR /app 0.0s
=> CACHED [12/22] RUN buck fetch ReactAndroid/src/test/java/com/facebook/react/modules 0.0s
=> CACHED [13/22] RUN buck fetch ReactAndroid/src/main/java/com/facebook/react 0.0s
=> CACHED [14/22] RUN buck fetch ReactAndroid/src/main/java/com/facebook/react/shell 0.0s
=> CACHED [15/22] RUN buck fetch ReactAndroid/src/test/... 0.0s
=> CACHED [16/22] RUN buck fetch ReactAndroid/src/androidTest/... 0.0s
=> CACHED [17/22] RUN buck build ReactAndroid/src/main/java/com/facebook/react 0.0s
=> CACHED [18/22] RUN buck build ReactAndroid/src/main/java/com/facebook/react/shell 0.0s
=> [19/22] ADD . /app 28.1s
=> [20/22] RUN yarn 50.2s
=> [21/22] RUN ./gradlew :ReactAndroid:downloadBoost :ReactAndroid:downloadDoubleConversion :ReactAndroid:downloadFolly :ReactAndroid:downloadGlog 235.8s
=> [22/22] RUN ./gradlew :ReactAndroid:packageReactNdkLibsForBuck -Pjobs=1 1240.1s
=> exporting to image 64.2s
=> => exporting layers 64.2s
=> => writing image sha256:6449dc629ed12395c9c98d880fb421284193bc9b5d2a77578760a23b5c3c1acd 0.0s
=> => naming to docker.io/reactnativeci/android
```
To test with a custom local docker image:
* https://docs.docker.com/get-started/ (install the Mac client)
* git clone https://github.com/react-native-community/docker-android
* Make the local change then create the fake v1.0.5 image:
* `docker build --tag reactnativecommunity/react-native-android:1.0.5 .`
* Run the image from Docker Mac client
* Then build RN docker test pasted above.
Changelog: [Internal]
Reviewed By: shergin
Differential Revision: D24611539
fbshipit-source-id: 7435e720bbb2e8d6528ce2a7344f1def15803898
2020-10-28 21:48:20 -07:00
Ramanpreet Nara
5b270e0243
Version bump to 0.0.5
...
Summary:
Just published react-native-codegen to npm. This diff bumps the version in package.json
Changelog: [Internal]
Reviewed By: fkgozali
Differential Revision: D24433252
fbshipit-source-id: 35327b11ca4db270f207b6f778dabf86dd7dcb4c
2020-10-20 23:43:00 -07:00
Héctor Ramos
62518ba64f
Bump react-native-codegen: 0.0.4
...
Summary:
The codegen output for the native modules in `Libraries/` has been verified to work with RNTester.
Publishing a new version as a prerequisite to start using the codegen at build time in open source.
Changelog: [Internal]
Reviewed By: fkgozali
Differential Revision: D24314972
fbshipit-source-id: edd0066c1cf33ba8e536cc5f145c057ca992eec1
2020-10-15 06:16:22 -07:00
Christoph Nakazawa
43624dd193
Update Babel to 7.11.6
...
Summary: Changelog: [Internal]
Reviewed By: GijsWeterings
Differential Revision: D24039996
fbshipit-source-id: 26ec2a988faadf24ea76d9124052d9397682787b
2020-10-05 05:46:31 -07:00