From 26d7809503edee744e3cd4c5403d755aff6c669a Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Sat, 28 Dec 2024 15:50:45 -0300 Subject: [PATCH 1/3] ci: switch dev-server test to oauth2 --- .blueprint/github-build-matrix/samples/dev-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.blueprint/github-build-matrix/samples/dev-server.ts b/.blueprint/github-build-matrix/samples/dev-server.ts index d2ada23a090..b88de51c7f7 100644 --- a/.blueprint/github-build-matrix/samples/dev-server.ts +++ b/.blueprint/github-build-matrix/samples/dev-server.ts @@ -9,7 +9,7 @@ export const devServerMatrix = { }, 'ng-default-webpack': { sample: 'samples/ng-default', - args: '--sample-yorc-folder --entities-sample sqllight --client-bundler webpack', + args: '--auth oauth2 --sample-yorc-folder --entities-sample sqllight --client-bundler webpack', }, }, react: { From 7df955c5049f720e4de547933e642b1cad4cc787 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Mon, 6 Jan 2025 15:53:26 -0300 Subject: [PATCH 2/3] Update webpack.custom.js.ejs --- generators/angular/templates/webpack/webpack.custom.js.ejs | 1 + 1 file changed, 1 insertion(+) diff --git a/generators/angular/templates/webpack/webpack.custom.js.ejs b/generators/angular/templates/webpack/webpack.custom.js.ejs index e125f6a0652..b53365e9303 100644 --- a/generators/angular/templates/webpack/webpack.custom.js.ejs +++ b/generators/angular/templates/webpack/webpack.custom.js.ejs @@ -47,6 +47,7 @@ module.exports = async (config, options, targetOptions) => { new ESLintPlugin({ configType: 'flat', extensions: ['ts', 'js', 'html'], + fix: true, }), new WebpackNotifierPlugin({ title: '<%= humanizedBaseName %>', From 522754235ebbbd607f18b321be9370f26b2e68ca Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Wed, 8 Jan 2025 08:49:25 -0300 Subject: [PATCH 3/3] Update webpack.custom.js.ejs --- generators/angular/templates/webpack/webpack.custom.js.ejs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/generators/angular/templates/webpack/webpack.custom.js.ejs b/generators/angular/templates/webpack/webpack.custom.js.ejs index b53365e9303..97eb3c23ff3 100644 --- a/generators/angular/templates/webpack/webpack.custom.js.ejs +++ b/generators/angular/templates/webpack/webpack.custom.js.ejs @@ -27,7 +27,6 @@ const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); const WebpackNotifierPlugin = require('webpack-notifier'); const CopyWebpackPlugin = require('copy-webpack-plugin'); -const ESLintPlugin = require('eslint-webpack-plugin'); const environment = require('./environment'); const proxyConfig = require('./proxy.conf'); @@ -44,11 +43,6 @@ module.exports = async (config, options, targetOptions) => { // PLUGINS if (config.mode === 'development') { config.plugins.push( - new ESLintPlugin({ - configType: 'flat', - extensions: ['ts', 'js', 'html'], - fix: true, - }), new WebpackNotifierPlugin({ title: '<%= humanizedBaseName %>', contentImage: path.join(__dirname, 'logo-jhipster.png'),