litestar-vite 0.1.21__tar.gz → 0.2.0__tar.gz

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 (128) hide show
  1. litestar_vite-0.2.0/.github/dependabot.yaml +6 -0
  2. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/ci.yaml +10 -10
  3. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/docs-preview.yaml +2 -2
  4. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/docs.yaml +2 -2
  5. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/publish.yaml +2 -2
  6. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.pre-commit-config.yaml +5 -5
  7. litestar_vite-0.2.0/.python-version +1 -0
  8. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/PKG-INFO +2 -12
  9. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/README.md +1 -11
  10. {litestar_vite-0.1.21/examples/vanilla → litestar_vite-0.2.0/examples/basic}/app.py +0 -3
  11. litestar_vite-0.2.0/examples/basic/package-lock.json +398 -0
  12. litestar_vite-0.2.0/examples/basic/public/manifest.json +14 -0
  13. litestar_vite-0.2.0/examples/basic/resources/main.ts +1 -0
  14. {litestar_vite-0.1.21/examples/vanilla → litestar_vite-0.2.0/examples/basic}/tsconfig.json +3 -1
  15. {litestar_vite-0.1.21/examples/vanilla → litestar_vite-0.2.0/examples/basic}/vite.config.ts +15 -3
  16. litestar_vite-0.2.0/examples/flash/app.py +52 -0
  17. litestar_vite-0.2.0/examples/flash/package-lock.json +398 -0
  18. litestar_vite-0.2.0/examples/flash/package.json +11 -0
  19. litestar_vite-0.2.0/examples/flash/public/manifest.json +14 -0
  20. litestar_vite-0.2.0/examples/flash/resources/main.ts +1 -0
  21. litestar_vite-0.2.0/examples/flash/tsconfig.json +30 -0
  22. litestar_vite-0.2.0/examples/flash/vite.config.ts +38 -0
  23. litestar_vite-0.2.0/examples/inertia/app.py +57 -0
  24. litestar_vite-0.2.0/examples/inertia/package-lock.json +3154 -0
  25. litestar_vite-0.2.0/examples/inertia/package.json +26 -0
  26. litestar_vite-0.2.0/examples/inertia/postcss.config.cjs +6 -0
  27. litestar_vite-0.2.0/examples/inertia/public/assets/main-BIhkjqcE.js +112 -0
  28. litestar_vite-0.2.0/examples/inertia/public/assets/styles-B8hX6ha2.css +1 -0
  29. litestar_vite-0.2.0/examples/inertia/public/manifest.json +13 -0
  30. litestar_vite-0.2.0/examples/inertia/resources/Layout.vue +15 -0
  31. litestar_vite-0.2.0/examples/inertia/resources/main.js +18 -0
  32. litestar_vite-0.2.0/examples/inertia/resources/pages/Dashboard.vue +15 -0
  33. litestar_vite-0.2.0/examples/inertia/resources/pages/Home.vue +14 -0
  34. litestar_vite-0.2.0/examples/inertia/resources/styles.css +3 -0
  35. litestar_vite-0.2.0/examples/inertia/resources/templates/index.html +19 -0
  36. litestar_vite-0.2.0/examples/inertia/resources/vite-env.d.ts +1 -0
  37. litestar_vite-0.2.0/examples/inertia/tailwind.config.cjs +8 -0
  38. litestar_vite-0.2.0/examples/inertia/tsconfig.json +29 -0
  39. litestar_vite-0.2.0/examples/inertia/vite.config.ts +41 -0
  40. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/__init__.py +2 -1
  41. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/cli.py +46 -1
  42. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/commands.py +23 -19
  43. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/config.py +27 -22
  44. litestar_vite-0.2.0/litestar_vite/inertia/__init__.py +31 -0
  45. litestar_vite-0.2.0/litestar_vite/inertia/_utils.py +62 -0
  46. litestar_vite-0.2.0/litestar_vite/inertia/config.py +25 -0
  47. litestar_vite-0.2.0/litestar_vite/inertia/exception_handler.py +91 -0
  48. litestar_vite-0.2.0/litestar_vite/inertia/middleware.py +56 -0
  49. litestar_vite-0.2.0/litestar_vite/inertia/plugin.py +64 -0
  50. litestar_vite-0.2.0/litestar_vite/inertia/request.py +111 -0
  51. litestar_vite-0.2.0/litestar_vite/inertia/response.py +345 -0
  52. litestar_vite-0.2.0/litestar_vite/inertia/routes.py +54 -0
  53. litestar_vite-0.2.0/litestar_vite/inertia/types.py +39 -0
  54. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/loader.py +57 -46
  55. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/plugin.py +31 -14
  56. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/template_engine.py +24 -5
  57. litestar_vite-0.2.0/litestar_vite/templates/__init__.py +0 -0
  58. litestar_vite-0.2.0/litestar_vite/templates/index.html.j2 +16 -0
  59. litestar_vite-0.2.0/litestar_vite/templates/main.ts.j2 +1 -0
  60. litestar_vite-0.2.0/litestar_vite/templates/styles.css.j2 +0 -0
  61. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/pdm.lock +843 -317
  62. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/pyproject.toml +60 -63
  63. litestar_vite-0.2.0/tests/__init__.py +0 -0
  64. litestar_vite-0.2.0/tests/conftest.py +27 -0
  65. litestar_vite-0.2.0/tests/templates/__init__.py +0 -0
  66. litestar_vite-0.2.0/tests/test_app/__init__.py +0 -0
  67. litestar_vite-0.2.0/tests/test_app/app.py +19 -0
  68. litestar_vite-0.2.0/tests/test_app/web/__init__.py +0 -0
  69. litestar_vite-0.2.0/tests/test_app/web/public/.gitkeep +0 -0
  70. litestar_vite-0.2.0/tests/test_app/web/public/assets/main-l0sNRNKZ.js +0 -0
  71. litestar_vite-0.2.0/tests/test_app/web/public/assets/styles-l0sNRNKZ.js +0 -0
  72. litestar_vite-0.2.0/tests/test_app/web/public/manifest.json +14 -0
  73. litestar_vite-0.2.0/tests/test_app/web/resources/.gitkeep +0 -0
  74. litestar_vite-0.2.0/tests/test_app/web/resources/main.ts +1 -0
  75. litestar_vite-0.2.0/tests/test_app/web/resources/styles.css +0 -0
  76. litestar_vite-0.2.0/tests/test_app/web/templates/.gitkeep +0 -0
  77. litestar_vite-0.2.0/tests/test_app/web/templates/index.html +18 -0
  78. litestar_vite-0.2.0/tests/test_cli/__init__.py +20 -0
  79. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/tests/test_cli/conftest.py +7 -8
  80. litestar_vite-0.2.0/tests/test_cli/test_init.py +115 -0
  81. litestar_vite-0.2.0/tests/test_commands.py +27 -0
  82. litestar_vite-0.2.0/tests/test_inertia/__init__.py +0 -0
  83. litestar_vite-0.2.0/tests/test_inertia/conftest.py +30 -0
  84. litestar_vite-0.2.0/tests/test_inertia/templates/index.html.j2 +15 -0
  85. litestar_vite-0.2.0/tests/test_inertia/test_inertia_request.py +122 -0
  86. litestar_vite-0.2.0/tests/test_inertia/test_inertia_response.py +139 -0
  87. litestar_vite-0.2.0/tests/test_inertia/test_routes.py +18 -0
  88. litestar_vite-0.2.0/tests/test_template_engine.py +148 -0
  89. litestar_vite-0.1.21/examples/vanilla/package-lock.json +0 -920
  90. litestar_vite-0.1.21/examples/vanilla/package.json +0 -18
  91. litestar_vite-0.1.21/package-lock.json +0 -920
  92. litestar_vite-0.1.21/tests/conftest.py +0 -27
  93. litestar_vite-0.1.21/tests/test_cli/__init__.py +0 -4
  94. litestar_vite-0.1.21/tests/test_cli/test_init.py +0 -36
  95. litestar_vite-0.1.21/tests/test_commands.py +0 -13
  96. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/CODEOWNERS +0 -0
  97. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/cd.yaml +0 -0
  98. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.github/workflows/pr-title.yaml +0 -0
  99. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/.gitignore +0 -0
  100. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/CONTRIBUTING.rst +0 -0
  101. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/LICENSE +0 -0
  102. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/Makefile +0 -0
  103. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/Makefile +0 -0
  104. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/conf.py +0 -0
  105. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/contribution-guide.rst +0 -0
  106. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/fix_missing_references.py +0 -0
  107. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/index.rst +0 -0
  108. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/reference/config.rst +0 -0
  109. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/reference/plugin.rst +0 -0
  110. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/usage/index.rst +0 -0
  111. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/docs/usage/placeholder.rst +0 -0
  112. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/examples/__init__.py +0 -0
  113. {litestar_vite-0.1.21 → litestar_vite-0.2.0/examples/basic}/package.json +0 -0
  114. /litestar_vite-0.1.21/examples/vanilla/__init__.py → /litestar_vite-0.2.0/examples/basic/public/assets/main-l0sNRNKZ.js +0 -0
  115. /litestar_vite-0.1.21/examples/vanilla/resources/main.ts → /litestar_vite-0.2.0/examples/basic/public/assets/styles-l0sNRNKZ.js +0 -0
  116. {litestar_vite-0.1.21/examples/vanilla → litestar_vite-0.2.0/examples/basic}/resources/styles.css +0 -0
  117. {litestar_vite-0.1.21/examples/vanilla → litestar_vite-0.2.0/examples/basic}/templates/index.html.j2 +0 -0
  118. /litestar_vite-0.1.21/litestar_vite/py.typed → /litestar_vite-0.2.0/examples/flash/public/assets/main-l0sNRNKZ.js +0 -0
  119. /litestar_vite-0.1.21/litestar_vite/templates/__init__.py → /litestar_vite-0.2.0/examples/flash/public/assets/styles-l0sNRNKZ.js +0 -0
  120. /litestar_vite-0.1.21/litestar_vite/templates/main.css.j2 → /litestar_vite-0.2.0/examples/flash/resources/styles.css +0 -0
  121. {litestar_vite-0.1.21/litestar_vite → litestar_vite-0.2.0/examples/flash}/templates/index.html.j2 +0 -0
  122. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/__metadata__.py +0 -0
  123. /litestar_vite-0.1.21/tests/__init__.py → /litestar_vite-0.2.0/litestar_vite/py.typed +0 -0
  124. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/templates/package.json.j2 +0 -0
  125. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/templates/tsconfig.json.j2 +0 -0
  126. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/litestar_vite/templates/vite.config.ts.j2 +0 -0
  127. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/tests/templates/index.html.j2 +0 -0
  128. {litestar_vite-0.1.21 → litestar_vite-0.2.0}/tests/test_config.py +0 -0
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "daily"
@@ -12,7 +12,7 @@ jobs:
12
12
  steps:
13
13
  - uses: actions/checkout@v4
14
14
 
15
- - uses: actions/setup-python@v4
15
+ - uses: actions/setup-python@v5
16
16
  with:
17
17
  python-version: "3.11"
18
18
 
@@ -21,7 +21,7 @@ jobs:
21
21
 
22
22
  - name: Load cached Pre-Commit Dependencies
23
23
  id: cached-pre-commit-dependencies
24
- uses: actions/cache@v3
24
+ uses: actions/cache@v4
25
25
  with:
26
26
  path: ~/.cache/pre-commit/
27
27
  key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
@@ -34,7 +34,7 @@ jobs:
34
34
  strategy:
35
35
  fail-fast: true
36
36
  matrix:
37
- python-version: ["3.8", "3.9", "3.10", "3.11"]
37
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
38
38
  timeout-minutes: 30
39
39
  defaults:
40
40
  run:
@@ -43,16 +43,16 @@ jobs:
43
43
  - name: Check out repository
44
44
  uses: actions/checkout@v4
45
45
 
46
- - uses: pdm-project/setup-pdm@v3
46
+ - uses: pdm-project/setup-pdm@v4
47
47
  name: Set up PDM
48
48
  with:
49
49
  python-version: ${{ matrix.python-version }}
50
50
 
51
51
  - name: Install dependencies
52
- run: pdm install
52
+ run: pdm install -d -G:all
53
53
 
54
54
  - name: Test
55
- run: pdm run pytest -m ""
55
+ run: pdm run pytest -m "" tests
56
56
 
57
57
  build-docs:
58
58
  needs:
@@ -64,17 +64,17 @@ jobs:
64
64
  uses: actions/checkout@v4
65
65
 
66
66
  - name: Set up Python
67
- uses: actions/setup-python@v4
67
+ uses: actions/setup-python@v5
68
68
  with:
69
69
  python-version: "3.11"
70
70
 
71
- - uses: pdm-project/setup-pdm@v3
71
+ - uses: pdm-project/setup-pdm@v4
72
72
  name: Set up PDM
73
73
  with:
74
74
  python-version: "3.11"
75
75
 
76
76
  - name: Install dependencies
77
- run: pdm install -G:all
77
+ run: pdm install -d -G:all
78
78
 
79
79
  - name: Build docs
80
80
  run: pdm run make docs
@@ -85,7 +85,7 @@ jobs:
85
85
  run: echo $PR_NUMBER > .pr_number
86
86
 
87
87
  - name: Upload artifact
88
- uses: actions/upload-artifact@v3
88
+ uses: actions/upload-artifact@v4
89
89
  with:
90
90
  name: docs-preview
91
91
  path: |
@@ -18,7 +18,7 @@ jobs:
18
18
  uses: actions/checkout@v4
19
19
 
20
20
  - name: Download artifact
21
- uses: dawidd6/action-download-artifact@v2
21
+ uses: dawidd6/action-download-artifact@v6
22
22
  with:
23
23
  workflow_conclusion: success
24
24
  run_id: ${{ github.event.workflow_run.id }}
@@ -38,7 +38,7 @@ jobs:
38
38
  target-folder: ${{ env.PR_NUMBER }}
39
39
  branch: gh-pages
40
40
 
41
- - uses: actions/github-script@v6
41
+ - uses: actions/github-script@v7
42
42
  env:
43
43
  PR_NUMBER: ${{ env.PR_NUMBER }}
44
44
  with:
@@ -15,11 +15,11 @@ jobs:
15
15
  steps:
16
16
  - uses: actions/checkout@v4
17
17
 
18
- - uses: actions/setup-python@v4
18
+ - uses: actions/setup-python@v5
19
19
  with:
20
20
  python-version: "3.11"
21
21
 
22
- - uses: pdm-project/setup-pdm@v3
22
+ - uses: pdm-project/setup-pdm@v4
23
23
  name: Set up PDM
24
24
  with:
25
25
  python-version: "3.11"
@@ -15,11 +15,11 @@ jobs:
15
15
  - name: Check out repository
16
16
  uses: actions/checkout@v4
17
17
 
18
- - uses: actions/setup-python@v4
18
+ - uses: actions/setup-python@v5
19
19
  with:
20
20
  python-version: "3.11"
21
21
 
22
- - uses: pdm-project/setup-pdm@v3
22
+ - uses: pdm-project/setup-pdm@v4
23
23
  name: Set up PDM
24
24
  with:
25
25
  python-version: "3.11"
@@ -2,12 +2,12 @@ default_language_version:
2
2
  python: "3.11"
3
3
  repos:
4
4
  - repo: https://github.com/compilerla/conventional-pre-commit
5
- rev: v3.1.0
5
+ rev: v3.3.0
6
6
  hooks:
7
7
  - id: conventional-pre-commit
8
8
  stages: [commit-msg]
9
9
  - repo: https://github.com/pre-commit/pre-commit-hooks
10
- rev: v4.5.0
10
+ rev: v4.6.0
11
11
  hooks:
12
12
  - id: check-ast
13
13
  - id: check-case-conflict
@@ -17,17 +17,17 @@ repos:
17
17
  - id: mixed-line-ending
18
18
  - id: trailing-whitespace
19
19
  - repo: https://github.com/charliermarsh/ruff-pre-commit
20
- rev: "v0.3.3"
20
+ rev: "v0.5.4"
21
21
  hooks:
22
22
  - id: ruff
23
23
  args: ["--fix"]
24
24
  exclude: "docs"
25
25
  - repo: https://github.com/codespell-project/codespell
26
- rev: v2.2.6
26
+ rev: v2.3.0
27
27
  hooks:
28
28
  - id: codespell
29
29
  - repo: https://github.com/pre-commit/mirrors-mypy
30
- rev: "v1.9.0"
30
+ rev: "v1.11.0"
31
31
  hooks:
32
32
  - id: mypy
33
33
  exclude: "docs"
@@ -0,0 +1 @@
1
+ 3.8
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: litestar-vite
3
- Version: 0.1.21
3
+ Version: 0.2.0
4
4
  Summary: Vite plugin for Litestar
5
5
  Project-URL: Changelog, https://cofin.github.io/litestar-vite/latest/changelog
6
6
  Project-URL: Discord, https://discord.gg/X3FJqy8d2j
@@ -70,19 +70,9 @@ class WebController(Controller):
70
70
  return Template(template_name="index.html.j2")
71
71
 
72
72
 
73
- vite = VitePlugin(
74
- config=ViteConfig(
75
- bundle_dir=Path("./public"),
76
- resource_dir=Path("./resources"),
77
- template_dir=Path("./templates"),
78
- # Should be False when in production
79
- dev_mode=True,
80
- hot_reload=True, # Websocket HMR asset reloading is enabled when true.
81
- ),
82
- )
73
+ vite = VitePlugin(config=ViteConfig(template_dir='templates/'))
83
74
  app = Litestar(plugins=[vite], route_handlers=[WebController])
84
75
 
85
-
86
76
  ```
87
77
 
88
78
  Create a template to serve the application in `./templates/index.html.h2`:
@@ -33,19 +33,9 @@ class WebController(Controller):
33
33
  return Template(template_name="index.html.j2")
34
34
 
35
35
 
36
- vite = VitePlugin(
37
- config=ViteConfig(
38
- bundle_dir=Path("./public"),
39
- resource_dir=Path("./resources"),
40
- template_dir=Path("./templates"),
41
- # Should be False when in production
42
- dev_mode=True,
43
- hot_reload=True, # Websocket HMR asset reloading is enabled when true.
44
- ),
45
- )
36
+ vite = VitePlugin(config=ViteConfig(template_dir='templates/'))
46
37
  app = Litestar(plugins=[vite], route_handlers=[WebController])
47
38
 
48
-
49
39
  ```
50
40
 
51
41
  Create a template to serve the application in `./templates/index.html.h2`:
@@ -24,9 +24,6 @@ class WebController(Controller):
24
24
 
25
25
  vite = VitePlugin(
26
26
  config=ViteConfig(
27
- bundle_dir=Path(here / "public"),
28
- resource_dir=Path(here / "resources"),
29
- template_dir=Path(here / "templates"),
30
27
  hot_reload=True,
31
28
  port=3006,
32
29
  use_server_lifespan=True,
@@ -0,0 +1,398 @@
1
+ {
2
+ "name": "tailwind",
3
+ "lockfileVersion": 3,
4
+ "requires": true,
5
+ "packages": {
6
+ "": {
7
+ "dependencies": {
8
+ "axios": "^1.6.2"
9
+ },
10
+ "devDependencies": {
11
+ "@types/node": "^20.10.3",
12
+ "litestar-vite-plugin": "^0.5.1",
13
+ "typescript": "^5.3.3",
14
+ "vite": "^5.0.6"
15
+ }
16
+ },
17
+ "node_modules/@esbuild/linux-x64": {
18
+ "version": "0.20.2",
19
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz",
20
+ "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==",
21
+ "cpu": [
22
+ "x64"
23
+ ],
24
+ "dev": true,
25
+ "optional": true,
26
+ "os": [
27
+ "linux"
28
+ ],
29
+ "engines": {
30
+ "node": ">=12"
31
+ }
32
+ },
33
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
34
+ "version": "4.13.0",
35
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.13.0.tgz",
36
+ "integrity": "sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==",
37
+ "cpu": [
38
+ "x64"
39
+ ],
40
+ "dev": true,
41
+ "optional": true,
42
+ "os": [
43
+ "linux"
44
+ ]
45
+ },
46
+ "node_modules/@types/estree": {
47
+ "version": "1.0.5",
48
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
49
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
50
+ "dev": true
51
+ },
52
+ "node_modules/@types/node": {
53
+ "version": "20.11.30",
54
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz",
55
+ "integrity": "sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==",
56
+ "dev": true,
57
+ "dependencies": {
58
+ "undici-types": "~5.26.4"
59
+ }
60
+ },
61
+ "node_modules/asynckit": {
62
+ "version": "0.4.0",
63
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
64
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
65
+ },
66
+ "node_modules/axios": {
67
+ "version": "1.6.8",
68
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz",
69
+ "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==",
70
+ "dependencies": {
71
+ "follow-redirects": "^1.15.6",
72
+ "form-data": "^4.0.0",
73
+ "proxy-from-env": "^1.1.0"
74
+ }
75
+ },
76
+ "node_modules/combined-stream": {
77
+ "version": "1.0.8",
78
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
79
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
80
+ "dependencies": {
81
+ "delayed-stream": "~1.0.0"
82
+ },
83
+ "engines": {
84
+ "node": ">= 0.8"
85
+ }
86
+ },
87
+ "node_modules/delayed-stream": {
88
+ "version": "1.0.0",
89
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
90
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
91
+ "engines": {
92
+ "node": ">=0.4.0"
93
+ }
94
+ },
95
+ "node_modules/esbuild": {
96
+ "version": "0.20.2",
97
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz",
98
+ "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==",
99
+ "dev": true,
100
+ "hasInstallScript": true,
101
+ "bin": {
102
+ "esbuild": "bin/esbuild"
103
+ },
104
+ "engines": {
105
+ "node": ">=12"
106
+ },
107
+ "optionalDependencies": {
108
+ "@esbuild/aix-ppc64": "0.20.2",
109
+ "@esbuild/android-arm": "0.20.2",
110
+ "@esbuild/android-arm64": "0.20.2",
111
+ "@esbuild/android-x64": "0.20.2",
112
+ "@esbuild/darwin-arm64": "0.20.2",
113
+ "@esbuild/darwin-x64": "0.20.2",
114
+ "@esbuild/freebsd-arm64": "0.20.2",
115
+ "@esbuild/freebsd-x64": "0.20.2",
116
+ "@esbuild/linux-arm": "0.20.2",
117
+ "@esbuild/linux-arm64": "0.20.2",
118
+ "@esbuild/linux-ia32": "0.20.2",
119
+ "@esbuild/linux-loong64": "0.20.2",
120
+ "@esbuild/linux-mips64el": "0.20.2",
121
+ "@esbuild/linux-ppc64": "0.20.2",
122
+ "@esbuild/linux-riscv64": "0.20.2",
123
+ "@esbuild/linux-s390x": "0.20.2",
124
+ "@esbuild/linux-x64": "0.20.2",
125
+ "@esbuild/netbsd-x64": "0.20.2",
126
+ "@esbuild/openbsd-x64": "0.20.2",
127
+ "@esbuild/sunos-x64": "0.20.2",
128
+ "@esbuild/win32-arm64": "0.20.2",
129
+ "@esbuild/win32-ia32": "0.20.2",
130
+ "@esbuild/win32-x64": "0.20.2"
131
+ }
132
+ },
133
+ "node_modules/follow-redirects": {
134
+ "version": "1.15.6",
135
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
136
+ "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==",
137
+ "funding": [
138
+ {
139
+ "type": "individual",
140
+ "url": "https://github.com/sponsors/RubenVerborgh"
141
+ }
142
+ ],
143
+ "engines": {
144
+ "node": ">=4.0"
145
+ },
146
+ "peerDependenciesMeta": {
147
+ "debug": {
148
+ "optional": true
149
+ }
150
+ }
151
+ },
152
+ "node_modules/form-data": {
153
+ "version": "4.0.0",
154
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
155
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
156
+ "dependencies": {
157
+ "asynckit": "^0.4.0",
158
+ "combined-stream": "^1.0.8",
159
+ "mime-types": "^2.1.12"
160
+ },
161
+ "engines": {
162
+ "node": ">= 6"
163
+ }
164
+ },
165
+ "node_modules/litestar-vite-plugin": {
166
+ "version": "0.5.1",
167
+ "resolved": "https://registry.npmjs.org/litestar-vite-plugin/-/litestar-vite-plugin-0.5.1.tgz",
168
+ "integrity": "sha512-Zw0CFj9M4eP6A6pw7FIS9qne4C3+eSBAnnOLlI8fbgYLdSCdPbHmCUjVbM0W81G8ZJQ2aQB3S0KFQLt3hNVdzw==",
169
+ "dev": true,
170
+ "dependencies": {
171
+ "picocolors": "^1.0.0",
172
+ "vite-plugin-full-reload": "^1.1.0"
173
+ },
174
+ "bin": {
175
+ "clean-orphaned-assets": "bin/clean.js"
176
+ },
177
+ "engines": {
178
+ "node": "^18.0.0 || >=20.0.0"
179
+ },
180
+ "peerDependencies": {
181
+ "vite": "^5.0.0"
182
+ }
183
+ },
184
+ "node_modules/mime-db": {
185
+ "version": "1.52.0",
186
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
187
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
188
+ "engines": {
189
+ "node": ">= 0.6"
190
+ }
191
+ },
192
+ "node_modules/mime-types": {
193
+ "version": "2.1.35",
194
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
195
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
196
+ "dependencies": {
197
+ "mime-db": "1.52.0"
198
+ },
199
+ "engines": {
200
+ "node": ">= 0.6"
201
+ }
202
+ },
203
+ "node_modules/nanoid": {
204
+ "version": "3.3.7",
205
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
206
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
207
+ "dev": true,
208
+ "funding": [
209
+ {
210
+ "type": "github",
211
+ "url": "https://github.com/sponsors/ai"
212
+ }
213
+ ],
214
+ "bin": {
215
+ "nanoid": "bin/nanoid.cjs"
216
+ },
217
+ "engines": {
218
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
219
+ }
220
+ },
221
+ "node_modules/picocolors": {
222
+ "version": "1.0.0",
223
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
224
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
225
+ "dev": true
226
+ },
227
+ "node_modules/picomatch": {
228
+ "version": "2.3.1",
229
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
230
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
231
+ "dev": true,
232
+ "engines": {
233
+ "node": ">=8.6"
234
+ },
235
+ "funding": {
236
+ "url": "https://github.com/sponsors/jonschlinkert"
237
+ }
238
+ },
239
+ "node_modules/postcss": {
240
+ "version": "8.4.38",
241
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz",
242
+ "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==",
243
+ "dev": true,
244
+ "funding": [
245
+ {
246
+ "type": "opencollective",
247
+ "url": "https://opencollective.com/postcss/"
248
+ },
249
+ {
250
+ "type": "tidelift",
251
+ "url": "https://tidelift.com/funding/github/npm/postcss"
252
+ },
253
+ {
254
+ "type": "github",
255
+ "url": "https://github.com/sponsors/ai"
256
+ }
257
+ ],
258
+ "dependencies": {
259
+ "nanoid": "^3.3.7",
260
+ "picocolors": "^1.0.0",
261
+ "source-map-js": "^1.2.0"
262
+ },
263
+ "engines": {
264
+ "node": "^10 || ^12 || >=14"
265
+ }
266
+ },
267
+ "node_modules/proxy-from-env": {
268
+ "version": "1.1.0",
269
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
270
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
271
+ },
272
+ "node_modules/rollup": {
273
+ "version": "4.13.0",
274
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.13.0.tgz",
275
+ "integrity": "sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==",
276
+ "dev": true,
277
+ "dependencies": {
278
+ "@types/estree": "1.0.5"
279
+ },
280
+ "bin": {
281
+ "rollup": "dist/bin/rollup"
282
+ },
283
+ "engines": {
284
+ "node": ">=18.0.0",
285
+ "npm": ">=8.0.0"
286
+ },
287
+ "optionalDependencies": {
288
+ "@rollup/rollup-android-arm-eabi": "4.13.0",
289
+ "@rollup/rollup-android-arm64": "4.13.0",
290
+ "@rollup/rollup-darwin-arm64": "4.13.0",
291
+ "@rollup/rollup-darwin-x64": "4.13.0",
292
+ "@rollup/rollup-linux-arm-gnueabihf": "4.13.0",
293
+ "@rollup/rollup-linux-arm64-gnu": "4.13.0",
294
+ "@rollup/rollup-linux-arm64-musl": "4.13.0",
295
+ "@rollup/rollup-linux-riscv64-gnu": "4.13.0",
296
+ "@rollup/rollup-linux-x64-gnu": "4.13.0",
297
+ "@rollup/rollup-linux-x64-musl": "4.13.0",
298
+ "@rollup/rollup-win32-arm64-msvc": "4.13.0",
299
+ "@rollup/rollup-win32-ia32-msvc": "4.13.0",
300
+ "@rollup/rollup-win32-x64-msvc": "4.13.0",
301
+ "fsevents": "~2.3.2"
302
+ }
303
+ },
304
+ "node_modules/source-map-js": {
305
+ "version": "1.2.0",
306
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz",
307
+ "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==",
308
+ "dev": true,
309
+ "engines": {
310
+ "node": ">=0.10.0"
311
+ }
312
+ },
313
+ "node_modules/typescript": {
314
+ "version": "5.4.3",
315
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz",
316
+ "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==",
317
+ "dev": true,
318
+ "bin": {
319
+ "tsc": "bin/tsc",
320
+ "tsserver": "bin/tsserver"
321
+ },
322
+ "engines": {
323
+ "node": ">=14.17"
324
+ }
325
+ },
326
+ "node_modules/undici-types": {
327
+ "version": "5.26.5",
328
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
329
+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
330
+ "dev": true
331
+ },
332
+ "node_modules/vite": {
333
+ "version": "5.2.3",
334
+ "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.3.tgz",
335
+ "integrity": "sha512-+i1oagbvkVIhEy9TnEV+fgXsng13nZM90JQbrcPrf6DvW2mXARlz+DK7DLiDP+qeKoD1FCVx/1SpFL1CLq9Mhw==",
336
+ "dev": true,
337
+ "dependencies": {
338
+ "esbuild": "^0.20.1",
339
+ "postcss": "^8.4.36",
340
+ "rollup": "^4.13.0"
341
+ },
342
+ "bin": {
343
+ "vite": "bin/vite.js"
344
+ },
345
+ "engines": {
346
+ "node": "^18.0.0 || >=20.0.0"
347
+ },
348
+ "funding": {
349
+ "url": "https://github.com/vitejs/vite?sponsor=1"
350
+ },
351
+ "optionalDependencies": {
352
+ "fsevents": "~2.3.3"
353
+ },
354
+ "peerDependencies": {
355
+ "@types/node": "^18.0.0 || >=20.0.0",
356
+ "less": "*",
357
+ "lightningcss": "^1.21.0",
358
+ "sass": "*",
359
+ "stylus": "*",
360
+ "sugarss": "*",
361
+ "terser": "^5.4.0"
362
+ },
363
+ "peerDependenciesMeta": {
364
+ "@types/node": {
365
+ "optional": true
366
+ },
367
+ "less": {
368
+ "optional": true
369
+ },
370
+ "lightningcss": {
371
+ "optional": true
372
+ },
373
+ "sass": {
374
+ "optional": true
375
+ },
376
+ "stylus": {
377
+ "optional": true
378
+ },
379
+ "sugarss": {
380
+ "optional": true
381
+ },
382
+ "terser": {
383
+ "optional": true
384
+ }
385
+ }
386
+ },
387
+ "node_modules/vite-plugin-full-reload": {
388
+ "version": "1.1.0",
389
+ "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz",
390
+ "integrity": "sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA==",
391
+ "dev": true,
392
+ "dependencies": {
393
+ "picocolors": "^1.0.0",
394
+ "picomatch": "^2.3.1"
395
+ }
396
+ }
397
+ }
398
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "resources/main.ts": {
3
+ "file": "assets/main-l0sNRNKZ.js",
4
+ "name": "main",
5
+ "src": "resources/main.ts",
6
+ "isEntry": true
7
+ },
8
+ "resources/styles.css": {
9
+ "file": "assets/styles-l0sNRNKZ.js",
10
+ "name": "styles",
11
+ "src": "resources/styles.css",
12
+ "isEntry": true
13
+ }
14
+ }
@@ -0,0 +1 @@
1
+ import "@/styles.css"
@@ -17,12 +17,14 @@
17
17
  "baseUrl": "resources",
18
18
  "paths": {
19
19
  "@/*": ["./*"]
20
- }
20
+ },
21
+ "types": ["vite/client"]
21
22
  },
22
23
  "include": [
23
24
  "**/*.d.ts",
24
25
  "resources/**/*.js",
25
26
  "resources/**/*.ts",
27
+
26
28
  "vite.config.ts"
27
29
  ]
28
30
  }