-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pre-v1 updates backport (#459)
* refactor: rename `meassurePerformance` to `measureRenders` (#433) * refactor: rename measurePerformance to measureRenders * refactor: expose legacy `measurePerformance` alias * chore: file naming * chore: add changeset * refactor: add `writeFile` option * refactor: warn once * docs: tweaks * refactor: rename MeasureRendersOptions * refactor: rename resetToDefaults * refactor: cleanup logger exports (#434) * chore: yarn upgrade * refactor: cleanup logger exports * chore: add change sets * chore: upgrade deps 2024-01-05 (#435) * chore: update some deps * chore: upgrade babel * chore upgrade types * chore: upgrade line * chore: upgrade react-native * fix: fix logger outputing undefined in report * chore: upgrade danger and turborepo * chore: upgrade eslint config (#437) * chore: upgrade eslint config * refactor: fix issues * chore: update test-app * chore: fix ts * chore: update snapshots * chore: ignore `lib` in test * chore: fix tests * chore: fix ci dangerfile * chore: simplify folder structure (#438) * refactor: revert measureRenders name # Conflicts: # packages/measure/CHANGELOG.md # packages/reassure/CHANGELOG.md # test-apps/native/CHANGELOG.md * refactor: revert reset to defaults rename * chore: reformat * refactor: revert measureRender rename
- Loading branch information
1 parent
b88261f
commit b455bd4
Showing
92 changed files
with
1,930 additions
and
1,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@callstack/reassure-measure': minor | ||
'reassure': minor | ||
'test-app-native': minor | ||
--- | ||
|
||
- Add `writeFile` option to `measureRenders`/`measureFunction`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@callstack/reassure-logger': minor | ||
'@callstack/reassure-compare': patch | ||
'@callstack/reassure-measure': patch | ||
'@callstack/reassure-cli': patch | ||
--- | ||
|
||
refactor: simplify `reassure-logger` package exports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
docusaurus/build/** | ||
**/*.js | ||
packages/**/lib/** | ||
dangerfile.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
module.exports = { | ||
extends: '@callstack/eslint-config', | ||
extends: '@callstack/eslint-config/node', | ||
rules: { | ||
'require-await': 'error', | ||
}, | ||
ignorePatterns: ['docusaurus/**'], | ||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
parserOptions: { | ||
project: './packages/**/tsconfig.json', | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/reassure-cli/src/commands/init.ts → packages/cli/src/commands/init.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/reassure-cli/src/utils/git.ts → packages/cli/src/utils/git.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/reassure-cli/src/utils/logger.ts → packages/cli/src/utils/logger.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": "./tsconfig", | ||
"include": ["src/**/*"], | ||
"exclude": ["**/__tests__/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
packages/reassure-compare/jest.config.js → packages/compare/jest.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module.exports = { | ||
preset: '@testing-library/react-native', | ||
transformIgnorePatterns: ['node_modules/(?!(jest-)?@?react-native|@react-native-community|@react-navigation)'], | ||
modulePathIgnorePatterns: ['<rootDir>/lib/'], | ||
snapshotSerializers: ['@relmify/jest-serializer-strip-ansi/always'], | ||
clearMocks: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.