@redzone/taunt-logins-ui-react 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.history/babel.config_20251002171845.json +0 -0
  2. package/.history/babel.config_20251002171847.json +3 -0
  3. package/.history/babel.config_20251002172145.json +3 -0
  4. package/.history/babel.config_20251002172313.json +3 -0
  5. package/.history/babel.config_20251002172415.json +8 -0
  6. package/.history/package_20251002162605.json +35 -0
  7. package/.history/package_20251002162619.json +35 -0
  8. package/.history/package_20251002162631.json +35 -0
  9. package/.history/package_20251002162639.json +35 -0
  10. package/.history/package_20251002162659.json +35 -0
  11. package/.history/package_20251002162811.json +39 -0
  12. package/.history/package_20251002162820.json +39 -0
  13. package/.history/package_20251002171613.json +40 -0
  14. package/.history/package_20251002171644.json +40 -0
  15. package/.history/package_20251002171740.json +43 -0
  16. package/.history/package_20251002172017.json +43 -0
  17. package/.history/package_20251002172634.json +53 -0
  18. package/.history/package_20251002182812.json +52 -0
  19. package/.history/package_20251002183227.json +34 -0
  20. package/.history/package_20251002183258.json +42 -0
  21. package/.history/package_20251002202514.json +46 -0
  22. package/.history/package_20251002202542.json +46 -0
  23. package/.history/package_20251002202550.json +45 -0
  24. package/.history/package_20251002203503.json +46 -0
  25. package/.history/package_20251002204314.json +45 -0
  26. package/.history/package_20251002213111.json +45 -0
  27. package/.history/package_20251002222438.json +47 -0
  28. package/.history/package_20251002222511.json +45 -0
  29. package/.history/package_20251002222541.json +45 -0
  30. package/.history/src/App_20251002205122.tsx +54 -0
  31. package/.history/src/lib/index_20251002162704.ts +0 -0
  32. package/.history/src/lib/index_20251002162712.ts +1 -0
  33. package/{src/lib/taunt.ts → .history/src/lib/index_20251002182429.ts} +2 -0
  34. package/.history/src/lib/magic_20251002171038.tsx +50 -0
  35. package/.history/src/lib/metamask_20251002171636.tsx +27 -0
  36. package/.history/tsconfig.app_20251002172720.json +28 -0
  37. package/.history/vite.config_20251002182237.ts +19 -0
  38. package/.history/vite.config_20251002182326.ts +19 -0
  39. package/.history/vite.config_20251002182358.ts +19 -0
  40. package/.history/vite.config_20251002182434.ts +19 -0
  41. package/.history/vite.config_20251002182749.ts +26 -0
  42. package/.history/vite.config_20251002182810.ts +26 -0
  43. package/.history/vite.config_20251002184535.ts +36 -0
  44. package/.history/vite.config_20251002184720.ts +41 -0
  45. package/.history/vite.config_20251002184748.ts +37 -0
  46. package/.history/vite.config_20251002184844.ts +37 -0
  47. package/.history/vite.config_20251002201901.ts +45 -0
  48. package/.history/vite.config_20251002202019.ts +47 -0
  49. package/.history/vite.config_20251002202043.ts +47 -0
  50. package/.history/vite.config_20251002202502.ts +47 -0
  51. package/.history/vite.config_20251002203503.ts +43 -0
  52. package/asdf/tsconfig.app.json +28 -0
  53. package/asdf/tsconfig.json +7 -0
  54. package/asdf/tsconfig.node.json +26 -0
  55. package/package.json +21 -8
  56. package/src/App.tsx +2 -2
  57. package/src/lib/index.ts +4 -0
  58. package/src/lib/magic.tsx +2 -2
  59. package/src/lib/metamask.tsx +1 -1
  60. package/tsconfig.json +23 -5
  61. package/tsconfig.node.json +3 -19
  62. package/vite.config.ts +40 -7
  63. package/public/vite.svg +0 -1
  64. package/src/lib/exports.ts +0 -3
  65. /package/{tsconfig.app.json → .history/tsconfig.app_20251002141038.json} +0 -0
package/vite.config.ts CHANGED
@@ -1,10 +1,43 @@
1
- import react from "@vitejs/plugin-react-swc";
2
- import { defineConfig } from "vite";
1
+ import { resolve } from "path"
2
+ // import react from "@vitejs/plugin-react-swc"
3
+ import react from "@vitejs/plugin-react"
4
+ import { defineConfig } from "vite"
5
+ import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js"
6
+ import dts from "vite-plugin-dts"
3
7
 
4
- // https://vite.dev/config/
5
8
  export default defineConfig({
6
- plugins: [react()],
7
- server: {
8
- open: true,
9
+ plugins: [
10
+ cssInjectedByJsPlugin(),
11
+ react(),
12
+ dts({
13
+ insertTypesEntry: true
14
+ })
15
+ ],
16
+ build: {
17
+ lib: {
18
+ entry: resolve(__dirname, "src/lib/index.ts"),
19
+ name: "@redzone/taunt-logins-ui-react",
20
+ // fileName: (format) => `index.${format}.js`
21
+ // the proper extensions will be added
22
+ fileName: "taunt-logins-ui-react"
23
+ },
24
+ rollupOptions: {
25
+ external: ["react", "react-dom", "react/jsx-runtime"],
26
+ output: {
27
+ globals: {
28
+ react: "React",
29
+ "react-dom": "ReactDOM",
30
+ "react/jsx-runtime": "react/jsx-runtime"
31
+ }
32
+ }
33
+ },
34
+ //Generates sourcemaps for the built files,
35
+ //aiding in debugging.
36
+ sourcemap: true,
37
+ //Clears the output directory before building.
38
+ emptyOutDir: true
9
39
  },
10
- });
40
+ server: {
41
+ open: true
42
+ }
43
+ })
package/public/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1,3 +0,0 @@
1
- export * from "./magic"
2
- export * from "./metamask"
3
- export * from "./taunt"