-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bae7eb6
commit 7b75861
Showing
73 changed files
with
328 additions
and
26 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,4 +1,5 @@ | ||
/node_modules | ||
src/modules/create-knit-app/template | ||
lib | ||
dist | ||
build |
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 |
---|---|---|
|
@@ -33,6 +33,8 @@ coverage | |
# build folders | ||
build | ||
dist | ||
lib/bs | ||
/lib | ||
|
||
# OS | ||
.DS_Store |
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 @@ | ||
####{BSB GENERATED: NO EDIT | ||
FLG -ppx /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/bsppx.exe | ||
S /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/lib/ocaml | ||
B /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/lib/ocaml | ||
FLG -nostdlib -bs-cross-module-opt -bs-gen-tds -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 | ||
S src/modules | ||
B lib/bs/src/modules | ||
S src/modules/@knit/read-pkg | ||
B lib/bs/src/modules/@knit/read-pkg | ||
S src/modules/@knit/path-join | ||
B lib/bs/src/modules/@knit/path-join | ||
S src/modules/@knit/is-scoped | ||
B lib/bs/src/modules/@knit/is-scoped | ||
####BSB GENERATED: NO EDIT} |
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,21 @@ | ||
{ | ||
"name": "beep", | ||
"sources": [ | ||
{ | ||
"dir": "src/modules", | ||
"subdirs": [ | ||
{"dir": "@knit/is-scoped"}, | ||
{"dir": "@knit/path-join"}, | ||
{"dir": "@knit/read-pkg"} | ||
] | ||
} | ||
], | ||
"package-specs": [ | ||
"commonjs" | ||
], | ||
"bsc-flags": [ | ||
"-bs-cross-module-opt", | ||
"-bs-gen-tds" | ||
], | ||
"generate-merlin": true | ||
} |
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
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,3 @@ | ||
/*let isScoped package => package.[0] === '@';*/ | ||
let isScoped (package: string) :Js.boolean => | ||
Js.Boolean.to_js_boolean (Js.String.get package 0 === "@"); |
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,11 @@ | ||
{ | ||
"name": "@knit/is-scoped", | ||
"sources": ".", | ||
"package-specs": [ | ||
"commonjs" | ||
], | ||
"bsc-flags": [ | ||
"-bs-cross-module-opt" | ||
], | ||
"generate-merlin": false | ||
} |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
# ninja log v5 | ||
0 99 0 IsScoped.mlast 9af5b4338cc28f52 | ||
99 111 0 IsScoped.mlast.d 6644a125cf832a46 | ||
0 16 0 IsScoped.cmj 3c1c3e96297ced90 | ||
0 16 0 /Users/swilson/Documents/Development/js/knitjs/knit/src/modules/@knit/is-scoped/lib/js/IsScoped.js 3c1c3e96297ced90 | ||
0 16 0 IsScoped.cmi 3c1c3e96297ced90 |
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 @@ | ||
. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
IsScoped.cmj : |
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,30 @@ | ||
ninja_required_version = 1.5.1 | ||
bs_package_flags = -bs-package-name @knit/is-scoped | ||
src_root_dir = /Users/swilson/Documents/Development/js/knitjs/knit/src/modules/@knit/is-scoped | ||
bsc = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/bsc.exe | ||
bsdep = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/bsb_helper.exe | ||
ocamllex = ocamllex.opt | ||
bsc_flags = -nostdlib -I /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/lib/ocaml -bs-cross-module-opt -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 | ||
ppx_flags = | ||
bs_package_includes = | ||
bs_package_dev_includes = | ||
refmt = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/refmt.exe | ||
reason_react_jsx = | ||
refmt_flags = --print binary | ||
bsb_dir_group = 0 | ||
bsc_lib_includes = -I . | ||
rule build_ast_and_deps_from_reason_impl | ||
command = ${bsc} -pp "${refmt} ${refmt_flags}" ${reason_react_jsx} ${ppx_flags} ${bsc_flags} -c -o ${out} -bs-syntax-only -bs-binary-ast -impl ${in} | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build IsScoped.mlast : build_ast_and_deps_from_reason_impl $src_root_dir/IsScoped.re | ||
rule build_deps | ||
command = ${bsdep} -g ${bsb_dir_group} -MD ${in} | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build IsScoped.mlast.d : build_deps IsScoped.mlast | ||
rule build_cmj_cmi | ||
command = ${bsc} ${bs_package_flags} -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include ${bs_package_includes} ${bsc_lib_includes} ${bsc_extra_includes} ${bsc_flags} -o ${in} -c ${in} ${postbuild} | ||
depfile = ${in}.d | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build IsScoped.cmj $src_root_dir/lib/js/IsScoped.js IsScoped.cmi : build_cmj_cmi IsScoped.mlast | ||
bs_package_flags = $bs_package_flags -bs-package-output commonjs:lib/js | ||
build build.ninja : phony || IsScoped.mlast.d |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"name": "@knit/is-scoped", | ||
"version": "0.4.0" | ||
"version": "0.4.0", | ||
"main": "lib/js/isScoped" | ||
} |
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
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,5 @@ | ||
external join : string => string => string = "" [@@bs.module "path"]; | ||
|
||
external sep : string = "" [@@bs.module "path"]; | ||
|
||
let pathJoin dir_path package => Js.String.replace "/" sep (join dir_path package); |
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,17 @@ | ||
{ | ||
"name": "@knit/path-join", | ||
"sources": { | ||
"dir": ".", | ||
"public": ["PathJoin"], | ||
"files": [ | ||
"PathJoin.re" | ||
] | ||
}, | ||
"package-specs": [ | ||
"commonjs" | ||
], | ||
"bsc-flags": [ | ||
"-bs-cross-module-opt" | ||
], | ||
"generate-merlin": false | ||
} |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
# ninja log v5 | ||
0 99 0 PathJoin.mlast 22d364da98b3830f | ||
99 111 0 PathJoin.mlast.d 3a5e7da149edcade | ||
0 16 0 PathJoin.cmj cd09c4b001f87e4f | ||
0 16 0 /Users/swilson/Documents/Development/js/knitjs/knit/src/modules/@knit/path-join/lib/js/PathJoin.js cd09c4b001f87e4f | ||
0 16 0 PathJoin.cmi cd09c4b001f87e4f |
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 @@ | ||
. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
PathJoin.cmj : |
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,30 @@ | ||
ninja_required_version = 1.5.1 | ||
bs_package_flags = -bs-package-name @knit/path-join | ||
src_root_dir = /Users/swilson/Documents/Development/js/knitjs/knit/src/modules/@knit/path-join | ||
bsc = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/bsc.exe | ||
bsdep = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/bsb_helper.exe | ||
ocamllex = ocamllex.opt | ||
bsc_flags = -nostdlib -I /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/lib/ocaml -bs-cross-module-opt -no-alias-deps -color always -w -40+6+7+27+32..39+44+45 | ||
ppx_flags = | ||
bs_package_includes = | ||
bs_package_dev_includes = | ||
refmt = /Users/swilson/Documents/Development/js/knitjs/knit/node_modules/bs-platform/bin/refmt.exe | ||
reason_react_jsx = | ||
refmt_flags = --print binary | ||
bsb_dir_group = 0 | ||
bsc_lib_includes = -I . | ||
rule build_ast_and_deps_from_reason_impl | ||
command = ${bsc} -pp "${refmt} ${refmt_flags}" ${reason_react_jsx} ${ppx_flags} ${bsc_flags} -c -o ${out} -bs-syntax-only -bs-binary-ast -impl ${in} | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build PathJoin.mlast : build_ast_and_deps_from_reason_impl $src_root_dir/PathJoin.re | ||
rule build_deps | ||
command = ${bsdep} -g ${bsb_dir_group} -MD ${in} | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build PathJoin.mlast.d : build_deps PathJoin.mlast | ||
rule build_cmj_cmi | ||
command = ${bsc} ${bs_package_flags} -bs-assume-no-mli -bs-no-builtin-ppx-ml -bs-no-implicit-include ${bs_package_includes} ${bsc_lib_includes} ${bsc_extra_includes} ${bsc_flags} -o ${in} -c ${in} ${postbuild} | ||
depfile = ${in}.d | ||
description = [34mBuilding[39m [2m${out}[22m | ||
build PathJoin.cmj $src_root_dir/lib/js/PathJoin.js PathJoin.cmi : build_cmj_cmi PathJoin.mlast | ||
bs_package_flags = $bs_package_flags -bs-package-output commonjs:lib/js | ||
build build.ninja : phony || PathJoin.mlast.d |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
# ninja log v5 | ||
0 99 0 PathJoin.mlast 22d364da98b3830f | ||
99 111 0 PathJoin.mlast.d 3a5e7da149edcade | ||
0 16 0 PathJoin.cmj cd09c4b001f87e4f | ||
0 16 0 /Users/swilson/Documents/Development/js/knitjs/knit/src/modules/@knit/path-join/lib/js/PathJoin.js cd09c4b001f87e4f | ||
0 16 0 PathJoin.cmi cd09c4b001f87e4f |
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 @@ | ||
. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
PathJoin.cmj : |
Oops, something went wrong.