File tree Expand file tree Collapse file tree 15 files changed +114
-499
lines changed Expand file tree Collapse file tree 15 files changed +114
-499
lines changed Original file line number Diff line number Diff line change 1212    "@tanstack/solid-query" : " ^5.0.0-alpha.81"  ,
1313    "graphql" : " ^16.6.0"  ,
1414    "graphql-request" : " ^6.1.0"  ,
15-     "solid-js" : " ^1.6.13 " 
15+     "solid-js" : " ^1.7.8 " 
1616  },
1717  "devDependencies" : {
1818    "typescript" : " ^5.0.4"  ,
1919    "vite" : " ^4.4.4"  ,
20-     "vite-plugin-solid" : " ^2.5 .0" 
20+     "vite-plugin-solid" : " ^2.7 .0" 
2121  }
2222}
Original file line number Diff line number Diff line change 1010  "license" : " MIT"  ,
1111  "dependencies" : {
1212    "@tanstack/solid-query" : " ^5.0.0-alpha.81"  ,
13-     "solid-js" : " ^1.6.13 " 
13+     "solid-js" : " ^1.7.8 " 
1414  },
1515  "devDependencies" : {
1616    "typescript" : " ^5.0.4"  ,
1717    "vite" : " ^4.4.4"  ,
18-     "vite-plugin-solid" : " ^2.5 .0" 
18+     "vite-plugin-solid" : " ^2.7 .0" 
1919  }
2020}
Original file line number Diff line number Diff line change 1010  "license" : " MIT"  ,
1111  "dependencies" : {
1212    "@tanstack/solid-query" : " ^5.0.0-alpha.81"  ,
13-     "solid-js" : " ^1.6.13 " 
13+     "solid-js" : " ^1.7.8 " 
1414  },
1515  "devDependencies" : {
1616    "typescript" : " ^5.0.4"  ,
1717    "vite" : " ^4.4.4"  ,
18-     "vite-plugin-solid" : " ^2.5 .0" 
18+     "vite-plugin-solid" : " ^2.7 .0" 
1919  }
2020}
Original file line number Diff line number Diff line change 1010  "license" : " MIT"  ,
1111  "dependencies" : {
1212    "@tanstack/solid-query" : " ^5.0.0-alpha.81"  ,
13-     "solid-js" : " ^1.6.13 " 
13+     "solid-js" : " ^1.7.8 " 
1414  },
1515  "devDependencies" : {
1616    "@tanstack/eslint-plugin-query" : " ^5.0.0-alpha.74"  ,
1717    "typescript" : " ^5.0.4"  ,
1818    "vite" : " ^4.4.4"  ,
19-     "vite-plugin-solid" : " ^2.5 .0" 
19+     "vite-plugin-solid" : " ^2.7 .0" 
2020  }
2121}
Original file line number Diff line number Diff line change 1111    "@solidjs/meta" : " ^0.28.2"  ,
1212    "@solidjs/router" : " ^0.7.0"  ,
1313    "@tanstack/solid-query" : " ^5.0.0-alpha.81"  ,
14-     "solid-js" : " ^1.6.13 "  ,
14+     "solid-js" : " ^1.7.8 "  ,
1515    "solid-start" : " ^0.2.23"  ,
1616    "undici" : " ^5.22.1" 
1717  },
Original file line number Diff line number Diff line change 77  },
88  "dependencies" : {
99    "@tanstack/solid-query" : " workspace:*"  ,
10-     "solid-js" : " ^1.6.13 "  ,
10+     "solid-js" : " ^1.7.8 "  ,
1111    "vite" : " ^4.4.4"  ,
12-     "vite-plugin-solid" : " ^2.5 .0" 
12+     "vite-plugin-solid" : " ^2.7 .0" 
1313  }
1414}
Original file line number Diff line number Diff line change 7878    "react-dom" : " ^18.2.0"  ,
7979    "rimraf" : " ^5.0.1"  ,
8080    "semver" : " ^7.5.1"  ,
81-     "solid-js" : " ^1.6.13 "  ,
81+     "solid-js" : " ^1.7.8 "  ,
8282    "stream-to-array" : " ^2.3.0"  ,
8383    "tsup" : " ^7.1.0"  ,
8484    "type-fest" : " ^3.13.0"  ,
Original file line number Diff line number Diff line change 5757    "solid-transition-group" : " ^0.2.2"  ,
5858    "superjson" : " ^1.12.4"  ,
5959    "tsup-preset-solid" : " ^2.0.1"  ,
60-     "vite-plugin-solid" : " ^2.5 .0" 
60+     "vite-plugin-solid" : " ^2.7 .0" 
6161  }
6262}
Original file line number Diff line number Diff line change 11// @ts -check 
22
33import  {  defineConfig  }  from  'tsup' 
4- import  *   as   preset  from  'tsup-preset-solid' 
4+ import  {   generateTsupOptions ,   parsePresetOptions   }  from  'tsup-preset-solid' 
55
66const  preset_options  =  { 
7-   // array or single object 
8-   entries : [ 
9-     // default entry (index) 
10-     { 
11-       // entries with '.tsx' extension will have `solid` export condition generated 
12-       entry : 'src/index.tsx' , 
13-       // will generate a separate development entry 
14-       dev_entry : true , 
15-     } , 
16-   ] , 
17-   // Set to `true` to remove all `console.*` calls and `debugger` statements in prod builds 
18-   drop_console : true , 
19-   // Set to `true` to generate a CommonJS build alongside ESM 
7+   entries : { 
8+     entry : 'src/index.tsx' , 
9+     dev_entry : true , 
10+   } , 
2011  cjs : true , 
12+   drop_console : true , 
2113} 
2214
2315export  default  defineConfig ( ( )  =>  { 
24-   const  parsed_options  =  preset . parsePresetOptions ( preset_options ) 
25-   const  tsup_options  =  preset . generateTsupOptions ( parsed_options ) 
16+   const  parsed_data  =  parsePresetOptions ( preset_options ) 
17+   const  tsup_options  =  generateTsupOptions ( parsed_data ) 
2618
2719  tsup_options . forEach ( ( tsup_option )  =>  { 
2820    tsup_option . outDir  =  'build' 
Original file line number Diff line number Diff line change 1616  "types" : " ./build/index.d.ts"  ,
1717  "browser" : {},
1818  "exports" : {
19-     "solid" : {
20-       "development" : " ./build/dev.js"  ,
21-       "import" : " ./build/index.js" 
22-     },
2319    "development" : {
2420      "import" : {
2521        "types" : " ./build/index.d.ts"  ,
2622        "default" : " ./build/dev.js" 
2723      },
28-       "require" : " ./build/dev.cjs" 
24+       "require" : {
25+         "types" : " ./build/index.d.cts"  ,
26+         "default" : " ./build/dev.cjs" 
27+       }
2928    },
3029    "import" : {
3130      "types" : " ./build/index.d.ts"  ,
3231      "default" : " ./build/index.js" 
3332    },
34-     "require" : " ./build/index.cjs" 
33+     "require" : {
34+       "types" : " ./build/index.d.cts"  ,
35+       "default" : " ./build/index.cjs" 
36+     }
3537  },
3638  "sideEffects" : [
3739    " ./src/setBatchUpdatesFn.ts" 
5052    " src" 
5153  ],
5254  "dependencies" : {
53-     "@tanstack/query-core" : " workspace:*" 
55+     "@tanstack/query-core" : " workspace:*"  ,
56+     "solid-js" : " ^1.7.8" 
5457  },
5558  "devDependencies" : {
56-     "tsup-preset-solid" : " ^0.1.8 "  ,
57-     "vite-plugin-solid" : " ^2.5 .0" 
59+     "tsup-preset-solid" : " ^2. 0.1"  ,
60+     "vite-plugin-solid" : " ^2.7 .0" 
5861  },
5962  "peerDependencies" : {
60-     "solid-js" : " ^1.6.13 " 
63+     "solid-js" : " ^1.6.0 " 
6164  }
6265}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments