@testing-library/react-native 14.0.0-rc.1 → 14.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fire-event.js.map +1 -0
- package/{build → dist}/helpers/accessibility.js +21 -3
- package/dist/helpers/accessibility.js.map +1 -0
- package/dist/matchers/to-be-on-the-screen.js.map +1 -0
- package/{build → dist}/matchers/to-be-visible.js +1 -1
- package/{build → dist}/matchers/to-be-visible.js.map +1 -1
- package/{build → dist}/matchers/to-have-style.js +1 -1
- package/{build → dist}/matchers/to-have-style.js.map +1 -1
- package/dist/user-event/scroll/scroll-to.js.map +1 -0
- package/docs/api/queries.md +3 -1
- package/docs/api/screen.md +4 -1
- package/docs/guides/quick-start.md +4 -4
- package/matchers.d.ts +1 -1
- package/matchers.js +2 -2
- package/package.json +35 -35
- package/pure.d.ts +1 -1
- package/pure.js +1 -1
- package/build/fire-event.js.map +0 -1
- package/build/helpers/accessibility.js.map +0 -1
- package/build/matchers/to-be-on-the-screen.js.map +0 -1
- package/build/user-event/scroll/scroll-to.js.map +0 -1
- package/docs/agents/architecture.md +0 -21
- package/docs/agents/build-and-validation.md +0 -27
- package/docs/agents/code-style.md +0 -12
- package/docs/agents/example-apps.md +0 -56
- package/docs/agents/git-workflow.md +0 -13
- package/docs/agents/testing.md +0 -20
- /package/{build → dist}/act.d.ts +0 -0
- /package/{build → dist}/act.js +0 -0
- /package/{build → dist}/act.js.map +0 -0
- /package/{build → dist}/cleanup.d.ts +0 -0
- /package/{build → dist}/cleanup.js +0 -0
- /package/{build → dist}/cleanup.js.map +0 -0
- /package/{build → dist}/config.d.ts +0 -0
- /package/{build → dist}/config.js +0 -0
- /package/{build → dist}/config.js.map +0 -0
- /package/{build → dist}/event-builder/base.d.ts +0 -0
- /package/{build → dist}/event-builder/base.js +0 -0
- /package/{build → dist}/event-builder/base.js.map +0 -0
- /package/{build → dist}/event-builder/common.d.ts +0 -0
- /package/{build → dist}/event-builder/common.js +0 -0
- /package/{build → dist}/event-builder/common.js.map +0 -0
- /package/{build → dist}/event-builder/index.d.ts +0 -0
- /package/{build → dist}/event-builder/index.js +0 -0
- /package/{build → dist}/event-builder/index.js.map +0 -0
- /package/{build → dist}/event-builder/scroll.d.ts +0 -0
- /package/{build → dist}/event-builder/scroll.js +0 -0
- /package/{build → dist}/event-builder/scroll.js.map +0 -0
- /package/{build → dist}/event-builder/text.d.ts +0 -0
- /package/{build → dist}/event-builder/text.js +0 -0
- /package/{build → dist}/event-builder/text.js.map +0 -0
- /package/{build → dist}/event-handler.d.ts +0 -0
- /package/{build → dist}/event-handler.js +0 -0
- /package/{build → dist}/event-handler.js.map +0 -0
- /package/{build → dist}/fire-event.d.ts +0 -0
- /package/{build → dist}/fire-event.js +0 -0
- /package/{build → dist}/flush-micro-tasks.d.ts +0 -0
- /package/{build → dist}/flush-micro-tasks.js +0 -0
- /package/{build → dist}/flush-micro-tasks.js.map +0 -0
- /package/{build → dist}/helpers/accessibility.d.ts +0 -0
- /package/{build → dist}/helpers/component-tree.d.ts +0 -0
- /package/{build → dist}/helpers/component-tree.js +0 -0
- /package/{build → dist}/helpers/component-tree.js.map +0 -0
- /package/{build → dist}/helpers/debug.d.ts +0 -0
- /package/{build → dist}/helpers/debug.js +0 -0
- /package/{build → dist}/helpers/debug.js.map +0 -0
- /package/{build → dist}/helpers/errors.d.ts +0 -0
- /package/{build → dist}/helpers/errors.js +0 -0
- /package/{build → dist}/helpers/errors.js.map +0 -0
- /package/{build → dist}/helpers/find-all.d.ts +0 -0
- /package/{build → dist}/helpers/find-all.js +0 -0
- /package/{build → dist}/helpers/find-all.js.map +0 -0
- /package/{build → dist}/helpers/format-element.d.ts +0 -0
- /package/{build → dist}/helpers/format-element.js +0 -0
- /package/{build → dist}/helpers/format-element.js.map +0 -0
- /package/{build → dist}/helpers/host-component-names.d.ts +0 -0
- /package/{build → dist}/helpers/host-component-names.js +0 -0
- /package/{build → dist}/helpers/host-component-names.js.map +0 -0
- /package/{build → dist}/helpers/logger.d.ts +0 -0
- /package/{build → dist}/helpers/logger.js +0 -0
- /package/{build → dist}/helpers/logger.js.map +0 -0
- /package/{build → dist}/helpers/map-props.d.ts +0 -0
- /package/{build → dist}/helpers/map-props.js +0 -0
- /package/{build → dist}/helpers/map-props.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-state.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-state.js +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-state.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-value.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-value.js +0 -0
- /package/{build → dist}/helpers/matchers/match-accessibility-value.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-array-prop.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-array-prop.js +0 -0
- /package/{build → dist}/helpers/matchers/match-array-prop.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-label-text.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-label-text.js +0 -0
- /package/{build → dist}/helpers/matchers/match-label-text.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-object-prop.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-object-prop.js +0 -0
- /package/{build → dist}/helpers/matchers/match-object-prop.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-string-prop.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-string-prop.js +0 -0
- /package/{build → dist}/helpers/matchers/match-string-prop.js.map +0 -0
- /package/{build → dist}/helpers/matchers/match-text-content.d.ts +0 -0
- /package/{build → dist}/helpers/matchers/match-text-content.js +0 -0
- /package/{build → dist}/helpers/matchers/match-text-content.js.map +0 -0
- /package/{build → dist}/helpers/object.d.ts +0 -0
- /package/{build → dist}/helpers/object.js +0 -0
- /package/{build → dist}/helpers/object.js.map +0 -0
- /package/{build → dist}/helpers/pointer-events.d.ts +0 -0
- /package/{build → dist}/helpers/pointer-events.js +0 -0
- /package/{build → dist}/helpers/pointer-events.js.map +0 -0
- /package/{build → dist}/helpers/text-content.d.ts +0 -0
- /package/{build → dist}/helpers/text-content.js +0 -0
- /package/{build → dist}/helpers/text-content.js.map +0 -0
- /package/{build → dist}/helpers/text-input.d.ts +0 -0
- /package/{build → dist}/helpers/text-input.js +0 -0
- /package/{build → dist}/helpers/text-input.js.map +0 -0
- /package/{build → dist}/helpers/timers.d.ts +0 -0
- /package/{build → dist}/helpers/timers.js +0 -0
- /package/{build → dist}/helpers/timers.js.map +0 -0
- /package/{build → dist}/helpers/validate-options.d.ts +0 -0
- /package/{build → dist}/helpers/validate-options.js +0 -0
- /package/{build → dist}/helpers/validate-options.js.map +0 -0
- /package/{build → dist}/helpers/wrap-async.d.ts +0 -0
- /package/{build → dist}/helpers/wrap-async.js +0 -0
- /package/{build → dist}/helpers/wrap-async.js.map +0 -0
- /package/{build → dist}/index.d.ts +0 -0
- /package/{build → dist}/index.js +0 -0
- /package/{build → dist}/index.js.map +0 -0
- /package/{build → dist}/matchers/extend-expect.d.ts +0 -0
- /package/{build → dist}/matchers/extend-expect.js +0 -0
- /package/{build → dist}/matchers/extend-expect.js.map +0 -0
- /package/{build → dist}/matchers/index.d.ts +0 -0
- /package/{build → dist}/matchers/index.js +0 -0
- /package/{build → dist}/matchers/index.js.map +0 -0
- /package/{build → dist}/matchers/to-be-busy.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-busy.js +0 -0
- /package/{build → dist}/matchers/to-be-busy.js.map +0 -0
- /package/{build → dist}/matchers/to-be-checked.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-checked.js +0 -0
- /package/{build → dist}/matchers/to-be-checked.js.map +0 -0
- /package/{build → dist}/matchers/to-be-disabled.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-disabled.js +0 -0
- /package/{build → dist}/matchers/to-be-disabled.js.map +0 -0
- /package/{build → dist}/matchers/to-be-empty-element.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-empty-element.js +0 -0
- /package/{build → dist}/matchers/to-be-empty-element.js.map +0 -0
- /package/{build → dist}/matchers/to-be-expanded.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-expanded.js +0 -0
- /package/{build → dist}/matchers/to-be-expanded.js.map +0 -0
- /package/{build → dist}/matchers/to-be-on-the-screen.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-on-the-screen.js +0 -0
- /package/{build → dist}/matchers/to-be-partially-checked.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-partially-checked.js +0 -0
- /package/{build → dist}/matchers/to-be-partially-checked.js.map +0 -0
- /package/{build → dist}/matchers/to-be-selected.d.ts +0 -0
- /package/{build → dist}/matchers/to-be-selected.js +0 -0
- /package/{build → dist}/matchers/to-be-selected.js.map +0 -0
- /package/{build → dist}/matchers/to-be-visible.d.ts +0 -0
- /package/{build → dist}/matchers/to-contain-element.d.ts +0 -0
- /package/{build → dist}/matchers/to-contain-element.js +0 -0
- /package/{build → dist}/matchers/to-contain-element.js.map +0 -0
- /package/{build → dist}/matchers/to-have-accessibility-value.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-accessibility-value.js +0 -0
- /package/{build → dist}/matchers/to-have-accessibility-value.js.map +0 -0
- /package/{build → dist}/matchers/to-have-accessible-name.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-accessible-name.js +0 -0
- /package/{build → dist}/matchers/to-have-accessible-name.js.map +0 -0
- /package/{build → dist}/matchers/to-have-display-value.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-display-value.js +0 -0
- /package/{build → dist}/matchers/to-have-display-value.js.map +0 -0
- /package/{build → dist}/matchers/to-have-prop.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-prop.js +0 -0
- /package/{build → dist}/matchers/to-have-prop.js.map +0 -0
- /package/{build → dist}/matchers/to-have-style.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-text-content.d.ts +0 -0
- /package/{build → dist}/matchers/to-have-text-content.js +0 -0
- /package/{build → dist}/matchers/to-have-text-content.js.map +0 -0
- /package/{build → dist}/matchers/types.d.ts +0 -0
- /package/{build → dist}/matchers/types.js +0 -0
- /package/{build → dist}/matchers/types.js.map +0 -0
- /package/{build → dist}/matchers/utils.d.ts +0 -0
- /package/{build → dist}/matchers/utils.js +0 -0
- /package/{build → dist}/matchers/utils.js.map +0 -0
- /package/{build → dist}/matches.d.ts +0 -0
- /package/{build → dist}/matches.js +0 -0
- /package/{build → dist}/matches.js.map +0 -0
- /package/{build → dist}/native-state.d.ts +0 -0
- /package/{build → dist}/native-state.js +0 -0
- /package/{build → dist}/native-state.js.map +0 -0
- /package/{build → dist}/pure.d.ts +0 -0
- /package/{build → dist}/pure.js +0 -0
- /package/{build → dist}/pure.js.map +0 -0
- /package/{build → dist}/queries/display-value.d.ts +0 -0
- /package/{build → dist}/queries/display-value.js +0 -0
- /package/{build → dist}/queries/display-value.js.map +0 -0
- /package/{build → dist}/queries/hint-text.d.ts +0 -0
- /package/{build → dist}/queries/hint-text.js +0 -0
- /package/{build → dist}/queries/hint-text.js.map +0 -0
- /package/{build → dist}/queries/label-text.d.ts +0 -0
- /package/{build → dist}/queries/label-text.js +0 -0
- /package/{build → dist}/queries/label-text.js.map +0 -0
- /package/{build → dist}/queries/make-queries.d.ts +0 -0
- /package/{build → dist}/queries/make-queries.js +0 -0
- /package/{build → dist}/queries/make-queries.js.map +0 -0
- /package/{build → dist}/queries/options.d.ts +0 -0
- /package/{build → dist}/queries/options.js +0 -0
- /package/{build → dist}/queries/options.js.map +0 -0
- /package/{build → dist}/queries/placeholder-text.d.ts +0 -0
- /package/{build → dist}/queries/placeholder-text.js +0 -0
- /package/{build → dist}/queries/placeholder-text.js.map +0 -0
- /package/{build → dist}/queries/role.d.ts +0 -0
- /package/{build → dist}/queries/role.js +0 -0
- /package/{build → dist}/queries/role.js.map +0 -0
- /package/{build → dist}/queries/test-id.d.ts +0 -0
- /package/{build → dist}/queries/test-id.js +0 -0
- /package/{build → dist}/queries/test-id.js.map +0 -0
- /package/{build → dist}/queries/text.d.ts +0 -0
- /package/{build → dist}/queries/text.js +0 -0
- /package/{build → dist}/queries/text.js.map +0 -0
- /package/{build → dist}/render-hook.d.ts +0 -0
- /package/{build → dist}/render-hook.js +0 -0
- /package/{build → dist}/render-hook.js.map +0 -0
- /package/{build → dist}/render.d.ts +0 -0
- /package/{build → dist}/render.js +0 -0
- /package/{build → dist}/render.js.map +0 -0
- /package/{build → dist}/screen.d.ts +0 -0
- /package/{build → dist}/screen.js +0 -0
- /package/{build → dist}/screen.js.map +0 -0
- /package/{build → dist}/test-utils/console.d.ts +0 -0
- /package/{build → dist}/test-utils/console.js +0 -0
- /package/{build → dist}/test-utils/console.js.map +0 -0
- /package/{build → dist}/test-utils/events.d.ts +0 -0
- /package/{build → dist}/test-utils/events.js +0 -0
- /package/{build → dist}/test-utils/events.js.map +0 -0
- /package/{build → dist}/test-utils/json.d.ts +0 -0
- /package/{build → dist}/test-utils/json.js +0 -0
- /package/{build → dist}/test-utils/json.js.map +0 -0
- /package/{build → dist}/test-utils/react-version-gates.d.ts +0 -0
- /package/{build → dist}/test-utils/react-version-gates.js +0 -0
- /package/{build → dist}/test-utils/react-version-gates.js.map +0 -0
- /package/{build → dist}/test-utils/timers.d.ts +0 -0
- /package/{build → dist}/test-utils/timers.js +0 -0
- /package/{build → dist}/test-utils/timers.js.map +0 -0
- /package/{build → dist}/test-utils/version.d.ts +0 -0
- /package/{build → dist}/test-utils/version.js +0 -0
- /package/{build → dist}/test-utils/version.js.map +0 -0
- /package/{build → dist}/types.d.ts +0 -0
- /package/{build → dist}/types.js +0 -0
- /package/{build → dist}/types.js.map +0 -0
- /package/{build → dist}/user-event/clear.d.ts +0 -0
- /package/{build → dist}/user-event/clear.js +0 -0
- /package/{build → dist}/user-event/clear.js.map +0 -0
- /package/{build → dist}/user-event/index.d.ts +0 -0
- /package/{build → dist}/user-event/index.js +0 -0
- /package/{build → dist}/user-event/index.js.map +0 -0
- /package/{build → dist}/user-event/paste.d.ts +0 -0
- /package/{build → dist}/user-event/paste.js +0 -0
- /package/{build → dist}/user-event/paste.js.map +0 -0
- /package/{build → dist}/user-event/press/index.d.ts +0 -0
- /package/{build → dist}/user-event/press/index.js +0 -0
- /package/{build → dist}/user-event/press/index.js.map +0 -0
- /package/{build → dist}/user-event/press/press.d.ts +0 -0
- /package/{build → dist}/user-event/press/press.js +0 -0
- /package/{build → dist}/user-event/press/press.js.map +0 -0
- /package/{build → dist}/user-event/scroll/index.d.ts +0 -0
- /package/{build → dist}/user-event/scroll/index.js +0 -0
- /package/{build → dist}/user-event/scroll/index.js.map +0 -0
- /package/{build → dist}/user-event/scroll/scroll-to.d.ts +0 -0
- /package/{build → dist}/user-event/scroll/scroll-to.js +0 -0
- /package/{build → dist}/user-event/scroll/utils.d.ts +0 -0
- /package/{build → dist}/user-event/scroll/utils.js +0 -0
- /package/{build → dist}/user-event/scroll/utils.js.map +0 -0
- /package/{build → dist}/user-event/setup/index.d.ts +0 -0
- /package/{build → dist}/user-event/setup/index.js +0 -0
- /package/{build → dist}/user-event/setup/index.js.map +0 -0
- /package/{build → dist}/user-event/setup/setup.d.ts +0 -0
- /package/{build → dist}/user-event/setup/setup.js +0 -0
- /package/{build → dist}/user-event/setup/setup.js.map +0 -0
- /package/{build → dist}/user-event/type/index.d.ts +0 -0
- /package/{build → dist}/user-event/type/index.js +0 -0
- /package/{build → dist}/user-event/type/index.js.map +0 -0
- /package/{build → dist}/user-event/type/parse-keys.d.ts +0 -0
- /package/{build → dist}/user-event/type/parse-keys.js +0 -0
- /package/{build → dist}/user-event/type/parse-keys.js.map +0 -0
- /package/{build → dist}/user-event/type/type.d.ts +0 -0
- /package/{build → dist}/user-event/type/type.js +0 -0
- /package/{build → dist}/user-event/type/type.js.map +0 -0
- /package/{build → dist}/user-event/utils/content-size.d.ts +0 -0
- /package/{build → dist}/user-event/utils/content-size.js +0 -0
- /package/{build → dist}/user-event/utils/content-size.js.map +0 -0
- /package/{build → dist}/user-event/utils/dispatch-event.d.ts +0 -0
- /package/{build → dist}/user-event/utils/dispatch-event.js +0 -0
- /package/{build → dist}/user-event/utils/dispatch-event.js.map +0 -0
- /package/{build → dist}/user-event/utils/index.d.ts +0 -0
- /package/{build → dist}/user-event/utils/index.js +0 -0
- /package/{build → dist}/user-event/utils/index.js.map +0 -0
- /package/{build → dist}/user-event/utils/wait.d.ts +0 -0
- /package/{build → dist}/user-event/utils/wait.js +0 -0
- /package/{build → dist}/user-event/utils/wait.js.map +0 -0
- /package/{build → dist}/wait-for-element-to-be-removed.d.ts +0 -0
- /package/{build → dist}/wait-for-element-to-be-removed.js +0 -0
- /package/{build → dist}/wait-for-element-to-be-removed.js.map +0 -0
- /package/{build → dist}/wait-for.d.ts +0 -0
- /package/{build → dist}/wait-for.js +0 -0
- /package/{build → dist}/wait-for.js.map +0 -0
- /package/{build → dist}/within.d.ts +0 -0
- /package/{build → dist}/within.js +0 -0
- /package/{build → dist}/within.js.map +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# TypeScript And Code Style
|
|
2
|
-
|
|
3
|
-
## Linting and formatting
|
|
4
|
-
|
|
5
|
-
- ESLint uses `@callstack/eslint-config` together with `typescript-eslint`.
|
|
6
|
-
- Important enforced rules include `no-console` and consistent type imports.
|
|
7
|
-
- Prettier is the formatter.
|
|
8
|
-
- Formatting defaults include single quotes and trailing commas.
|
|
9
|
-
|
|
10
|
-
## Imports
|
|
11
|
-
|
|
12
|
-
- Keep imports sorted with `eslint-plugin-simple-import-sort`.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Example App Regeneration
|
|
2
|
-
|
|
3
|
-
## General workflow
|
|
4
|
-
|
|
5
|
-
- Regenerate Expo example apps in a temporary directory, then copy the fresh scaffold into place.
|
|
6
|
-
- Before replacing an example app, move the current app directory to `/tmp` so repo-specific files can be restored selectively.
|
|
7
|
-
- After copying a generated app into `examples/`, remove the generated `.git` directory and `node_modules`, then reinstall from inside the repo workspace.
|
|
8
|
-
|
|
9
|
-
## `examples/basic`
|
|
10
|
-
|
|
11
|
-
- Generate from the Expo blank TypeScript template:
|
|
12
|
-
- `yarn create expo-app /tmp/rntl-basic-fresh --template blank-typescript --yes`
|
|
13
|
-
- Restore these repo-specific files on top of the fresh scaffold:
|
|
14
|
-
- `App.tsx`
|
|
15
|
-
- `components/`
|
|
16
|
-
- `__tests__/`
|
|
17
|
-
- `theme.ts`
|
|
18
|
-
- `jest.config.js`
|
|
19
|
-
- `jest-setup.ts`
|
|
20
|
-
- `babel.config.js`
|
|
21
|
-
- `eslint.config.mjs`
|
|
22
|
-
- `README.md`
|
|
23
|
-
- `.expo-shared/assets.json` if it existed before
|
|
24
|
-
- Keep the fresh Expo entrypoint `index.ts`.
|
|
25
|
-
- Update `package.json` and `app.json` to match repo naming and scripts.
|
|
26
|
-
|
|
27
|
-
## `examples/cookbook`
|
|
28
|
-
|
|
29
|
-
- Generate from a router-enabled Expo scaffold:
|
|
30
|
-
- `yarn create expo-app /tmp/rntl-cookbook-fresh --example with-router --yes`
|
|
31
|
-
- Restore these repo-specific files on top of the fresh scaffold:
|
|
32
|
-
- `app/`
|
|
33
|
-
- tutorial test directories such as `basics-tutorial/` and `basics-tutorial-react-strict-dom/`
|
|
34
|
-
- `theme.ts`
|
|
35
|
-
- `jest.config.js`
|
|
36
|
-
- `jest-setup.ts`
|
|
37
|
-
- `babel.config.js`
|
|
38
|
-
- `.eslintrc`
|
|
39
|
-
- `.eslintignore`
|
|
40
|
-
- `README.md`
|
|
41
|
-
- custom assets not present in the scaffold, such as `assets/gradientRNBanner.png`
|
|
42
|
-
- `.expo-shared/assets.json` if it existed before
|
|
43
|
-
- Keep the fresh Expo Router entry setup.
|
|
44
|
-
- Reapply the cookbook-specific dependency set in `package.json` and `app.json`.
|
|
45
|
-
|
|
46
|
-
## Validation after regeneration
|
|
47
|
-
|
|
48
|
-
- Run these commands from inside the regenerated app directory:
|
|
49
|
-
- `yarn expo install --check`
|
|
50
|
-
- `yarn lint`
|
|
51
|
-
- `yarn typecheck`
|
|
52
|
-
- `yarn test --watchman=false`
|
|
53
|
-
|
|
54
|
-
## Lockfile guidance
|
|
55
|
-
|
|
56
|
-
- If the fresh scaffold causes dependency-resolution churn, restore the previous `yarn.lock` first and then run `yarn install` instead of re-resolving the full tree.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Git, Releases, And PR Workflow
|
|
2
|
-
|
|
3
|
-
## Commits and releases
|
|
4
|
-
|
|
5
|
-
- Use Conventional Commits such as `fix:`, `feat:`, and `chore:`.
|
|
6
|
-
- Releases are managed with `release-it`.
|
|
7
|
-
|
|
8
|
-
## PR draft workflow
|
|
9
|
-
|
|
10
|
-
- Maintain `PR.txt` at the repository root using the structure from `.github/pull_request_template.md`.
|
|
11
|
-
- Keep `PR.txt` aligned with the current branch diff relative to `origin/main`.
|
|
12
|
-
- Include tests actually run and any known validation gaps in `PR.txt`.
|
|
13
|
-
- Do not commit `PR.txt`.
|
package/docs/agents/testing.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Testing Conventions
|
|
2
|
-
|
|
3
|
-
## Test stack
|
|
4
|
-
|
|
5
|
-
- Test framework: Jest with the `react-native` preset
|
|
6
|
-
- Test environment setup: `jest-setup.ts`
|
|
7
|
-
- Auto-cleanup is configured from `src/index.ts` unless explicitly skipped
|
|
8
|
-
|
|
9
|
-
## Test location and coverage
|
|
10
|
-
|
|
11
|
-
- Library tests are typically colocated under `src/**/__tests__`
|
|
12
|
-
- Coverage is collected from `src` and excludes test files
|
|
13
|
-
|
|
14
|
-
## Test organization
|
|
15
|
-
|
|
16
|
-
- Use `describe` blocks to group tests by theme.
|
|
17
|
-
- Do not put all tests into a single `describe`.
|
|
18
|
-
- Avoid nested `describe` blocks.
|
|
19
|
-
- If a `describe` would contain only one test, make that test top-level instead.
|
|
20
|
-
- Prefer `test` over `it`.
|
/package/{build → dist}/act.d.ts
RENAMED
|
File without changes
|
/package/{build → dist}/act.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{build → dist}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{build → dist}/pure.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|