24 Commits

Author SHA1 Message Date
Oscar Lorentzon
ee05699636 chore: upgrade doc dependencies and three
Simplify import handling. Import three examples correctly.
Install three in doc project to avoid linting issues.
2021-08-02 10:42:27 +02:00
Oscar Lorentzon
1036065e49 chore: upgrade dev dependencies 2021-08-02 10:42:27 +02:00
Oscar Lorentzon
c268f8515f docs: add custom render map sync example 2021-06-23 14:35:37 +02:00
Oscar Lorentzon
c111cff4fd docs: add viewer to map sync example 2021-05-25 19:32:32 +02:00
Oscar Lorentzon
ee604a302d docs: add viewer method example 2021-05-24 08:37:19 +02:00
Oscar Lorentzon
83fa9b8fef chore: add script to setup dev environment
Remove all hardcoded client tokens.
Add script to generate token JS files.
Use generated tokens in all examples and docs.
2021-05-22 17:28:39 +02:00
Oscar Lorentzon
7949fd35c8 docs: add fly controls example 2021-05-18 17:14:27 +02:00
Oscar Lorentzon
0691f7151b docs: add custom render examples 2021-05-18 07:25:20 +02:00
Oscar Lorentzon
56c751a0fa fix: doc production build extend issue
Node modules are not transpiled in docusaurus
builds leading to a call invoke for data provider
base that throws.
Do not install MJS but use local build instead.
Change imports to be relative.
2021-05-15 18:10:53 +02:00
Oscar Lorentzon
0e3904d844 refactor: single source for app token
Import app token from single place for all
instances - examples, doc examples, doc live
editors.
2021-05-13 13:23:27 +02:00
Oscar Lorentzon
997023f6a0 docs: serve doc examples from debug server 2021-05-12 17:38:12 +02:00
Oscar Lorentzon
426f46326b chore: move configs to separate directory
Use module build in examples.
2021-03-25 16:48:40 +01:00
Oscar Lorentzon
b562a0b06c chore: build with rollup
Migrate to Rollup.
Emit umd, minified umd, module, type declarations
and source maps.
Work around problems with Falcor by using
virtual module.

Migrate to Jest.
Run tests in with CommonJS modules becasue ES6
is not supported.
Work around dependency problems by bootstrap
to ensure they are not loaded during test.

Remove all unused dependencies.

Create state transition matrix to avoid
circular dependencies.

chore: tsc and rollup watch build
chore: incremental watch build
Remove unused dependencies.
chore: use existing type packages
chore: mock favicon
chore: improve watch build
chore: fix styles build
chore: specific commonjs build for tests
chore: reset spec files
refactor: explicit state transition matrix
chore: make src commands work
chore: working unit tests and lib
chore: add serve docs script
chore: remove unused bundle config
chore: refactor rollup config to avoid duplication
fix: falcor imports
fix: transition from source to target

Fixes #87
Fixes #100
Fixes #159
Fixes #208
2021-03-15 11:23:22 +01:00
Oscar Lorentzon
15b0db262a chore: export shaders as strings
Remove brfs dependency and import shaders
directly as strings for simplification.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
743bee0fc9 chore: update dev dependencies
Use postcss directly in express server.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
151abd575c chore: add docker file and dev guide
Fixes #293
2021-01-20 08:12:35 +01:00
Oscar Lorentzon
af60482751 chore: make watch css build correspond to script 2020-09-08 14:52:05 +02:00
Oscar Lorentzon
a2416981c4 refactor: use package.json browsers list
Use browsers list config in debug server.
2017-06-29 12:05:12 +00:00
Oscar Lorentzon
6ea740c71b Remove js suffix from dist output files. 2016-10-28 11:16:16 +02:00
Oscar Lorentzon
d11f278d43 Simplify z-index approach.
Interactive (e.g. navigation, attribution) element have z-index 10.
Overlayed elements (slider, route bubble) have z-index 20.
Filling elements have z-index -1 to 9.
Cover have z-index 100.
Special elements (debug) have z-index 50.

Do not change z-index in server cssnano plugin (z-index are not
changed when built from npm script).
2016-08-26 13:22:25 -04:00
Oscar Lorentzon
72ff442775 Use postcss middleware to rebuild css when requested. 2016-07-14 09:36:17 -04:00
Oscar Lorentzon
90fa0bae0f Build everything to dist folder.
Node server does not need build folder because it generates
javascript and sourcemap on the fly.
2016-07-13 07:08:49 -04:00
Oscar Lorentzon
53878c56f0 Use tsconfig compiler options in node server.
Update running instructions.
Use npm script to run tests on git push.
2016-07-12 17:57:16 -04:00
Oscar Lorentzon
bd0ae51f2b Serve debug page with node server.
Use browserify middleware with dynamic caching for automatic
rebuild when files have changed and page is requested again.
Add watched build of bundle.
2016-07-12 17:40:36 -04:00