Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dep: reduce size of node_modules when adding ts-jest #2263

Merged
merged 1 commit into from
Jan 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/__helpers__/test-case/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
writeFileSync,
} from 'fs-extra'
import { stringify as stringifyJson5 } from 'json5'
import merge = require('lodash.merge')
import merge = require('lodash/merge')


import * as Paths from '../../../scripts/lib/paths'
Expand Down
47 changes: 1 addition & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"fast-json-stable-stringify": "2.x",
"jest-util": "next",
"json5": "2.x",
"lodash.memoize": "4.x",
"lodash": "4.x",
"make-error": "1.x",
"mkdirp": "1.x",
"semver": "7.x",
Expand Down Expand Up @@ -88,9 +88,7 @@
"@types/fs-extra": "latest",
"@types/js-yaml": "latest",
"@types/json5": "latest",
"@types/lodash.memoize": "4.x",
"@types/lodash.merge": "4.x",
"@types/lodash.set": "4.x",
"@types/lodash": "4.x",
"@types/micromatch": "4.x",
"@types/mkdirp": "latest",
"@types/node": "14.x",
Expand All @@ -115,8 +113,6 @@
"jest": "next",
"js-yaml": "latest",
"lint-staged": "latest",
"lodash.merge": "4.x",
"lodash.set": "4.x",
"npm-run-all": "latest",
"prettier": "2.x",
"source-map": "latest",
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/ts-compiler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { basename, normalize, relative } from 'path'

import { LogContexts, Logger, LogLevels } from 'bs-logger'
import memoize from 'lodash.memoize'
import memoize from 'lodash/memoize'
import {
EmitOutput,
LanguageService,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/backports.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { inspect } from 'util'

import { testing } from 'bs-logger'
import set = require('lodash.set')
import set = require('lodash/set')

import { backportJestConfig } from './backports'

Expand Down