Skip to content

Commit

Permalink
Remove realm/react-native "sub-package" / ListView component (#4114)
Browse files Browse the repository at this point in the history
* Remove `realm/react-native` "sub-package"

* Delete package.json

* Delete listview.js

* Delete .eslintrc.json

* Adding a message to the changelog

* Delete listview-test.js

* Update index.js

* Update build.gradle
  • Loading branch information
kraenhansen authored Nov 29, 2021
1 parent 48bfca8 commit de48302
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 339 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ x.x.x Release notes (yyyy-MM-dd)
* Updated Docker URL to new canonical URL of `ghcr.io`
* Excluding the `react-native/android/build` directory from the NPM package.
* Removed the `examples/ReactExample` app. See [FindOurDevices](https://github.com/realm/FindOurDevices) for a modern example app.
* Removed undocumented, outdated and unused `ListView` component exported via `realm/react-native`. See [@realm.io/react](https://www.npmjs.com/package/@realm.io/react) for a modern integration with React.
* <Either mention core version or upgrade>
* <Using Realm Core vX.Y.Z>
* <Upgraded Realm Core from vX.Y.Z to vA.B.C>
Expand Down
6 changes: 0 additions & 6 deletions react-native/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion react-native/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ apply from: 'analytics.gradle'
import groovy.json.JsonSlurper

def getPackageVersion() {
def inputFile = new File(buildscript.sourceFile.getParent() + "/../package.json")
def inputFile = new File(buildscript.sourceFile.getParent() + "/../../package.json")
def packageJson = new JsonSlurper().parseText(inputFile.text)
return packageJson["version"]
}
Expand Down
21 changes: 0 additions & 21 deletions react-native/index.js

This file was deleted.

200 changes: 0 additions & 200 deletions react-native/listview.js

This file was deleted.

10 changes: 0 additions & 10 deletions react-native/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions tests/ReactTestApp/tests/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@

import {NativeEventEmitter, NativeModules} from 'react-native';
import * as RealmTests from 'realm-tests';
import ListViewTest from './listview-test';

RealmTests.registerTests({
ListViewTest,
});

const realmTestEmitter = new NativeEventEmitter(
NativeModules.RealmTestEventEmitter,
Expand Down
96 changes: 0 additions & 96 deletions tests/ReactTestApp/tests/listview-test.js

This file was deleted.

0 comments on commit de48302

Please sign in to comment.