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.
Files changed (28) hide show
  1. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/PKG-INFO +3 -3
  2. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/README.md +1 -1
  3. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/pyproject.toml +2 -2
  4. {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
  5. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/__init__.py +0 -0
  6. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_option/__init__.py +0 -0
  7. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_option/biome_config_option.py +0 -0
  8. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_value/__init__.py +0 -0
  9. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/config_value/javascript_config_value.py +0 -0
  10. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/const/__init__.py +0 -0
  11. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/const/javascript_file.py +0 -0
  12. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/file/__init__.py +0 -0
  13. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/file/javascript_file.py +0 -0
  14. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/operation/__init__.py +0 -0
  15. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/operation/npm_package_lock_operation.py +0 -0
  16. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/__init__.py +0 -0
  17. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/__init__.py +0 -0
  18. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript/biome_option.py +0 -0
  19. {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
  20. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/option/javascript_option.py +0 -0
  21. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/options_provider/__init__.py +0 -0
  22. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/options_provider/javascript_options_provider.py +0 -0
  23. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/py.typed +0 -0
  24. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/__init__.py +0 -0
  25. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/Dockerfile.javascript-option +0 -0
  26. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/__init__.py +0 -0
  27. {wexample_filestate_javascript-6.6.9 → wexample_filestate_javascript-6.7.0}/src/wexample_filestate_javascript/resources/docker/biome.json +0 -0
  28. {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.6.9
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>=17.5.2
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.6.9
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
 
@@ -1,6 +1,6 @@
1
1
  # filestate_javascript
2
2
 
3
- Version: 6.6.9
3
+ Version: 6.7.0
4
4
 
5
5
  Extends wexample-filestate with JavaScript targets: Biome formatting via Docker and npm package-lock.json management.
6
6
 
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "wexample-filestate-javascript"
9
- version = "6.6.9"
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>=17.5.2",
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
- pass
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