Skip to content

Commit

Permalink
chore: don't bundle cac and picocolors (#2595)
Browse files Browse the repository at this point in the history
* chore: don't bundle cac and picocolors

* chore: cleanup
  • Loading branch information
sheremet-va committed Jan 2, 2023
1 parent 09d1989 commit 039a0c0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 64 deletions.
1 change: 0 additions & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"devDependencies": {
"@types/ws": "^8.5.3",
"@vitest/ws-client": "workspace:*",
"picocolors": "^1.0.0",
"rollup": "^2.79.1",
"vitest": "workspace:*"
}
Expand Down
1 change: 1 addition & 0 deletions packages/ui/client/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ declare module '@vue/runtime-core' {
ViewEditor: typeof import('./components/views/ViewEditor.vue')['default']
ViewModuleGraph: typeof import('./components/views/ViewModuleGraph.vue')['default']
ViewReport: typeof import('./components/views/ViewReport.vue')['default']
ViewReportError: typeof import('./components/views/ViewReportError.vue')['default']
}
}
5 changes: 3 additions & 2 deletions packages/vite-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"bugs": {
"url": "https://github.com/vitest-dev/vitest/issues"
},
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -75,9 +76,11 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"cac": "^6.7.14",
"debug": "^4.3.4",
"mlly": "^1.0.0",
"pathe": "^0.2.0",
"picocolors": "^1.0.0",
"source-map": "^0.6.1",
"source-map-support": "^0.5.21",
"vite": "^3.0.0 || ^4.0.0"
Expand All @@ -86,8 +89,6 @@
"@types/debug": "^4.1.7",
"@types/source-map": "^0.5.7",
"@types/source-map-support": "^0.5.6",
"cac": "^6.7.14",
"picocolors": "^1.0.0",
"rollup": "^2.79.1"
}
}
52 changes: 0 additions & 52 deletions packages/vitest/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,35 +335,6 @@ Repository: micromatch/braces
---------------------------------------

## cac
License: MIT
By: egoist
Repository: egoist/cac

> The MIT License (MIT)
>
> Copyright (c) EGOIST <0x142857@gmail.com> (https://github.com/egoist)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
---------------------------------------

## chai-subset
License: MIT
By: Andrii Shumada, Robert Herhold
Expand Down Expand Up @@ -1693,29 +1664,6 @@ Repository: unjs/pathe
---------------------------------------

## picocolors
License: ISC
By: Alexey Raspopov
Repository: alexeyraspopov/picocolors

> ISC License
>
> Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov
>
> Permission to use, copy, modify, and/or distribute this software for any
> purpose with or without fee is hereby granted, provided that the above
> copyright notice and this permission notice appear in all copies.
>
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
---------------------------------------

## picomatch
License: MIT
By: Jon Schlinkert
Expand Down
5 changes: 3 additions & 2 deletions packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"test",
"jest"
],
"sideEffects": false,
"exports": {
".": {
"require": {
Expand Down Expand Up @@ -110,9 +111,11 @@
"@types/node": "*",
"acorn": "^8.8.1",
"acorn-walk": "^8.2.0",
"cac": "^6.7.14",
"chai": "^4.3.7",
"debug": "^4.3.4",
"local-pkg": "^0.4.2",
"picocolors": "^1.0.0",
"source-map": "^0.6.1",
"strip-literal": "^1.0.0",
"tinybench": "^2.3.1",
Expand All @@ -136,7 +139,6 @@
"@vitest/ui": "workspace:*",
"@vitest/utils": "workspace:*",
"birpc": "^0.2.3",
"cac": "^6.7.14",
"chai-subset": "^1.6.0",
"cli-truncate": "^3.1.0",
"diff": "^5.1.0",
Expand All @@ -156,7 +158,6 @@
"natural-compare": "^1.4.0",
"p-limit": "^4.0.0",
"pathe": "^0.2.0",
"picocolors": "^1.0.0",
"pkg-types": "^1.0.1",
"pretty-format": "^27.5.1",
"prompts": "^2.4.2",
Expand Down
11 changes: 4 additions & 7 deletions pnpm-lock.yaml

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

0 comments on commit 039a0c0

Please sign in to comment.