File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed
packages/integrations/storage-vectors-js Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 123123 },
124124 "test:integration" : {
125125 "inputs" : [" testing" , " ^production" ],
126+ "dependsOn" : [" ^build" ],
126127 "cache" : true ,
127128 "outputs" : [" {projectRoot}/coverage" ]
128129 },
Original file line number Diff line number Diff line change 11/* eslint-disable */
2- import { readFileSync } from 'fs'
3- import { fileURLToPath } from 'url'
4- import { dirname , join } from 'path'
5-
6- const __filename = fileURLToPath ( import . meta. url )
7- const __dirname = dirname ( __filename )
2+ const { readFileSync } = require ( 'fs' )
3+ const { join } = require ( 'path' )
84
95// Reading the SWC compilation config for the spec files
106const swcJestConfig = JSON . parse ( readFileSync ( join ( __dirname , '.spec.swcrc' ) , 'utf-8' ) )
117
128// Disable .swcrc look-up by SWC core because we're passing in swcJestConfig ourselves
139swcJestConfig . swcrc = false
1410
15- export default {
11+ module . exports = {
1612 displayName : 'storage-vectors-js' ,
1713 preset : '../../../jest.preset.js' ,
1814 testEnvironment : 'node' ,
Original file line number Diff line number Diff line change 22 "name" : " @supabase/storage-vectors-js" ,
33 "version" : " 0.0.0" ,
44 "private" : true ,
5- "type" : " module" ,
65 "main" : " ./dist/index.js" ,
7- "module" : " ./dist/index.js" ,
86 "types" : " ./dist/index.d.ts" ,
97 "exports" : {
108 "./package.json" : " ./package.json" ,
119 "." : {
1210 "@supabase-js/source" : " ./src/index.ts" ,
1311 "types" : " ./dist/index.d.ts" ,
14- "import " : " ./dist/index.js" ,
12+ "require " : " ./dist/index.js" ,
1513 "default" : " ./dist/index.js"
1614 }
1715 },
Original file line number Diff line number Diff line change 44 "baseUrl" : " ." ,
55 "rootDir" : " src" ,
66 "outDir" : " dist" ,
7- "target" : " ES6" ,
8- "module" : " ES2020" ,
7+ "target" : " ES2017" ,
8+ "module" : " CommonJS" ,
9+ "moduleResolution" : " Node" ,
910 "lib" : [" ES2022" , " dom" ],
1011 "tsBuildInfoFile" : " dist/tsconfig.lib.tsbuildinfo" ,
1112 "emitDeclarationOnly" : false ,
You can’t perform that action at this time.
0 commit comments