@codefast/typescript-config 0.3.11 → 0.3.12-canary.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @codefast/typescript-config
2
2
 
3
+ ## 0.3.12-canary.1
4
+
5
+ ## 0.3.12-canary.0
6
+
7
+ ### Patch Changes
8
+
9
+ - [`3f647bc`](https://github.com/codefastlabs/codefast/commit/3f647bce65e4c12d3349f06a5a3a80acf13b03de) Thanks [@thevuong](https://github.com/thevuong)! - refactor: align remaining alias references to subpath imports
10
+
3
11
  ## 0.3.11
4
12
 
5
13
  ### Patch Changes
package/README.md CHANGED
@@ -270,18 +270,15 @@ If you need DOM types in a library project, override the `lib` option in your lo
270
270
  }
271
271
  ```
272
272
 
273
- ### Path aliases not resolving
273
+ ### Internal aliases not resolving
274
274
 
275
- When using path aliases, add them to both `tsconfig.json` and your bundler configuration:
275
+ Prefer Node subpath imports via `package.json#imports` for internal aliases:
276
276
 
277
277
  ```json
278
278
  {
279
- "extends": "@codefast/typescript-config/base.json",
280
- "compilerOptions": {
281
- "baseUrl": ".",
282
- "paths": {
283
- "@/*": ["./src/*"]
284
- }
279
+ "type": "module",
280
+ "imports": {
281
+ "#*": ["./src/*", "./src/*.ts", "./src/*.tsx"]
285
282
  }
286
283
  }
287
284
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefast/typescript-config",
3
- "version": "0.3.11",
3
+ "version": "0.3.12-canary.1",
4
4
  "description": "Shared TypeScript configuration for the monorepo",
5
5
  "keywords": [
6
6
  "browser",