Skip to content

Commit

Permalink
fix: tinyrainbow
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaraChen committed Aug 29, 2024
1 parent 484b5de commit fc43dff
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/vite-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
"cac": "^6.7.14",
"debug": "^4.3.6",
"pathe": "^1.1.2",
"tinyrainbow": "^1.2.0",
"vite": "^5.0.0"
},
"devDependencies": {
"@jridgewell/trace-mapping": "^0.3.25",
"@types/debug": "^4.1.12"
"@types/debug": "^4.1.12",
"tinyrainbow": "^1.2.0"
}
}
5 changes: 1 addition & 4 deletions packages/vite-node/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ const external = [
'node:events',
'node:vm',
]
const esmOnly = [
'tinyrainbow',
]

const plugins = [
resolve({
Expand Down Expand Up @@ -71,7 +68,7 @@ export default defineConfig([
entryFileNames: '[name].cjs',
chunkFileNames: 'chunk-[name].cjs',
},
external: external.filter(v => !esmOnly.includes(v)),
external,
plugins,
onwarn,
},
Expand Down
29 changes: 29 additions & 0 deletions packages/vitest/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,35 @@ Repository: sindresorhus/p-locate
---------------------------------------

## package-manager-detector
License: MIT
By: Anthony Fu
Repository: git+https://github.com/antfu-collective/package-manager-detector.git

> MIT License
>
> Copyright (c) 2020-PRESENT Anthony Fu <https://github.com/antfu>
>
> 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.
---------------------------------------

## picomatch
License: MIT
By: Jon Schlinkert
Expand Down
6 changes: 3 additions & 3 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 fc43dff

Please sign in to comment.