The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
build: update babelhelpers from bundled to runtime
Muhammad Rivki7d8e55038f05
diff --git a/supabase-ui/babel.config.js b/supabase-ui/babel.config.jsindex 3aa08fc3015..dabfe7e23e5 100644--- a/supabase-ui/babel.config.js+++ b/supabase-ui/babel.config.js@@ -12,5 +12,5 @@ module.exports = {],'@babel/preset-react',],- plugins: ['add-react-displayname'],+ plugins: ['@babel/plugin-transform-runtime', 'add-react-displayname'],}diff --git a/supabase-ui/package.json b/supabase-ui/package.jsonindex 7345c41f8b4..d5b5d58f763 100644--- a/supabase-ui/package.json+++ b/supabase-ui/package.json@@ -15,13 +15,17 @@"react": "^16.13.1","react-dom": "^16.13.1"},+ "dependencies": {+ "@headlessui/react": "^0.2.0"+ },"devDependencies": {"@babel/cli": "^7.11.6","@babel/core": "^7.11.6",+ "@babel/plugin-transform-runtime": "^7.11.5","@babel/preset-env": "^7.11.5","@babel/preset-react": "^7.10.4",+ "@babel/runtime": "^7.11.2","@fullhuman/postcss-purgecss": "^3.0.0",- "@headlessui/react": "^0.2.0","@rollup/plugin-babel": "^5.2.1","@storybook/addon-actions": "^6.0.26","@storybook/addon-essentials": "^6.0.26",diff --git a/supabase-ui/rollup.config.js b/supabase-ui/rollup.config.jsindex 6776e6da80c..acaf1953014 100644--- a/supabase-ui/rollup.config.js+++ b/supabase-ui/rollup.config.js@@ -18,9 +18,13 @@ export default {}),external(),babel({+ babelHelpers: 'runtime',exclude: 'node_modules/**',}),del({ targets: ['dist/*'] }),],- external: Object.keys(pkg.peerDependencies || {}),+ external: [+ ...Object.keys(pkg.peerDependencies || {}),+ ...Object.keys(pkg.dependencies || {}),+ ],}diff --git a/supabase-ui/yarn.lock b/supabase-ui/yarn.lockindex b736b56521c..bccf19a07e4 100644--- a/supabase-ui/yarn.lock+++ b/supabase-ui/yarn.lock@@ -1473,6 +1473,16 @@resolve "^1.8.1"semver "^5.5.1"+"@babel/plugin-transform-runtime@^7.11.5":+ version "7.11.5"+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz#f108bc8e0cf33c37da031c097d1df470b3a293fc"+ integrity sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg==+ dependencies:+ "@babel/helper-module-imports" "^7.10.4"+ "@babel/helper-plugin-utils" "^7.10.4"+ resolve "^1.8.1"+ semver "^5.5.1"+"@babel/plugin-transform-shorthand-properties@^7.10.4":version "7.10.4"resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.4.tgz#9fd25ec5cdd555bb7f473e5e6ee1c971eede4dd6"@@ -5351,15 +5361,10 @@ caniuse-api@^3.0.0:lodash.memoize "^4.1.2"lodash.uniq "^4.5.0"-caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001035:- version "1.0.30001035"- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001035.tgz#2bb53b8aa4716b2ed08e088d4dc816a5fe089a1e"- integrity sha512-C1ZxgkuA4/bUEdMbU5WrGY4+UhMFFiXrgNAfxiMIqWgFTWfv/xsZCS2xEHT2LMq7xAZfuAnu6mcqyDl0ZR6wLQ==--caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001135:- version "1.0.30001144"- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001144.tgz#bca0fffde12f97e1127a351fec3bfc1971aa3b3d"- integrity sha512-4GQTEWNMnVZVOFG3BK0xvGeaDAtiPAbG2N8yuMXuXzx/c2Vd4XoMPO8+E918zeXn5IF0FRVtGShBfkfQea2wHQ==+caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001035, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001135:+ version "1.0.30001147"+ resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001147.tgz"+ integrity sha512-CPyN875geYk46eIqPl5jlmotCr5YZC2KxIVfb4z0FrNfLxPM+MyodWD2irJGDG8vUUE1fmg3De9vt8uaC6Nf6w==capture-exit@^2.0.0:version "2.0.0"