angular/packages/compiler-cli
Paul Gschwendtner 8cc74b608b test(compiler-cli): fix integration test failing on windows due to missing runfile symlinking (#43431)
Currently, some tests in the `compiler-cli/integrationtest` package fail
on Windows because there are spec files which are not Bazel-generated.

When Bazel runs these tests on Windows, the spec file is resolved to
the actual source file (since there is no runfile symlinking/sandboxing).
This breaks the execution of the CJS spec file since it resides in th
`packages/compiler-cli` source folder which has a `package.json` set to
`type: module`.

We fix this by adding a `package.json` file for the integration test
folder and setting `module` to `commonjs`.

PR Close #43431
2021-10-01 18:28:46 +00:00
..
integrationtest test(compiler-cli): fix integration test failing on windows due to missing runfile symlinking (#43431) 2021-10-01 18:28:46 +00:00
linker refactor(compiler-cli): no longer use deep imports into @angular/compiler (#43431) 2021-10-01 18:28:46 +00:00
ngcc refactor(compiler-cli): fix ngcc cluster workers incorrectly being marked as busy with ESM (#43431) 2021-10-01 18:28:46 +00:00
private refactor: switch packages away from deep cross-package imports (#43431) 2021-10-01 18:28:43 +00:00
src refactor(compiler-cli): no longer use deep imports into @angular/compiler (#43431) 2021-10-01 18:28:46 +00:00
test refactor: remove remaining dynamic require usages in package output (#43431) 2021-10-01 18:28:45 +00:00
BUILD.bazel refactor(compiler-cli): do not use __filename or __dirname global for ESM compatibility (#43431) 2021-10-01 18:28:45 +00:00
esbuild.config.js refactor: setup bundling for @angular/compiler-cli package (#43431) 2021-10-01 18:28:42 +00:00
import_meta_url.d.ts refactor(compiler-cli): do not use __filename or __dirname global for ESM compatibility (#43431) 2021-10-01 18:28:45 +00:00
index.ts refactor(compiler-cli): expose code needed by Angular CLI (#43431) 2021-10-01 18:28:43 +00:00
package.json refactor: update yargs to new API for ESM compatibility (#43431) 2021-10-01 18:28:45 +00:00
tsconfig-build.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00