Commit 3e0e5f4
committed
refactor: enforce new TS NodeJS ESM resolution and add explicit extensions
Enables the new Node 16 module resolution, inserts the `package.json`
files with `type: module` where needed. Also performs all changes needed
to satisfy the new module resolution. The new resolution ensures our
code is fully ESM compatible. Bundlers are fine without extensions
currently, but this may change and using the explicit extension is
guaranteeing proper ESM and allows us to benefit from TS intellisense.1 parent 9a7fc3d commit 3e0e5f4
File tree
252 files changed
+1793
-1235
lines changed- .circleci
- apps
- account-functions
- functions
- githubWebhook
- prs/src
- app
- login
- pr-table
- columns
- status
- summary
- target
- models
- bazel
- api-golden
- benchmark/app_bundling/test
- browsers/update-script
- spec-bundling/test
- github-actions
- commit-message-based-labels/lib
- feature-request/src
- lock-closed/lib
- post-approval-changes/lib
- slash-commands/lib
- commands
- ng-dev
- caretaker
- check
- handoff
- ci
- gather-test-results
- commit-message
- restore-commit-message
- validate-file
- validate-range
- format
- formatters
- misc
- build-and-link
- new-main-branch
- update-yarn
- ngbot
- pr
- check-target-branches
- checkout
- common
- targeting
- validation
- config
- discover-new-conflicts
- merge
- strategies
- rebase
- pullapprove
- release
- build
- config
- info
- notes
- commits
- precheck
- publish
- actions
- test
- release-notes
- test-utils
- set-dist-tag
- stamping
- versioning
- test
- ts-circular-dependencies
- utils
- git
- testing
- test
- tools
- jasmine
- local-actions/changelog/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
252 files changed
+1793
-1235
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
182 | 187 | | |
183 | 188 | | |
184 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments