History log of /expo/packages/@expo/cli/src/utils/mergeGitIgnorePaths.ts (Results 1 – 5 of 5)
Revision Date Author Comments
# 94b54ec3 20-Jun-2023 Evan Bacon <[email protected]>

chore(cli, docs): update typed routes (#22848)

# Why

I keep getting DMs about this feature being confusing so I'm doing a
pass to try and bring it to parity with the rest of our offering.

<!-

chore(cli, docs): update typed routes (#22848)

# Why

I keep getting DMs about this feature being confusing so I'm doing a
pass to try and bring it to parity with the rest of our offering.

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

# How

- Update the experimental docs to not be a general "TypeScript" guide
but rather, be focused on the "Typed Routes" feature.
- Use the new `experiments.typedRoutes` flag and not an environment
variable. https://github.com/expo/universe/pull/12590
- Drop flag misinfo in the Expo CLI docs "This includes support for the
network inspector."
- Add a slightly more e2e test for the side-effects.
- Document how to actually turn the feature on.

---------

Co-authored-by: Aman Mittal <[email protected]>
Co-authored-by: Expo Bot <[email protected]>

show more ...


# 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 ...


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

fix: expo-env.d.ts no such file or directory (#22106)

# Why

`removeExpoEnvDTS` fails when `expo-env.d.ts` does not exist.
`removeFromGitIgnore` fails when `.gitignore` does not exist.


# 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 ...