-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): use npm deps in lieu of skypack #612
- Loading branch information
1 parent
784cdf2
commit 21ca0ad
Showing
6 changed files
with
521 additions
and
70 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,22 +1,32 @@ | ||
export * as R from 'https://cdn.skypack.dev/[email protected]?dts' | ||
// @deno-types="npm:@types/ramda@^0.29.9" | ||
export * as R from 'npm:[email protected]' | ||
|
||
/** | ||
* Shim hand-rolled crocks types | ||
*/ | ||
// @deno-types="./crocks.d.ts" | ||
export { default as crocks } from 'https://cdn.skypack.dev/[email protected]' | ||
export { default as crocks } from 'npm:[email protected]' | ||
export { z } from 'https://deno.land/x/[email protected]/mod.ts' | ||
export { ms } from 'https://deno.land/x/[email protected]/ms.ts' | ||
|
||
export { cuid } from 'https://deno.land/x/[email protected]/index.js' | ||
export { join } from 'https://deno.land/std@0.182.0/path/mod.ts' | ||
export { exists } from 'https://deno.land/std@0.182.0/fs/mod.ts' | ||
export { join } from 'https://deno.land/std@0.207.0/path/mod.ts' | ||
export { exists } from 'https://deno.land/std@0.207.0/fs/mod.ts' | ||
|
||
export { | ||
import { | ||
HyperErr, | ||
isBaseHyperErr, | ||
isHyperErr, | ||
} from 'https://raw.githubusercontent.com/hyper63/hyper/hyper-utils%40v0.1.0/packages/utils/hyper-err.js' | ||
isHyperErr as isHyperErrBase, | ||
} from 'https://raw.githubusercontent.com/hyper63/hyper/hyper-utils%40v0.1.2/packages/utils/hyper-err.js' | ||
|
||
export { HyperErr, isBaseHyperErr } | ||
|
||
/** | ||
* The new ramda types in hyper-utils are overly assuming, so | ||
* just wrap the isHyperErr from utils with a more unassuming signature | ||
*/ | ||
// deno-lint-ignore no-explicit-any | ||
export const isHyperErr = (v: any) => isHyperErrBase(v) | ||
|
||
export { | ||
queue, | ||
|
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