@common-stack/generate-plugin 7.0.4-alpha.4 → 7.0.4-alpha.6
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 +8 -0
- package/lib/generators/add-backend/files/package.json +1 -1
- package/lib/generators/add-frontend/frameworks/antui/src/entry.client.tsx.template +7 -2
- package/lib/generators/add-frontend/frameworks/antui/src/root.tsx.template +2 -1
- package/lib/generators/add-frontend/templates/package.json +1 -1
- package/lib/generators/add-fullstack/files/package.json +1 -1
- package/lib/generators/add-moleculer/files/package.json +3 -3
- package/lib/generators/add-package/files/server/package.json +2 -2
- package/package.json +3 -3
- package/src/generators/add-backend/files/package.json +1 -1
- package/src/generators/add-frontend/frameworks/antui/src/entry.client.tsx.template +7 -2
- package/src/generators/add-frontend/frameworks/antui/src/root.tsx.template +2 -1
- package/src/generators/add-frontend/templates/package.json +1 -1
- package/src/generators/add-fullstack/files/package.json +1 -1
- package/src/generators/add-moleculer/files/package.json +3 -3
- package/src/generators/add-package/files/server/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [7.0.4-alpha.6](https://github.com/cdmbase/common-stack/compare/v7.0.4-alpha.5...v7.0.4-alpha.6) (2025-03-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
9
|
+
|
|
10
|
+
## [7.0.4-alpha.5](https://github.com/cdmbase/common-stack/compare/v7.0.4-alpha.4...v7.0.4-alpha.5) (2025-03-02)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
13
|
+
|
|
6
14
|
## [7.0.4-alpha.4](https://github.com/cdmbase/common-stack/compare/v7.0.4-alpha.3...v7.0.4-alpha.4) (2025-03-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@apollo/client": "^3.9.0",
|
|
66
66
|
"@babel/runtime": "^7.20.1",
|
|
67
|
-
"@common-stack/server-stack": "7.0.4-alpha.
|
|
67
|
+
"@common-stack/server-stack": "7.0.4-alpha.5",
|
|
68
68
|
"@remix-run/node": "~2.10.1",
|
|
69
69
|
"lodash": "^4.17.15",
|
|
70
70
|
"react": "18.2.0"
|
|
@@ -35,7 +35,12 @@ import { LocaleContext } from './context';
|
|
|
35
35
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
36
36
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
37
37
|
const antCache = createCache();
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
const emotionInsertionPoint =
|
|
40
|
+
document.querySelector('meta[name="emotion-insertion-point"]') || document.createElement('meta');
|
|
41
|
+
const cache = createEmotionCache({
|
|
42
|
+
insertionPoint: emotionInsertionPoint,
|
|
43
|
+
});
|
|
39
44
|
|
|
40
45
|
(window as any).__remixStore = store;
|
|
41
46
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -72,7 +77,7 @@ async function hydrate() {
|
|
|
72
77
|
<I18nextProvider i18n={i18next}>
|
|
73
78
|
<LocaleProvider>
|
|
74
79
|
<CacheProvider value={cache}>
|
|
75
|
-
<StyleProvider cache={antCache}>
|
|
80
|
+
<StyleProvider container={document.head} cache={antCache}>
|
|
76
81
|
<ReduxProvider store={store}>
|
|
77
82
|
<SlotFillProvider>
|
|
78
83
|
<InversifyProvider container={container} modules={clientModules}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Links, Meta, Outlet, Scripts, ScrollRestoration, useRouteLoaderData, useRouteError
|
|
3
|
+
import { Links, Meta, Outlet, Scripts, ScrollRestoration, useRouteLoaderData, useRouteError } from '@remix-run/react';
|
|
4
4
|
import { PluginArea } from '@common-stack/client-react';
|
|
5
5
|
import { subscribeReduxRouter } from '@common-stack/remix-router-redux';
|
|
6
6
|
import { ApplicationErrorHandler } from '@admin-layout/ant-ui';
|
|
@@ -71,6 +71,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
71
71
|
<meta charSet="utf-8" />
|
|
72
72
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
73
73
|
<Meta />
|
|
74
|
+
<meta name="emotion-insertion-point" content="" />
|
|
74
75
|
<Links />
|
|
75
76
|
{typeof window === 'undefined' ? `[__STYLESHEET__]` : ''}
|
|
76
77
|
</head>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"common": "link:./common"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@common-stack/frontend-stack-react": "7.0.4-alpha.
|
|
59
|
+
"@common-stack/frontend-stack-react": "7.0.4-alpha.5",
|
|
60
60
|
"@react-icons/all-files": "^4.1.0",
|
|
61
61
|
"classnames": "^2.2.6",
|
|
62
62
|
"compression": "^1.7.4",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@babel/register": "^7.18.9",
|
|
146
146
|
"@babel/runtime": "^7.20.1",
|
|
147
147
|
"@common-stack/env-list-loader": "7.0.4-alpha.0",
|
|
148
|
-
"@common-stack/generate-plugin": "7.0.4-alpha.
|
|
148
|
+
"@common-stack/generate-plugin": "7.0.4-alpha.5",
|
|
149
149
|
"@common-stack/rollup-vite-utils": "7.0.4-alpha.0",
|
|
150
150
|
"@emotion/babel-plugin": "^11.11.0",
|
|
151
151
|
"@graphql-codegen/add": "^5.0.3",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@common-stack/client-core": "7.0.4-alpha.0",
|
|
33
33
|
"@common-stack/core": "7.0.4-alpha.0",
|
|
34
|
-
"@common-stack/server-core": "7.0.4-alpha.
|
|
35
|
-
"@common-stack/server-stack": "7.0.4-alpha.
|
|
36
|
-
"@common-stack/store-mongo": "7.0.4-alpha.
|
|
34
|
+
"@common-stack/server-core": "7.0.4-alpha.5",
|
|
35
|
+
"@common-stack/server-stack": "7.0.4-alpha.5",
|
|
36
|
+
"@common-stack/store-mongo": "7.0.4-alpha.5",
|
|
37
37
|
"@container-stack/mailing-api": "5.2.1-alpha.1",
|
|
38
38
|
"helmet": "^3.21.2",
|
|
39
39
|
"react": "18.2.0",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@apollo/client": ">=3.0.0",
|
|
64
64
|
"@cdm-logger/server": ">=9.0.3",
|
|
65
65
|
"@common-stack/core": "7.0.4-alpha.0",
|
|
66
|
-
"@common-stack/server-core": "7.0.4-alpha.
|
|
67
|
-
"@common-stack/store-mongo": "7.0.4-alpha.
|
|
66
|
+
"@common-stack/server-core": "7.0.4-alpha.5",
|
|
67
|
+
"@common-stack/store-mongo": "7.0.4-alpha.5",
|
|
68
68
|
"@container-stack/mailing-api": ">=0.0.35-alpha.1",
|
|
69
69
|
"@vscode-alt/monaco-editor": "^0.21.4",
|
|
70
70
|
"inversify": "^5.0.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/generate-plugin",
|
|
3
|
-
"version": "7.0.4-alpha.
|
|
3
|
+
"version": "7.0.4-alpha.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.mjs",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"watch": "yarn build:lib:watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@common-stack/rollup-vite-utils": "7.0.4-alpha.
|
|
21
|
+
"@common-stack/rollup-vite-utils": "7.0.4-alpha.6",
|
|
22
22
|
"tslib": "^2.3.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
},
|
|
27
27
|
"executors": "./executors.json",
|
|
28
28
|
"generators": "./generators.json",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "b2d5f2840f3e0b00015d55715108e8a86e47ff4d"
|
|
30
30
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@apollo/client": "^3.9.0",
|
|
66
66
|
"@babel/runtime": "^7.20.1",
|
|
67
|
-
"@common-stack/server-stack": "7.0.4-alpha.
|
|
67
|
+
"@common-stack/server-stack": "7.0.4-alpha.5",
|
|
68
68
|
"@remix-run/node": "~2.10.1",
|
|
69
69
|
"lodash": "^4.17.15",
|
|
70
70
|
"react": "18.2.0"
|
|
@@ -35,7 +35,12 @@ import { LocaleContext } from './context';
|
|
|
35
35
|
const { apolloClient: client, container, serviceFunc } = createClientContainer();
|
|
36
36
|
const { store } = createReduxStore(client, serviceFunc(), container);
|
|
37
37
|
const antCache = createCache();
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
const emotionInsertionPoint =
|
|
40
|
+
document.querySelector('meta[name="emotion-insertion-point"]') || document.createElement('meta');
|
|
41
|
+
const cache = createEmotionCache({
|
|
42
|
+
insertionPoint: emotionInsertionPoint,
|
|
43
|
+
});
|
|
39
44
|
|
|
40
45
|
(window as any).__remixStore = store;
|
|
41
46
|
removeUniversalPortals((window as any).__SLOT_FILLS__ || []);
|
|
@@ -72,7 +77,7 @@ async function hydrate() {
|
|
|
72
77
|
<I18nextProvider i18n={i18next}>
|
|
73
78
|
<LocaleProvider>
|
|
74
79
|
<CacheProvider value={cache}>
|
|
75
|
-
<StyleProvider cache={antCache}>
|
|
80
|
+
<StyleProvider container={document.head} cache={antCache}>
|
|
76
81
|
<ReduxProvider store={store}>
|
|
77
82
|
<SlotFillProvider>
|
|
78
83
|
<InversifyProvider container={container} modules={clientModules}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Links, Meta, Outlet, Scripts, ScrollRestoration, useRouteLoaderData, useRouteError
|
|
3
|
+
import { Links, Meta, Outlet, Scripts, ScrollRestoration, useRouteLoaderData, useRouteError } from '@remix-run/react';
|
|
4
4
|
import { PluginArea } from '@common-stack/client-react';
|
|
5
5
|
import { subscribeReduxRouter } from '@common-stack/remix-router-redux';
|
|
6
6
|
import { ApplicationErrorHandler } from '@admin-layout/ant-ui';
|
|
@@ -71,6 +71,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
71
71
|
<meta charSet="utf-8" />
|
|
72
72
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
73
73
|
<Meta />
|
|
74
|
+
<meta name="emotion-insertion-point" content="" />
|
|
74
75
|
<Links />
|
|
75
76
|
{typeof window === 'undefined' ? `[__STYLESHEET__]` : ''}
|
|
76
77
|
</head>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"common": "link:./common"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@common-stack/frontend-stack-react": "7.0.4-alpha.
|
|
59
|
+
"@common-stack/frontend-stack-react": "7.0.4-alpha.5",
|
|
60
60
|
"@react-icons/all-files": "^4.1.0",
|
|
61
61
|
"classnames": "^2.2.6",
|
|
62
62
|
"compression": "^1.7.4",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@babel/register": "^7.18.9",
|
|
146
146
|
"@babel/runtime": "^7.20.1",
|
|
147
147
|
"@common-stack/env-list-loader": "7.0.4-alpha.0",
|
|
148
|
-
"@common-stack/generate-plugin": "7.0.4-alpha.
|
|
148
|
+
"@common-stack/generate-plugin": "7.0.4-alpha.5",
|
|
149
149
|
"@common-stack/rollup-vite-utils": "7.0.4-alpha.0",
|
|
150
150
|
"@emotion/babel-plugin": "^11.11.0",
|
|
151
151
|
"@graphql-codegen/add": "^5.0.3",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@common-stack/client-core": "7.0.4-alpha.0",
|
|
33
33
|
"@common-stack/core": "7.0.4-alpha.0",
|
|
34
|
-
"@common-stack/server-core": "7.0.4-alpha.
|
|
35
|
-
"@common-stack/server-stack": "7.0.4-alpha.
|
|
36
|
-
"@common-stack/store-mongo": "7.0.4-alpha.
|
|
34
|
+
"@common-stack/server-core": "7.0.4-alpha.5",
|
|
35
|
+
"@common-stack/server-stack": "7.0.4-alpha.5",
|
|
36
|
+
"@common-stack/store-mongo": "7.0.4-alpha.5",
|
|
37
37
|
"@container-stack/mailing-api": "5.2.1-alpha.1",
|
|
38
38
|
"helmet": "^3.21.2",
|
|
39
39
|
"react": "18.2.0",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@apollo/client": ">=3.0.0",
|
|
64
64
|
"@cdm-logger/server": ">=9.0.3",
|
|
65
65
|
"@common-stack/core": "7.0.4-alpha.0",
|
|
66
|
-
"@common-stack/server-core": "7.0.4-alpha.
|
|
67
|
-
"@common-stack/store-mongo": "7.0.4-alpha.
|
|
66
|
+
"@common-stack/server-core": "7.0.4-alpha.5",
|
|
67
|
+
"@common-stack/store-mongo": "7.0.4-alpha.5",
|
|
68
68
|
"@container-stack/mailing-api": ">=0.0.35-alpha.1",
|
|
69
69
|
"@vscode-alt/monaco-editor": "^0.21.4",
|
|
70
70
|
"inversify": "^5.0.1",
|