Revert D105686184: Align folder name for assets-registry package

Differential Revision:
D105686184

Original commit changeset: 700481d0937c

Original Phabricator Diff: D105686184

fbshipit-source-id: e4a6df87db2303468741733195ba6398cdcc0ca1
This commit is contained in:
generatedunixname89002005232357 authored and meta-codesync[bot] committed 2026-05-21 10:54:16 -07:00
1 parent 226ef2e7c5
commit 11f47848d9
10 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ module.exports = {
files: [
'./packages/react-native/Libraries/**/*.{js,flow}',
'./packages/react-native/src/**/*.{js,flow}',
'./packages/assets-registry/registry.js',
'./packages/assets/registry.js',
],
parser: 'hermes-eslint',
rules: {
@@ -18,4 +18,4 @@ yarn add --dev @react-native/assets-registry
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/assets-registry`.
2. `yarn jest packages/assets`.
@@ -6,9 +6,9 @@
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/react-native.git",
"directory": "packages/assets-registry"
"directory": "packages/assets"
},
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/assets-registry#readme",
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
"keywords": [
"assets",
"registry",
File renamed without changes.
File renamed without changes.
@@ -8,7 +8,7 @@
* @format
*/
import type {PackagerAsset} from '../../../../assets-registry/registry';
import type {PackagerAsset} from '../../../../assets/registry';
import type {ResolvedAssetSource} from '../AssetSourceResolver';
describe('resolveAssetSource', () => {
+1 -1
View File
@@ -26,7 +26,7 @@ const config = {
// Make Metro able to resolve required packages that might be imported from /packages/react-native
watchFolders: [
path.resolve(__dirname, '../../node_modules'),
path.resolve(__dirname, '../assets-registry'),
path.resolve(__dirname, '../assets'),
path.resolve(__dirname, '../normalize-color'),
path.resolve(__dirname, '../polyfills'),
path.resolve(__dirname, '../virtualized-lists'),
+1 -1
View File
@@ -24,7 +24,7 @@ const config = {
// Make Metro able to resolve required external dependencies
watchFolders: [
path.resolve(__dirname, '../../node_modules'),
path.resolve(__dirname, '../assets-registry'),
path.resolve(__dirname, '../assets'),
path.resolve(__dirname, '../community-cli-plugin'),
path.resolve(__dirname, '../dev-middleware'),
path.resolve(__dirname, '../new-app-screen'),
+1 -1
View File
@@ -29,7 +29,7 @@ const config = {
// Make Metro able to resolve required external dependencies
watchFolders: [
repositoryPath('node_modules'),
repositoryPath('packages/assets-registry'),
repositoryPath('packages/assets'),
repositoryPath('packages/normalize-color'),
repositoryPath('packages/polyfills'),
repositoryPath('packages/react-native'),