Skip to content

Commit

Permalink
Added monorepo-level build in proper order, fixed path in convert bro…
Browse files Browse the repository at this point in the history
…wser file test to example
  • Loading branch information
aultac committed Mar 28, 2024
1 parent aa661de commit ef1fd0f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 440 deletions.
Binary file modified app/bigdemo.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"typescript": "^4.8.3",
"vite": "^3.1.8"
}
}
}
2 changes: 1 addition & 1 deletion convert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@
"wicket": "^1.3.8",
"xlsx": "^0.18.5"
}
}
}
4 changes: 2 additions & 2 deletions convert/src/test/browser/file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type * as MainLib from '../../browser/index.js';
import chalk from 'chalk'; // have to import it this way on browser

import tomkat_json from '@modusjs/examples/dist/tomkat-historic/soil/tomkat_source_data2015_RMN0_10cm_1_json.js';
import ward_csv from '@modusjs/examples/dist/tomkat-historic/soil/TOKA2021_22A_RMN_Ward_csv.js';
import ward_csv from '@modusjs/examples/dist/tomkat-historic/soil/TOKA2021-22A_RMN_Ward_csv.js';
import tomkat_source_xlsx from '@modusjs/examples/dist/tomkat-historic/soil/tomkat_source_data_xlsx.js';
import hand_modus_xml from '@modusjs/examples/dist/enyart-east50-a_l_labs/soil/hand_modus_xml.js';

Expand Down Expand Up @@ -37,4 +37,4 @@ export default async function run(lib: typeof MainLib) {
test('NOT testing file save: that is tested manually in the app');

test('All file browser tests passed');
}
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"license": "Apache-2.0",
"version": "1.0.4",
"packageManager": "[email protected]",
"scripts": {
"build": "echo '--------> @modusjs/industry' && yarn workspace @modusjs/industry build && echo '--------> @modusjs/examples' && yarn workspace @modusjs/examples build > /dev/null && echo '--------> @modusjs/units' && yarn workspace @modusjs/units build && echo '--------> @modusjs/convert' && yarn workspace @modusjs/convert build && echo '--------> app' && yarn workspace app build"
},
"workspaces": [
"bundle",
"convert",
Expand Down
Loading

0 comments on commit ef1fd0f

Please sign in to comment.