VCityTeam / UD-SV

7 stars 3 forks source link

Realize a decent packaging and provide first simple tests #31

Closed EricBoix closed 6 years ago

EricBoix commented 7 years ago

The current version of the first prototype (Vilo3D demo application) is just a juxtaposition of files as opposed to being

Take some inspiration out of iTowns and provide :

EricBoix commented 6 years ago

JGA: Document a little bit out of Oslandia's IRC feedback.

Jeremy-Gaillard commented 6 years ago
EricBoix commented 6 years ago

I'm trying to "import" a minimal subset of iTowns configuration files (for the above mentioned tools) to UDV. I created a small context within my UDV fork to explore this : in order to reproduce the error mentioned below just use

git clone https://github.com/EricBoix/UDV
cd UDV/UDV-Core
npm install
npm transpile
npm build

With the help of some docs (Transpiling ES6 to ES5 using babel, ES6 Imports with Babel) I was able to clear a few hurdles (probably with some kludges) like using babel-present-env instead of es2015.

We (with VJA) are now stuck on the following error (on npm run transpile):

Error: node_modules/ajv/dist/ajv.bundle.js: Can't resolve './compile/util' in '[...]/UDV-Core/node_modules/ajv/dist

Any clue for us ?

jailln commented 6 years ago

Inputs about test-suites and iTown's discussions about these can be found here

EricBoix commented 6 years ago

Refer to new issue #34 for the remaining work.