@the-portland-company/shell 0.87.1 → 0.89.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 +22 -0
- package/README.md +51 -0
- package/bin/shell-version-check.mjs +117 -0
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +1 -1
- package/dist/app-chrome.d.ts +1 -1
- package/dist/app-chrome.js +3 -3
- package/dist/chrome.css +20 -0
- package/dist/{chunk-PRZP2SB6.js → chunk-J23MTK56.js} +562 -5
- package/dist/chunk-J23MTK56.js.map +1 -0
- package/dist/{chunk-3JOLELB4.js → chunk-SJDFAK5R.js} +23 -5
- package/dist/chunk-SJDFAK5R.js.map +1 -0
- package/dist/{index-bfbWLC7_.d.cts → index-CZylXAP4.d.cts} +278 -2
- package/dist/{index-C31E7M9l.d.ts → index-DwkSyAip.d.ts} +278 -2
- package/dist/index.cjs +400 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -79
- package/dist/index.d.ts +6 -79
- package/dist/index.js +21 -204
- package/dist/index.js.map +1 -1
- package/dist/native.cjs +589 -4
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +2 -2
- package/eslint/index.cjs +172 -0
- package/eslint/index.d.ts +6 -0
- package/eslint/index.mjs +5 -0
- package/package.json +17 -2
- package/dist/chunk-3JOLELB4.js.map +0 -1
- package/dist/chunk-PRZP2SB6.js.map +0 -1
package/dist/native.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export {
|
|
3
|
+
export { M as BETA_BANNER_DISMISS_KEY, O as BreadcrumbBar, B as BreadcrumbBarProps, a as Button, b as ButtonProps, c as ButtonSize, d as ButtonVariant, Q as CAMPAIGN_FEATURE_AVAILABILITY, R as CORE_APP_ORIGIN, U as CORE_BILLING_PATH, V as CREDIT_TYPE_LABELS, W as CREDIT_TYPE_ORDER, X as CampaignFeatureAvailability, C as Card, e as CardPadding, f as CardProps, g as Checkbox, h as CheckboxProps, Y as ChromeMe, Z as ChromeNotificationAlert, _ as ChromeNotificationImport, $ as ChromeNotificationQuarantine, a0 as ChromeNotificationReply, a1 as ChromeNotificationsPayload, a2 as ChromeOrgSummary, a3 as CommunicationsFuelStatus, a4 as CreditHealthState, a5 as CreditTypeKey, a6 as CreditsAction, a7 as CreditsIconState, F as FileInput, k as FileInputProps, l as FormColumn, a8 as FuelAction, a9 as FuelChannelStatus, H as HeaderTabBar, m as HeaderTabBarItem, I as Input, n as InputProps, aa as NavAppShell, ab as NavAppShellProps, ac as NavBetaBanner, ad as NavBetaBannerProps, ae as NavBrand, x as NavBreadcrumb, A as NavChromeFetcher, af as NavChromeProvider, ag as NavDisplayAction, L as NavDisplayMode, K as NavFooter, J as NavFooterLink, w as NavIcon, N as NavItem, z as NavLinkComponent, ah as NavLinkProps, ai as NavLinkedAccount, D as NavMode, aj as NavModeOption, ak as NavOrg, G as NavOrgOption, al as NavRoleBadge, am as NavSidebar, an as NavSidebarProps, ao as NavTab, ap as NavTabStrip, aq as NavTabStripProps, ar as NavThemeControl, as as NavTopBar, at as NavTopBarAction, au as NavTopBarProps, av as NavUser, E as NavUserMenu, aw as NotificationsAction, ax as PageHeader, ay as PageHeaderMode, P as PageHeaderProps, az as SPECS_ORIGIN, S as Select, q as SelectProps, aA as SpecOverlayAction, v as StandardNavIconKey, y as StandardNavMode, aB as StandardNavOptions, aC as SupportAction, T as Textarea, r as TextareaProps, aD as ThemePreference, aE as TopBarCountBadge, aF as TopBarIconTone, aG as TopBarPanelArrow, aH as TopBarPopover, aI as TopBarTooltip, aJ as TopBarWidgetSlot, aK as clearBetaBannerDismissal, aL as creditGaugeRatio, aM as creditStateWord, aN as creditTooltipLine, aO as creditsAriaLabel, aP as creditsIconState, aQ as envChipClasses, aR as isNavItemActive, aS as modeIdFromLabel, aT as resolveOrgLogoUrl, aU as shortEnvLabel, aV as shortUserName, aW as standardPolitogyNav, aX as topBarIconButtonClass, aY as useChromeMe, aZ as useChromeOrgs, a_ as useNavChromeDedupedFetch, a$ as useNavChromeFetcher, b0 as useThemePreference } from './index-CZylXAP4.cjs';
|
|
4
4
|
import './theme-preference.cjs';
|
package/dist/native.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
-
export {
|
|
3
|
+
export { M as BETA_BANNER_DISMISS_KEY, O as BreadcrumbBar, B as BreadcrumbBarProps, a as Button, b as ButtonProps, c as ButtonSize, d as ButtonVariant, Q as CAMPAIGN_FEATURE_AVAILABILITY, R as CORE_APP_ORIGIN, U as CORE_BILLING_PATH, V as CREDIT_TYPE_LABELS, W as CREDIT_TYPE_ORDER, X as CampaignFeatureAvailability, C as Card, e as CardPadding, f as CardProps, g as Checkbox, h as CheckboxProps, Y as ChromeMe, Z as ChromeNotificationAlert, _ as ChromeNotificationImport, $ as ChromeNotificationQuarantine, a0 as ChromeNotificationReply, a1 as ChromeNotificationsPayload, a2 as ChromeOrgSummary, a3 as CommunicationsFuelStatus, a4 as CreditHealthState, a5 as CreditTypeKey, a6 as CreditsAction, a7 as CreditsIconState, F as FileInput, k as FileInputProps, l as FormColumn, a8 as FuelAction, a9 as FuelChannelStatus, H as HeaderTabBar, m as HeaderTabBarItem, I as Input, n as InputProps, aa as NavAppShell, ab as NavAppShellProps, ac as NavBetaBanner, ad as NavBetaBannerProps, ae as NavBrand, x as NavBreadcrumb, A as NavChromeFetcher, af as NavChromeProvider, ag as NavDisplayAction, L as NavDisplayMode, K as NavFooter, J as NavFooterLink, w as NavIcon, N as NavItem, z as NavLinkComponent, ah as NavLinkProps, ai as NavLinkedAccount, D as NavMode, aj as NavModeOption, ak as NavOrg, G as NavOrgOption, al as NavRoleBadge, am as NavSidebar, an as NavSidebarProps, ao as NavTab, ap as NavTabStrip, aq as NavTabStripProps, ar as NavThemeControl, as as NavTopBar, at as NavTopBarAction, au as NavTopBarProps, av as NavUser, E as NavUserMenu, aw as NotificationsAction, ax as PageHeader, ay as PageHeaderMode, P as PageHeaderProps, az as SPECS_ORIGIN, S as Select, q as SelectProps, aA as SpecOverlayAction, v as StandardNavIconKey, y as StandardNavMode, aB as StandardNavOptions, aC as SupportAction, T as Textarea, r as TextareaProps, aD as ThemePreference, aE as TopBarCountBadge, aF as TopBarIconTone, aG as TopBarPanelArrow, aH as TopBarPopover, aI as TopBarTooltip, aJ as TopBarWidgetSlot, aK as clearBetaBannerDismissal, aL as creditGaugeRatio, aM as creditStateWord, aN as creditTooltipLine, aO as creditsAriaLabel, aP as creditsIconState, aQ as envChipClasses, aR as isNavItemActive, aS as modeIdFromLabel, aT as resolveOrgLogoUrl, aU as shortEnvLabel, aV as shortUserName, aW as standardPolitogyNav, aX as topBarIconButtonClass, aY as useChromeMe, aZ as useChromeOrgs, a_ as useNavChromeDedupedFetch, a$ as useNavChromeFetcher, b0 as useThemePreference } from './index-DwkSyAip.js';
|
|
4
4
|
import './theme-preference.js';
|
package/dist/native.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardPolitogyNav } from './chunk-
|
|
3
|
-
export { CORE_APP_ORIGIN, CORE_BILLING_PATH, CREDIT_TYPE_LABELS, CREDIT_TYPE_ORDER, CreditsAction, FormColumn, FuelAction, NavChromeProvider, NavDisplayAction, NavThemeControl, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, creditGaugeRatio, creditStateWord, creditTooltipLine, creditsAriaLabel, creditsIconState, resolveOrgLogoUrl, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference } from './chunk-
|
|
2
|
+
export { BETA_BANNER_DISMISS_KEY, BreadcrumbBar, CAMPAIGN_FEATURE_AVAILABILITY, NavAppShell, NavBetaBanner, NavSidebar, NavTabStrip, NavTopBar, PageHeader, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, shortEnvLabel, shortUserName, standardPolitogyNav } from './chunk-SJDFAK5R.js';
|
|
3
|
+
export { Button_default as Button, CORE_APP_ORIGIN, CORE_BILLING_PATH, CREDIT_TYPE_LABELS, CREDIT_TYPE_ORDER, Card, Checkbox_default as Checkbox, CreditsAction, FileInput_default as FileInput, FormColumn, FuelAction, HeaderTabBar, Input_default as Input, NavChromeProvider, NavDisplayAction, NavThemeControl, NotificationsAction, SPECS_ORIGIN, Select_default as Select, SpecOverlayAction, SupportAction, Textarea_default as Textarea, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, creditGaugeRatio, creditStateWord, creditTooltipLine, creditsAriaLabel, creditsIconState, resolveOrgLogoUrl, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference } from './chunk-J23MTK56.js';
|
|
4
4
|
import './chunk-BHRVZPZ7.js';
|
|
5
5
|
import './chunk-7YVJ7HQG.js';
|
|
6
6
|
import './chunk-5LO5W7W5.js';
|
package/eslint/index.cjs
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
// Shell primitives guard. Spec: Components — shared primitives are mandatory.
|
|
3
|
+
const SHELL_PKG = '@the-portland-company/shell'
|
|
4
|
+
const LOCAL_NAMES = new Set(['Button', 'Card', 'Input', 'Select', 'Textarea', 'Checkbox', 'FileInput', 'PageHeader', 'FormColumn'])
|
|
5
|
+
const RAW_TO_PRIMITIVE = { button: 'Button', input: 'Input', select: 'Select', textarea: 'Textarea' }
|
|
6
|
+
const GLOBAL_CLASS_RE = /\b(btn|input)(-[a-z]+)?\b/
|
|
7
|
+
const EXEMPT_RE = /shell-primitive-exempt:\s*\S+/
|
|
8
|
+
|
|
9
|
+
const isShellSource = (s) => typeof s === 'string' && (s === SHELL_PKG || s.startsWith(SHELL_PKG + '/'))
|
|
10
|
+
|
|
11
|
+
/** True when an exempt comment (with a reason) is on the node's line or the line above. */
|
|
12
|
+
function isExempt(context, node) {
|
|
13
|
+
const sc = context.sourceCode || context.getSourceCode()
|
|
14
|
+
const start = node.loc.start.line
|
|
15
|
+
return sc.getAllComments().some(
|
|
16
|
+
(c) => EXEMPT_RE.test(c.value) && c.loc.end.line >= start - 1 && c.loc.end.line <= start,
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const noLocalPrimitives = {
|
|
21
|
+
meta: {
|
|
22
|
+
type: 'problem',
|
|
23
|
+
schema: [],
|
|
24
|
+
messages: {
|
|
25
|
+
local: 'Do not declare or export a local "{{name}}". Import it from @the-portland-company/shell (shared primitives are mandatory); add variants to the shell instead.',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
create(context) {
|
|
29
|
+
const report = (node, name) => {
|
|
30
|
+
if (LOCAL_NAMES.has(name) && !isExempt(context, node)) {
|
|
31
|
+
context.report({ node, messageId: 'local', data: { name } })
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
FunctionDeclaration: (n) => n.id && report(n.id, n.id.name),
|
|
36
|
+
ClassDeclaration: (n) => n.id && report(n.id, n.id.name),
|
|
37
|
+
VariableDeclarator: (n) => n.id.type === 'Identifier' && report(n.id, n.id.name),
|
|
38
|
+
ExportSpecifier(n) {
|
|
39
|
+
const parent = n.parent
|
|
40
|
+
const exported = n.exported.name || n.exported.value
|
|
41
|
+
if (parent.source) {
|
|
42
|
+
if (!isShellSource(parent.source.value)) report(n, exported)
|
|
43
|
+
} else if (n.local.name !== exported) {
|
|
44
|
+
report(n, exported) // `export { Foo as Button }`; same-name locals are caught at declaration
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const noRawControlStyling = {
|
|
52
|
+
meta: {
|
|
53
|
+
type: 'problem',
|
|
54
|
+
schema: [],
|
|
55
|
+
messages: {
|
|
56
|
+
raw: '<{{tag}}> with {{prop}} hand-rolls a control. Use <{{primitive}}> from @the-portland-company/shell, or add "// shell-primitive-exempt: <reason>".',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
create(context) {
|
|
60
|
+
const imported = new Set()
|
|
61
|
+
return {
|
|
62
|
+
ImportDeclaration(n) {
|
|
63
|
+
if (!isShellSource(n.source.value)) return
|
|
64
|
+
for (const s of n.specifiers) if (s.type === 'ImportSpecifier') imported.add(s.imported.name || s.imported.value)
|
|
65
|
+
},
|
|
66
|
+
JSXOpeningElement(n) {
|
|
67
|
+
if (n.name.type !== 'JSXIdentifier') return
|
|
68
|
+
const tag = n.name.name
|
|
69
|
+
let primitive = RAW_TO_PRIMITIVE[tag]
|
|
70
|
+
if (tag === 'input') {
|
|
71
|
+
// <input type="checkbox|file"> needs Checkbox / FileInput; importing Input does not excuse it.
|
|
72
|
+
const typeAttr = n.attributes.find(
|
|
73
|
+
(a) => a.type === 'JSXAttribute' && a.name.type === 'JSXIdentifier' && a.name.name === 'type',
|
|
74
|
+
)
|
|
75
|
+
const v = typeAttr && typeAttr.value
|
|
76
|
+
const typeValue =
|
|
77
|
+
v && v.type === 'Literal' ? v.value
|
|
78
|
+
: v && v.type === 'JSXExpressionContainer' && v.expression.type === 'Literal' ? v.expression.value
|
|
79
|
+
: null
|
|
80
|
+
if (typeValue === 'checkbox') primitive = 'Checkbox'
|
|
81
|
+
else if (typeValue === 'file') primitive = 'FileInput'
|
|
82
|
+
}
|
|
83
|
+
if (!primitive) return
|
|
84
|
+
const attr = n.attributes.find(
|
|
85
|
+
(a) => a.type === 'JSXAttribute' && a.name.type === 'JSXIdentifier' && (a.name.name === 'className' || a.name.name === 'style'),
|
|
86
|
+
)
|
|
87
|
+
if (!attr) return
|
|
88
|
+
if (imported.has(primitive)) return // wrapping the shell primitive
|
|
89
|
+
if (isExempt(context, n)) return
|
|
90
|
+
context.report({ node: attr, messageId: 'raw', data: { tag, prop: attr.name.name, primitive } })
|
|
91
|
+
},
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const noGlobalControlClasses = {
|
|
97
|
+
meta: {
|
|
98
|
+
type: 'problem',
|
|
99
|
+
schema: [],
|
|
100
|
+
messages: {
|
|
101
|
+
global: 'className "{{value}}" relies on a global btn/input class. Use the shell Button/Input primitives.',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
create(context) {
|
|
105
|
+
function scan(node, root) {
|
|
106
|
+
if (!node) return
|
|
107
|
+
switch (node.type) {
|
|
108
|
+
case 'Literal':
|
|
109
|
+
if (typeof node.value === 'string') check(node.value, node, root)
|
|
110
|
+
break
|
|
111
|
+
case 'TemplateLiteral':
|
|
112
|
+
node.quasis.forEach((q) => check(q.value.cooked || '', q, root))
|
|
113
|
+
node.expressions.forEach((e) => scan(e, root))
|
|
114
|
+
break
|
|
115
|
+
case 'JSXExpressionContainer':
|
|
116
|
+
scan(node.expression, root)
|
|
117
|
+
break
|
|
118
|
+
case 'ConditionalExpression':
|
|
119
|
+
scan(node.consequent, root)
|
|
120
|
+
scan(node.alternate, root)
|
|
121
|
+
break
|
|
122
|
+
case 'LogicalExpression':
|
|
123
|
+
case 'BinaryExpression':
|
|
124
|
+
scan(node.left, root)
|
|
125
|
+
scan(node.right, root)
|
|
126
|
+
break
|
|
127
|
+
case 'CallExpression':
|
|
128
|
+
node.arguments.forEach((a) => scan(a, root))
|
|
129
|
+
break
|
|
130
|
+
case 'ArrayExpression':
|
|
131
|
+
node.elements.forEach((a) => scan(a, root))
|
|
132
|
+
break
|
|
133
|
+
case 'ObjectExpression':
|
|
134
|
+
node.properties.forEach((p) => p.type === 'Property' && scan(p.key, root))
|
|
135
|
+
break
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function check(text, node, root) {
|
|
139
|
+
if (GLOBAL_CLASS_RE.test(text) && !isExempt(context, root)) {
|
|
140
|
+
context.report({ node, messageId: 'global', data: { value: text.trim() } })
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
JSXAttribute(n) {
|
|
145
|
+
if (n.name.type === 'JSXIdentifier' && n.name.name === 'className') scan(n.value, n)
|
|
146
|
+
},
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const rules = {
|
|
152
|
+
'no-local-primitives': noLocalPrimitives,
|
|
153
|
+
'no-raw-control-styling': noRawControlStyling,
|
|
154
|
+
'no-global-control-classes': noGlobalControlClasses,
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
const plugin = { meta: { name: SHELL_PKG + '/eslint' }, rules, configs: {} }
|
|
158
|
+
|
|
159
|
+
// Flat config: `export default [...shell.configs.recommended]`
|
|
160
|
+
plugin.configs.recommended = [
|
|
161
|
+
{
|
|
162
|
+
files: ['**/*.{js,jsx,ts,tsx,mjs,cjs}'],
|
|
163
|
+
plugins: { 'politogy-shell': plugin },
|
|
164
|
+
rules: {
|
|
165
|
+
'politogy-shell/no-local-primitives': 'error',
|
|
166
|
+
'politogy-shell/no-raw-control-styling': 'error',
|
|
167
|
+
'politogy-shell/no-global-control-classes': 'error',
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
]
|
|
171
|
+
|
|
172
|
+
module.exports = plugin
|
package/eslint/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-portland-company/shell",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.89.0",
|
|
4
4
|
"description": "Shared chrome (header, sidebar, footer, theme, auth) for politogy apps. Drop into any Vite SPA to inherit the politogy look and signed-in user.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -70,10 +70,17 @@
|
|
|
70
70
|
"types": "./dist/runtime-tokens.d.ts",
|
|
71
71
|
"import": "./dist/runtime-tokens.js",
|
|
72
72
|
"require": "./dist/runtime-tokens.cjs"
|
|
73
|
+
},
|
|
74
|
+
"./eslint": {
|
|
75
|
+
"types": "./eslint/index.d.ts",
|
|
76
|
+
"import": "./eslint/index.mjs",
|
|
77
|
+
"require": "./eslint/index.cjs"
|
|
73
78
|
}
|
|
74
79
|
},
|
|
75
80
|
"files": [
|
|
76
81
|
"dist",
|
|
82
|
+
"eslint",
|
|
83
|
+
"bin",
|
|
77
84
|
"README.md",
|
|
78
85
|
"CHANGELOG.md"
|
|
79
86
|
],
|
|
@@ -104,7 +111,8 @@
|
|
|
104
111
|
"react": "^18.0.0 || ^19.0.0",
|
|
105
112
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
106
113
|
"react-icons": "^4.0.0 || ^5.0.0",
|
|
107
|
-
"react-router-dom": "^6.0.0 || ^7.0.0"
|
|
114
|
+
"react-router-dom": "^6.0.0 || ^7.0.0",
|
|
115
|
+
"eslint": ">=9"
|
|
108
116
|
},
|
|
109
117
|
"peerDependenciesMeta": {
|
|
110
118
|
"@chakra-ui/react": {
|
|
@@ -127,6 +135,9 @@
|
|
|
127
135
|
},
|
|
128
136
|
"@the-portland-company/devnotes": {
|
|
129
137
|
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"eslint": {
|
|
140
|
+
"optional": true
|
|
130
141
|
}
|
|
131
142
|
},
|
|
132
143
|
"devDependencies": {
|
|
@@ -141,6 +152,7 @@
|
|
|
141
152
|
"@types/node": "~22.10.0",
|
|
142
153
|
"@types/react": "^18.3.0",
|
|
143
154
|
"@types/react-dom": "^18.3.0",
|
|
155
|
+
"eslint": "^9.39.5",
|
|
144
156
|
"jsdom": "^25.0.0",
|
|
145
157
|
"react": "^18.3.0",
|
|
146
158
|
"react-dom": "^18.3.0",
|
|
@@ -152,5 +164,8 @@
|
|
|
152
164
|
},
|
|
153
165
|
"overrides": {
|
|
154
166
|
"nanoid": "^3.3.18"
|
|
167
|
+
},
|
|
168
|
+
"bin": {
|
|
169
|
+
"shell-version-check": "./bin/shell-version-check.mjs"
|
|
155
170
|
}
|
|
156
171
|
}
|