File tree Expand file tree Collapse file tree 4 files changed +15
-24
lines changed
Expand file tree Collapse file tree 4 files changed +15
-24
lines changed Original file line number Diff line number Diff line change 22 "name" : " react-native-google-maps-plus" ,
33 "version" : " 1.2.0" ,
44 "description" : " React-native wrapper for android & IOS google maps sdk" ,
5- "main" : " ./lib/commonjs /index.js" ,
5+ "main" : " ./lib/module /index.js" ,
66 "module" : " ./lib/module/index.js" ,
77 "types" : " ./lib/typescript/src/index.d.ts" ,
88 "source" : " src/index" ,
9+ "react-native" : " src/index" ,
910 "scripts" : {
1011 "typecheck" : " tsc --noEmit" ,
1112 "lint" : " yarn lint:js && yarn lint:android && yarn lint:ios" ,
148149 "source" : " src" ,
149150 "output" : " lib" ,
150151 "targets" : [
151- " commonjs" ,
152152 " module" ,
153153 [
154154 " typescript" ,
158158 ]
159159 ]
160160 },
161- "exports" : {
162- "." : {
163- "source" : " ./src/index.tsx" ,
164- "types" : " ./lib/typescript/src/index.d.ts" ,
165- "default" : " ./lib/module/index.js"
166- },
167- "./package.json" : " ./package.json"
168- },
169161 "packageManager" :
" [email protected] " 170162}
Original file line number Diff line number Diff line change 11import { getHostComponent , NitroModules } from 'react-native-nitro-modules' ;
22
3- import ViewConfig from '../nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json' ;
3+ import ViewConfig from '../nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json' with { type : 'json' } ;
44
55import type {
66 RNGoogleMapsPlusViewMethods ,
77 RNGoogleMapsPlusViewProps ,
8- } from './RNGoogleMapsPlusView.nitro' ;
8+ } from './RNGoogleMapsPlusView.nitro.js ' ;
99
10- import type { RNGoogleMapsPlusModule } from './RNGoogleMapsPlusModule.nitro' ;
10+ import type { RNGoogleMapsPlusModule } from './RNGoogleMapsPlusModule.nitro.js ' ;
1111
1212export const GoogleMapsView = getHostComponent <
1313 RNGoogleMapsPlusViewProps ,
Original file line number Diff line number Diff line change 1- import { GoogleMapsView , GoogleMapsModule } from './GoogleMapsPlus' ;
1+ import { GoogleMapsView , GoogleMapsModule } from './GoogleMapsPlus.js ' ;
22import type {
33 RNGoogleMapsPlusViewMethods ,
44 RNGoogleMapsPlusViewProps ,
55} from './RNGoogleMapsPlusView.nitro' ;
66import type { RNGoogleMapsPlusModule } from './RNGoogleMapsPlusModule.nitro' ;
77
8- export * from './types' ;
8+ export * from './types.js ' ;
99
1010export type {
1111 RNGoogleMapsPlusViewMethods ,
Original file line number Diff line number Diff line change 44 "allowUnreachableCode" : false ,
55 "allowUnusedLabels" : false ,
66 "esModuleInterop" : true ,
7+ "allowSyntheticDefaultImports" : true ,
78 "forceConsistentCasingInFileNames" : true ,
89 "jsx" : " react" ,
910 "lib" : [" esnext" ],
1011 "module" : " esnext" ,
11- "moduleResolution" : " node" ,
12+ "moduleResolution" : " bundler" ,
13+ "target" : " esnext" ,
14+ "verbatimModuleSyntax" : true ,
15+ "resolveJsonModule" : true ,
16+ "strict" : true ,
1217 "noEmit" : false ,
18+ "skipLibCheck" : true ,
1319 "noFallthroughCasesInSwitch" : true ,
1420 "noImplicitReturns" : true ,
15- "noImplicitUseStrict" : false ,
16- "noStrictGenericChecks" : false ,
1721 "noUncheckedIndexedAccess" : true ,
1822 "noUnusedLocals" : true ,
19- "noUnusedParameters" : true ,
20- "resolveJsonModule" : true ,
21- "skipLibCheck" : true ,
22- "strict" : true ,
23- "target" : " esnext" ,
24- "verbatimModuleSyntax" : true
23+ "noUnusedParameters" : true
2524 },
2625 "exclude" : [
2726 " **/node_modules" ,
You can’t perform that action at this time.
0 commit comments