@common-stack/generate-plugin 6.0.8-alpha.43 → 6.0.8-alpha.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [6.0.8-alpha.44](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.43...v6.0.8-alpha.44) (2025-02-05)
7
+
8
+ **Note:** Version bump only for package @common-stack/generate-plugin
9
+
6
10
  ## [6.0.8-alpha.43](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.42...v6.0.8-alpha.43) (2025-02-04)
7
11
 
8
12
  **Note:** Version bump only for package @common-stack/generate-plugin
@@ -88,6 +88,14 @@ export default defineConfig(async ({ isSsrBuild }) => {
88
88
  }),
89
89
  tsconfigPaths({ ignoreConfigErrors: true }),
90
90
  ],
91
+ optimizeDeps: {
92
+ esbuildOptions: {
93
+ target: 'esnext',
94
+ },
95
+ },
96
+ build: {
97
+ target: 'esnext',
98
+ },
91
99
  resolve: {
92
100
  alias: {
93
101
  '@app': resolve(directoryName, 'app'),
@@ -97,5 +105,11 @@ export default defineConfig(async ({ isSsrBuild }) => {
97
105
  };
98
106
 
99
107
  // Deep merge custom Vite config from config.json
100
- return mergeWith(viteConfig, config.viteConfig);
108
+ // to merge Arrays properly need to concat.
109
+ const result = mergeWith(config.viteConfig, viteConfig, (objValue, srcValue) => {
110
+ if (Array.isArray(objValue)) {
111
+ return objValue.concat(srcValue);
112
+ }
113
+ });
114
+ return result;
101
115
  });
@@ -150,7 +150,7 @@
150
150
  "@babel/register": "^7.18.9",
151
151
  "@babel/runtime": "^7.20.1",
152
152
  "@common-stack/env-list-loader": "6.0.8-alpha.31",
153
- "@common-stack/generate-plugin": "6.0.8-alpha.42",
153
+ "@common-stack/generate-plugin": "6.0.8-alpha.43",
154
154
  "@common-stack/rollup-vite-utils": "6.0.8-alpha.40",
155
155
  "@emotion/babel-plugin": "^11.11.0",
156
156
  "@graphql-codegen/add": "^5.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/generate-plugin",
3
- "version": "6.0.8-alpha.43",
3
+ "version": "6.0.8-alpha.44",
4
4
  "type": "module",
5
5
  "main": "./lib/index.mjs",
6
6
  "typings": "./lib/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  },
26
26
  "executors": "./executors.json",
27
27
  "generators": "./generators.json",
28
- "gitHead": "46570a4970ffd587ba4049983159e0c4376c7f39"
28
+ "gitHead": "01588b22d452df15ac7a69cc627b96372223697c"
29
29
  }
@@ -150,7 +150,7 @@
150
150
  "@babel/register": "^7.18.9",
151
151
  "@babel/runtime": "^7.20.1",
152
152
  "@common-stack/env-list-loader": "6.0.8-alpha.31",
153
- "@common-stack/generate-plugin": "6.0.8-alpha.42",
153
+ "@common-stack/generate-plugin": "6.0.8-alpha.43",
154
154
  "@common-stack/rollup-vite-utils": "6.0.8-alpha.40",
155
155
  "@emotion/babel-plugin": "^11.11.0",
156
156
  "@graphql-codegen/add": "^5.0.2",