зеркало из https://github.com/microsoft/rnx-kit.git
test(metro-resolver-symlinks): address pnpm issues (#2794)
This commit is contained in:
Родитель
af95bc5098
Коммит
76cda0e68b
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
---
|
|
@ -0,0 +1,7 @@
|
|||
module.exports = {
|
||||
preset: "@rnx-kit/jest-preset/private",
|
||||
moduleNameMapper: {
|
||||
"__fixtures__[/\\\\].*[/\\\\]metro-resolver$":
|
||||
require.resolve("metro-resolver"),
|
||||
},
|
||||
};
|
|
@ -31,6 +31,7 @@
|
|||
"@rnx-kit/eslint-config": "*",
|
||||
"@rnx-kit/jest-preset": "*",
|
||||
"@rnx-kit/scripts": "*",
|
||||
"@types/jest": "^29.2.1",
|
||||
"@types/node": "^18.0.0",
|
||||
"eslint": "^8.0.0",
|
||||
"find-up": "^5.0.0",
|
||||
|
@ -38,8 +39,5 @@
|
|||
"metro-resolver": "^0.76.5",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "@rnx-kit/jest-preset/private"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "metro-resolver",
|
||||
"version": "1000.0"
|
||||
}
|
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/react-native/node_modules/@react-native/community-cli-plugin/node_modules/metro/package.json
сгенерированный
поставляемый
Normal file
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/react-native/node_modules/@react-native/community-cli-plugin/node_modules/metro/package.json
сгенерированный
поставляемый
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "metro",
|
||||
"version": "1000.0"
|
||||
}
|
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/react-native/node_modules/@react-native/community-cli-plugin/package.json
сгенерированный
поставляемый
Normal file
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/react-native/node_modules/@react-native/community-cli-plugin/package.json
сгенерированный
поставляемый
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "@react-native/community-cli-plugin",
|
||||
"version": "1000.0"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "metro-resolver",
|
||||
"version": "1000.0"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "metro",
|
||||
"version": "1000.0"
|
||||
}
|
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/terminator/node_modules/react-native/node_modules/@react-native/community-cli-plugin/package.json
сгенерированный
поставляемый
Normal file
4
packages/metro-resolver-symlinks/test/__fixtures__/duplicates/node_modules/terminator/node_modules/react-native/node_modules/@react-native/community-cli-plugin/package.json
сгенерированный
поставляемый
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"name": "@react-native/community-cli-plugin",
|
||||
"version": "1000.0"
|
||||
}
|
|
@ -3844,6 +3844,7 @@ __metadata:
|
|||
"@rnx-kit/scripts": "*"
|
||||
"@rnx-kit/tools-node": ^2.1.0
|
||||
"@rnx-kit/tools-react-native": ^1.3.4
|
||||
"@types/jest": ^29.2.1
|
||||
"@types/node": ^18.0.0
|
||||
enhanced-resolve: ^5.8.3
|
||||
eslint: ^8.0.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче