Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore(build): restore inline-webgl-constants transform #8563

Merged
merged 2 commits into from Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -72,7 +72,7 @@
"gl": "6.0.2",
"glsl-transpiler": "^1.8.6",
"jsdom": "^20.0.0",
"ocular-dev-tools": "2.0.0-alpha.26",
"ocular-dev-tools": "2.0.0-alpha.27",
"pre-commit": "^1.2.2",
"pre-push": "^0.1.1",
"puppeteer": "^22.0.0",
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.module.json
Expand Up @@ -18,6 +18,9 @@
"transform": "ocular-dev-tools/ts-transform-remove-glsl-comments",
"pattern": ["**/*.glsl.ts"]
},
{
"transform": "ocular-dev-tools/ts-transform-inline-webgl-constants"
},
{
"transform": "ocular-dev-tools/ts-transform-append-extension",
"extensions": [".js", ".glsl.js"],
Expand Down
1 change: 1 addition & 0 deletions website/babel.config.js
Expand Up @@ -2,6 +2,7 @@ module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
plugins: [
'version-inline',
"inline-webgl-constants",
[
'remove-glsl-comments',
{
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Expand Up @@ -42,6 +42,7 @@
"@docusaurus/preset-classic": "^2.2.0",
"@mdx-js/react": "^1.6.22",
"babel-plugin-styled-components": "^2.0.0",
"babel-plugin-inline-webgl-constants": "^2.0.0-alpha",
"babel-plugin-remove-glsl-comments": "^1.0.0",
"prism-react-renderer": "^1.2.1",
"ts-node": "~10.9.1"
Expand Down
12 changes: 12 additions & 0 deletions website/yarn.lock
Expand Up @@ -2105,6 +2105,11 @@
dependencies:
"@babel/runtime" "^7.3.1"

"@luma.gl/constants@9.0.0-alpha.45":
Pessimistress marked this conversation as resolved.
Show resolved Hide resolved
version "9.0.0-alpha.45"
resolved "https://registry.yarnpkg.com/@luma.gl/constants/-/constants-9.0.0-alpha.45.tgz#f19c9c3c26b95e1dcf118cb1fbf2dbd93ffd8a1e"
integrity sha512-ZTLw0YMnPE1efXEoJ5FxUzwOwxTMNswfEUctu6liWM3EpI7s8kC33CX4M8Kr7xcaQLN09X836uKOmGRpyD8yVg==

"@mapbox/geojson-rewind@^0.5.2":
version "0.5.2"
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz#591a5d71a9cd1da1a0bf3420b3bea31b0fc7946a"
Expand Down Expand Up @@ -4384,6 +4389,13 @@ babel-plugin-extract-import-names@1.6.22:
dependencies:
"@babel/helper-plugin-utils" "7.10.4"

babel-plugin-inline-webgl-constants@^2.0.0-alpha:
version "2.0.0-alpha.1"
resolved "https://registry.yarnpkg.com/babel-plugin-inline-webgl-constants/-/babel-plugin-inline-webgl-constants-2.0.0-alpha.1.tgz#a03ad8e9d650a1ea681b4fd46261d8659f54d274"
integrity sha512-VJqBM6hK5iq8BNZ7yoD3+fD8deFAKpnW/NNHRNtseActfksp26l6rdF/4HvoKoK5TmedQMlWzgNQH8jelcwzAg==
dependencies:
"@luma.gl/constants" "9.0.0-alpha.45"

babel-plugin-polyfill-corejs2@^0.3.3:
version "0.3.3"
resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -9659,10 +9659,10 @@ octokit-pagination-methods@^1.1.0:
resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ==

ocular-dev-tools@2.0.0-alpha.26:
version "2.0.0-alpha.26"
resolved "https://registry.yarnpkg.com/ocular-dev-tools/-/ocular-dev-tools-2.0.0-alpha.26.tgz#57995e199ff9aa641c9e3a3e59e7d08bd4ec9ad6"
integrity sha512-TaObwQPJrew2sxchf48qKXSJCXfHdiq85RoiuyrWRQAlfDZkrT/e9iKdBLu7sY7ckmxrRndl99j8jcrLqBeCNw==
ocular-dev-tools@2.0.0-alpha.27:
version "2.0.0-alpha.27"
resolved "https://registry.yarnpkg.com/ocular-dev-tools/-/ocular-dev-tools-2.0.0-alpha.27.tgz#11e00d674fabdab62a792562a87ad1d02d3bb06a"
integrity sha512-HVMi+F4gfKhIUTMqUg3CbOoJ0FInl3NlJAZUCMMTXSd1GGDuKtLwFw5txTdOvPH8AKeVjdNGtfSEBnkeK5detg==
dependencies:
"@babel/cli" "^7.14.5"
"@babel/core" "^7.14.5"
Expand Down