@wexample/js-pseudocode 0.1.0 → 0.1.3

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.
package/.wex/config.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  global:
2
2
  name: js_pseudocode
3
- version: 0.1.0
3
+ version: 0.1.3
@@ -1,7 +1,38 @@
1
1
  from __future__ import annotations
2
2
 
3
+ from wexample_config.const.types import DictConfig
3
4
  from wexample_wex_addon_dev_javascript.workdir.javascript_package_workdir import JavascriptPackageWorkdir
4
5
 
5
6
 
6
7
  class AppWorkdir(JavascriptPackageWorkdir):
7
- pass
8
+ def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
9
+ from wexample_helpers.helpers.string import string_to_kebab_case
10
+
11
+ raw_value = super().prepare_value(raw_value=raw_value)
12
+ name_config = self.get_runtime_config().search("global.name")
13
+
14
+ def _build_remote_github(target: AppWorkdir) -> str:
15
+ return f"git@github.com:wexample/{string_to_kebab_case(name_config.get_str())}.git"
16
+
17
+ def _build_remote_gitlab(target: AppWorkdir) -> str:
18
+ return f"ssh://git@gitlab.wexample.com:4567/wexample-javascript/{string_to_kebab_case(name_config.get_str())}.git"
19
+
20
+ raw_value["git"] = {
21
+ "main_branch": "main",
22
+ "remote": [
23
+ {
24
+ "name": "origin",
25
+ "type": "gitlab",
26
+ "url": _build_remote_gitlab,
27
+ "create_remote": True,
28
+ },
29
+ {
30
+ "name": "github",
31
+ "type": "github",
32
+ "url": _build_remote_github,
33
+ "create_remote": True,
34
+ },
35
+ ]
36
+ }
37
+
38
+ return raw_value
@@ -4,8 +4,6 @@ version = "0.0.1"
4
4
  description = "App manager entrypoint"
5
5
  requires-python = ">=3.10"
6
6
  dependencies = [
7
- "jinja2",
8
- "wexample-wex-addon-app==0.0.53",
9
7
  "wexample-wex-addon-dev-javascript==0.0.55",
10
8
  ]
11
9
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # js_pseudocode
1
+ # @wexample/js-pseudocode
2
2
 
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
 
5
5
  ## Table of Contents
6
6
 
@@ -64,7 +64,7 @@ Breaking changes are clearly documented with upgrade paths and examples.
64
64
 
65
65
  ### Reporting Vulnerabilities
66
66
 
67
- If you discover a security vulnerability, please email security@wexample.com.
67
+ If you discover a security vulnerability, please email contact@wexample.com.
68
68
 
69
69
  **Do not** open public issues for security vulnerabilities.
70
70
 
@@ -111,7 +111,7 @@ Free to use in both personal and commercial projects.
111
111
 
112
112
  ## Integration in the Suite
113
113
 
114
- This package is part of the **Wexample Suite** — a collection of high-quality Python packages designed to work seamlessly together.
114
+ This package is part of the Wexample Suite — a collection of high-quality, modular tools designed to work seamlessly together across multiple languages and environments.
115
115
 
116
116
  ### Related Packages
117
117
 
@@ -132,7 +132,7 @@ Refer to each package's documentation for specific version compatibility require
132
132
 
133
133
  # About us
134
134
 
135
- Wexample stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
135
+ [Wexample](https://wexample.com) stands as a cornerstone of the digital ecosystem — a collective of seasoned engineers, researchers, and creators driven by a relentless pursuit of technological excellence. More than a media platform, it has grown into a vibrant community where innovation meets craftsmanship, and where every line of code reflects a commitment to clarity, durability, and shared intelligence.
136
136
 
137
137
  This packages suite embodies this spirit. Trusted by professionals and enthusiasts alike, it delivers a consistent, high-quality foundation for modern development — open, elegant, and battle-tested. Its reputation is built on years of collaboration, refinement, and rigorous attention to detail, making it a natural choice for those who demand both robustness and beauty in their tools.
138
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wexample/js-pseudocode",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --loader ts-node/esm tests/constant_using_const.test.ts && node --loader ts-node/esm tests/function_basic.test.ts && node --loader ts-node/esm tests/function_complex.test.ts && node --loader ts-node/esm tests/class_basic_calculator.test.ts"
@@ -17,4 +17,4 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  }
20
- }
20
+ }
package/version.txt CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.3