@plone/volto 18.33.0 → 18.34.0
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 +40 -0
- package/README.md +0 -1
- package/locales/af/LC_MESSAGES/volto.po +27 -2
- package/locales/af.json +1 -1
- package/locales/ar/LC_MESSAGES/volto.po +27 -2
- package/locales/ar.json +1 -1
- package/locales/bg/LC_MESSAGES/volto.po +27 -2
- package/locales/bg.json +1 -1
- package/locales/bn/LC_MESSAGES/volto.po +27 -2
- package/locales/bn.json +1 -1
- package/locales/ca/LC_MESSAGES/volto.po +26 -1
- package/locales/ca.json +1 -1
- package/locales/cs/LC_MESSAGES/volto.po +27 -2
- package/locales/cs.json +1 -1
- package/locales/cy/LC_MESSAGES/volto.po +27 -2
- package/locales/cy.json +1 -1
- package/locales/da/LC_MESSAGES/volto.po +27 -2
- package/locales/da.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +26 -1
- package/locales/de.json +1 -1
- package/locales/el/LC_MESSAGES/volto.po +27 -2
- package/locales/el.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +27 -2
- package/locales/en.json +1 -1
- package/locales/en_AU/LC_MESSAGES/volto.po +27 -2
- package/locales/en_AU.json +1 -1
- package/locales/en_GB/LC_MESSAGES/volto.po +27 -2
- package/locales/en_GB.json +1 -1
- package/locales/eo/LC_MESSAGES/volto.po +27 -2
- package/locales/eo.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +43 -18
- package/locales/es.json +1 -1
- package/locales/et/LC_MESSAGES/volto.po +27 -2
- package/locales/et.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +26 -1
- package/locales/eu.json +1 -1
- package/locales/fa/LC_MESSAGES/volto.po +27 -2
- package/locales/fa.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +26 -1
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +26 -1
- package/locales/fr.json +1 -1
- package/locales/fu/LC_MESSAGES/volto.po +27 -2
- package/locales/fu.json +1 -1
- package/locales/gl/LC_MESSAGES/volto.po +31 -6
- package/locales/gl.json +1 -1
- package/locales/he/LC_MESSAGES/volto.po +27 -2
- package/locales/he.json +1 -1
- package/locales/hi/LC_MESSAGES/volto.po +26 -1
- package/locales/hi.json +1 -1
- package/locales/hr/LC_MESSAGES/volto.po +27 -2
- package/locales/hr.json +1 -1
- package/locales/hu/LC_MESSAGES/volto.po +27 -2
- package/locales/hu.json +1 -1
- package/locales/hy/LC_MESSAGES/volto.po +27 -2
- package/locales/hy.json +1 -1
- package/locales/id/LC_MESSAGES/volto.po +27 -2
- package/locales/id.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +26 -1
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +26 -1
- package/locales/ja.json +1 -1
- package/locales/ka/LC_MESSAGES/volto.po +27 -2
- package/locales/ka.json +1 -1
- package/locales/kn/LC_MESSAGES/volto.po +27 -2
- package/locales/kn.json +1 -1
- package/locales/ko/LC_MESSAGES/volto.po +27 -2
- package/locales/ko.json +1 -1
- package/locales/lt/LC_MESSAGES/volto.po +27 -2
- package/locales/lt.json +1 -1
- package/locales/lv/LC_MESSAGES/volto.po +27 -2
- package/locales/lv.json +1 -1
- package/locales/mi/LC_MESSAGES/volto.po +27 -2
- package/locales/mi.json +1 -1
- package/locales/mk/LC_MESSAGES/volto.po +27 -2
- package/locales/mk.json +1 -1
- package/locales/my/LC_MESSAGES/volto.po +27 -2
- package/locales/my.json +1 -1
- package/locales/nb_NO/LC_MESSAGES/volto.po +27 -2
- package/locales/nb_NO.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +26 -1
- package/locales/nl.json +1 -1
- package/locales/nn/LC_MESSAGES/volto.po +27 -2
- package/locales/nn.json +1 -1
- package/locales/pl/LC_MESSAGES/volto.po +27 -2
- package/locales/pl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +26 -1
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +26 -1
- package/locales/pt_BR.json +1 -1
- package/locales/rm/LC_MESSAGES/volto.po +27 -2
- package/locales/rm.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +26 -1
- package/locales/ro.json +1 -1
- package/locales/ru/LC_MESSAGES/volto.po +26 -1
- package/locales/ru.json +1 -1
- package/locales/sk/LC_MESSAGES/volto.po +27 -2
- package/locales/sk.json +1 -1
- package/locales/sl/LC_MESSAGES/volto.po +27 -2
- package/locales/sl.json +1 -1
- package/locales/sm/LC_MESSAGES/volto.po +27 -2
- package/locales/sm.json +1 -1
- package/locales/sq/LC_MESSAGES/volto.po +27 -2
- package/locales/sq.json +1 -1
- package/locales/sr/LC_MESSAGES/volto.po +27 -2
- package/locales/sr.json +1 -1
- package/locales/sr@cyrl/LC_MESSAGES/volto.po +27 -2
- package/locales/sr@cyrl.json +1 -1
- package/locales/sr@latn/LC_MESSAGES/volto.po +27 -2
- package/locales/sr@latn.json +1 -1
- package/locales/sv/LC_MESSAGES/volto.po +26 -1
- package/locales/sv.json +1 -1
- package/locales/ta/LC_MESSAGES/volto.po +26 -1
- package/locales/ta.json +1 -1
- package/locales/te/LC_MESSAGES/volto.po +27 -2
- package/locales/te.json +1 -1
- package/locales/th/LC_MESSAGES/volto.po +27 -2
- package/locales/th.json +1 -1
- package/locales/to/LC_MESSAGES/volto.po +27 -2
- package/locales/to.json +1 -1
- package/locales/tr/LC_MESSAGES/volto.po +27 -2
- package/locales/tr.json +1 -1
- package/locales/uk/LC_MESSAGES/volto.po +27 -2
- package/locales/uk.json +1 -1
- package/locales/vi/LC_MESSAGES/volto.po +27 -2
- package/locales/vi.json +1 -1
- package/locales/volto.pot +27 -2
- package/locales/zh_CN/LC_MESSAGES/volto.po +26 -1
- package/locales/zh_CN.json +1 -1
- package/locales/zh_Hant/LC_MESSAGES/volto.po +27 -2
- package/locales/zh_Hant.json +1 -1
- package/locales/zh_Hant_HK/LC_MESSAGES/volto.po +27 -2
- package/locales/zh_Hant_HK.json +1 -1
- package/package.json +9 -9
- package/razzle.config.js +1 -0
- package/src/actions/users/users.js +2 -2
- package/src/components/manage/Blocks/Block/Order/Item.jsx +18 -10
- package/src/components/manage/Blocks/Block/Order/Item.test.jsx +90 -0
- package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +7 -0
- package/src/components/manage/Controlpanels/DatabaseInformation.jsx +9 -0
- package/src/components/manage/Controlpanels/ModerateComments.jsx +8 -0
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.test.jsx +3 -0
- package/src/components/manage/Sharing/Sharing.jsx +11 -3
- package/src/components/manage/Widgets/DatetimeWidget.jsx +92 -58
- package/src/components/manage/Widgets/DatetimeWidget.test.jsx +55 -0
- package/src/components/manage/Widgets/FormFieldWrapper.jsx +7 -5
- package/src/components/manage/Widgets/RegistryImageWidget.jsx +1 -1
- package/src/components/manage/Widgets/TextWidget.jsx +4 -0
- package/src/components/manage/Widgets/UrlWidget.jsx +51 -6
- package/src/components/theme/AlternateHrefLangs/AlternateHrefLangs.jsx +1 -0
- package/src/components/theme/AlternateHrefLangs/AlternateHrefLangs.test.jsx +30 -0
- package/src/components/theme/Unauthorized/Unauthorized.jsx +30 -22
- package/src/components/theme/Unauthorized/Unauthorized.test.jsx +28 -1
- package/theme/themes/default/globals/site.variables +2 -2
- package/theme/themes/pastanaga/collections/form.overrides +1 -1
- package/theme/themes/pastanaga/elements/segment.variables +1 -1
- package/theme/themes/pastanaga/extras/main.less +15 -0
- package/theme/themes/pastanaga/globals/site.variables +0 -2
- package/types/components/manage/Blocks/Block/Order/Item.test.d.ts +1 -0
- package/webpack-plugins/webpack-less-plugin.js +1 -1
|
@@ -14,10 +14,30 @@ import {
|
|
|
14
14
|
flattenToAppURL,
|
|
15
15
|
URLUtils,
|
|
16
16
|
} from '@plone/volto/helpers/Url/Url';
|
|
17
|
+
import { defineMessages, useIntl } from 'react-intl';
|
|
17
18
|
import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrowser';
|
|
18
19
|
import clearSVG from '@plone/volto/icons/clear.svg';
|
|
19
20
|
import navTreeSVG from '@plone/volto/icons/nav.svg';
|
|
20
21
|
|
|
22
|
+
const messages = defineMessages({
|
|
23
|
+
urlMissing: {
|
|
24
|
+
id: 'URL is missing',
|
|
25
|
+
defaultMessage: 'URL is missing',
|
|
26
|
+
},
|
|
27
|
+
urlInvalid: {
|
|
28
|
+
id: 'URL is invalid',
|
|
29
|
+
defaultMessage: 'URL is invalid',
|
|
30
|
+
},
|
|
31
|
+
clearUrl: {
|
|
32
|
+
id: 'Clear URL',
|
|
33
|
+
defaultMessage: 'Clear URL',
|
|
34
|
+
},
|
|
35
|
+
openUrlBrowser: {
|
|
36
|
+
id: 'Open URL browser',
|
|
37
|
+
defaultMessage: 'Open URL browser',
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
|
|
21
41
|
/** Widget to edit urls
|
|
22
42
|
*
|
|
23
43
|
* This is the default widget used for the `remoteUrl` field. You can also use
|
|
@@ -40,9 +60,10 @@ export const UrlWidget = (props) => {
|
|
|
40
60
|
maxLength,
|
|
41
61
|
placeholder,
|
|
42
62
|
isDisabled,
|
|
63
|
+
required,
|
|
43
64
|
} = props;
|
|
44
65
|
const inputId = `field-${id}`;
|
|
45
|
-
|
|
66
|
+
const intl = useIntl();
|
|
46
67
|
const [value, setValue] = useState(flattenToAppURL(props.value));
|
|
47
68
|
const [isInvalid, setIsInvalid] = useState(false);
|
|
48
69
|
/**
|
|
@@ -54,6 +75,7 @@ export const UrlWidget = (props) => {
|
|
|
54
75
|
const clear = () => {
|
|
55
76
|
setValue('');
|
|
56
77
|
onChange(id, undefined);
|
|
78
|
+
setIsInvalid(false);
|
|
57
79
|
};
|
|
58
80
|
|
|
59
81
|
const onChangeValue = (_value) => {
|
|
@@ -83,6 +105,14 @@ export const UrlWidget = (props) => {
|
|
|
83
105
|
onChange(id, newValue === '' ? undefined : newValue);
|
|
84
106
|
};
|
|
85
107
|
|
|
108
|
+
// A11y: if the field is required and the user leaves it empty, we mark it as missing
|
|
109
|
+
const handleBlur = ({ target }) => {
|
|
110
|
+
if (required && (!target.value || target.value === '')) {
|
|
111
|
+
setIsInvalid(true);
|
|
112
|
+
}
|
|
113
|
+
onBlur(id, target.value === '' ? undefined : target.value);
|
|
114
|
+
};
|
|
115
|
+
|
|
86
116
|
return (
|
|
87
117
|
<FormFieldWrapper {...props} className="url wide">
|
|
88
118
|
<div className="wrapper">
|
|
@@ -90,24 +120,38 @@ export const UrlWidget = (props) => {
|
|
|
90
120
|
id={inputId}
|
|
91
121
|
name={id}
|
|
92
122
|
type="url"
|
|
123
|
+
required={required}
|
|
124
|
+
aria-required={required}
|
|
125
|
+
aria-invalid={isInvalid}
|
|
126
|
+
aria-errormessage={isInvalid ? `${inputId}-error` : undefined}
|
|
93
127
|
value={value || ''}
|
|
94
128
|
disabled={isDisabled}
|
|
95
129
|
placeholder={placeholder}
|
|
96
130
|
onChange={({ target }) => onChangeValue(target.value)}
|
|
97
|
-
onBlur={
|
|
98
|
-
onBlur(id, target.value === '' ? undefined : target.value)
|
|
99
|
-
}
|
|
131
|
+
onBlur={handleBlur}
|
|
100
132
|
onClick={() => onClick()}
|
|
101
133
|
minLength={minLength || null}
|
|
102
134
|
maxLength={maxLength || null}
|
|
103
135
|
error={isInvalid}
|
|
104
136
|
/>
|
|
137
|
+
{isInvalid && (
|
|
138
|
+
<span
|
|
139
|
+
id={`${inputId}-error`}
|
|
140
|
+
role="alert"
|
|
141
|
+
className="visually-hidden-volto"
|
|
142
|
+
>
|
|
143
|
+
{value?.length > 0
|
|
144
|
+
? intl.formatMessage(messages.urlInvalid)
|
|
145
|
+
: intl.formatMessage(messages.urlMissing)}
|
|
146
|
+
</span>
|
|
147
|
+
)}
|
|
105
148
|
{value?.length > 0 ? (
|
|
106
149
|
<Button.Group>
|
|
107
150
|
<Button
|
|
151
|
+
type="button"
|
|
108
152
|
basic
|
|
109
153
|
className="cancel"
|
|
110
|
-
aria-label=
|
|
154
|
+
aria-label={intl.formatMessage(messages.clearUrl)}
|
|
111
155
|
onClick={(e) => {
|
|
112
156
|
e.preventDefault();
|
|
113
157
|
e.stopPropagation();
|
|
@@ -120,9 +164,10 @@ export const UrlWidget = (props) => {
|
|
|
120
164
|
) : (
|
|
121
165
|
<Button.Group>
|
|
122
166
|
<Button
|
|
167
|
+
type="button"
|
|
123
168
|
basic
|
|
124
169
|
icon
|
|
125
|
-
aria-label=
|
|
170
|
+
aria-label={intl.formatMessage(messages.openUrlBrowser)}
|
|
126
171
|
onClick={(e) => {
|
|
127
172
|
e.preventDefault();
|
|
128
173
|
e.stopPropagation();
|
|
@@ -8,6 +8,7 @@ const AlternateHrefLangs = (props) => {
|
|
|
8
8
|
<Helmet>
|
|
9
9
|
{config.settings.isMultilingual &&
|
|
10
10
|
content['@components']?.translations?.items &&
|
|
11
|
+
content.language?.token &&
|
|
11
12
|
[
|
|
12
13
|
...content['@components']?.translations?.items,
|
|
13
14
|
{ '@id': content['@id'], language: content.language.token },
|
|
@@ -36,6 +36,36 @@ describe('AlternateHrefLangs', () => {
|
|
|
36
36
|
expect(helmetLinks.length).toBe(0);
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
+
it('multilingual site, content without language field, renders nothing', () => {
|
|
40
|
+
config.settings.publicURL = 'https://plone.org';
|
|
41
|
+
config.settings.supportedLanguages = ['en', 'es'];
|
|
42
|
+
|
|
43
|
+
const content = {
|
|
44
|
+
'@id': 'http://localhost:8080/Plone/en/newsroom/news',
|
|
45
|
+
'@components': {
|
|
46
|
+
translations: {
|
|
47
|
+
items: [{ '@id': 'http://localhost:8080/Plone/es', language: 'es' }],
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const store = mockStore({
|
|
53
|
+
intl: {
|
|
54
|
+
locale: 'en',
|
|
55
|
+
messages: {},
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
renderer.create(
|
|
60
|
+
<Provider store={store}>
|
|
61
|
+
<AlternateHrefLangs content={content} />
|
|
62
|
+
</Provider>,
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
const helmetLinks = Helmet.peek().linkTags;
|
|
66
|
+
expect(helmetLinks.length).toBe(0);
|
|
67
|
+
});
|
|
68
|
+
|
|
39
69
|
it('multilingual site, with some translations', () => {
|
|
40
70
|
config.settings.publicURL = 'https://plone.org';
|
|
41
71
|
config.settings.isMultilingual = true;
|
|
@@ -8,6 +8,7 @@ import { getBaseUrl } from '@plone/volto/helpers/Url/Url';
|
|
|
8
8
|
import BodyClass from '@plone/volto/helpers/BodyClass/BodyClass';
|
|
9
9
|
|
|
10
10
|
const Unauthorized = () => {
|
|
11
|
+
const token = useSelector((state) => state.userSession.token);
|
|
11
12
|
const error_message = useSelector((state) => state.apierror?.message);
|
|
12
13
|
let location = useLocation();
|
|
13
14
|
|
|
@@ -19,28 +20,35 @@ const Unauthorized = () => {
|
|
|
19
20
|
</h1>
|
|
20
21
|
<h3>{error_message}</h3>
|
|
21
22
|
<p className="description">
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
23
|
+
{token ? (
|
|
24
|
+
<FormattedMessage
|
|
25
|
+
id="You are trying to access a protected resource."
|
|
26
|
+
defaultMessage="You are trying to access a protected resource."
|
|
27
|
+
/>
|
|
28
|
+
) : (
|
|
29
|
+
<FormattedMessage
|
|
30
|
+
id="You are trying to access a protected resource, please {login} first."
|
|
31
|
+
defaultMessage="You are trying to access a protected resource, please {login} first."
|
|
32
|
+
values={{
|
|
33
|
+
login: (
|
|
34
|
+
<Link
|
|
35
|
+
to={{
|
|
36
|
+
pathname: `${getBaseUrl(location.pathname)}/login`,
|
|
37
|
+
state: {
|
|
38
|
+
// This is needed to cover the use case of being logged in in
|
|
39
|
+
// another backend (eg. in development), having a token for
|
|
40
|
+
// localhost and try to use it, the login route has to know that
|
|
41
|
+
// it's the same as it comes from a logout
|
|
42
|
+
isLogout: true,
|
|
43
|
+
},
|
|
44
|
+
}}
|
|
45
|
+
>
|
|
46
|
+
<FormattedMessage id="log in" defaultMessage="log in" />
|
|
47
|
+
</Link>
|
|
48
|
+
),
|
|
49
|
+
}}
|
|
50
|
+
/>
|
|
51
|
+
)}
|
|
44
52
|
</p>
|
|
45
53
|
<p>
|
|
46
54
|
<FormattedMessage
|
|
@@ -9,8 +9,35 @@ import Unauthorized from './Unauthorized';
|
|
|
9
9
|
const mockStore = configureStore();
|
|
10
10
|
|
|
11
11
|
describe('Unauthorized', () => {
|
|
12
|
-
it('renders
|
|
12
|
+
it('renders an unauthorized component', () => {
|
|
13
13
|
const store = mockStore({
|
|
14
|
+
userSession: {
|
|
15
|
+
token: null,
|
|
16
|
+
},
|
|
17
|
+
intl: {
|
|
18
|
+
locale: 'en',
|
|
19
|
+
messages: {},
|
|
20
|
+
},
|
|
21
|
+
apierror: {
|
|
22
|
+
message: 'You are not authorized to access this resource',
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const component = renderer.create(
|
|
26
|
+
<Provider store={store}>
|
|
27
|
+
<MemoryRouter>
|
|
28
|
+
<Unauthorized />
|
|
29
|
+
</MemoryRouter>
|
|
30
|
+
</Provider>,
|
|
31
|
+
);
|
|
32
|
+
const json = component.toJSON();
|
|
33
|
+
expect(json).toMatchSnapshot();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it('renders an unauthorized component for authenticated user', () => {
|
|
37
|
+
const store = mockStore({
|
|
38
|
+
userSession: {
|
|
39
|
+
token: '1234',
|
|
40
|
+
},
|
|
14
41
|
intl: {
|
|
15
42
|
locale: 'en',
|
|
16
43
|
messages: {},
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
|
|
83
83
|
/* Input Text Color */
|
|
84
84
|
@inputColor: @textColor;
|
|
85
|
-
@inputPlaceholderColor: lighten(@inputColor,
|
|
86
|
-
@inputPlaceholderFocusColor: lighten(@inputColor,
|
|
85
|
+
@inputPlaceholderColor: lighten(@inputColor, 35);
|
|
86
|
+
@inputPlaceholderFocusColor: lighten(@inputColor, 65);
|
|
87
87
|
|
|
88
88
|
/* Line Height Default For Inputs in Browser (Descenders are 17px at 14px base em) */
|
|
89
89
|
@inputLineHeight: unit((17 / 14), em);
|
|
@@ -658,6 +658,21 @@ img.responsive {
|
|
|
658
658
|
margin-top: 20px;
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
+
// Accessibility
|
|
662
|
+
// This class is used to hide elements visually but keep them accessible for screen readers and assistive technologies.
|
|
663
|
+
// to not interfere with other 'visually-hidden' classes from other CSS frameworks (e.g. Semantic UI or TailwindCSS), we use a specific class name for Volto 18 (only).
|
|
664
|
+
.visually-hidden-volto {
|
|
665
|
+
position: absolute !important;
|
|
666
|
+
overflow: hidden !important;
|
|
667
|
+
width: 1px !important;
|
|
668
|
+
height: 1px !important;
|
|
669
|
+
padding: 0 !important;
|
|
670
|
+
border: 0 !important;
|
|
671
|
+
margin: -1px !important;
|
|
672
|
+
clip-path: inset(50%) !important;
|
|
673
|
+
white-space: nowrap !important;
|
|
674
|
+
}
|
|
675
|
+
|
|
661
676
|
// Deprecated as per https://github.com/plone/volto/issues/1265
|
|
662
677
|
// @import 'utils';
|
|
663
678
|
@import (multiple) '../extras/fonts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -143,7 +143,7 @@ module.exports = (userOptions = {}) => ({
|
|
|
143
143
|
/packages\/volto\/theme/,
|
|
144
144
|
/plone\.volto\/theme/,
|
|
145
145
|
/node_modules\/semantic-ui-less/,
|
|
146
|
-
...Object.values(registry.
|
|
146
|
+
...Object.values(registry.packages).map((p) => p.modulePath),
|
|
147
147
|
],
|
|
148
148
|
use: isServer
|
|
149
149
|
? [
|