Skip to content

Commit

Permalink
internal: Remove ssr package (#3338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker authored Dec 29, 2024
1 parent cb4fb92 commit 3a52bf1
Show file tree
Hide file tree
Showing 27 changed files with 9 additions and 1,956 deletions.
9 changes: 4 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const baseConfig = {
'DevtoolsManager',
'packages/test',
'packages/graphql',
'packages/ssr',
'packages/rest/src/next',
'packages/core/src/next',
'packages/react/src/next',
Expand Down Expand Up @@ -90,8 +89,7 @@ const projects = [
roots: packages.map(pkgName => `<rootDir>/packages/${pkgName}/src`),
displayName: 'ReactNative',
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.native\\.(j|t)sx?$',
testEnvironment:
require.resolve('react-native/jest/react-native-env.js'),
testEnvironment: require.resolve('react-native/jest/react-native-env.js'),
transformIgnorePatterns: [
'node_modules\\/(?!(((jest-)?react-native)|@react-native(-community)?|react-navigation))', //from RN preset
'<rootDir>/.*__tests__/[^/]+\\.(web|node)\\.(j|t)sx?$',
Expand All @@ -104,8 +102,9 @@ const projects = [
transform: {
//'^.+\\.js$': '<rootDir>/node_modules/react-native/jest/preprocessor.js', //setup.js needs to be transformed, but preprocessor screws everything else up
...baseConfig.transform,
'^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$':
require.resolve('react-native/jest/assetFileTransformer.js'), //from RN preset
'^.+\\.(bmp|gif|jpg|jpeg|mp4|png|psd|svg|webp)$': require.resolve(
'react-native/jest/assetFileTransformer.js',
), //from RN preset
},
haste: {
//from RN preset
Expand Down
3 changes: 0 additions & 3 deletions packages/ssr/.gitignore

This file was deleted.

212 changes: 0 additions & 212 deletions packages/ssr/CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 3a52bf1

Please sign in to comment.