Skip to content

Commit e8f3fc9

Browse files
chore(deps): update crate-ci/typos action to v1.41.0 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: pshu <pishu.spf@antfin.com>
1 parent 740ce57 commit e8f3fc9

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
steps:
104104
- uses: taiki-e/checkout-action@v1
105105

106-
- uses: crate-ci/typos@v1.26.0
106+
- uses: crate-ci/typos@5c19779cb52ea50e151f5a10333ccd269227b5ae # v1.41.0
107107
with:
108108
files: .
109109

.typos.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
extend-exclude = [
77
"CHANGELOG.md",
88
]
9+
10+
[default.extend-words]
11+
12+
[default.extend-identifiers]
13+
PnP = "PnP"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ The options are aligned with [enhanced-resolve](https://github.com/webpack/enhan
168168
### Other Options
169169

170170
| Field | Default | Description |
171-
|---------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
172-
| tsconfig | None | TypeScript related config for resolver |
173-
| tsconfig.configFile | | A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
174-
| tsconfig.references | `[]` | - 'auto': inherits from TypeScript config <br/> - `string []`: relative path (based on directory of the referencing tsconfig file) or absolute path of referenced project's tsconfig |
175-
| enablePnp | false | Enable Yarn Plug'n'Play support |
176-
| pnpManifest | None | Absolute path to the Yarn Plug'n'Play manifest file; takes effect when PnP is enabled. <br/> - `None`: PnP manifest located in the nearest ancestor directory from every resolving's path; <br/> - `Some(PathBuf)`: Use a specific PnP manifest file. This is useful when enabling PnP with `enableGlobalCache: true`, but users must ensure there are no cross-project requires across Yarn PnP projects. |
171+
| ------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
172+
| tsconfig | None | TypeScript related config for resolver |
173+
| tsconfig.configFile | | A relative path to the tsconfig file based on `cwd`, or an absolute path of tsconfig file. |
174+
| tsconfig.references | `[]` | - 'auto': inherits from TypeScript config <br/> - `string []`: relative path (based on directory of the referencing tsconfig file) or absolute path of referenced project's tsconfig |
175+
| enablePnp | false | Enable Yarn Plug'n'Play support |
176+
| pnpManifest | None | Absolute path to the Yarn Plug'n'Play manifest file; takes effect when PnP is enabled. <br/> - `None`: PnP manifest located in the nearest ancestor directory from every resolving's path; <br/> - `Some(PathBuf)`: Use a specific PnP manifest file. This is useful when enabling PnP with `enableGlobalCache: true`, but users must ensure there are no cross-project requires across Yarn PnP projects. |
177177

178178
In the context of `@rspack/resolver`, the `tsconfig.references` option helps isolate the `paths` configurations of different TypeScript projects.
179179
This ensures that path aliases defined in one TypeScript project do not unintentionally affect the resolving behavior of another.

0 commit comments

Comments
 (0)