File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- import type { PackageJson } from '@/types'
21import type { Context } from './context'
2+ import type { PackageJson } from '@/types'
33import fs from 'fs-extra'
44import path from 'pathe'
55import set from 'set-value'
Original file line number Diff line number Diff line change 1- import { createNewProject } from '@/create'
21import path from 'pathe'
2+ import { createNewProject } from '@/create'
33
44describe . skip ( 'createNewProject' , ( ) => {
55 beforeAll ( async ( ) => {
Original file line number Diff line number Diff line change 1- import { logger } from '@/logger'
2- import { GitClient } from '@/monorepo/git'
31import CI from 'ci-info'
42import get from 'get-value'
53import gitUrlParse from 'git-url-parse'
4+ import { logger } from '@/logger'
5+ import { GitClient } from '@/monorepo/git'
66
77describe ( 'git client' , ( ) => {
88 const client = new GitClient ( {
Original file line number Diff line number Diff line change 11import type { PackageJson } from 'pkg-types'
2+ import get from 'get-value'
23import { version } from '@/constants'
34import { setPkgJson } from '@/upgrade'
4- import get from 'get-value'
55
66describe ( 'lib' , ( ) => {
77 it ( 'setPkgJson casae 0' , ( ) => {
Original file line number Diff line number Diff line change 1- import { getFileHash , isFileChanged } from '@/utils/md5'
21import CI from 'ci-info'
32import fs from 'fs-extra'
43import path from 'pathe'
4+ import { getFileHash , isFileChanged } from '@/utils/md5'
55// windows 和 linux/macos 计算不一致,应该是 \r\n 和 \n 导致的
66describe . skipIf ( CI . isCI ) ( 'md5' , ( ) => {
77 const testFilePath = path . resolve ( import . meta. dirname , '../.gitignore' )
Original file line number Diff line number Diff line change 1+ import path from 'pathe'
12// import { syncNpmMirror } from '@/monorepo/sync'
23import { getWorkspacePackages } from '@/monorepo/workspace'
3- import path from 'pathe'
44
55describe ( 'sync' , ( ) => {
66 it ( 'syncNpmMirror case 0' , async ( ) => {
You can’t perform that action at this time.
0 commit comments