The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fixed builld, added common package and installed next-transpile-modules
Jonathan Summers-Muir22165a7e2958
diff --git a/apps/www/public/sitemap_www.xml b/apps/www/public/sitemap_www.xmlindex da85a0a12bb..79e107d6867 100644--- a/apps/www/public/sitemap_www.xml+++ b/apps/www/public/sitemap_www.xml@@ -73,13 +73,13 @@</url><url>- <loc>https://supabase.com/edge-functions/edge-functions</loc>+ <loc>https://supabase.com/legal/dpa</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url><url>- <loc>https://supabase.com/legal/dpa</loc>+ <loc>https://supabase.com/edge-functions/edge-functions</loc><changefreq>weekly</changefreq><changefreq>0.5</changefreq></url>diff --git a/package-lock.json b/package-lock.jsonindex ddd93042624..a1a2247427f 100644--- a/package-lock.json+++ b/package-lock.json@@ -17187,7 +17187,6 @@"version": "5.10.0","resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz","integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==",- "devOptional": true,"dependencies": {"graceful-fs": "^4.2.4","tapable": "^2.2.0"@@ -19660,8 +19659,7 @@"node_modules/graceful-fs": {"version": "4.2.10","resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",- "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==",- "devOptional": true+ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="},"node_modules/graphql": {"version": "16.5.0",@@ -24355,7 +24353,6 @@"version": "9.0.0","resolved": "https://registry.npmjs.org/next-transpile-modules/-/next-transpile-modules-9.0.0.tgz","integrity": "sha512-VCNFOazIAnXn1hvgYYSTYMnoWgKgwlYh4lm1pKbSfiB3kj5ZYLcKVhfh3jkPOg1cnd9DP+pte9yCUocdPEUBTQ==",- "dev": true,"dependencies": {"enhanced-resolve": "^5.7.0","escalade": "^3.1.1"@@ -31516,7 +31513,6 @@"version": "2.2.1","resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz","integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",- "devOptional": true,"engines": {"node": ">=6"}@@ -34554,6 +34550,7 @@"mobx-react-lite": "^3.2.0","next": "12.0.9","next-compose-plugins": "^2.2.1",+ "next-transpile-modules": "^9.0.0","openapi-types": "^9.1.0","p-queue": "^6.6.2","papaparse": "^5.3.1",@@ -34621,6 +34618,7 @@"@types/zxcvbn": "^4.4.1","autoprefixer": "^10.4.2","babel-loader": "^8.2.3",+ "common": "*","jest": "^27.4.0","jest-canvas-mock": "^2.3.1","postcss": "^8.4.6",@@ -47309,7 +47307,6 @@"version": "5.10.0","resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz","integrity": "sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==",- "devOptional": true,"requires": {"graceful-fs": "^4.2.4","tapable": "^2.2.0"@@ -49409,8 +49406,7 @@"graceful-fs": {"version": "4.2.10","resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz",- "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==",- "devOptional": true+ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="},"graphql": {"version": "16.5.0",@@ -52920,7 +52916,6 @@"version": "9.0.0","resolved": "https://registry.npmjs.org/next-transpile-modules/-/next-transpile-modules-9.0.0.tgz","integrity": "sha512-VCNFOazIAnXn1hvgYYSTYMnoWgKgwlYh4lm1pKbSfiB3kj5ZYLcKVhfh3jkPOg1cnd9DP+pte9yCUocdPEUBTQ==",- "dev": true,"requires": {"enhanced-resolve": "^5.7.0","escalade": "^3.1.1"@@ -58114,6 +58109,7 @@"awesome-debounce-promise": "^2.1.0","babel-loader": "^8.2.3","clipboard": "^2.0.8",+ "common": "*","configcat-js": "^5.6.0","crypto-js": "^4.1.1","dayjs": "^1.11.0",@@ -58130,6 +58126,7 @@"mobx-react-lite": "^3.2.0","next": "12.0.9","next-compose-plugins": "^2.2.1",+ "next-transpile-modules": "^9.0.0","openapi-types": "^9.1.0","p-queue": "^6.6.2","papaparse": "^5.3.1",@@ -58747,8 +58744,7 @@"tapable": {"version": "2.2.1","resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",- "devOptional": true+ "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ=="},"tar": {"version": "6.1.11",diff --git a/studio/next.config.js b/studio/next.config.jsindex 302385c445a..c6d80047428 100644--- a/studio/next.config.js+++ b/studio/next.config.js@@ -1,3 +1,6 @@+// this is required to use shared packages in the packages directory+const withTM = require('next-transpile-modules')(['common'])+const { withSentryConfig } = require('@sentry/nextjs')const withPlugins = require('next-compose-plugins')const withBundleAnalyzer = require('@next/bundle-analyzer')({@@ -65,7 +68,9 @@ const nextConfig = {}// Export all config-const moduleExports = withPlugins([[withBundleAnalyzer({})]], nextConfig)+const plugins = [[withBundleAnalyzer({})], withTM()]++const moduleExports = withPlugins(plugins, nextConfig)const sentryWebpackPluginOptions = {// Additional config options for the Sentry Webpack plugin. Keep in mind that@@ -85,4 +90,4 @@ const sentryWebpackPluginOptions = {module.exports =process.env.NEXT_PUBLIC_IS_PLATFORM === 'true'? withSentryConfig(moduleExports, sentryWebpackPluginOptions)- : nextConfig+ : withPlugins([withTM()], nextConfig)diff --git a/studio/package.json b/studio/package.jsonindex 2f954ae8ac3..3fc8a711ccf 100644--- a/studio/package.json+++ b/studio/package.json@@ -47,6 +47,7 @@"mobx-react-lite": "^3.2.0","next": "12.0.9","next-compose-plugins": "^2.2.1",+ "next-transpile-modules": "^9.0.0","openapi-types": "^9.1.0","p-queue": "^6.6.2","papaparse": "^5.3.1",@@ -83,6 +84,7 @@"zxcvbn": "^4.4.2"},"devDependencies": {+ "common": "*","@storybook/addon-actions": "^6.4.19","@storybook/addon-essentials": "^6.4.19","@storybook/addon-interactions": "^6.4.19",