Skip to content

Commit

Permalink
fix(angular): ajv hoisting issue
Browse files Browse the repository at this point in the history
chore(angular): update webpack ignored deps
  • Loading branch information
Coly010 committed Feb 6, 2024
1 parent 9046eef commit ac7f2cc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions e2e/angular-core/src/projects.test.ts
Expand Up @@ -218,8 +218,7 @@ describe('Angular Projects', () => {
removeFile(`${app1}/src/app/inline-template.component.ts`);
}, 1000000);

// TODO(crystal, @jaysoo): enable this test when buildable libs work
xit('should build the dependent buildable lib and its child lib, as well as the app', async () => {
it('should build the dependent buildable lib and its child lib, as well as the app', async () => {
// ARRANGE
const buildableLib = uniq('buildlib1');
const buildableChildLib = uniq('buildlib2');
Expand Down
Expand Up @@ -103,7 +103,7 @@ export function executeWebpackBrowserBuilder(
switchMap(({ executeBrowserBuilder }) =>
executeBrowserBuilder(delegateBuilderOptions, context as any, {
webpackConfiguration: (baseWebpackConfig) => {
if (!buildLibsFromSource && delegateBuilderOptions.watch) {
if (!buildLibsFromSource) {
const workspaceDependencies = dependencies
.filter((dep) => !isNpmProject(dep.node))
.map((dep) => dep.node.name);
Expand Down
1 change: 1 addition & 0 deletions packages/next/package.json
Expand Up @@ -49,6 +49,7 @@
"@nx/eslint": "file:../eslint",
"@nx/react": "file:../react",
"@nx/web": "file:../web",
"@nx/webpack": "file:../webpack",
"@nx/workspace": "file:../workspace"
},
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/webpack/.eslintrc.json
Expand Up @@ -46,7 +46,8 @@
"source-map-loader",
"swc-loader",
"@swc/core",
"ts-loader"
"ts-loader",
"ajv"
]
}
]
Expand Down
1 change: 1 addition & 0 deletions packages/webpack/package.json
Expand Up @@ -30,6 +30,7 @@
},
"dependencies": {
"@babel/core": "^7.23.2",
"ajv": "^8.12.0",
"autoprefixer": "^10.4.9",
"babel-loader": "^9.1.2",
"browserslist": "^4.21.4",
Expand Down

0 comments on commit ac7f2cc

Please sign in to comment.