wexample-wex-addon-dev-javascript 7.2.3__py3-none-any.whl → 7.3.0__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_workdir.py +10 -5
- {wexample_wex_addon_dev_javascript-7.2.3.dist-info → wexample_wex_addon_dev_javascript-7.3.0.dist-info}/METADATA +4 -4
- {wexample_wex_addon_dev_javascript-7.2.3.dist-info → wexample_wex_addon_dev_javascript-7.3.0.dist-info}/RECORD +5 -5
- {wexample_wex_addon_dev_javascript-7.2.3.dist-info → wexample_wex_addon_dev_javascript-7.3.0.dist-info}/WHEEL +0 -0
- {wexample_wex_addon_dev_javascript-7.2.3.dist-info → wexample_wex_addon_dev_javascript-7.3.0.dist-info}/entry_points.txt +0 -0
|
@@ -66,12 +66,11 @@ class JavascriptWorkdir(CodeBaseWorkdir):
|
|
|
66
66
|
# Ensure a package.json file exists for any JavaScript package project
|
|
67
67
|
children = raw_value["children"]
|
|
68
68
|
|
|
69
|
-
javascript_options = raw_value.setdefault("javascript",
|
|
69
|
+
javascript_options = raw_value.setdefault("javascript", {})
|
|
70
70
|
if isinstance(javascript_options, list):
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
javascript_options.setdefault("npm_package_lock", True)
|
|
71
|
+
raw_value["javascript"] = {k: True for k in javascript_options}
|
|
72
|
+
javascript_options = raw_value["javascript"]
|
|
73
|
+
javascript_options.setdefault("npm_package_lock", False)
|
|
75
74
|
|
|
76
75
|
# Add rules to .gitignore
|
|
77
76
|
array_dict_get_by("name", ".gitignore", children).setdefault(
|
|
@@ -126,6 +125,9 @@ class JavascriptWorkdir(CodeBaseWorkdir):
|
|
|
126
125
|
|
|
127
126
|
return raw_value
|
|
128
127
|
|
|
128
|
+
def _canonicalize_dep_name(self, name: str) -> str:
|
|
129
|
+
return name
|
|
130
|
+
|
|
129
131
|
def _create_javascript_file_children_filter(self) -> ChildrenFileFactoryOption:
|
|
130
132
|
from wexample_filestate.const.disk import DiskItemType
|
|
131
133
|
from wexample_filestate.option.children_filter_option import (
|
|
@@ -146,3 +148,6 @@ class JavascriptWorkdir(CodeBaseWorkdir):
|
|
|
146
148
|
name_pattern=r"^.*\.(js|jsx|ts|tsx)$",
|
|
147
149
|
recursive=True,
|
|
148
150
|
)
|
|
151
|
+
|
|
152
|
+
def _default_dependency_operator(self) -> str:
|
|
153
|
+
return "^"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-javascript
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.3.0
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Requires-Python: >=3.10
|
|
|
12
12
|
Requires-Dist: attrs>=23.1.0
|
|
13
13
|
Requires-Dist: cattrs>=23.1.0
|
|
14
14
|
Requires-Dist: wexample-filestate-javascript>=0.1.0
|
|
15
|
-
Requires-Dist: wexample-wex-addon-app>=
|
|
15
|
+
Requires-Dist: wexample-wex-addon-app>=15.0.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: pytest; extra == "dev"
|
|
18
18
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -20,7 +20,7 @@ Description-Content-Type: text/markdown
|
|
|
20
20
|
|
|
21
21
|
# wex_addon_dev_javascript
|
|
22
22
|
|
|
23
|
-
Version: 7.
|
|
23
|
+
Version: 7.3.0
|
|
24
24
|
|
|
25
25
|
Python dev addon for wex
|
|
26
26
|
|
|
@@ -103,7 +103,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
103
103
|
- attrs: >=23.1.0
|
|
104
104
|
- cattrs: >=23.1.0
|
|
105
105
|
- wexample-filestate-javascript: >=0.1.0
|
|
106
|
-
- wexample-wex-addon-app: >=
|
|
106
|
+
- wexample-wex-addon-app: >=15.0.0
|
|
107
107
|
|
|
108
108
|
## Versioning & Compatibility Policy
|
|
109
109
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
wexample_wex_addon_dev_javascript-7.
|
|
2
|
-
wexample_wex_addon_dev_javascript-7.
|
|
3
|
-
wexample_wex_addon_dev_javascript-7.
|
|
1
|
+
wexample_wex_addon_dev_javascript-7.3.0.dist-info/METADATA,sha256=ZfDBfy1fw_2o_JPS8vH3NAHykOyQC8nUZi8KjsZVptg,11621
|
|
2
|
+
wexample_wex_addon_dev_javascript-7.3.0.dist-info/WHEEL,sha256=Z36eTX6lG3PITRleSd5hAZHCcz52yg3c0JQVxKBbLW0,90
|
|
3
|
+
wexample_wex_addon_dev_javascript-7.3.0.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/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
wexample_wex_addon_dev_javascript/config_value/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -28,5 +28,5 @@ wexample_wex_addon_dev_javascript/services/vite/service.yml,sha256=8mFPv49QbKA3k
|
|
|
28
28
|
wexample_wex_addon_dev_javascript/workdir/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py,sha256=_6PZgdGO39DofyP_ETXyU6CnNm5J4EzDtlbfKkeWJGk,7826
|
|
30
30
|
wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py,sha256=l9zHC5-1v8yPBdZGS7Ibxp3iklI-czXkRuPxALbz4Gk,855
|
|
31
|
-
wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py,sha256=
|
|
32
|
-
wexample_wex_addon_dev_javascript-7.
|
|
31
|
+
wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py,sha256=WNCWK5Gq8hFXRUHOdmwiFYYW3lkxwJe0pcTKDpUxlIE,5278
|
|
32
|
+
wexample_wex_addon_dev_javascript-7.3.0.dist-info/RECORD,,
|
|
File without changes
|