-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Upgrade to [email protected] (#31)
- Loading branch information
1 parent
0bde156
commit 907136f
Showing
58 changed files
with
3,613 additions
and
3,180 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 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,23 +1,23 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>deck.gl w/ Bing Maps example</title> | ||
<style> | ||
#map { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.deck-tooltip { | ||
white-space: nowrap; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="map"></div> | ||
<script src="app.js"></script> | ||
</body> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>deck.gl w/ Bing Maps example</title> | ||
<style> | ||
#map { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.deck-tooltip { | ||
white-space: nowrap; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="map"></div> | ||
<script type="module" src="app.js"></script> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>deck.gl Community Example</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
</head> | ||
<body></body> | ||
<script type="module" src="./index.jsx"></script> | ||
</html> |
File renamed without changes.
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,21 +1,15 @@ | ||
{ | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "webpack-dev-server --progress --hot --open", | ||
"start-local": "webpack-dev-server --env.local --progress --hot --open" | ||
"start": "vite --open", | ||
"start-local": "vite --config ../vite.config.local.mjs" | ||
}, | ||
"dependencies": { | ||
"react": "^16.0.0", | ||
"react-dom": "^16.0.0", | ||
"@deck.gl-community/submodule": "^0.0.1" | ||
"@deck.gl-community/template": "^0.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.20.2", | ||
"@babel/preset-react": "^7.0.0", | ||
"babel-loader": "^9.1.2", | ||
"html-webpack-plugin": "^5.5.0", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^5.0.1", | ||
"webpack-dev-server": "^4.11.1" | ||
"vite": "^5.0.12" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>deck.gl Community Example</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
</head> | ||
<body></body> | ||
<script type="module" src="./index.jsx"></script> | ||
</html> |
5 changes: 3 additions & 2 deletions
5
...act-graph-gl/simple-graph-viewer/index.js → examples/react-graph-gl/index.jsx
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"start": "vite --open", | ||
"start-local": "vite --config ../vite.config.local.mjs" | ||
}, | ||
"dependencies": { | ||
"deck.gl": "^8.8.26", | ||
"deck-graph-layers": "^0.0.22", | ||
"react-deck-graph-layers": "^0.0.24" | ||
}, | ||
"devDependencies": { | ||
"vite": "^5.0.12" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// This file contains webpack configuration settings that allow | ||
// examples to be built against the source code in this repo instead | ||
// of building against their installed version of the modules. | ||
|
||
import {defineConfig} from 'vite'; | ||
import {getOcularConfig} from 'ocular-dev-tools'; | ||
import {join} from 'path'; | ||
|
||
const rootDir = join(__dirname, '..'); | ||
|
||
/** https://vitejs.dev/config/ */ | ||
export default defineConfig(async () => { | ||
const {aliases} = await getOcularConfig({root: rootDir}); | ||
|
||
console.log(aliases); | ||
|
||
return { | ||
resolve: { | ||
alias: { | ||
...aliases, | ||
// Use root dependencies | ||
'@luma.gl': join(rootDir, './node_modules/@luma.gl'), | ||
'@math.gl': join(rootDir, './node_modules/@math.gl'), | ||
'@loaders.gl': join(rootDir, './node_modules/@loaders.gl') | ||
} | ||
}, | ||
define: { | ||
'process.env.GoogleMapsAPIKey': JSON.stringify(process.env.GoogleMapsAPIKey), | ||
'process.env.GoogleMapsMapId': JSON.stringify(process.env.GoogleMapsMapId), | ||
'process.env.MapboxAccessToken': JSON.stringify(process.env.MapboxAccessToken), | ||
'process.env.BingMapsAPIKey': JSON.stringify(process.env.BingMapsAPIKey) | ||
}, | ||
server: { | ||
open: true, | ||
port: 8080 | ||
}, | ||
optimizeDeps: { | ||
esbuildOptions: {target: 'es2020'} | ||
} | ||
}; | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"version": "independent", | ||
"npmClient": "yarn", | ||
"packages": [ | ||
"modules/*" | ||
], | ||
"command": { | ||
"bootstrap": {} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.