wexample-wex-addon-dev-javascript 0.0.40__tar.gz → 0.0.42__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-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/PKG-INFO +4 -4
- {wexample_wex_addon_dev_javascript-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/README.md +2 -2
- {wexample_wex_addon_dev_javascript-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/pyproject.toml +3 -3
- wexample_wex_addon_dev_javascript-0.0.40/src/wexample_wex_addon_dev_javascript/py.typed → wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/__init__.py +0 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/javascript_addon_manager.py +7 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/py.typed +0 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/workdir/__init__.py +0 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py +14 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py +27 -0
- wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py +9 -0
{wexample_wex_addon_dev_javascript-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-javascript
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.42
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
|
|
|
10
10
|
Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Requires-Dist: pydantic<3,>=2
|
|
13
|
-
Requires-Dist: wexample-wex-core==6.0.
|
|
13
|
+
Requires-Dist: wexample-wex-core==6.0.45
|
|
14
14
|
Provides-Extra: dev
|
|
15
15
|
Requires-Dist: pytest; extra == "dev"
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
Python dev addon for wex
|
|
21
21
|
|
|
22
|
-
Version: 0.0.
|
|
22
|
+
Version: 0.0.42
|
|
23
23
|
|
|
24
24
|
## Requirements
|
|
25
25
|
|
|
@@ -28,7 +28,7 @@ Version: 0.0.39
|
|
|
28
28
|
## Dependencies
|
|
29
29
|
|
|
30
30
|
- pydantic>=2,<3
|
|
31
|
-
- wexample-wex-core==6.0.
|
|
31
|
+
- wexample-wex-core==6.0.45
|
|
32
32
|
|
|
33
33
|
## Installation
|
|
34
34
|
|
{wexample_wex_addon_dev_javascript-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/README.md
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Python dev addon for wex
|
|
4
4
|
|
|
5
|
-
Version: 0.0.
|
|
5
|
+
Version: 0.0.42
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
@@ -11,7 +11,7 @@ Version: 0.0.39
|
|
|
11
11
|
## Dependencies
|
|
12
12
|
|
|
13
13
|
- pydantic>=2,<3
|
|
14
|
-
- wexample-wex-core==6.0.
|
|
14
|
+
- wexample-wex-core==6.0.45
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
{wexample_wex_addon_dev_javascript-0.0.40 → wexample_wex_addon_dev_javascript-0.0.42}/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 = "0.0.
|
|
9
|
+
version = "0.0.42"
|
|
10
10
|
description = "Python dev addon for wex"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
|
19
19
|
]
|
|
20
20
|
dependencies = [
|
|
21
21
|
"pydantic>=2,<3",
|
|
22
|
-
"wexample-wex-core==6.0.
|
|
22
|
+
"wexample-wex-core==6.0.45",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.readme]
|
|
@@ -42,7 +42,7 @@ distribution = true
|
|
|
42
42
|
|
|
43
43
|
[tool.pdm.build]
|
|
44
44
|
includes = [
|
|
45
|
-
"src/wexample_wex_addon_dev_javascript
|
|
45
|
+
"src/wexample_wex_addon_dev_javascript/*",
|
|
46
46
|
]
|
|
47
47
|
package-dir = "src"
|
|
48
48
|
packages = [
|
|
File without changes
|
|
File without changes
|
wexample_wex_addon_dev_javascript-0.0.42/src/wexample_wex_addon_dev_javascript/workdir/__init__.py
ADDED
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from wexample_config.const.types import DictConfig
|
|
4
|
+
from wexample_wex_addon_dev_javascript.workdir.javascript_workdir import (
|
|
5
|
+
JavascriptWorkdir,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class JavascriptPackageWorkdir(JavascriptWorkdir):
|
|
10
|
+
def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
|
|
11
|
+
|
|
12
|
+
raw_value = super().prepare_value(raw_value=raw_value)
|
|
13
|
+
|
|
14
|
+
return raw_value
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from wexample_wex_core.workdir.framework_packages_suite_workdir import (
|
|
6
|
+
FrameworkPackageSuiteWorkdir,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
from wexample_wex_core.workdir.code_base_workdir import CodeBaseWorkdir
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class JavascriptPackagesSuiteWorkdir(FrameworkPackageSuiteWorkdir):
|
|
16
|
+
def _get_children_package_workdir_class(self) -> type[CodeBaseWorkdir]:
|
|
17
|
+
from wexample_wex_addon_dev_javascript.workdir.javascript_package_workdir import (
|
|
18
|
+
JavascriptPackageWorkdir,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
return JavascriptPackageWorkdir
|
|
22
|
+
|
|
23
|
+
def _get_children_package_directory_name(self) -> str:
|
|
24
|
+
return "npm"
|
|
25
|
+
|
|
26
|
+
def _child_is_package_directory(self, entry: Path) -> bool:
|
|
27
|
+
return entry.is_dir() and (entry / "package.json").is_file()
|