-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2726f59
commit 151e621
Showing
67 changed files
with
341 additions
and
482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
export * from '../layers/bundle/peer-dependency'; | ||
|
||
export * from './src'; | ||
// Import from package name instead of relative path | ||
// This will be resolved to src or dist by esbuild depending on bundle settings | ||
// dist has TS transformers applied | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
export * from '@deck.gl/aggregation-layers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import {getLoggers} from '../src/debug/loggers'; | ||
// @ts-nocheck | ||
import {getLoggers} from '@deck.gl/core/debug/loggers'; | ||
|
||
/* global deck */ | ||
declare global { | ||
const deck: any; | ||
} | ||
|
||
const loggers = getLoggers(deck.log); | ||
deck._registerLoggers(loggers); | ||
const loggers = getLoggers(globalThis.deck.log); | ||
globalThis.deck._registerLoggers(loggers); | ||
|
||
export {loggers}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
// We use `require` here because luma and deck core must be imported before `global` | ||
import * as LumaGL from '../src/scripting/lumagl'; | ||
import * as LoadersGL from '../src/scripting/loadersgl'; | ||
// @ts-nocheck | ||
// Luma and deck core must be imported before `global` | ||
/* eslint-disable import/no-extraneous-dependencies */ | ||
import * as LumaGL from '@deck.gl/core/scripting/lumagl'; | ||
import * as LoadersGL from '@deck.gl/core/scripting/loadersgl'; | ||
|
||
globalThis.luma = globalThis.luma || {}; | ||
globalThis.loaders = globalThis.loaders || {}; | ||
|
||
Object.assign(globalThis.luma, LumaGL); | ||
Object.assign(globalThis.loaders, LoadersGL); | ||
|
||
export * from '../src'; | ||
export {register as _registerLoggers} from '../src/debug'; | ||
// Import from package name instead of relative path | ||
// This will be resolved to src or dist by esbuild depending on bundle settings | ||
// dist has TS transformers applied | ||
export * from '@deck.gl/core'; | ||
export {register as _registerLoggers} from '@deck.gl/core/debug'; | ||
|
||
export {default as DeckGL} from '../src/scripting/deckgl'; | ||
export {default as DeckGL} from '@deck.gl/core/scripting/deckgl'; |
Oops, something went wrong.