Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Realize a decent packaging and provide first simple tests #31

Closed
EricBoix opened this issue Oct 6, 2017 · 5 comments
Closed

Realize a decent packaging and provide first simple tests #31

EricBoix opened this issue Oct 6, 2017 · 5 comments
Assignees
Milestone

Comments

@EricBoix
Copy link
Contributor

EricBoix commented Oct 6, 2017

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

  • tested
  • properly packaged with npm (and webpack)...

Take some inspiration out of iTowns and provide :

@EricBoix EricBoix added this to the NotSortedOutYet milestone Oct 6, 2017
@EricBoix EricBoix changed the title Realize a decent packaging Realize a decent packaging and provide first simple tests Oct 6, 2017
@EricBoix EricBoix modified the milestones: NotSortedOutYet, OGC demo Oct 12, 2017
@EricBoix
Copy link
Contributor Author

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

@Jeremy-Gaillard
Copy link
Contributor

@EricBoix
Copy link
Contributor Author

EricBoix commented Oct 17, 2017

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
Copy link
Contributor

jailln commented Nov 20, 2017

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

@EricBoix
Copy link
Contributor Author

EricBoix commented Jan 5, 2018

Refer to new issue #34 for the remaining work.

@EricBoix EricBoix closed this as completed Jan 5, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants