Skip to content

Commit c3cd98e

Browse files
committed
add isomorphic-git
1 parent b6d2f0f commit c3cd98e

File tree

3 files changed

+111
-0
lines changed

3 files changed

+111
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"glob": "^10.3.10",
5858
"io-ts": "^2.2.4",
5959
"io-ts-extra": "^0.11.6",
60+
"isomorphic-git": "^1.32.1",
6061
"js-yaml": "^3.14.0",
6162
"lodash": "^4.17.15",
6263
"ms": "^2.1.3",

pnpm-lock.yaml

Lines changed: 107 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dependencies.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import dedent from 'dedent'
88
// eslint-disable-next-line no-restricted-imports
99
import * as fs from 'fs'
1010
import * as glob from 'glob'
11+
import * as isomorphicGit from 'isomorphic-git'
1112
import * as jsYaml from 'js-yaml'
1213
import lodash from 'lodash'
1314
import * as path from 'path'
@@ -29,6 +30,7 @@ export interface PresetDependencies {
2930
glob: Pick<typeof import('glob'), 'globSync'>
3031
readPkgUp: Pick<typeof import('read-pkg-up'), 'sync'>
3132
cheerio: typeof import('cheerio')
33+
isomorphicGit: typeof import('isomorphic-git')
3234
zx: typeof import('zx')
3335
makeSynchronous: typeof import('./make-synchronous').makeSynchronous
3436
fetchSync: typeof import('./fetch-sync').fetchSync
@@ -54,6 +56,7 @@ export const dependencies: PresetDependencies = {
5456
fetchSync,
5557
simplify,
5658
cheerio,
59+
isomorphicGit,
5760
zx,
5861
babelParser,
5962
babelTraverse,

0 commit comments

Comments
 (0)