wexample-wex-addon-dev-javascript 7.14.0__tar.gz → 7.15.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.
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/PKG-INFO +6 -6
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/README.md +3 -3
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/pyproject.toml +3 -3
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/install.py +8 -6
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/__pycache__/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/common/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/common/npm_registry_gateway.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/config_value/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/config_value/javascript_package_readme_config_value.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/const/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/const/tags.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/file/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/file/javascript_package_json_file.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/file/javascript_tsconfig_json_file.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/javascript_addon_manager.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/py.typed +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/resources/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/resources/package_publish.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/node/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/node/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/node/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/node/service.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/ai/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main/about-service.md +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/ai/agents/main/agent.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/app_service.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/commands/service/ready.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/docker/.wex.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/docker/docker-compose.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/services/vite/service.yml +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/workdir/__init__.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py +0 -0
- {wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/src/wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py +0 -0
{wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-javascript
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.15.0
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -13,8 +13,8 @@ Requires-Dist: attrs>=23.1.0
|
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
14
|
Requires-Dist: wexample-api>=6.6.0
|
|
15
15
|
Requires-Dist: wexample-filestate-javascript>=6.5.0
|
|
16
|
-
Requires-Dist: wexample-wex-addon-ai>=11.
|
|
17
|
-
Requires-Dist: wexample-wex-addon-app>=26.
|
|
16
|
+
Requires-Dist: wexample-wex-addon-ai>=11.3.0
|
|
17
|
+
Requires-Dist: wexample-wex-addon-app>=26.1.0
|
|
18
18
|
Provides-Extra: dev
|
|
19
19
|
Requires-Dist: pytest; extra == "dev"
|
|
20
20
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -22,7 +22,7 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
|
|
23
23
|
# wex_addon_dev_javascript
|
|
24
24
|
|
|
25
|
-
Version: 7.
|
|
25
|
+
Version: 7.15.0
|
|
26
26
|
|
|
27
27
|
Python dev addon for wex
|
|
28
28
|
|
|
@@ -106,8 +106,8 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
106
106
|
- cattrs: >=23.1.0
|
|
107
107
|
- wexample-api: >=6.6.0
|
|
108
108
|
- wexample-filestate-javascript: >=6.5.0
|
|
109
|
-
- wexample-wex-addon-ai: >=11.
|
|
110
|
-
- wexample-wex-addon-app: >=26.
|
|
109
|
+
- wexample-wex-addon-ai: >=11.3.0
|
|
110
|
+
- wexample-wex-addon-app: >=26.1.0
|
|
111
111
|
|
|
112
112
|
## Versioning & Compatibility Policy
|
|
113
113
|
|
{wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/README.md
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# wex_addon_dev_javascript
|
|
2
2
|
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.15.0
|
|
4
4
|
|
|
5
5
|
Python dev addon for wex
|
|
6
6
|
|
|
@@ -84,8 +84,8 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
84
84
|
- cattrs: >=23.1.0
|
|
85
85
|
- wexample-api: >=6.6.0
|
|
86
86
|
- wexample-filestate-javascript: >=6.5.0
|
|
87
|
-
- wexample-wex-addon-ai: >=11.
|
|
88
|
-
- wexample-wex-addon-app: >=26.
|
|
87
|
+
- wexample-wex-addon-ai: >=11.3.0
|
|
88
|
+
- wexample-wex-addon-app: >=26.1.0
|
|
89
89
|
|
|
90
90
|
## Versioning & Compatibility Policy
|
|
91
91
|
|
{wexample_wex_addon_dev_javascript-7.14.0 → wexample_wex_addon_dev_javascript-7.15.0}/pyproject.toml
RENAMED
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-wex-addon-dev-javascript"
|
|
9
|
-
version = "7.
|
|
9
|
+
version = "7.15.0"
|
|
10
10
|
description = "Python dev addon for wex"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -22,8 +22,8 @@ dependencies = [
|
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
23
|
"wexample-api>=6.6.0",
|
|
24
24
|
"wexample-filestate-javascript>=6.5.0",
|
|
25
|
-
"wexample-wex-addon-ai>=11.
|
|
26
|
-
"wexample-wex-addon-app>=26.
|
|
25
|
+
"wexample-wex-addon-ai>=11.3.0",
|
|
26
|
+
"wexample-wex-addon-app>=26.1.0",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.readme]
|
|
@@ -14,6 +14,7 @@ if TYPE_CHECKING:
|
|
|
14
14
|
from wexample_wex_addon_app.service.app_service import AppService
|
|
15
15
|
|
|
16
16
|
_DEFINE_CONFIG_RE = re.compile(r"(defineConfig\(\s*\{)")
|
|
17
|
+
_VITE_CONFIG_NAMES = ("vite.config.ts", "vite.config.js")
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
@command(
|
|
@@ -35,7 +36,7 @@ def vite__service__install(
|
|
|
35
36
|
) -> None:
|
|
36
37
|
app_path = service.app_workdir.get_path()
|
|
37
38
|
|
|
38
|
-
for config_name in
|
|
39
|
+
for config_name in _VITE_CONFIG_NAMES:
|
|
39
40
|
config_path = app_path / config_name
|
|
40
41
|
if not config_path.exists():
|
|
41
42
|
continue
|
|
@@ -53,15 +54,16 @@ def vite__service__install(
|
|
|
53
54
|
"defineConfig()",
|
|
54
55
|
"defineConfig({ vite: { server: { allowedHosts: true } } })",
|
|
55
56
|
)
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
else:
|
|
58
|
+
new_content, n = _DEFINE_CONFIG_RE.subn(
|
|
58
59
|
r"\1 vite: { server: { allowedHosts: true } },",
|
|
59
60
|
content,
|
|
60
61
|
count=1,
|
|
61
62
|
)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
if not n:
|
|
64
|
+
context.io.log(f" {config_name}: unrecognized format, skipping")
|
|
65
|
+
return
|
|
66
|
+
content = new_content
|
|
65
67
|
|
|
66
68
|
config_path.write_text(content)
|
|
67
69
|
context.io.log(f" ✓ {config_name}: allowedHosts patched")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|