@reviewflow/app 6.21.0 → 6.22.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/bin/reviewflow-app.mjs
CHANGED
|
File without changes
|
|
@@ -1067,7 +1067,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{v
|
|
|
1067
1067
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ParagraphRegularIcon",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ParagraphDuotoneIcon",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"ParagraphFillIcon",{enumerable:!0,get:function(){return c}});var n=r(d[0]);const t=(0,n.createIcon)("M208,40H96a64,64,0,0,0,0,128h40v40a8,8,0,0,0,16,0V56h24V208a8,8,0,0,0,16,0V56h16a8,8,0,0,0,0-16ZM136,152H96a48,48,0,0,1,0-96h40Z"),o=(0,n.createDuotoneIcon)("M144,48V160H96A56,56,0,0,1,96,48Z","M208,40H96a64,64,0,0,0,0,128h40v40a8,8,0,0,0,16,0V56h24V208a8,8,0,0,0,16,0V56h16a8,8,0,0,0,0-16ZM136,152H96a48,48,0,0,1,0-96h40Z"),c=(0,n.createIcon)("M216,48a8,8,0,0,1-8,8H192V208a8,8,0,0,1-16,0V56H152V208a8,8,0,0,1-16,0V168H96A64,64,0,0,1,96,40H208A8,8,0,0,1,216,48Z")},969,[361]);
|
|
1068
1068
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"usePullRequestCollapse",{enumerable:!0,get:function(){return s}});var l=r(d[0]);const s=()=>{const[s,t]=(0,l.useState)({all:null,overrides:{}});return(0,l.useMemo)(()=>({isCollapsed:(l,t)=>s.overrides[l]??s.all??t,set:(l,s)=>{t(t=>({all:t.all,overrides:Object.assign({},t.overrides,{[l]:s})}))},expandAll:()=>{t({all:!1,overrides:{}})},collapseAll:()=>{t({all:!0,overrides:{}})}}),[s])}},970,[15]);
|
|
1069
1069
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"usePullRequestDiff",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"useMissingCheckoutReason",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"usePullRequestReadingOrder",{enumerable:!0,get:function(){return c}}),Object.defineProperty(e,"usePullRequestImpacts",{enumerable:!0,get:function(){return p}}),Object.defineProperty(e,"changedPathsOf",{enumerable:!0,get:function(){return R}}),Object.defineProperty(e,"usePullRequestMovedOn",{enumerable:!0,get:function(){return P}});var u=r(d[0]);const t=({ownerRepo:t,number:n,head:l,base:s},o)=>{const{useDiff:c}=(0,u.usePullRequestDataSource)(),{value:h,error:b,reading:p,step:f,refused:R}=c({ownerRepo:t,number:n},{head:l,base:s,whitespace:o});return{diff:h,error:b,loading:p,step:f,refused:R}},n=()=>({status:"attached",detail:""}),l=t=>{const{useRepositoryAttachment:l}=(0,u.usePullRequestDataSource)(),s=(l??n)(t);return null===s?"Whether the repository has a local checkout is not known":"attached"===s.status?null:`Needs a local checkout: ${s.detail}`},s={value:null,cached:!1,reading:!1,error:null,refused:null},o=()=>s,c=({ownerRepo:t,number:n,head:l,base:s},c)=>{const{useReadingOrder:h}=(0,u.usePullRequestDataSource)(),b=(h??o)({ownerRepo:t,number:n},c?{head:l,base:s}:null);return Object.assign({},b,{available:void 0!==h})},h={value:null,cached:!1,reading:!1,error:null,refused:null},b=()=>h,p=({ownerRepo:t,number:n,head:l,base:s},o)=>{const{useImpacts:c}=(0,u.usePullRequestDataSource)();return(c??b)({ownerRepo:t,number:n},o?{head:l,base:s}:null)},f=/^rename from (.+)$/gmu,R=u=>new Set([...u.groups.flatMap(({paths:u})=>u),...u.omitted.map(({path:u})=>u),...[...u.patch.matchAll(f)].flatMap(([,u])=>void 0===u?[]:[u])]),P=(t,n,l)=>{const s=null!==n&&null!==l&&n.head!==l.head,{useDiff:o}=(0,u.usePullRequestDataSource)(),{value:c,cached:h}=o({ownerRepo:t.ownerRepo,number:t.number},s?{base:n.head,head:l.head,whitespace:"show"}:null);if(null===n||null===l)return null;const b=n.base!==l.base;return s||b?s?{paths:null===c||h?null:R(c),baseMoved:b}:{paths:new Set,baseMoved:b}:null}},971,[937]);
|
|
1070
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createDiffFileElements",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"DiffFileElementsContext",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"useDiffFileElements",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"useDiffFileHighlight",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]);const l=()=>{const n=new Map,l=new Set;let o=null,u=[];const s=t=>{o=t;for(const t of l)t()};return{register:(t,l)=>(n.set(t,l),()=>{n.get(t)===l&&n.delete(t)}),elementOf:t=>n.get(t),highlight:(n,l)=>{for(const t of u)clearTimeout(t);s({path:n,phase:"shown",color:l}),u=[setTimeout(()=>{s({path:n,phase:"fading",color:l})},1500),setTimeout(()=>{s(null)},1500+t.animationDurationsMs.collapse)]},subscribe:t=>(l.add(t),()=>{l.delete(t)}),highlightOf:t=>o?.path===t?o:null}},o=(0,n.createContext)(null),u=()=>(0,n.
|
|
1070
|
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"createDiffFileElements",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"DiffFileElementsContext",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"useDiffFileElements",{enumerable:!0,get:function(){return u}}),Object.defineProperty(e,"useDiffFileHighlight",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=r(d[1]);const l=()=>{const n=new Map,l=new Set;let o=null,u=[];const s=t=>{o=t;for(const t of l)t()};return{register:(t,l)=>(n.set(t,l),()=>{n.get(t)===l&&n.delete(t)}),elementOf:t=>n.get(t),highlight:(n,l)=>{for(const t of u)clearTimeout(t);s({path:n,phase:"shown",color:l}),u=[setTimeout(()=>{s({path:n,phase:"fading",color:l})},1500),setTimeout(()=>{s(null)},1500+t.animationDurationsMs.collapse)]},subscribe:t=>(l.add(t),()=>{l.delete(t)}),highlightOf:t=>o?.path===t?o:null}},o=(0,n.createContext)(null),u=()=>(0,n.use)(o),s=()=>()=>{},c=t=>{const l=u();return(0,n.useSyncExternalStore)(l?.subscribe??s,()=>l?.highlightOf(t)??null)}},972,[64,15]);
|
|
1071
1071
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"maxOverviewNames",{enumerable:!0,get:function(){return h}}),e.PullRequestDiffOverview=function({groups:n,omitted:l,readingOrder:c,readingOrderStatus:f,impacts:j=null,impactsStatus:w="none",displayOrder:N,onFilePress:O,aside:P}){const v=b({groups:n,omitted:l,readingOrder:c,displayOrder:N,every:P});if(0===v.length)return null;const T=v.reduce((t,{names:s})=>t+s.length,0),I=P||T<=h,V=M[f];return(0,u.jsxs)(s.View,{className:"gap-l py-xs",role:"region","aria-label":"Changes overview",children:[(0,u.jsxs)(s.View,{className:"flex-row items-baseline gap-xs",children:[(0,u.jsx)(s.Text,{className:"font-heading-bold text-lg text-sharp",children:"Changes"}),(0,u.jsx)(s.Text,{className:"text-sm text-muted",children:`in ${(0,p.pluralOf)(v.length,"workspace")}`})]}),v.map(({name:n,files:l,tests:c,names:x})=>(0,u.jsxs)(s.View,{className:"gap-sm",children:[(0,u.jsxs)(s.View,{className:"gap-xxs",children:[(0,u.jsxs)(s.View,{className:"flex-row items-center gap-xs",children:[(0,u.jsx)(s.Icon,{icon:(0,u.jsx)(o.PackageDuotoneIcon,{}),size:20,className:"text-accent"}),(0,u.jsx)(s.Text,{className:"shrink font-heading-bold text-base text-sharp",children:""===n?"Root":n})]}),(0,u.jsx)(s.Text,{className:"pl-[28px] text-xs text-muted",children:0===c?(0,p.pluralOf)(l,"file"):`${(0,p.pluralOf)(l,"file")} \xb7 ${(0,p.pluralOf)(c,"test")}`})]}),I&&x.length>0?(0,u.jsx)(s.View,{className:P?"gap-xxs":"flex-row flex-wrap gap-xs",children:x.map(({path:s,entry:l,shown:o,subject:c})=>(0,u.jsx)(S,{path:s,label:y(n,s,c),entry:l,test:(0,t.isAttachablePath)(s),indented:null!==c,onPress:o?()=>{O(s)}:null},s))}):null]},n)),I?null:(0,u.jsx)(s.Text,{className:"text-xs text-muted",children:`Names are left out past ${String(h)}.`}),null===V?null:(0,u.jsx)(s.Text,{className:"text-xs text-muted",children:V}),(0,u.jsx)(x.PullRequestDiffImpactsSummary,{impacts:j,status:w})]})};var t=r(d[0]),s=r(d[1]),n=r(d[2]),l=r(d[3]),o=r(d[4]),c=r(d[5]),x=r(d[6]),p=r(d[7]),u=r(d[8]);const h=50,f=(t,s)=>{const n=s.filter(s=>""!==s&&t.startsWith(`${s}/`)).toSorted((t,s)=>s.length-t.length)[0];if(void 0!==n)return n;if(s.includes(""))return"";const l=t.indexOf("/");return-1===l?"":t.slice(0,l)},j=(t,s)=>[...new Set([...(s?.groups??[]).flatMap(({files:t})=>t.flatMap(({path:t,attached:s})=>[t,...s])),...t.flatMap(({paths:t})=>t)])],w=({paths:s,code:n,readSubjects:l,byPosition:o,nameOf:c})=>{const x=new Set(n),p=new Map,u=[];for(const n of s.filter(t.isAttachablePath)){const s=l.get(n)??(0,t.subjectsOf)(n).find(t=>x.has(t));void 0!==s&&x.has(s)?p.set(s,[...p.get(s)??[],n]):u.push(n)}return[...n.toSorted(o).flatMap(t=>[c(t,null),...(p.get(t)??[]).toSorted(o).map(s=>c(s,t))]),...u.toSorted(o).map(t=>c(t,null))]},b=({groups:s,omitted:n,readingOrder:l,displayOrder:o,every:c})=>{const x=[...new Set([...(o?.groups??[]).map(({name:t})=>t),...s.map(({name:t})=>t)])],p=new Map(x.map(t=>[t,[]]));for(const{name:t,paths:n}of s)p.get(t).push(...n);for(const{path:t}of n){const s=f(t,x);p.set(s,[...p.get(s)??[],t])}const u=new Map((l?.groups??[]).map(({name:t,files:s})=>[t,s])),h=new Map(j(s,o).map((t,s)=>[t,s])),b=(t,s)=>(h.get(t)??1/0)-(h.get(s)??1/0)||0,N=new Set((l?.groups??[]).flatMap(({files:t})=>t.filter(({entry:t})=>t).map(({path:t})=>t))),y=new Map((l?.groups??[]).flatMap(({files:t})=>t.flatMap(({path:t,attached:s})=>s.map(s=>[s,t])))),O=(t,s)=>({path:t,entry:N.has(t),shown:h.has(t),subject:s});return[...p].filter(([,t])=>t.length>0).map(([s,n])=>{const l=n.filter(s=>!(0,t.isAttachablePath)(s)),o=(u.get(s)??[]).filter(({root:t})=>t),x=(()=>{if(c)return w({paths:n,code:l,readSubjects:y,byPosition:b,nameOf:O});return(o.length>0?o.map(({path:t})=>t):l).toSorted(b).map(t=>O(t,null))})();return{name:s,files:l.length,tests:n.length-l.length,names:x}})},N=(t,s)=>""!==t&&s.startsWith(`${t}/`)?s.slice(t.length+1):s,y=(t,s,n)=>{if(null===n)return N(t,s);const l=n.slice(0,n.lastIndexOf("/"));return N(l,s)},O=/\.[cm]?tsx?$/;function P({path:t,test:o}){return o?(0,u.jsx)(s.Icon,{icon:(0,u.jsx)(c.TestTubeRegularIcon,{}),size:16,className:"text-muted"}):O.test(t)?(0,u.jsx)(s.Icon,{icon:(0,u.jsx)(l.FileTsRegularIcon,{}),size:16,className:"text-muted"}):(0,u.jsx)(s.Icon,{icon:(0,u.jsx)(n.FileRegularIcon,{}),size:16,className:"text-muted"})}function S({path:t,label:n,entry:l,test:o,indented:c,onPress:x}){const p=n.lastIndexOf("/"),h=n.slice(0,Math.max(p,0)),f=(0,u.jsxs)(s.View,{className:"flex-row items-start gap-xs",children:[(0,u.jsx)(s.View,{className:"pt-[2px]",children:(0,u.jsx)(P,{path:t,test:o})}),(0,u.jsxs)(s.View,{className:"min-w-0 shrink gap-[1px]",children:[(0,u.jsxs)(s.Text,{className:o?"text-sm text-muted":"font-body-bold text-sm text-sharp",children:[n.slice(p+1),l?(0,u.jsx)(s.Text,{className:"font-body text-xs text-muted",children:" \xb7 entry"}):null]}),""===h?null:(0,u.jsx)(s.Text,{className:"text-xs text-muted",children:h})]})]}),j=c?"ml-l rounded-sm px-xs py-xxs":"rounded-sm px-xs py-xxs";return null===x?(0,u.jsx)(s.View,{className:j,children:f}):(0,u.jsx)(s.PressableBox,{variant:"soft",accent:"neutral","aria-label":`Go to ${t}`,className:j,onPress:x,children:f})}const M={ready:null,none:null,reading:"Reading the entry points: files are listed meanwhile.",failed:"The entry points could not be read: files are listed instead."}},973,[903,64,974,975,976,977,978,980,7]);
|
|
1072
1072
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FileRegularIcon",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FileDuotoneIcon",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"FileFillIcon",{enumerable:!0,get:function(){return c}});var n=r(d[0]);const t=(0,n.createIcon)("M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"),o=(0,n.createDuotoneIcon)("M208,88H152V32Z","M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"),c=(0,n.createIcon)("M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Z")},974,[361]);
|
|
1073
1073
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FileTsRegularIcon",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"FileTsDuotoneIcon",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"FileTsFillIcon",{enumerable:!0,get:function(){return o}});var c=r(d[0]);const n=(0,c.createIcon)("M147.81,196.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216a61.34,61.34,0,0,1-15.19-2,8,8,0,0,1,4.31-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.34-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM216,88V216a16,16,0,0,1-16,16H176a8,8,0,0,1,0-16h24V96H152a8,8,0,0,1-8-8V40H56v72a8,8,0,0,1-16,0V40A16,16,0,0,1,56,24h96a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,144H40a8,8,0,0,0,0,16H52v48a8,8,0,0,0,16,0V160H80a8,8,0,0,0,0-16Z"),t=(0,c.createDuotoneIcon)("M208,88H152V32Z","M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V216H176a8,8,0,0,0,0,16h24a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160Zm-12.19,145a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A61.14,61.14,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM88,152a8,8,0,0,1-8,8H68v48a8,8,0,0,1-16,0V160H40a8,8,0,0,1,0-16H80A8,8,0,0,1,88,152Z"),o=(0,c.createIcon)("M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H164a4,4,0,0,1,4,4V228a4,4,0,0,0,4,4h28a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-4.19,108.31a20.82,20.82,0,0,1-9.19,15.23C133.43,215,127,216,121.13,216A61.14,61.14,0,0,1,106,214a8,8,0,1,1,4.3-15.41c4.38,1.2,15,2.7,19.55-.36.88-.59,1.83-1.52,2.14-3.93.35-2.67-.71-4.1-12.78-7.59-9.35-2.7-25-7.23-23-23.11a20.56,20.56,0,0,1,9-14.95c11.84-8,30.71-3.31,32.83-2.76a8,8,0,0,1-4.07,15.48c-4.49-1.17-15.23-2.56-19.83.56a4.54,4.54,0,0,0-2,3.67c-.12.9-.14,1.09,1.11,1.9,2.31,1.49,6.45,2.68,10.45,3.84C133.49,174.17,150.05,179,147.81,196.31ZM88,152.53A8.17,8.17,0,0,1,79.73,160H68v47.73A8.17,8.17,0,0,1,60.53,216,8,8,0,0,1,52,208V160H40.27A8.17,8.17,0,0,1,32,152.53,8,8,0,0,1,40,144H80A8,8,0,0,1,88,152.53Z")},975,[361]);
|
package/client/index.html
CHANGED
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
</noscript>
|
|
35
35
|
<!-- The root element for your Expo app. -->
|
|
36
36
|
<div id="root"></div>
|
|
37
|
-
<script src="/_expo/static/js/web/__expo-metro-runtime-1f8f5d3ca6b7f58204d51e14506d73fb.js" defer></script><script src="/_expo/static/js/web/__common-edea2c7718fddaf3a2043fadeabab584.js" defer></script><script src="/_expo/static/js/web/AppEntry-
|
|
37
|
+
<script src="/_expo/static/js/web/__expo-metro-runtime-1f8f5d3ca6b7f58204d51e14506d73fb.js" defer></script><script src="/_expo/static/js/web/__common-edea2c7718fddaf3a2043fadeabab584.js" defer></script><script src="/_expo/static/js/web/AppEntry-c2146d447d34648839f59c857db20e98.js" defer></script>
|
|
38
38
|
</body>
|
|
39
39
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reviewflow/app",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.22.0",
|
|
4
4
|
"description": "reviewflow app: review any GitHub pull request locally (npx @reviewflow/app), a loopback server on 127.0.0.1:7450 over your gh login serving the expo app",
|
|
5
5
|
"homepage": "https://github.com/christophehurpeau/reviewflow",
|
|
6
6
|
"license": "ISC",
|
|
@@ -33,21 +33,8 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "pnpm run clean:build && rollup --config rollup.config.mjs",
|
|
38
|
-
"clean": "pnpm run clean:build",
|
|
39
|
-
"clean:build": "pob-esbuild-clean-out build",
|
|
40
|
-
"lint": "pnpm run lint:oxlint && pnpm run lint:eslint",
|
|
41
|
-
"lint:eslint": "pnpm --dir '../..' exec eslint --quiet 'packages/app'",
|
|
42
|
-
"lint:oxlint": "pnpm --dir '../..' exec oxlint --quiet 'packages/app'",
|
|
43
|
-
"postpack": "rm -rf client",
|
|
44
|
-
"prepack": "node scripts/packApp.ts",
|
|
45
|
-
"start": "pnpm run clean:build && REVIEWFLOW_APP_DEV=1 rollup --config rollup.config.mjs --watch",
|
|
46
|
-
"test": "pnpm run --dir '../..' test -- 'packages/app'",
|
|
47
|
-
"tsc": "tsc"
|
|
48
|
-
},
|
|
49
36
|
"dependencies": {
|
|
50
|
-
"@reviewflow/sdk": "
|
|
37
|
+
"@reviewflow/sdk": "6.22.0"
|
|
51
38
|
},
|
|
52
39
|
"devDependencies": {
|
|
53
40
|
"@pob/rollup-esbuild": "11.4.0",
|
|
@@ -71,5 +58,16 @@
|
|
|
71
58
|
}
|
|
72
59
|
],
|
|
73
60
|
"typescript": true
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "pnpm run clean:build && rollup --config rollup.config.mjs",
|
|
64
|
+
"clean": "pnpm run clean:build",
|
|
65
|
+
"clean:build": "pob-esbuild-clean-out build",
|
|
66
|
+
"lint": "pnpm run lint:oxlint && pnpm run lint:eslint",
|
|
67
|
+
"lint:eslint": "pnpm --dir '../..' exec eslint --quiet 'packages/app'",
|
|
68
|
+
"lint:oxlint": "pnpm --dir '../..' exec oxlint --quiet 'packages/app'",
|
|
69
|
+
"start": "pnpm run clean:build && REVIEWFLOW_APP_DEV=1 rollup --config rollup.config.mjs --watch",
|
|
70
|
+
"test": "pnpm run --dir '../..' test -- 'packages/app'",
|
|
71
|
+
"tsc": "tsc"
|
|
74
72
|
}
|
|
75
|
-
}
|
|
73
|
+
}
|