@modern-js/plugin-tailwindcss 2.54.5 → 2.55.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/design-token/cli/index.js +10 -38
- package/dist/cjs/design-token/runtime/index.js +7 -5
- package/dist/cjs/design-token/runtime/plugin.js +5 -3
- package/dist/esm/design-token/cli/index.js +11 -38
- package/dist/esm/design-token/runtime/index.js +5 -4
- package/dist/esm/design-token/runtime/plugin.js +5 -5
- package/dist/esm-node/design-token/cli/index.js +11 -39
- package/dist/esm-node/design-token/runtime/index.js +5 -4
- package/dist/esm-node/design-token/runtime/plugin.js +4 -3
- package/dist/types/design-token/runtime/index.d.ts +1 -3
- package/dist/types/design-token/runtime/plugin.d.ts +2 -2
- package/package.json +12 -12
@@ -27,7 +27,6 @@ const designTokenPlugin = ({ pluginName } = {
|
|
27
27
|
}) => ({
|
28
28
|
name: "@modern-js/plugin-design-token",
|
29
29
|
setup(api) {
|
30
|
-
let pluginsExportsUtils;
|
31
30
|
const resolveConfig = (0, import_utils.lazyImport)("tailwindcss/resolveConfig", require);
|
32
31
|
const PLUGIN_IDENTIFIER = "designToken";
|
33
32
|
const getDesignTokens = (designSystem) => {
|
@@ -44,42 +43,7 @@ const designTokenPlugin = ({ pluginName } = {
|
|
44
43
|
return resolveConfig(tailwindcssConfig).theme || {};
|
45
44
|
};
|
46
45
|
return {
|
47
|
-
|
48
|
-
const appContext = api.useAppContext();
|
49
|
-
pluginsExportsUtils = (0, import_utils.createRuntimeExportsUtils)(appContext.internalDirectory, "plugins");
|
50
|
-
return {
|
51
|
-
source: {
|
52
|
-
alias: {
|
53
|
-
"@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
|
54
|
-
}
|
55
|
-
}
|
56
|
-
};
|
57
|
-
},
|
58
|
-
modifyEntryImports({ entrypoint, imports }) {
|
59
|
-
var _userConfig_source;
|
60
|
-
const userConfig = api.useResolvedConfigContext();
|
61
|
-
var _userConfig_source_designSystem;
|
62
|
-
const designSystem = (_userConfig_source_designSystem = (_userConfig_source = userConfig.source) === null || _userConfig_source === void 0 ? void 0 : _userConfig_source.designSystem) !== null && _userConfig_source_designSystem !== void 0 ? _userConfig_source_designSystem : {};
|
63
|
-
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
64
|
-
const designTokens = getDesignTokens(userConfig.source.designSystem);
|
65
|
-
imports.push({
|
66
|
-
value: "@modern-js/runtime/plugins",
|
67
|
-
specifiers: [
|
68
|
-
{
|
69
|
-
imported: PLUGIN_IDENTIFIER
|
70
|
-
}
|
71
|
-
],
|
72
|
-
initialize: `
|
73
|
-
const designTokens = ${JSON.stringify(designTokens)};
|
74
|
-
`
|
75
|
-
});
|
76
|
-
}
|
77
|
-
return {
|
78
|
-
entrypoint,
|
79
|
-
imports
|
80
|
-
};
|
81
|
-
},
|
82
|
-
modifyEntryRuntimePlugins({ entrypoint, plugins }) {
|
46
|
+
_internalRuntimePlugins({ entrypoint, plugins }) {
|
83
47
|
var _userConfig_source;
|
84
48
|
const userConfig = api.useResolvedConfigContext();
|
85
49
|
var _userConfig_source_designSystem;
|
@@ -89,9 +53,15 @@ const designTokenPlugin = ({ pluginName } = {
|
|
89
53
|
useSCThemeProvider = (designSystem === null || designSystem === void 0 ? void 0 : designSystem.supportStyledComponents) || false;
|
90
54
|
}
|
91
55
|
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
56
|
+
const designTokens = getDesignTokens(userConfig.source.designSystem);
|
92
57
|
plugins.push({
|
93
58
|
name: PLUGIN_IDENTIFIER,
|
94
|
-
|
59
|
+
path: `${pluginName}/runtime-design-token`,
|
60
|
+
config: {
|
61
|
+
token: designTokens,
|
62
|
+
useStyledComponentsThemeProvider: Boolean(useSCThemeProvider),
|
63
|
+
useDesignTokenContext: false
|
64
|
+
}
|
95
65
|
});
|
96
66
|
}
|
97
67
|
return {
|
@@ -100,6 +70,8 @@ const designTokenPlugin = ({ pluginName } = {
|
|
100
70
|
};
|
101
71
|
},
|
102
72
|
addRuntimeExports() {
|
73
|
+
const appContext = api.useAppContext();
|
74
|
+
const pluginsExportsUtils = (0, import_utils.createRuntimeExportsUtils)(appContext.internalDirectory, "plugins");
|
103
75
|
pluginsExportsUtils.addExport(`export { default as designToken } from '${pluginName}/runtime-design-token'`);
|
104
76
|
}
|
105
77
|
};
|
@@ -17,7 +17,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
}
|
18
18
|
return to;
|
19
19
|
};
|
20
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
21
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
21
|
// If the importer is in node compatibility mode or this is not an ESM
|
23
22
|
// file that has been converted to a CommonJS file using a Babel-
|
@@ -29,13 +28,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
29
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
29
|
var runtime_exports = {};
|
31
30
|
__export(runtime_exports, {
|
32
|
-
|
31
|
+
DesignTokenContext: () => import_plugin.DesignTokenContext,
|
32
|
+
default: () => import_plugin.default,
|
33
|
+
designTokenPlugin: () => import_plugin.designTokenPlugin,
|
34
|
+
useDesignTokens: () => import_plugin.useDesignTokens
|
33
35
|
});
|
34
36
|
module.exports = __toCommonJS(runtime_exports);
|
35
37
|
var import_plugin = __toESM(require("./plugin"));
|
36
|
-
__reExport(runtime_exports, require("./plugin"), module.exports);
|
37
|
-
var runtime_default = import_plugin.default;
|
38
38
|
// Annotate the CommonJS export names for ESM import in node:
|
39
39
|
0 && (module.exports = {
|
40
|
-
|
40
|
+
DesignTokenContext,
|
41
|
+
designTokenPlugin,
|
42
|
+
useDesignTokens
|
41
43
|
});
|
@@ -30,15 +30,15 @@ var plugin_exports = {};
|
|
30
30
|
__export(plugin_exports, {
|
31
31
|
DesignTokenContext: () => DesignTokenContext,
|
32
32
|
default: () => plugin_default,
|
33
|
+
designTokenPlugin: () => designTokenPlugin,
|
33
34
|
useDesignTokens: () => useDesignTokens
|
34
35
|
});
|
35
36
|
module.exports = __toCommonJS(plugin_exports);
|
36
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
37
|
-
var import_hoist_non_react_statics = __toESM(require("hoist-non-react-statics"));
|
38
38
|
var import_react = __toESM(require("react"));
|
39
39
|
const DesignTokenContext = /* @__PURE__ */ import_react.default.createContext({});
|
40
40
|
const useDesignTokens = () => (0, import_react.useContext)(DesignTokenContext);
|
41
|
-
|
41
|
+
const designTokenPlugin = (options = {}) => ({
|
42
42
|
name: "@modern-js/plugin-design-token",
|
43
43
|
setup: () => ({
|
44
44
|
hoc({ App, config }, next) {
|
@@ -77,14 +77,16 @@ var plugin_default = (options = {}) => ({
|
|
77
77
|
}
|
78
78
|
};
|
79
79
|
return next({
|
80
|
-
App:
|
80
|
+
App: DesignTokenAppWrapper,
|
81
81
|
config
|
82
82
|
});
|
83
83
|
}
|
84
84
|
})
|
85
85
|
});
|
86
|
+
var plugin_default = designTokenPlugin;
|
86
87
|
// Annotate the CommonJS export names for ESM import in node:
|
87
88
|
0 && (module.exports = {
|
88
89
|
DesignTokenContext,
|
90
|
+
designTokenPlugin,
|
89
91
|
useDesignTokens
|
90
92
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
2
|
-
import {
|
2
|
+
import { createRuntimeExportsUtils, lazyImport } from "@modern-js/utils";
|
3
3
|
var designTokenPlugin = function() {
|
4
4
|
var pluginName = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
5
5
|
pluginName: "@modern-js/plugin-tailwindcss"
|
@@ -7,7 +7,6 @@ var designTokenPlugin = function() {
|
|
7
7
|
return {
|
8
8
|
name: "@modern-js/plugin-design-token",
|
9
9
|
setup: function setup(api) {
|
10
|
-
var pluginsExportsUtils;
|
11
10
|
var resolveConfig = lazyImport("tailwindcss/resolveConfig", require);
|
12
11
|
var PLUGIN_IDENTIFIER = "designToken";
|
13
12
|
var getDesignTokens = function(designSystem) {
|
@@ -22,41 +21,7 @@ var designTokenPlugin = function() {
|
|
22
21
|
return resolveConfig(tailwindcssConfig).theme || {};
|
23
22
|
};
|
24
23
|
return {
|
25
|
-
|
26
|
-
var appContext = api.useAppContext();
|
27
|
-
pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
|
28
|
-
return {
|
29
|
-
source: {
|
30
|
-
alias: {
|
31
|
-
"@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
|
32
|
-
}
|
33
|
-
}
|
34
|
-
};
|
35
|
-
},
|
36
|
-
modifyEntryImports: function modifyEntryImports(param) {
|
37
|
-
var entrypoint = param.entrypoint, imports = param.imports;
|
38
|
-
var _userConfig_source;
|
39
|
-
var userConfig = api.useResolvedConfigContext();
|
40
|
-
var _userConfig_source_designSystem;
|
41
|
-
var designSystem = (_userConfig_source_designSystem = (_userConfig_source = userConfig.source) === null || _userConfig_source === void 0 ? void 0 : _userConfig_source.designSystem) !== null && _userConfig_source_designSystem !== void 0 ? _userConfig_source_designSystem : {};
|
42
|
-
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
43
|
-
var designTokens = getDesignTokens(userConfig.source.designSystem);
|
44
|
-
imports.push({
|
45
|
-
value: "@modern-js/runtime/plugins",
|
46
|
-
specifiers: [
|
47
|
-
{
|
48
|
-
imported: PLUGIN_IDENTIFIER
|
49
|
-
}
|
50
|
-
],
|
51
|
-
initialize: "\n const designTokens = ".concat(JSON.stringify(designTokens), ";\n ")
|
52
|
-
});
|
53
|
-
}
|
54
|
-
return {
|
55
|
-
entrypoint,
|
56
|
-
imports
|
57
|
-
};
|
58
|
-
},
|
59
|
-
modifyEntryRuntimePlugins: function modifyEntryRuntimePlugins(param) {
|
24
|
+
_internalRuntimePlugins: function _internalRuntimePlugins(param) {
|
60
25
|
var entrypoint = param.entrypoint, plugins = param.plugins;
|
61
26
|
var _userConfig_source;
|
62
27
|
var userConfig = api.useResolvedConfigContext();
|
@@ -67,9 +32,15 @@ var designTokenPlugin = function() {
|
|
67
32
|
useSCThemeProvider = (designSystem === null || designSystem === void 0 ? void 0 : designSystem.supportStyledComponents) || false;
|
68
33
|
}
|
69
34
|
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
35
|
+
var designTokens = getDesignTokens(userConfig.source.designSystem);
|
70
36
|
plugins.push({
|
71
37
|
name: PLUGIN_IDENTIFIER,
|
72
|
-
|
38
|
+
path: "".concat(pluginName, "/runtime-design-token"),
|
39
|
+
config: {
|
40
|
+
token: designTokens,
|
41
|
+
useStyledComponentsThemeProvider: Boolean(useSCThemeProvider),
|
42
|
+
useDesignTokenContext: false
|
43
|
+
}
|
73
44
|
});
|
74
45
|
}
|
75
46
|
return {
|
@@ -78,6 +49,8 @@ var designTokenPlugin = function() {
|
|
78
49
|
};
|
79
50
|
},
|
80
51
|
addRuntimeExports: function addRuntimeExports() {
|
52
|
+
var appContext = api.useAppContext();
|
53
|
+
var pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
|
81
54
|
pluginsExportsUtils.addExport("export { default as designToken } from '".concat(pluginName, "/runtime-design-token'"));
|
82
55
|
}
|
83
56
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import designTokenPlugin from "./plugin";
|
2
|
-
export * from "./plugin";
|
3
|
-
var runtime_default = designTokenPlugin;
|
1
|
+
import { default as default2, DesignTokenContext, useDesignTokens, designTokenPlugin } from "./plugin";
|
4
2
|
export {
|
5
|
-
|
3
|
+
DesignTokenContext,
|
4
|
+
default2 as default,
|
5
|
+
designTokenPlugin,
|
6
|
+
useDesignTokens
|
6
7
|
};
|
@@ -1,12 +1,11 @@
|
|
1
1
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
3
|
-
import hoistNonReactStatics from "hoist-non-react-statics";
|
4
3
|
import React, { useContext } from "react";
|
5
4
|
var DesignTokenContext = /* @__PURE__ */ React.createContext({});
|
6
5
|
var useDesignTokens = function() {
|
7
6
|
return useContext(DesignTokenContext);
|
8
7
|
};
|
9
|
-
function
|
8
|
+
var designTokenPlugin = function() {
|
10
9
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
11
10
|
return {
|
12
11
|
name: "@modern-js/plugin-design-token",
|
@@ -41,17 +40,18 @@ function plugin_default() {
|
|
41
40
|
}
|
42
41
|
};
|
43
42
|
return next({
|
44
|
-
App:
|
43
|
+
App: DesignTokenAppWrapper,
|
45
44
|
config
|
46
45
|
});
|
47
46
|
}
|
48
47
|
};
|
49
48
|
}
|
50
49
|
};
|
51
|
-
}
|
52
|
-
;
|
50
|
+
};
|
51
|
+
var plugin_default = designTokenPlugin;
|
53
52
|
export {
|
54
53
|
DesignTokenContext,
|
55
54
|
plugin_default as default,
|
55
|
+
designTokenPlugin,
|
56
56
|
useDesignTokens
|
57
57
|
};
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { createRuntimeExportsUtils, lazyImport } from "@modern-js/utils";
|
2
2
|
const designTokenPlugin = ({ pluginName } = {
|
3
3
|
pluginName: "@modern-js/plugin-tailwindcss"
|
4
4
|
}) => ({
|
5
5
|
name: "@modern-js/plugin-design-token",
|
6
6
|
setup(api) {
|
7
|
-
let pluginsExportsUtils;
|
8
7
|
const resolveConfig = lazyImport("tailwindcss/resolveConfig", require);
|
9
8
|
const PLUGIN_IDENTIFIER = "designToken";
|
10
9
|
const getDesignTokens = (designSystem) => {
|
@@ -21,42 +20,7 @@ const designTokenPlugin = ({ pluginName } = {
|
|
21
20
|
return resolveConfig(tailwindcssConfig).theme || {};
|
22
21
|
};
|
23
22
|
return {
|
24
|
-
|
25
|
-
const appContext = api.useAppContext();
|
26
|
-
pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
|
27
|
-
return {
|
28
|
-
source: {
|
29
|
-
alias: {
|
30
|
-
"@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
|
31
|
-
}
|
32
|
-
}
|
33
|
-
};
|
34
|
-
},
|
35
|
-
modifyEntryImports({ entrypoint, imports }) {
|
36
|
-
var _userConfig_source;
|
37
|
-
const userConfig = api.useResolvedConfigContext();
|
38
|
-
var _userConfig_source_designSystem;
|
39
|
-
const designSystem = (_userConfig_source_designSystem = (_userConfig_source = userConfig.source) === null || _userConfig_source === void 0 ? void 0 : _userConfig_source.designSystem) !== null && _userConfig_source_designSystem !== void 0 ? _userConfig_source_designSystem : {};
|
40
|
-
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
41
|
-
const designTokens = getDesignTokens(userConfig.source.designSystem);
|
42
|
-
imports.push({
|
43
|
-
value: "@modern-js/runtime/plugins",
|
44
|
-
specifiers: [
|
45
|
-
{
|
46
|
-
imported: PLUGIN_IDENTIFIER
|
47
|
-
}
|
48
|
-
],
|
49
|
-
initialize: `
|
50
|
-
const designTokens = ${JSON.stringify(designTokens)};
|
51
|
-
`
|
52
|
-
});
|
53
|
-
}
|
54
|
-
return {
|
55
|
-
entrypoint,
|
56
|
-
imports
|
57
|
-
};
|
58
|
-
},
|
59
|
-
modifyEntryRuntimePlugins({ entrypoint, plugins }) {
|
23
|
+
_internalRuntimePlugins({ entrypoint, plugins }) {
|
60
24
|
var _userConfig_source;
|
61
25
|
const userConfig = api.useResolvedConfigContext();
|
62
26
|
var _userConfig_source_designSystem;
|
@@ -66,9 +30,15 @@ const designTokenPlugin = ({ pluginName } = {
|
|
66
30
|
useSCThemeProvider = (designSystem === null || designSystem === void 0 ? void 0 : designSystem.supportStyledComponents) || false;
|
67
31
|
}
|
68
32
|
if (typeof designSystem === "object" && designSystem.supportStyledComponents) {
|
33
|
+
const designTokens = getDesignTokens(userConfig.source.designSystem);
|
69
34
|
plugins.push({
|
70
35
|
name: PLUGIN_IDENTIFIER,
|
71
|
-
|
36
|
+
path: `${pluginName}/runtime-design-token`,
|
37
|
+
config: {
|
38
|
+
token: designTokens,
|
39
|
+
useStyledComponentsThemeProvider: Boolean(useSCThemeProvider),
|
40
|
+
useDesignTokenContext: false
|
41
|
+
}
|
72
42
|
});
|
73
43
|
}
|
74
44
|
return {
|
@@ -77,6 +47,8 @@ const designTokenPlugin = ({ pluginName } = {
|
|
77
47
|
};
|
78
48
|
},
|
79
49
|
addRuntimeExports() {
|
50
|
+
const appContext = api.useAppContext();
|
51
|
+
const pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
|
80
52
|
pluginsExportsUtils.addExport(`export { default as designToken } from '${pluginName}/runtime-design-token'`);
|
81
53
|
}
|
82
54
|
};
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import designTokenPlugin from "./plugin";
|
2
|
-
export * from "./plugin";
|
3
|
-
var runtime_default = designTokenPlugin;
|
1
|
+
import { default as default2, DesignTokenContext, useDesignTokens, designTokenPlugin } from "./plugin";
|
4
2
|
export {
|
5
|
-
|
3
|
+
DesignTokenContext,
|
4
|
+
default2 as default,
|
5
|
+
designTokenPlugin,
|
6
|
+
useDesignTokens
|
6
7
|
};
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import hoistNonReactStatics from "hoist-non-react-statics";
|
3
2
|
import React, { useContext } from "react";
|
4
3
|
const DesignTokenContext = /* @__PURE__ */ React.createContext({});
|
5
4
|
const useDesignTokens = () => useContext(DesignTokenContext);
|
6
|
-
|
5
|
+
const designTokenPlugin = (options = {}) => ({
|
7
6
|
name: "@modern-js/plugin-design-token",
|
8
7
|
setup: () => ({
|
9
8
|
hoc({ App, config }, next) {
|
@@ -42,14 +41,16 @@ var plugin_default = (options = {}) => ({
|
|
42
41
|
}
|
43
42
|
};
|
44
43
|
return next({
|
45
|
-
App:
|
44
|
+
App: DesignTokenAppWrapper,
|
46
45
|
config
|
47
46
|
});
|
48
47
|
}
|
49
48
|
})
|
50
49
|
});
|
50
|
+
var plugin_default = designTokenPlugin;
|
51
51
|
export {
|
52
52
|
DesignTokenContext,
|
53
53
|
plugin_default as default,
|
54
|
+
designTokenPlugin,
|
54
55
|
useDesignTokens
|
55
56
|
};
|
@@ -2,9 +2,9 @@ import type { Plugin } from '@modern-js/runtime';
|
|
2
2
|
import React from 'react';
|
3
3
|
export declare const DesignTokenContext: React.Context<any>;
|
4
4
|
export declare const useDesignTokens: () => IDesignTokens;
|
5
|
-
declare const
|
5
|
+
export declare const designTokenPlugin: (options?: {
|
6
6
|
token?: Record<string, any>;
|
7
7
|
useStyledComponentsThemeProvider?: boolean;
|
8
8
|
useDesignTokenContext?: boolean;
|
9
9
|
}) => Plugin;
|
10
|
-
export default
|
10
|
+
export default designTokenPlugin;
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.55.0",
|
19
19
|
"jsnext:source": "./src/index.ts",
|
20
20
|
"types": "./dist/types/index.d.ts",
|
21
21
|
"main": "./dist/cjs/index.js",
|
@@ -26,6 +26,7 @@
|
|
26
26
|
"jsnext:source": "./src/index.ts",
|
27
27
|
"require": "./dist/cjs/index.js"
|
28
28
|
},
|
29
|
+
"types": "./dist/types/index.d.ts",
|
29
30
|
"default": "./dist/cjs/index.js"
|
30
31
|
},
|
31
32
|
"./cli": {
|
@@ -47,10 +48,9 @@
|
|
47
48
|
},
|
48
49
|
"dependencies": {
|
49
50
|
"babel-plugin-macros": "3.1.0",
|
50
|
-
"hoist-non-react-statics": "^3.3.2",
|
51
51
|
"@swc/helpers": "0.5.3",
|
52
|
-
"@modern-js/
|
53
|
-
"@modern-js/
|
52
|
+
"@modern-js/node-bundle-require": "2.55.0",
|
53
|
+
"@modern-js/utils": "2.55.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@types/jest": "^29",
|
@@ -60,17 +60,17 @@
|
|
60
60
|
"jest": "^29",
|
61
61
|
"react": "^18",
|
62
62
|
"postcss": "^8.4.35",
|
63
|
-
"@modern-js/core": "2.
|
64
|
-
"@modern-js/runtime": "2.
|
65
|
-
"@modern-js/module-tools": "2.
|
66
|
-
"@modern-js/types": "2.
|
67
|
-
"@scripts/build": "2.
|
68
|
-
"@scripts/jest-config": "2.
|
69
|
-
"@modern-js/app-tools": "2.
|
63
|
+
"@modern-js/core": "2.55.0",
|
64
|
+
"@modern-js/runtime": "2.55.0",
|
65
|
+
"@modern-js/module-tools": "2.55.0",
|
66
|
+
"@modern-js/types": "2.55.0",
|
67
|
+
"@scripts/build": "2.55.0",
|
68
|
+
"@scripts/jest-config": "2.55.0",
|
69
|
+
"@modern-js/app-tools": "2.55.0"
|
70
70
|
},
|
71
71
|
"peerDependencies": {
|
72
72
|
"tailwindcss": ">= 2.0.0 || >= 3.0.0",
|
73
|
-
"@modern-js/runtime": "^2.
|
73
|
+
"@modern-js/runtime": "^2.55.0"
|
74
74
|
},
|
75
75
|
"peerDependenciesMeta": {
|
76
76
|
"@modern-js/runtime": {
|