wexample-wex-addon-dev-javascript 0.0.42__py3-none-any.whl → 0.0.45__py3-none-any.whl
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/workdir/javascript_package_workdir.py +5 -2
- wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py +6 -6
- {wexample_wex_addon_dev_javascript-0.0.42.dist-info → wexample_wex_addon_dev_javascript-0.0.45.dist-info}/METADATA +8 -6
- {wexample_wex_addon_dev_javascript-0.0.42.dist-info → wexample_wex_addon_dev_javascript-0.0.45.dist-info}/RECORD +6 -6
- {wexample_wex_addon_dev_javascript-0.0.42.dist-info → wexample_wex_addon_dev_javascript-0.0.45.dist-info}/WHEEL +0 -0
- {wexample_wex_addon_dev_javascript-0.0.42.dist-info → wexample_wex_addon_dev_javascript-0.0.45.dist-info}/entry_points.txt +0 -0
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
4
5
|
from wexample_wex_addon_dev_javascript.workdir.javascript_workdir import (
|
|
5
6
|
JavascriptWorkdir,
|
|
6
7
|
)
|
|
7
8
|
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from wexample_config.const.types import DictConfig
|
|
11
|
+
|
|
8
12
|
|
|
9
13
|
class JavascriptPackageWorkdir(JavascriptWorkdir):
|
|
10
14
|
def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
|
|
11
|
-
|
|
12
15
|
raw_value = super().prepare_value(raw_value=raw_value)
|
|
13
16
|
|
|
14
17
|
return raw_value
|
|
@@ -13,15 +13,15 @@ if TYPE_CHECKING:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class JavascriptPackagesSuiteWorkdir(FrameworkPackageSuiteWorkdir):
|
|
16
|
+
def _child_is_package_directory(self, entry: Path) -> bool:
|
|
17
|
+
return entry.is_dir() and (entry / "package.json").is_file()
|
|
18
|
+
|
|
19
|
+
def _get_children_package_directory_name(self) -> str:
|
|
20
|
+
return "npm"
|
|
21
|
+
|
|
16
22
|
def _get_children_package_workdir_class(self) -> type[CodeBaseWorkdir]:
|
|
17
23
|
from wexample_wex_addon_dev_javascript.workdir.javascript_package_workdir import (
|
|
18
24
|
JavascriptPackageWorkdir,
|
|
19
25
|
)
|
|
20
26
|
|
|
21
27
|
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()
|
|
@@ -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.45
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -9,8 +9,9 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
9
9
|
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
|
-
Requires-Dist:
|
|
13
|
-
Requires-Dist:
|
|
12
|
+
Requires-Dist: attrs>=23.1.0
|
|
13
|
+
Requires-Dist: cattrs>=23.1.0
|
|
14
|
+
Requires-Dist: wexample-wex-core==6.0.48
|
|
14
15
|
Provides-Extra: dev
|
|
15
16
|
Requires-Dist: pytest; extra == "dev"
|
|
16
17
|
Description-Content-Type: text/markdown
|
|
@@ -19,7 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
19
20
|
|
|
20
21
|
Python dev addon for wex
|
|
21
22
|
|
|
22
|
-
Version: 0.0.
|
|
23
|
+
Version: 0.0.43
|
|
23
24
|
|
|
24
25
|
## Requirements
|
|
25
26
|
|
|
@@ -27,8 +28,9 @@ Version: 0.0.42
|
|
|
27
28
|
|
|
28
29
|
## Dependencies
|
|
29
30
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
31
|
+
- attrs>=23.1.0
|
|
32
|
+
- cattrs>=23.1.0
|
|
33
|
+
- wexample-wex-core==6.0.46
|
|
32
34
|
|
|
33
35
|
## Installation
|
|
34
36
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
wexample_wex_addon_dev_javascript-0.0.
|
|
2
|
-
wexample_wex_addon_dev_javascript-0.0.
|
|
3
|
-
wexample_wex_addon_dev_javascript-0.0.
|
|
1
|
+
wexample_wex_addon_dev_javascript-0.0.45.dist-info/METADATA,sha256=v27jpmwDPvbBbFb0ompC5QX4DUNy2CMtLN2wMViPy0E,1230
|
|
2
|
+
wexample_wex_addon_dev_javascript-0.0.45.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
3
|
+
wexample_wex_addon_dev_javascript-0.0.45.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
4
|
wexample_wex_addon_dev_javascript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
wexample_wex_addon_dev_javascript/javascript_addon_manager.py,sha256=Sjr0CEtNtF3211j1lMtg-pw56zd6unCGNIY7nScddpI,180
|
|
6
6
|
wexample_wex_addon_dev_javascript/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
wexample_wex_addon_dev_javascript/workdir/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py,sha256=
|
|
9
|
-
wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py,sha256=
|
|
8
|
+
wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py,sha256=AdUZ_d_sfqyRTmyG2YGloIbcIybmeYekwa0OaxVFT0w,466
|
|
9
|
+
wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py,sha256=127bltJeCbz2aqEHnVkHxkGENojyT9LtmwF0PtsX1Bo,845
|
|
10
10
|
wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py,sha256=NKYijvalO8CBgycR9UWBjc2Re8sAasA9R6nIq7ZSFkg,253
|
|
11
|
-
wexample_wex_addon_dev_javascript-0.0.
|
|
11
|
+
wexample_wex_addon_dev_javascript-0.0.45.dist-info/RECORD,,
|
|
File without changes
|