History log of /expo/packages/@expo/cli/src/utils/__tests__/mergeGitIgnorePaths-test.ts (Results 1 – 3 of 3)
Revision Date Author Comments
# 44873157 04-May-2023 Mark Lawlor <[email protected]>

fix: upsertGitIgnoreContents from creating duplicate entries (#22127)

# Why

The regex pattern to detect existing contents in
`upsertGitIgnoreContents`checking for trailing white space. This case

fix: upsertGitIgnoreContents from creating duplicate entries (#22127)

# Why

The regex pattern to detect existing contents in
`upsertGitIgnoreContents`checking for trailing white space. This cases a
false negative and the content is duplicated.

show more ...


# eceee436 13-Apr-2023 Mark Lawlor <[email protected]>

feat(@expo/cli): manage expo-env.d.ts when EXPO_USE_TYPED_ROUTES is enabled (#22096)

# Why

Sister PR to https://github.com/expo/router/pull/481 and
https://github.com/expo/router/pull/477

Thi

feat(@expo/cli): manage expo-env.d.ts when EXPO_USE_TYPED_ROUTES is enabled (#22096)

# Why

Sister PR to https://github.com/expo/router/pull/481 and
https://github.com/expo/router/pull/477

This automatically creates a `expo-env.d.ts` file that is managed by
Expo. It will populate the `tsconfig.json` and add it to `gitignore`.
The file is ignored as it is managed by Expo CLI and may change between
patches.

Additionally, types are now generated when bundling.

# Test Plan

Create a new Expo Router application using the branch
`marklawlor/expo-env`

`EXPO_USE_TYPED_ROUTES=true nexpo start`

Observe that

- [ ] `expo-env.d.ts` was created
- [ ] New types are available (such as `hover` on PressableState)
- [ ] `expo-env.d.ts` is added to the `gitignore file

Running the `nexpo start` without `EXPO_USE_TYPED_ROUTES` will remove
the generated content.

# Checklist

Documentation will be added to the Expo Router docs

- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `expo prebuild` & EAS Build (eg:
updated a module plugin).

show more ...


# 8d307f52 23-Mar-2022 Evan Bacon <[email protected]>

chore: refactor `expo/cli` to `@expo/cli` package (#16717)

* chore: refactor `expo/cli` to `@expo/cli` package

* Update CODEOWNERS

* fix linking

* fix lint script

* fix build file

* f

chore: refactor `expo/cli` to `@expo/cli` package (#16717)

* chore: refactor `expo/cli` to `@expo/cli` package

* Update CODEOWNERS

* fix linking

* fix lint script

* fix build file

* fix e2e tests

* lint before build

* use mock version

show more ...