angular/packages/compiler-cli
Paul Gschwendtner caedef0f5b fix(compiler-cli): update @babel/core dependency and lock version (#48634)
Similar to how the `@babel/core` dependency is managed for the localize
NPM package, the version should be locked. Also the version should
correspond to the version we install for building & testing.

Currently the Babel version allowed by the compiler-cli may not
work given the ESM -> CJS interop. causing errors like:

```
import { types as t } from "@babel/core";
         ^^^^^
SyntaxError: Named export 'types' not found. The requested module '@babel/core' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@babel/core';
const { types: t } = pkg;
```

We can only be confident about the interop if we know the version
installed- is the one we test.

PR Close #48634
2023-01-03 16:36:50 +00:00
..
integrationtest build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
linker refactor: update compiler-cli babel linker to be ESM only (#48521) 2022-12-19 19:50:43 +00:00
ngcc refactor(compiler): remove TypeScript 4.7 compatibility code (#48470) 2023-01-02 13:47:22 +00:00
private refactor(localize): update version of Babel (#44931) 2022-02-24 21:42:54 +00:00
src refactor(compiler): remove TypeScript 4.7 compatibility code (#48470) 2023-01-02 13:47:22 +00:00
test build: make devmode a noop and ensure it never runs (#48521) 2022-12-19 19:50:45 +00:00
BUILD.bazel refactor: remove __ESM_IMPORT_META_URL__ workaround now that we can use ESM (#48521) 2022-12-19 19:50:41 +00:00
esbuild.config.js refactor: remove __ESM_IMPORT_META_URL__ workaround now that we can use ESM (#48521) 2022-12-19 19:50:41 +00:00
index.ts build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
package.json fix(compiler-cli): update @babel/core dependency and lock version (#48634) 2023-01-03 16:36:50 +00:00
tsconfig-build.json refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00