wexample-filestate-javascript 6.6.9__tar.gz → 6.7.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.6.9 → wexample_filestate_javascript-6.7.0}/PKG-INFO +3 -3
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/README.md +1 -1
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/pyproject.toml +2 -2
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/abstract_javascript_file_content_option.py +8 -1
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_option/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_option/biome_config_option.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_value/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_value/javascript_config_value.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/const/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/const/javascript_file.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/file/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/file/javascript_file.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/operation/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/operation/npm_package_lock_operation.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/biome_option.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/npm_package_lock_option.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript_option.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/options_provider/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/options_provider/javascript_options_provider.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/py.typed +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/Dockerfile.javascript-option +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/__init__.py +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/biome.json +0 -0
- {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.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.7.0
|
|
4
4
|
Summary: Extends wexample-filestate with JavaScript targets: Biome formatting via Docker and npm package-lock.json management.
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
|
|
|
10
10
|
Requires-Python: >=3.10
|
|
11
11
|
Requires-Dist: attrs>=23.1.0
|
|
12
12
|
Requires-Dist: cattrs>=23.1.0
|
|
13
|
-
Requires-Dist: wexample-filestate>=
|
|
13
|
+
Requires-Dist: wexample-filestate>=18.0.0
|
|
14
14
|
Provides-Extra: dev
|
|
15
15
|
Requires-Dist: pytest; extra == "dev"
|
|
16
16
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
|
|
19
19
|
# filestate_javascript
|
|
20
20
|
|
|
21
|
-
Version: 6.
|
|
21
|
+
Version: 6.7.0
|
|
22
22
|
|
|
23
23
|
Extends wexample-filestate with JavaScript targets: Biome formatting via Docker and npm package-lock.json management.
|
|
24
24
|
|
|
@@ -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.7.0"
|
|
10
10
|
description = "Extends wexample-filestate with JavaScript targets: Biome formatting via Docker and npm package-lock.json management."
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "weeger", email = "contact@wexample.com" },
|
|
@@ -20,7 +20,7 @@ classifiers = [
|
|
|
20
20
|
dependencies = [
|
|
21
21
|
"attrs>=23.1.0",
|
|
22
22
|
"cattrs>=23.1.0",
|
|
23
|
-
"wexample-filestate>=
|
|
23
|
+
"wexample-filestate>=18.0.0",
|
|
24
24
|
]
|
|
25
25
|
|
|
26
26
|
[project.readme]
|
|
@@ -12,7 +12,7 @@ from wexample_filestate.option.mixin.with_batch_docker_option_mixin import (
|
|
|
12
12
|
from wexample_helpers.decorator.base_class import base_class
|
|
13
13
|
|
|
14
14
|
if TYPE_CHECKING:
|
|
15
|
-
|
|
15
|
+
from wexample_filestate.enum.natures import Nature
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
@base_class
|
|
@@ -21,6 +21,13 @@ class AbstractJavascriptFileContentOption(
|
|
|
21
21
|
):
|
|
22
22
|
DOCKER_IMAGE_NAME: ClassVar[str] = "javascript-option"
|
|
23
23
|
|
|
24
|
+
@classmethod
|
|
25
|
+
def get_nature(cls) -> Nature:
|
|
26
|
+
"""It rewrites source code: run at push, not at publication."""
|
|
27
|
+
from wexample_filestate.enum.natures import Nature
|
|
28
|
+
|
|
29
|
+
return Nature.CODE
|
|
30
|
+
|
|
24
31
|
def _get_docker_image_name(self) -> str:
|
|
25
32
|
return self.DOCKER_IMAGE_NAME
|
|
26
33
|
|
|
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
|