chore(deps): update dependency rollup-plugin-dts to v2#4323
Merged
timsuchanek merged 3 commits intomasterfrom Dec 17, 2020
Merged
chore(deps): update dependency rollup-plugin-dts to v2#4323timsuchanek merged 3 commits intomasterfrom
timsuchanek merged 3 commits intomasterfrom
Conversation
970a95d to
9e48d37
Compare
9e48d37 to
878e0a7
Compare
3a59a78 to
9343afb
Compare
7aa2b39 to
d7e4560
Compare
Jolg42
reviewed
Dec 16, 2020
Comment on lines
-54
to
-65
| // this is needed to remove "export = " statements | ||
| let file = await readFile('./runtime/index.d.ts', 'utf-8') | ||
| file = file.replace(/^export\s+=\s+.*/gm, '') | ||
| file = file.replace('namespace Decimal {', 'declare namespace Decimal {') | ||
| await writeFile('./runtime/index.d.ts', file) | ||
|
|
||
| // this is needed to remove "export = " statements | ||
| let browserFile = await readFile('./runtime/index-browser.d.ts', 'utf-8') | ||
| browserFile = browserFile.replace(/^export\s+=\s+.*/gm, '') | ||
| browserFile = browserFile.replace('namespace Decimal {', 'declare namespace Decimal {') | ||
| await writeFile('./runtime/index-browser.d.ts', browserFile) | ||
|
|
Contributor
There was a problem hiding this comment.
So this is not needed anymore? 👀
There was a problem hiding this comment.
Nope it shouldn't be
v2.0.0
Features:The plugin gained a new pre-processing step that added support for unnamed export default declarations and splitting up variable declarations that were previously rejected.
Jolg42
added a commit
that referenced
this pull request
Dec 28, 2020
* master: fix(deps): update engines to v2.14.0-26.59cf08bf47e90cb37532900059f3328b4328237c (#4774) chore(deps): update definitelytyped fix(client): raw transactions (#4759) fix(deps): update engines to v2.14.0-22.85cf7930a5fc63cd99fa483153fd33cb35d49cfa chore(deps): update studio to v0.332.0 fix(client): improve error links (#4753) fix(deps): update engines to v2.14.0-21.aed47bccd0e3bc61e2a26b14315e2dd839d35a12 chore: bump engines (#4749) fix: fail early for known errors (#4734) chore: cleanup (#4707) fix(debug): allow multiple instances (#4665) chore: wip debug vercel (#4705) fix(deps): update engines to v2.14.0-17.af950b3705ef175e85492660c621085eb7f99557 chore(deps): update dependency rollup-plugin-dts to v2 (#4323) feat(client): add more jsdoc to Prisma Client (#4388) fix(deps): update engines to v2.14.0-16.c033861e8ed093701af214a25e2bb3e03edacf7c # Conflicts: # package.json # pnpm-lock.yaml # src/packages/client/package.json # src/packages/client/src/runtime/getPrismaClient.ts # src/packages/debug/package.json # src/packages/engine-core/package.json # src/packages/generator-helper/package.json # src/packages/get-platform/package.json # src/pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.14->2.0.1Release Notes
Swatinem/rollup-plugin-dts
v2.0.1Compare Source
** Fixes**:
v2.0.0Compare Source
Compatibility Notice:
This release targets TypeScript 4.1 and support for previous versions was dropped.
Features:
export defaultdeclarations and splitting up variable declarations that were previously rejected.Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.