Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move internal @blitzjs/core package into nextjs fork core (meta) (#2857)
- Loading branch information
Showing
78 changed files
with
1,333 additions
and
1,406 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 |
---|---|---|
@@ -1 +1 @@ | ||
12.20.0 | ||
14.18.1 |
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
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
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
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 @@ | ||
14.18.1 |
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
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
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,22 @@ | ||
Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
Based on Underscore.js, copyright 2009-2016 Jeremy Ashkenas, | ||
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/> | ||
|
||
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. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
{"name":"lodash.frompairs","main":"index.js","author":"John-David Dalton <john.david.dalton@gmail.com> (http://allyoucanleet.com/)","license":"MIT"} |
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,6 @@ | ||
declare module 'lodash.frompairs' { | ||
// eslint-disable-next-line | ||
export default function fromPairs<T>( | ||
pairs: List<[string, T]> | null | undefined | ||
): Dictionary<T> | ||
} |
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,3 @@ | ||
declare module 'micromatch' { | ||
export function isMatch(source: string, patterns: string[]): boolean | ||
} |
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,176 @@ | ||
// Type definitions for npm-which 3.0 | ||
// Project: https://github.com/timoxley/npm-which | ||
// Definitions by: Manuel Thalmann <https://github.com/manuth> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
|
||
declare module 'npm-which' { | ||
/** | ||
* Provides options for the `npmwhich`-module. | ||
*/ | ||
interface NpmWhichOptions { | ||
/** | ||
* The environment to use for resolving the binary. | ||
*/ | ||
env?: NodeJS.ProcessEnv | ||
|
||
/** | ||
* The directory to find the binary for. | ||
*/ | ||
cwd?: string | ||
} | ||
|
||
/** | ||
* Provides options for the `npmwhich`-module. | ||
*/ | ||
interface StaticWhichOptions { | ||
/** | ||
* The environment to use for resolving the binary. | ||
*/ | ||
env?: NodeJS.ProcessEnv | ||
|
||
/** | ||
* The directory to find the binary for. | ||
*/ | ||
cwd: string | ||
} | ||
|
||
/** | ||
* Represents a callback for handling the result of `NpmWhich`. | ||
*/ | ||
interface NpmWhichCallback { | ||
/** | ||
* Handles the result of `NpmWhich`. | ||
* | ||
* @param error | ||
* The error-message. | ||
* | ||
* @param result | ||
* The result. | ||
*/ | ||
(error: string, result: string): void | ||
} | ||
|
||
/** | ||
* Represents a basic interface for `npm-which`. | ||
*/ | ||
interface WhichBase<TOptions> { | ||
/** | ||
* Creates a searcher for the specified command. | ||
* | ||
* @param cmd | ||
* The command to look for. | ||
* | ||
* @param options | ||
* The default options. | ||
* | ||
* @return | ||
* A searcher for the specified command. | ||
*/ | ||
(cmd: string, options?: TOptions): InnerWhich | ||
|
||
/** | ||
* Searches for the specified command. | ||
* | ||
* @param cmd | ||
* The command to look for. | ||
* | ||
* @param callback | ||
* A callback for handling the result. | ||
*/ | ||
(cmd: string, callback: NpmWhichCallback): void | ||
|
||
/** | ||
* Searches for the specified command. | ||
* | ||
* @param cmd | ||
* The command to look for. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
* | ||
* @param callback | ||
* A callback for handling the result. | ||
*/ | ||
(cmd: string, options: TOptions, callback: NpmWhichCallback): void | ||
} | ||
|
||
/** | ||
* Represents the static instance of `npm-which`. | ||
*/ | ||
interface StaticWhich extends WhichBase<StaticWhichOptions> { | ||
/** | ||
* Initializes an `NpmWhich`-instance for the specified working-directory. | ||
* | ||
* @param cwd | ||
* The working-directory to browse. | ||
*/ | ||
(cwd?: string): NpmWhich | ||
|
||
/** | ||
* Searches for the specified command. | ||
* | ||
* @param cmd | ||
* The command to look for. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
*/ | ||
sync(cmd: string, options: StaticWhichOptions): string | ||
} | ||
|
||
/** | ||
* Provides the functionality to search for a command. | ||
*/ | ||
interface NpmWhich extends WhichBase<NpmWhichOptions> { | ||
/** | ||
* Searches for the specified command. | ||
* | ||
* @param cmd | ||
* The command to look for. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
*/ | ||
sync(cmd: string, options?: StaticWhichOptions): string | ||
} | ||
|
||
interface InnerWhich { | ||
/** | ||
* Creates a searcher for the specified command. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
*/ | ||
(options?: NpmWhichOptions): InnerWhich | ||
|
||
/** | ||
* Searches for the command. | ||
* | ||
* @param callback | ||
* A callback for handling the result. | ||
*/ | ||
(callback: NpmWhichCallback): void | ||
|
||
/** | ||
* Searches for the command. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
* | ||
* @param callback | ||
* A callback for handling the result. | ||
*/ | ||
(options: NpmWhichOptions, callback: NpmWhichCallback): void | ||
|
||
/** | ||
* Searches for the command. | ||
* | ||
* @param options | ||
* The options for searching the command. | ||
*/ | ||
sync(options?: NpmWhichOptions): string | ||
} | ||
|
||
let npmWhich: StaticWhich | ||
export = npmWhich | ||
} |
Oops, something went wrong.