Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 6be42c1

Browse files
committed
Reorganize: runtime / primitives
1 parent 863ba7a commit 6be42c1

File tree

96 files changed

+38
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+38
-28
lines changed

README.md

Lines changed: 8 additions & 0 deletions

belt/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dir": "src",
55
"subdirs": true
66
},
7-
"bs-dependencies": ["stdlib-mini"],
7+
"bs-dependencies": ["runtime"],
88
"bsc-flags": [
99
"-nostdlib",
1010
"-nopervasives",

core/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dir": "src",
55
"subdirs": true
66
},
7-
"bs-dependencies": ["stdlib-mini", "runtime"],
7+
"bs-dependencies": ["runtime"],
88
"bsc-flags": [
99
"-nostdlib",
1010
"-nopervasives",

js/rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dir": "src",
55
"subdirs": true
66
},
7-
"bs-dependencies": ["stdlib-mini"],
7+
"bs-dependencies": ["runtime"],
88
"bsc-flags": [
99
"-nostdlib",
1010
"-nopervasives",

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"private": true,
55
"packageManager": "[email protected]",
66
"workspaces": [
7-
"stdlib-mini",
87
"core",
98
"belt",
9+
"primitives",
1010
"runtime",
1111
"js"
1212
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "stdlib-mini",
2+
"name": "primitives",
33
"version": "0.0.0"
44
}

primitives/rescript.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "primitives",
3+
"sources": {
4+
"dir": "src",
5+
"subdirs": true
6+
},
7+
"bs-dependencies": ["runtime"],
8+
"bsc-flags": [
9+
"-nostdlib",
10+
"-nopervasives",
11+
"-bs-no-version-header",
12+
"-open Stdlib_mini"
13+
]
14+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

rescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"in-source": true
77
},
88
"suffix": ".js",
9-
"bs-dependencies": ["stdlib-mini", "core", "belt", "runtime", "js"],
9+
"bs-dependencies": ["core", "belt", "primitives", "runtime", "js"],
1010
"bsc-flags": ["-nostdlib", "-nopervasives", "-bs-no-version-header"]
1111
}

runtime/rescript.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,5 @@
44
"dir": "src",
55
"subdirs": true
66
},
7-
"bs-dependencies": ["stdlib-mini"],
8-
"bsc-flags": [
9-
"-nostdlib",
10-
"-nopervasives",
11-
"-bs-no-version-header",
12-
"-open Stdlib_mini"
13-
]
7+
"bsc-flags": ["-nostdlib", "-nopervasives", "-bs-no-version-header"]
148
}

runtime/src/runtime_deriving.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
* along with this program; if not, write to the Free Software
2323
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
2424

25+
open Stdlib_mini
26+
2527
let raiseWhenNotFound = x =>
2628
if Js.testAny(x) {
2729
raise(Not_found)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

stdlib-mini/rescript.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)