rename mondo package to mondolang

This commit is contained in:
Felix Roos
2025-05-02 16:20:23 +02:00
parent 4208c79c09
commit 607a6121bc
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ more info:
## Example Usage
```js
import { MondoRunner } from 'mondo'
import { MondoRunner } from 'mondolang'
// define our library of functions and variables
let lib = {
add: (a, b) => a + b,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "mondo",
"name": "mondolang",
"version": "1.1.0",
"description": "a language for functional composition that translates to js",
"main": "mondo.mjs",
+1 -1
View File
@@ -13,7 +13,7 @@ import {
silence,
} from '@strudel/core';
import { registerLanguage } from '@strudel/transpiler';
import { MondoRunner } from '../mondo/mondo.mjs';
import { MondoRunner } from 'mondolang';
const tail = (friend, pat) => pat.fmap((a) => (b) => (Array.isArray(a) ? [...a, b] : [a, b])).appLeft(friend);
+2 -1
View File
@@ -33,7 +33,8 @@
"homepage": "https://github.com/tidalcycles/strudel#readme",
"dependencies": {
"@strudel/core": "workspace:*",
"@strudel/transpiler": "workspace:*"
"@strudel/transpiler": "workspace:*",
"mondolang": "workspace:*"
},
"devDependencies": {
"mondo": "*",
+3
View File
@@ -364,6 +364,9 @@ importers:
'@strudel/transpiler':
specifier: workspace:*
version: link:../transpiler
mondolang:
specifier: workspace:*
version: link:../mondo
devDependencies:
mondo:
specifier: '*'