-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a main file for es modules. Is is generated in the same way as the ts types from the list of names.
- Loading branch information
Showing
5 changed files
with
31 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
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 @@ | ||
export const equals = 'fantasy-land/equals'; | ||
export const lte = 'fantasy-land/lte'; | ||
export const compose = 'fantasy-land/compose'; | ||
export const id = 'fantasy-land/id'; | ||
export const concat = 'fantasy-land/concat'; | ||
export const empty = 'fantasy-land/empty'; | ||
export const invert = 'fantasy-land/invert'; | ||
export const filter = 'fantasy-land/filter'; | ||
export const map = 'fantasy-land/map'; | ||
export const contramap = 'fantasy-land/contramap'; | ||
export const ap = 'fantasy-land/ap'; | ||
export const of = 'fantasy-land/of'; | ||
export const alt = 'fantasy-land/alt'; | ||
export const zero = 'fantasy-land/zero'; | ||
export const reduce = 'fantasy-land/reduce'; | ||
export const traverse = 'fantasy-land/traverse'; | ||
export const chain = 'fantasy-land/chain'; | ||
export const chainRec = 'fantasy-land/chainRec'; | ||
export const extend = 'fantasy-land/extend'; | ||
export const extract = 'fantasy-land/extract'; | ||
export const bimap = 'fantasy-land/bimap'; | ||
export const promap = 'fantasy-land/promap'; |
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,4 @@ | ||
#!/usr/bin/env bash | ||
set -euf -o pipefail | ||
|
||
awk '{ print "export const " $0 " = \047fantasy-land/" $0 "\047;" }' names >index.mjs |
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