Skip to content

Commit

Permalink
Merge 184c614 into 5bbcb40
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjastrzebski authored Sep 9, 2024
2 parents 5bbcb40 + 184c614 commit 9ea0882
Show file tree
Hide file tree
Showing 12 changed files with 893 additions and 980 deletions.
9 changes: 9 additions & 0 deletions .changeset/proud-steaks-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'reassure': patch
'@callstack/reassure-compare': patch
'@callstack/reassure-measure': patch
'reassure-test-app-native': patch
'@callstack/reassure-cli': patch
---

chore: update deps
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
},
"homepage": "https://github.com/callstack/reassure#readme",
"devDependencies": {
"@callstack/eslint-config": "^14.2.0",
"@changesets/cli": "^2.27.7",
"@callstack/eslint-config": "^15.0.0",
"@changesets/cli": "^2.27.8",
"check-dependency-version-consistency": "^4.1.0",
"danger": "^12.3.3",
"eslint": "^8.57.0",
Expand All @@ -46,7 +46,7 @@
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"reassure": "workspace:^",
"turbo": "^1.13.4",
"turbo": "^2.1.1",
"typescript": "^5.5.4"
},
"eslintIgnore": [
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
"@callstack/reassure-compare": "1.2.0",
"@callstack/reassure-logger": "1.2.0",
"chalk": "4.1.2",
"simple-git": "^3.25.0",
"simple-git": "^3.26.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@babel/preset-env": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@babel/runtime": "^7.25.6",
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.46",
"@types/yargs": "^17.0.32",
"@types/react": "^18.3.5",
"@types/yargs": "^17.0.33",
"babel-jest": "^29.7.0",
"del-cli": "^5.1.0",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function getJestBinPath() {
const jestPackageJson = require('jest/package.json');
const jestPackagePath = dirname(require.resolve('jest/package.json'));
return resolve(jestPackagePath, jestPackageJson.bin.jest || jestPackageJson.bin);
} catch (error) {
} catch {
return null;
}
}
Expand Down
8 changes: 4 additions & 4 deletions packages/compare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
"dependencies": {
"@callstack/reassure-logger": "1.2.0",
"markdown-table": "^2.0.0",
"ts-regex-builder": "^1.7.1",
"ts-regex-builder": "^1.8.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@babel/preset-env": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@babel/runtime": "^7.25.6",
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.46",
"@types/react": "^18.3.5",
"babel-jest": "^29.7.0",
"del-cli": "^5.1.0",
"jest": "^29.7.0",
Expand Down
20 changes: 10 additions & 10 deletions packages/measure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,30 +36,30 @@
"homepage": "https://github.com/callstack/reassure#readme",
"dependencies": {
"@callstack/reassure-logger": "1.2.0",
"mathjs": "^12.4.3",
"mathjs": "^13.1.1",
"pretty-format": "^29.7.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@babel/preset-env": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@babel/runtime": "^7.25.6",
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
"@testing-library/react": "^16.0.0",
"@testing-library/react-native": "^12.5.2",
"@testing-library/react": "^16.0.1",
"@testing-library/react-native": "^12.6.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.46",
"@types/react": "^18.3.5",
"babel-jest": "^29.7.0",
"del-cli": "^5.1.0",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "0.75.2",
"react-native-builder-bob": "^0.24.0",
"react-test-renderer": "18.2.0",
"react-test-renderer": "18.3.1",
"strip-ansi": "^6.0.1",
"typescript": "^5.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/measure/src/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function writeTestStats(
export async function clearTestStats(outputFilePath: string = config.outputFile): Promise<void> {
try {
await fs.unlink(outputFilePath);
} catch (error) {
} catch {
logger.warn(`Cannot remove ${outputFilePath}. File doesn't exist or cannot be removed`);
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/measure/src/testing-library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ let RNTL: TestingLibraryApi | undefined;
try {
// eslint-disable-next-line import/no-extraneous-dependencies
RNTL = require('@testing-library/react-native');
} catch (error) {
} catch {
// Do nothing
}

let RTL: TestingLibraryApi | undefined;
try {
// eslint-disable-next-line import/no-extraneous-dependencies
RTL = require('@testing-library/react');
} catch (error) {
} catch {
// Do nothing
}

Expand Down
6 changes: 3 additions & 3 deletions packages/reassure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
"@babel/preset-env": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.0",
"@types/react": "^18.2.46",
"@babel/runtime": "^7.25.6",
"@types/react": "^18.3.5",
"del-cli": "^5.1.0",
"react-native-builder-bob": "^0.24.0",
"typescript": "^5.5.4"
Expand Down
24 changes: 12 additions & 12 deletions test-apps/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"react": "18.2.0",
"react-native": "0.74.3"
"react": "18.3.1",
"react-native": "0.75.2"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.2",
"@babel/runtime": "^7.25.0",
"@react-native/babel-preset": "0.74.85",
"@react-native/eslint-config": "0.74.85",
"@react-native/metro-config": "0.74.85",
"@react-native/typescript-config": "0.74.85",
"@testing-library/react-native": "^12.5.2",
"@types/react": "^18.2.46",
"@types/react-test-renderer": "^18.0.0",
"@babel/preset-env": "^7.25.4",
"@babel/runtime": "^7.25.6",
"@react-native/babel-preset": "0.75.2",
"@react-native/eslint-config": "0.75.2",
"@react-native/metro-config": "0.75.2",
"@react-native/typescript-config": "0.75.2",
"@testing-library/react-native": "^12.6.1",
"@types/react": "^18.3.5",
"@types/react-test-renderer": "^18.3.0",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-plugin-ft-flow": "^3.0.11",
"jest": "^29.7.0",
"prettier": "^2.8.8",
"react-test-renderer": "18.2.0",
"react-test-renderer": "18.3.1",
"reassure": "workspace:^",
"typescript": "^5.5.4"
},
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["lib/**"]
Expand Down
Loading

0 comments on commit 9ea0882

Please sign in to comment.