git-truck 0.0.0-e598cba → 0.0.0-ee57df9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-truck",
3
- "version": "0.0.0-e598cba",
3
+ "version": "0.0.0-ee57df9",
4
4
  "private": false,
5
5
  "description": "Visualizing a Git repository",
6
6
  "license": "MIT",
@@ -25,24 +25,8 @@
25
25
  "pub-pre": "npm version prerelease && npm publish --tag next",
26
26
  "pub-exp": "node ./scripts/publish-experimental.js",
27
27
  "prepublishOnly": "npm run clean && npm run build",
28
- "format": "eslint --cache --fix src/**/*.{ts,tsx} && prettier --loglevel warn --write src/**/*.{ts,tsx}",
29
- "lint": "eslint --cache --fix src/**/*.{ts,tsx}"
30
- },
31
- "dependencies": {
32
- "@remix-run/node": "^1.7.2",
33
- "byte-size": "^8.1.0",
34
- "distinct-colors": "^3.0.0",
35
- "get-port": "^6.1.2",
36
- "github-colors": "github:ozh/github-colors",
37
- "ignore": "^5.2.0",
38
- "lang-map": "^0.4.0",
39
- "latest-version": "^6.0.0",
40
- "nanospinner": "^1.1.0",
41
- "open": "^8.4.0",
42
- "react-dom": "^18.2.0",
43
- "react-konami-code": "^2.3.0",
44
- "react-use-size": "^3.0.0",
45
- "semver": "^7.3.7"
28
+ "format": "eslint --cache --fix {src,scripts}/**/*.{ts,tsx,js,mjs} && prettier --loglevel warn --write {src,scripts}/**/*.{ts,tsx,js,mjs}",
29
+ "lint": "eslint --cache --fix {src,scripts}/**/*.{ts,tsx,js,mjs}"
46
30
  },
47
31
  "devDependencies": {
48
32
  "@react-aria/ssr": "^3.3.0",
@@ -50,6 +34,7 @@
50
34
  "@react-spring/web": "^9.5.5",
51
35
  "@remix-run/dev": "^1.7.2",
52
36
  "@remix-run/eslint-config": "^1.7.2",
37
+ "@remix-run/node": "^1.7.2",
53
38
  "@remix-run/react": "^1.7.2",
54
39
  "@remix-run/serve": "^1.7.2",
55
40
  "@styled-icons/material": "^10.46.0",
@@ -57,34 +42,48 @@
57
42
  "@styled-icons/octicons": "^10.46.0",
58
43
  "@types/byte-size": "^8.1.0",
59
44
  "@types/d3-hierarchy": "^3.1.0",
60
- "@types/jest": "^29.0.3",
61
- "@types/react": "^18.0.20",
45
+ "@types/jest": "^29.1.2",
46
+ "@types/react": "^18.0.21",
62
47
  "@types/react-dom": "^18.0.6",
63
48
  "@types/semver": "^7.3.12",
64
49
  "@types/styled-components": "^5.1.26",
65
- "@types/yargs": "^17.0.12",
66
- "@typescript-eslint/eslint-plugin": "^5.38.0",
67
- "@typescript-eslint/parser": "^5.38.0",
50
+ "@types/yargs": "^17.0.13",
51
+ "@typescript-eslint/eslint-plugin": "^5.40.0",
52
+ "@typescript-eslint/parser": "^5.40.0",
53
+ "byte-size": "^8.1.0",
68
54
  "cross-env": "^7.0.3",
69
55
  "d3-hierarchy": "^3.1.2",
70
- "dotenv": "^16.0.2",
71
- "esbuild": "^0.15.8",
72
- "eslint": "^8.23.1",
56
+ "distinct-colors": "^3.0.0",
57
+ "dotenv": "^16.0.3",
58
+ "esbuild": "^0.15.11",
59
+ "eslint": "^8.25.0",
73
60
  "eslint-config-prettier": "^8.5.0",
74
61
  "eslint-plugin-prettier": "^4.2.1",
75
- "eslint-plugin-react": "^7.31.8",
62
+ "eslint-plugin-react": "^7.31.10",
63
+ "get-port": "^6.1.2",
64
+ "github-colors": "github:ozh/github-colors",
76
65
  "gitignore-parser": "^0.0.2",
77
66
  "husky": "^8.0.1",
67
+ "ignore": "^5.2.0",
78
68
  "is-binary-path": "^2.1.0",
79
- "jest": "^29.0.3",
69
+ "jest": "^29.2.0",
70
+ "lang-map": "^0.4.0",
71
+ "latest-version": "^7.0.0",
80
72
  "lint-staged": "^13.0.3",
73
+ "nanospinner": "^1.1.0",
74
+ "open": "^8.4.0",
81
75
  "react": "^18.2.0",
76
+ "react-dom": "^18.2.0",
77
+ "react-konami-code": "^2.3.0",
82
78
  "react-use": "^17.4.0",
79
+ "react-use-size": "^3.0.0",
80
+ "remix-typedjson": "^0.1.3",
83
81
  "rimraf": "^3.0.2",
82
+ "semver": "^7.3.8",
84
83
  "styled-components": "^5.3.6",
85
84
  "tiny-invariant": "^1.3.1",
86
- "ts-jest": "^29.0.1",
87
- "typescript": "^4.8.3",
85
+ "ts-jest": "^29.0.3",
86
+ "typescript": "^4.8.4",
88
87
  "yargs": "^17.6.0"
89
88
  },
90
89
  "jest": {
@@ -102,7 +101,7 @@
102
101
  "printWidth": 120
103
102
  },
104
103
  "lint-staged": {
105
- "src/**/*.{ts,tsx}": [
104
+ "{src,scripts}/**/*.{ts,tsx,js,mjs}": [
106
105
  "eslint --cache --fix",
107
106
  "prettier --write"
108
107
  ]
@@ -0,0 +1 @@
1
+ import{M as b,N as v,O as y,P as S,d as x}from"/build/_shared/chunk-Y7QOL3BF.js";import{a as M,b as g,c as s,d as E,e as p,f as k,v as d}from"/build/_shared/chunk-2BPXJFRU.js";var B,H=M(()=>{B="ab".substr(-1)==="b"?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}});var L=g((O,z)=>{z.exports={}});var T=g((D,A)=>{A.exports={}});var j=g(($,P)=>{P.exports={}});var W=s(d());var G=e=>{var n;let r=`calc(${((n=e.size)!=null?n:e.xs)?.5:e.sm?.75:e.md?1:e.lg?1.5:e.xl?2:e.xxl?3:1} * var(--unit))`,i={minHeight:e.horizontal?"1px":r,minWidth:e.horizontal?r:"1px",...e.horizontal?{display:"inline-block"}:{}};return(0,W.jsx)("div",{"aria-hidden":!0,style:i})};G.defaultProps={size:null,sm:!1,md:!1,lg:!1,xl:!1,horizontal:!1};function V(e){return e?new Date(e*1e3).toLocaleString("en-gb",{day:"2-digit",month:"short",year:"numeric"}):"Invalid date"}function N(e){return new Date(e).toLocaleString("da-dk",{day:"2-digit",month:"2-digit",year:"2-digit"})}function q(e){return new Date(e).toLocaleString("en-gb",{hour:"2-digit",minute:"2-digit",day:"2-digit",month:"short",year:"2-digit"})}function C(e){let t=Date.now(),r=60*60*1e3,i=24*r,n=t-e*1e3;if(n<0)return"Unknown time ago";if(n>i){let a=Math.floor(n/i);return`${a} day${a>1?"s":""} ago`}let l=Math.floor(n/r);return l>1?`${l} hours ago`:l===1?"1 hour ago":"<1 hour ago"}var U=e=>e[e.length-1],_=e=>e.length<=1?[]:e.slice(0,e.length-1);function J(e){return e.includes("\\")?"\\":"/"}var K=(e,t)=>[e,t].join("/");k();var u=s(E());var h=u.forwardRef(function(e,t){var r={fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};return u.createElement(x,p({iconAttrs:r,iconVerticalAlign:"middle",iconViewBox:"0 0 16 16"},e,{ref:t}),u.createElement("path",{fillRule:"evenodd",d:"M11.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zm-2.25.75a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.492 2.492 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25zM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5zM3.5 3.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0z"}))});h.displayName="GitBranch";var o=s(d());function re({headGroups:e,analyzedHeads:t,iconColor:r,disabled:i,...n}){let l=Object.entries(e),a=l.reduce((c,f)=>c.concat(Object.keys(f)),[]);return(0,o.jsxs)(y,{children:[(0,o.jsx)(h,{display:"inline-block",height:"1em",color:r!=null?r:"#333"}),a.length===1?(0,o.jsx)(S,{children:a[0]}):(0,o.jsx)(b,{inline:!0,...n,children:l.map(([c,f])=>Object.entries(f).length>0?(0,o.jsx)("optgroup",{label:c,children:Object.entries(f).map(([m,w])=>{let R=t[w];return(0,o.jsx)(v,{value:m,disabled:i,title:R?"Analyzed":"Not analyzed",children:m},m)})},c):null)})]})}export{H as a,L as b,T as c,j as d,G as e,V as f,N as g,q as h,C as i,U as j,_ as k,J as l,K as m,re as n};