Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade to GitHub native dependabot
- Loading branch information
Showing
2 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
time: '04:00' | ||
timezone: Europe/Berlin | ||
open-pull-requests-limit: 10 | ||
versioning-strategy: lockfile-only |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`basic info usage gets info as json: stderr 1`] = `""`; | ||
|
||
exports[`basic info usage gets info as json: stdout 1`] = ` | ||
"{ | ||
\\"System\\": { | ||
\\"OS\\": \\"macOS 11.2.3\\", | ||
\\"CPU\\": \\"(8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz\\", | ||
\\"Memory\\": \\"86.03 MB / 8.00 GB\\" | ||
}, | ||
\\"Binaries\\": { | ||
\\"Node\\": { | ||
\\"version\\": \\"14.16.0\\", | ||
\\"path\\": \\"~/.config/nvm/14.16.0/bin/node\\" | ||
}, | ||
\\"Yarn\\": { | ||
\\"version\\": \\"1.17.3\\", | ||
\\"path\\": \\"/usr/local/bin/yarn\\" | ||
}, | ||
\\"npm\\": { | ||
\\"version\\": \\"7.10.0\\", | ||
\\"path\\": \\"~/.config/nvm/14.16.0/bin/npm\\" | ||
} | ||
}, | ||
\\"Browsers\\": { | ||
\\"Brave Browser\\": { | ||
\\"version\\": \\"90.1.23.73\\" | ||
}, | ||
\\"Chrome\\": { | ||
\\"version\\": \\"90.0.4430.93\\" | ||
}, | ||
\\"Edge\\": { | ||
\\"version\\": \\"90.0.818.49\\" | ||
}, | ||
\\"Firefox Developer Edition\\": { | ||
\\"version\\": \\"86.0\\" | ||
}, | ||
\\"Safari\\": { | ||
\\"version\\": \\"14.0.3\\" | ||
} | ||
}, | ||
\\"Global Packages\\": { | ||
\\"webpack-cli\\": \\"4.6.0\\" | ||
} | ||
}" | ||
`; | ||
|
||
exports[`basic info usage gets info as markdown: stderr 1`] = `""`; | ||
|
||
exports[`basic info usage gets info as markdown: stdout 1`] = ` | ||
" | ||
## System: | ||
- OS: osName | ||
- CPU: cpuName | ||
- Memory: size | ||
## Binaries: | ||
- Node: x.x.x - ~/.config/nvm/x.x.x/bin/node | ||
- Yarn: x.x.x - /usr/local/bin/yarn | ||
- npm: x.x.x - ~/.config/nvm/x.x.x/bin/npm | ||
## Browsers: | ||
- Brave Browser: x.x.x.73 | ||
- Chrome: x.x.x.93 | ||
- Edge: x.x.x.49 | ||
- Firefox Developer Edition: 86.0 | ||
- Safari: x.x.x | ||
## Global Packages: | ||
- webpack-cli: x.x.x | ||
" | ||
`; | ||
|
||
exports[`basic info usage gets info without flags: stderr 1`] = `""`; | ||
|
||
exports[`basic info usage gets info without flags: stdout 1`] = ` | ||
" | ||
System: | ||
OS: osName | ||
CPU: cpuName | ||
Memory: size | ||
Binaries: | ||
Node: x.x.x - ~/.config/nvm/x.x.x/bin/node | ||
Yarn: x.x.x - /usr/local/bin/yarn | ||
npm: x.x.x - ~/.config/nvm/x.x.x/bin/npm | ||
Browsers: | ||
Brave Browser: x.x.x.73 | ||
Chrome: x.x.x.93 | ||
Edge: x.x.x.49 | ||
Firefox Developer Edition: 86.0 | ||
Safari: x.x.x | ||
Global Packages: | ||
webpack-cli: x.x.x | ||
" | ||
`; | ||
|
||
exports[`basic info usage gets more info in project root: stderr 1`] = `""`; | ||
|
||
exports[`basic info usage gets more info in project root: stdout 1`] = ` | ||
" | ||
System: | ||
OS: osName | ||
CPU: cpuName | ||
Memory: size | ||
Binaries: | ||
Node: x.x.x - ~/.config/nvm/x.x.x/bin/node | ||
Yarn: x.x.x - /usr/local/bin/yarn | ||
npm: x.x.x - ~/.config/nvm/x.x.x/bin/npm | ||
Browsers: | ||
Brave Browser: x.x.x.73 | ||
Chrome: x.x.x.93 | ||
Edge: x.x.x.49 | ||
Firefox Developer Edition: 86.0 | ||
Safari: x.x.x | ||
Monorepos: | ||
Yarn Workspaces: x.x.x | ||
Lerna: x.x.x | ||
Packages: | ||
webpack: ^x.x.x => x.x.x | ||
webpack-bundle-analyzer: ^x.x.x => x.x.x | ||
webpack-dev-server: ^x.x.x => x.x.x | ||
Global Packages: | ||
webpack-cli: x.x.x | ||
" | ||
`; | ||
|
||
exports[`basic info usage shows a warning if an invalid value is supplied: stderr 1`] = `"[webpack-cli] 'unknown' is not a valid value for output"`; | ||
|
||
exports[`basic info usage shows a warning if an invalid value is supplied: stdout 1`] = `""`; | ||
|
||
exports[`basic info usage shows an appropriate warning on supplying unknown args: stderr 1`] = ` | ||
"[webpack-cli] Error: Unknown option '--unknown' | ||
[webpack-cli] Run 'webpack --help' to see available commands and options" | ||
`; | ||
|
||
exports[`basic info usage shows an appropriate warning on supplying unknown args: stdout 1`] = `""`; |