wexample-filestate-javascript 6.4.2__tar.gz → 6.5.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_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/PKG-INFO +4 -4
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/README.md +2 -2
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/pyproject.toml +2 -2
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/javascript/biome_option.py +1 -1
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/javascript/npm_package_lock_option.py +3 -4
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/javascript_option.py +1 -4
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/config_option/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/config_option/biome_config_option.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/config_value/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/config_value/javascript_config_value.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/const/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/const/javascript_file.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/file/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/file/javascript_file.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/operation/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/operation/npm_package_lock_operation.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/javascript/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/option/javascript/abstract_javascript_file_content_option.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/options_provider/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/options_provider/javascript_options_provider.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/py.typed +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/resources/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/resources/docker/Dockerfile.javascript-option +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/resources/docker/__init__.py +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/src/wexample_filestate_javascript/resources/docker/biome.json +0 -0
- {wexample_filestate_javascript-6.4.2 → wexample_filestate_javascript-6.5.0}/tests/.gitkeep +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-filestate-javascript
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.5.0
|
|
4
4
|
Author-Email: weeger <contact@wexample.com>
|
|
5
5
|
License: MIT
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -9,7 +9,7 @@ Classifier: Operating System :: OS Independent
|
|
|
9
9
|
Requires-Python: >=3.10
|
|
10
10
|
Requires-Dist: attrs>=23.1.0
|
|
11
11
|
Requires-Dist: cattrs>=23.1.0
|
|
12
|
-
Requires-Dist: wexample-filestate>=12.
|
|
12
|
+
Requires-Dist: wexample-filestate>=12.2.0
|
|
13
13
|
Provides-Extra: dev
|
|
14
14
|
Requires-Dist: pytest; extra == "dev"
|
|
15
15
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -17,7 +17,7 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
|
|
18
18
|
# filestate_javascript
|
|
19
19
|
|
|
20
|
-
Version: 6.
|
|
20
|
+
Version: 6.5.0
|
|
21
21
|
|
|
22
22
|
## Table of Contents
|
|
23
23
|
|
|
@@ -97,7 +97,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
97
97
|
|
|
98
98
|
- attrs: >=23.1.0
|
|
99
99
|
- cattrs: >=23.1.0
|
|
100
|
-
- wexample-filestate: >=12.
|
|
100
|
+
- wexample-filestate: >=12.2.0
|
|
101
101
|
|
|
102
102
|
## Versioning & Compatibility Policy
|
|
103
103
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# filestate_javascript
|
|
2
2
|
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.5.0
|
|
4
4
|
|
|
5
5
|
## Table of Contents
|
|
6
6
|
|
|
@@ -80,7 +80,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
80
80
|
|
|
81
81
|
- attrs: >=23.1.0
|
|
82
82
|
- cattrs: >=23.1.0
|
|
83
|
-
- wexample-filestate: >=12.
|
|
83
|
+
- wexample-filestate: >=12.2.0
|
|
84
84
|
|
|
85
85
|
## Versioning & Compatibility Policy
|
|
86
86
|
|
|
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "wexample-filestate-javascript"
|
|
9
|
-
version = "6.
|
|
9
|
+
version = "6.5.0"
|
|
10
10
|
authors = [
|
|
11
11
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
12
12
|
]
|
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
|
19
19
|
dependencies = [
|
|
20
20
|
"attrs>=23.1.0",
|
|
21
21
|
"cattrs>=23.1.0",
|
|
22
|
-
"wexample-filestate>=12.
|
|
22
|
+
"wexample-filestate>=12.2.0",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.readme]
|
|
@@ -66,7 +66,7 @@ class BiomeOption(AbstractJavascriptFileContentOption):
|
|
|
66
66
|
name = path.name
|
|
67
67
|
if name in self._GENERATED_FILE_BASENAMES:
|
|
68
68
|
return True
|
|
69
|
-
if
|
|
69
|
+
if name.endswith(self._GENERATED_FILE_SUFFIXES):
|
|
70
70
|
return True
|
|
71
71
|
path_str = str(path)
|
|
72
72
|
if any(fragment in path_str for fragment in self._GENERATED_PATH_FRAGMENTS):
|
|
@@ -31,10 +31,9 @@ class NpmPackageLockOption(OptionMixin, AbstractConfigOption):
|
|
|
31
31
|
)
|
|
32
32
|
|
|
33
33
|
value = self.get_value()
|
|
34
|
-
if value is not None
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return None
|
|
34
|
+
if value is not None:
|
|
35
|
+
if value.is_none() or (value.is_bool() and not value.get_bool()):
|
|
36
|
+
return None
|
|
38
37
|
|
|
39
38
|
package_dir = Path(target.get_path())
|
|
40
39
|
package_json = package_dir / "package.json"
|
|
@@ -57,9 +57,6 @@ class JavascriptOption(
|
|
|
57
57
|
def set_value(self, raw_value: Any) -> None:
|
|
58
58
|
# Convert list form to dict form for consistency
|
|
59
59
|
if isinstance(raw_value, list):
|
|
60
|
-
|
|
61
|
-
for option_name in raw_value:
|
|
62
|
-
dict_value[option_name] = True
|
|
63
|
-
raw_value = dict_value
|
|
60
|
+
raw_value = {option_name: True for option_name in raw_value}
|
|
64
61
|
|
|
65
62
|
super().set_value(raw_value=raw_value)
|
|
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
|