@common-stack/generate-plugin 6.0.8-alpha.42 → 6.0.8-alpha.43
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 +4 -0
- package/lib/generators/add-frontend/frameworks/antui/entry.client.tsx.template +6 -10
- package/lib/generators/add-frontend/frameworks/chakraui/entry.client.tsx.template +1 -6
- package/lib/generators/add-frontend/frameworks/tailwindui/entry.client.tsx.template +3 -10
- package/lib/generators/add-fullstack/files/Jenkinsfile +1 -1
- package/lib/generators/add-fullstack/files/package.json +1 -1
- package/package.json +2 -2
- package/src/generators/add-frontend/frameworks/antui/entry.client.tsx.template +6 -10
- package/src/generators/add-frontend/frameworks/chakraui/entry.client.tsx.template +1 -6
- package/src/generators/add-frontend/frameworks/tailwindui/entry.client.tsx.template +3 -10
- package/src/generators/add-fullstack/files/Jenkinsfile +1 -1
- package/src/generators/add-fullstack/files/package.json +1 -1
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.43](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.42...v6.0.8-alpha.43) (2025-02-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
9
|
+
|
|
6
10
|
## [6.0.8-alpha.42](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.41...v6.0.8-alpha.42) (2025-02-03)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
@@ -13,8 +13,8 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
13
13
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
14
14
|
import { InversifyProvider } from '@common-stack/client-react';
|
|
15
15
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
16
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
17
|
-
import { persistStore } from 'redux-persist';
|
|
16
|
+
// import { PersistGate } from 'redux-persist/integration/react';
|
|
17
|
+
// import { persistStore } from 'redux-persist';
|
|
18
18
|
import { CacheProvider } from '@emotion/react';
|
|
19
19
|
import i18next from 'i18next';
|
|
20
20
|
import { I18nextProvider, initReactI18next } from 'react-i18next';
|
|
@@ -36,7 +36,7 @@ import { LocaleContext } from './context';
|
|
|
36
36
|
|
|
37
37
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
38
38
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
39
|
-
const persistor = persistStore(store);
|
|
39
|
+
// const persistor = persistStore(store);
|
|
40
40
|
const antCache = createCache();
|
|
41
41
|
const cache = createEmotionCache();
|
|
42
42
|
|
|
@@ -79,13 +79,9 @@ async function hydrate() {
|
|
|
79
79
|
<ReduxProvider store={store}>
|
|
80
80
|
<SlotFillProvider>
|
|
81
81
|
<InversifyProvider container={container} modules={clientModules}>
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<RemixBrowser />
|
|
86
|
-
</ApolloProvider>
|
|
87
|
-
)}
|
|
88
|
-
</PersistGate>
|
|
82
|
+
<ApolloProvider client={client}>
|
|
83
|
+
<RemixBrowser />
|
|
84
|
+
</ApolloProvider>
|
|
89
85
|
</InversifyProvider>
|
|
90
86
|
</SlotFillProvider>
|
|
91
87
|
</ReduxProvider>
|
|
@@ -6,8 +6,6 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
6
6
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
7
7
|
import { InversifyProvider, PluginArea } from '@common-stack/client-react';
|
|
8
8
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
9
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
10
|
-
import { persistStore } from 'redux-persist';
|
|
11
9
|
import { CacheProvider } from '@emotion/react';
|
|
12
10
|
|
|
13
11
|
// @ts-ignore
|
|
@@ -31,7 +29,6 @@ import { ClientStyleContext, LocaleContext } from './context';
|
|
|
31
29
|
|
|
32
30
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
33
31
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
34
|
-
const persistor = persistStore(store);
|
|
35
32
|
|
|
36
33
|
(window as any).__remixStore = store;
|
|
37
34
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -95,9 +92,7 @@ async function hydrate() {
|
|
|
95
92
|
<ReduxProvider store={store}>
|
|
96
93
|
<SlotFillProvider>
|
|
97
94
|
<InversifyProvider container={container} modules={clientModules}>
|
|
98
|
-
<
|
|
99
|
-
{() => <RemixBrowser />}
|
|
100
|
-
</PersistGate>
|
|
95
|
+
<RemixBrowser />
|
|
101
96
|
</InversifyProvider>
|
|
102
97
|
</SlotFillProvider>
|
|
103
98
|
</ReduxProvider>
|
|
@@ -12,8 +12,6 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
12
12
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
13
13
|
import { InversifyProvider } from '@common-stack/client-react';
|
|
14
14
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
15
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
16
|
-
import { persistStore } from 'redux-persist';
|
|
17
15
|
import i18next from 'i18next';
|
|
18
16
|
import { I18nextProvider, initReactI18next } from 'react-i18next';
|
|
19
17
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
@@ -31,7 +29,6 @@ import config from '@app/cde-webconfig.json';
|
|
|
31
29
|
|
|
32
30
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
33
31
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
34
|
-
const persistor = persistStore(store);
|
|
35
32
|
|
|
36
33
|
(window as any).__remixStore = store;
|
|
37
34
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -64,13 +61,9 @@ async function hydrate() {
|
|
|
64
61
|
<ReduxProvider store={store}>
|
|
65
62
|
<SlotFillProvider>
|
|
66
63
|
<InversifyProvider container={container} modules={clientModules}>
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<RemixBrowser />
|
|
71
|
-
</ApolloProvider>
|
|
72
|
-
)}
|
|
73
|
-
</PersistGate>
|
|
64
|
+
<ApolloProvider client={client}>
|
|
65
|
+
<RemixBrowser />
|
|
66
|
+
</ApolloProvider>
|
|
74
67
|
</InversifyProvider>
|
|
75
68
|
</SlotFillProvider>
|
|
76
69
|
</ReduxProvider>
|
|
@@ -29,7 +29,7 @@ pipeline {
|
|
|
29
29
|
// by default first value of the choice will be choosen
|
|
30
30
|
choice choices: ['auto', 'force'], description: 'Choose merge strategy', name: 'NPM_PUBLISH_STRATEGY'
|
|
31
31
|
choice choices: ['yarn', 'npm'], description: 'Choose build strategy', name: 'BUILD_STRATEGY'
|
|
32
|
-
choice choices: ['0.7.
|
|
32
|
+
choice choices: ['0.7.12','0.7.11', '0.6.0'], description: 'Choose Idestack chart version', name: 'IDESTACK_CHART_VERSION'
|
|
33
33
|
choice choices: ['nodejs20', 'nodejs18', 'nodejs22'], description: 'Choose NodeJS version', name: 'NODEJS_TOOL_VERSION'
|
|
34
34
|
choice choices: ['buildOnly', 'buildAndTest', 'buildAndPublish', 'mobileBuild', 'mobilePreview', 'mobilePreviewLocal', 'mobilePreviewSubmit', 'mobileProd', 'mobileProdSubmit', 'devDeployOnly', 'stageDeploy', 'stageDeployOnly', 'prodDeploy', 'prodDeployOnly', 'allenv'], description: 'Where to deploy micro services?', name: 'ENV_CHOICE'
|
|
35
35
|
choice choices: ['all', 'ios', 'android' ], description: 'Mobile type if it is mobile build?', name: 'MOBILE_CHOICE'
|
|
@@ -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.
|
|
153
|
+
"@common-stack/generate-plugin": "6.0.8-alpha.42",
|
|
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.
|
|
3
|
+
"version": "6.0.8-alpha.43",
|
|
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": "
|
|
28
|
+
"gitHead": "46570a4970ffd587ba4049983159e0c4376c7f39"
|
|
29
29
|
}
|
|
@@ -13,8 +13,8 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
13
13
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
14
14
|
import { InversifyProvider } from '@common-stack/client-react';
|
|
15
15
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
16
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
17
|
-
import { persistStore } from 'redux-persist';
|
|
16
|
+
// import { PersistGate } from 'redux-persist/integration/react';
|
|
17
|
+
// import { persistStore } from 'redux-persist';
|
|
18
18
|
import { CacheProvider } from '@emotion/react';
|
|
19
19
|
import i18next from 'i18next';
|
|
20
20
|
import { I18nextProvider, initReactI18next } from 'react-i18next';
|
|
@@ -36,7 +36,7 @@ import { LocaleContext } from './context';
|
|
|
36
36
|
|
|
37
37
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
38
38
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
39
|
-
const persistor = persistStore(store);
|
|
39
|
+
// const persistor = persistStore(store);
|
|
40
40
|
const antCache = createCache();
|
|
41
41
|
const cache = createEmotionCache();
|
|
42
42
|
|
|
@@ -79,13 +79,9 @@ async function hydrate() {
|
|
|
79
79
|
<ReduxProvider store={store}>
|
|
80
80
|
<SlotFillProvider>
|
|
81
81
|
<InversifyProvider container={container} modules={clientModules}>
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<RemixBrowser />
|
|
86
|
-
</ApolloProvider>
|
|
87
|
-
)}
|
|
88
|
-
</PersistGate>
|
|
82
|
+
<ApolloProvider client={client}>
|
|
83
|
+
<RemixBrowser />
|
|
84
|
+
</ApolloProvider>
|
|
89
85
|
</InversifyProvider>
|
|
90
86
|
</SlotFillProvider>
|
|
91
87
|
</ReduxProvider>
|
|
@@ -6,8 +6,6 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
6
6
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
7
7
|
import { InversifyProvider, PluginArea } from '@common-stack/client-react';
|
|
8
8
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
9
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
10
|
-
import { persistStore } from 'redux-persist';
|
|
11
9
|
import { CacheProvider } from '@emotion/react';
|
|
12
10
|
|
|
13
11
|
// @ts-ignore
|
|
@@ -31,7 +29,6 @@ import { ClientStyleContext, LocaleContext } from './context';
|
|
|
31
29
|
|
|
32
30
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
33
31
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
34
|
-
const persistor = persistStore(store);
|
|
35
32
|
|
|
36
33
|
(window as any).__remixStore = store;
|
|
37
34
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -95,9 +92,7 @@ async function hydrate() {
|
|
|
95
92
|
<ReduxProvider store={store}>
|
|
96
93
|
<SlotFillProvider>
|
|
97
94
|
<InversifyProvider container={container} modules={clientModules}>
|
|
98
|
-
<
|
|
99
|
-
{() => <RemixBrowser />}
|
|
100
|
-
</PersistGate>
|
|
95
|
+
<RemixBrowser />
|
|
101
96
|
</InversifyProvider>
|
|
102
97
|
</SlotFillProvider>
|
|
103
98
|
</ReduxProvider>
|
|
@@ -12,8 +12,6 @@ import { ApolloProvider } from '@apollo/client/index.js';
|
|
|
12
12
|
import { SlotFillProvider, removeUniversalPortals } from '@common-stack/components-pro';
|
|
13
13
|
import { InversifyProvider } from '@common-stack/client-react';
|
|
14
14
|
import { Provider as ReduxProvider } from 'react-redux';
|
|
15
|
-
import { PersistGate } from 'redux-persist/integration/react';
|
|
16
|
-
import { persistStore } from 'redux-persist';
|
|
17
15
|
import i18next from 'i18next';
|
|
18
16
|
import { I18nextProvider, initReactI18next } from 'react-i18next';
|
|
19
17
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
@@ -31,7 +29,6 @@ import config from '@app/cde-webconfig.json';
|
|
|
31
29
|
|
|
32
30
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
33
31
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
34
|
-
const persistor = persistStore(store);
|
|
35
32
|
|
|
36
33
|
(window as any).__remixStore = store;
|
|
37
34
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -64,13 +61,9 @@ async function hydrate() {
|
|
|
64
61
|
<ReduxProvider store={store}>
|
|
65
62
|
<SlotFillProvider>
|
|
66
63
|
<InversifyProvider container={container} modules={clientModules}>
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<RemixBrowser />
|
|
71
|
-
</ApolloProvider>
|
|
72
|
-
)}
|
|
73
|
-
</PersistGate>
|
|
64
|
+
<ApolloProvider client={client}>
|
|
65
|
+
<RemixBrowser />
|
|
66
|
+
</ApolloProvider>
|
|
74
67
|
</InversifyProvider>
|
|
75
68
|
</SlotFillProvider>
|
|
76
69
|
</ReduxProvider>
|
|
@@ -29,7 +29,7 @@ pipeline {
|
|
|
29
29
|
// by default first value of the choice will be choosen
|
|
30
30
|
choice choices: ['auto', 'force'], description: 'Choose merge strategy', name: 'NPM_PUBLISH_STRATEGY'
|
|
31
31
|
choice choices: ['yarn', 'npm'], description: 'Choose build strategy', name: 'BUILD_STRATEGY'
|
|
32
|
-
choice choices: ['0.7.
|
|
32
|
+
choice choices: ['0.7.12','0.7.11', '0.6.0'], description: 'Choose Idestack chart version', name: 'IDESTACK_CHART_VERSION'
|
|
33
33
|
choice choices: ['nodejs20', 'nodejs18', 'nodejs22'], description: 'Choose NodeJS version', name: 'NODEJS_TOOL_VERSION'
|
|
34
34
|
choice choices: ['buildOnly', 'buildAndTest', 'buildAndPublish', 'mobileBuild', 'mobilePreview', 'mobilePreviewLocal', 'mobilePreviewSubmit', 'mobileProd', 'mobileProdSubmit', 'devDeployOnly', 'stageDeploy', 'stageDeployOnly', 'prodDeploy', 'prodDeployOnly', 'allenv'], description: 'Where to deploy micro services?', name: 'ENV_CHOICE'
|
|
35
35
|
choice choices: ['all', 'ios', 'android' ], description: 'Mobile type if it is mobile build?', name: 'MOBILE_CHOICE'
|
|
@@ -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.
|
|
153
|
+
"@common-stack/generate-plugin": "6.0.8-alpha.42",
|
|
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",
|