-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(platform): pass run test: "visual with only empty editor-whole p…
…acakge" ( refactor(platform): now unify visual, visual run, use editor into editor-whole package; refactor(platform): move meta3d-bs-most(most.res) to default/ because frontend need it instead of dependent on meta3d-bs-most extension; )
- Loading branch information
Showing
128 changed files
with
4,221 additions
and
1,467 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,15 @@ | ||
.DS_Store | ||
.merlin | ||
.idea/ | ||
.vscode/ | ||
jest_0/ | ||
lib/bs/ | ||
lib/js/src/ | ||
reference/ | ||
node_modules/ | ||
mine/ | ||
|
||
npm-debug | ||
|
||
|
||
.bsb.lock |
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,29 @@ | ||
.DS_Store | ||
.merlin | ||
.idea/ | ||
.vscode/ | ||
jest_0/ | ||
reference/ | ||
node_modules/ | ||
mine/ | ||
|
||
test/ | ||
|
||
.github/ | ||
|
||
donate/ | ||
|
||
lib/bs/ | ||
|
||
lib/js/test/ | ||
|
||
coverage | ||
|
||
dist/ | ||
|
||
npm-debug | ||
|
||
.bsb.lock | ||
|
||
yarn.lock | ||
|
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,29 @@ | ||
{ | ||
"name": "meta3d-bs-most", | ||
"sources": [ | ||
{ | ||
"dir": "src", | ||
"subdirs": true | ||
} | ||
], | ||
"bsc-flags": [ | ||
"-bs-no-version-header", | ||
"-bs-super-errors" | ||
], | ||
"package-specs": [ | ||
"commonjs", | ||
"es6-global" | ||
], | ||
"bs-dev-dependencies": [], | ||
"bs-dependencies": [ | ||
"meta3d-type", | ||
"meta3d-commonlib" | ||
], | ||
"refmt": 3, | ||
"namespace": true, | ||
"suffix": ".bs.js", | ||
"warnings": { | ||
"number": "-0-1-2-3-4-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46-47-48-49-50-51-52-53-54-55-56-57-58-59-60-61-62-K", | ||
"error": "+5+6" | ||
} | ||
} |
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,53 @@ | ||
|
||
|
||
import * as Most from "most"; | ||
import * as Curry from "../../../../../node_modules/rescript/lib/es6/curry.js"; | ||
|
||
function subscribe(arg1, obj) { | ||
return obj.subscribe(arg1); | ||
} | ||
|
||
function unfold(f) { | ||
return function (param) { | ||
return Most.unfold((function (x) { | ||
var match = Curry._1(f, x); | ||
if (match !== undefined) { | ||
return { | ||
value: match[0], | ||
seed: match[1] | ||
}; | ||
} else { | ||
return { | ||
done: true | ||
}; | ||
} | ||
}), param); | ||
}; | ||
} | ||
|
||
function fromList(list) { | ||
return unfold(function (curList) { | ||
if (curList) { | ||
return [ | ||
curList.hd, | ||
curList.tl | ||
]; | ||
} | ||
|
||
})(list); | ||
} | ||
|
||
function concat(arg1, obj) { | ||
return obj.concat(arg1); | ||
} | ||
|
||
var Subject = {}; | ||
|
||
export { | ||
subscribe , | ||
unfold , | ||
fromList , | ||
concat , | ||
Subject , | ||
} | ||
/* most Not a pure module */ |
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,26 @@ | ||
{ | ||
"name": "meta3d-bs-most", | ||
"version": "0.20.0", | ||
"scripts": { | ||
"watch": "rescript clean && rescript build -w", | ||
"webpack": "webpack --config webpack.config.js" | ||
}, | ||
"dependencies": { | ||
"meta3d-type": "^0.20.0", | ||
"most": "1.7.0", | ||
"most-subject": "^5.3.0", | ||
"rescript": "^10.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.10.4", | ||
"@babel/preset-env": "^7.10.4", | ||
"clean-webpack-plugin": "^4.0.0", | ||
"cross-env": "^7.0.3", | ||
"cz-customizable": "^6.3.0", | ||
"gentype": "^3.48.0", | ||
"gulp": "^4.0.2", | ||
"meta3d-tool-publish": "^0.20.0", | ||
"webpack": "^5.62.1", | ||
"webpack-cli": "^4.9.1" | ||
} | ||
} |
Oops, something went wrong.