@wexample/js-pseudocode 0.1.0 → 0.1.2

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.2
@@ -1,7 +1,37 @@
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
+
13
+ def _build_remote_github(target: AppWorkdir) -> str:
14
+ return f"git@github.com:wexample/{string_to_kebab_case(target.get_project_name())}.git"
15
+
16
+ def _build_remote_gitlab(target: AppWorkdir) -> str:
17
+ return f"ssh://git@gitlab.wexample.com:4567/wexample-javascript/{string_to_kebab_case(target.get_project_name())}.git"
18
+
19
+ raw_value["git"] = {
20
+ "main_branch": "main",
21
+ "remote": [
22
+ {
23
+ "name": "origin",
24
+ "type": "gitlab",
25
+ "url": _build_remote_gitlab,
26
+ "create_remote": True,
27
+ },
28
+ {
29
+ "name": "github",
30
+ "type": "github",
31
+ "url": _build_remote_github,
32
+ "create_remote": True,
33
+ },
34
+ ]
35
+ }
36
+
37
+ return raw_value
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # js_pseudocode
2
2
 
3
- Version: 0.1.0
3
+ Version: 0.1.2
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
 
@@ -127,12 +127,12 @@ Refer to each package's documentation for specific version compatibility require
127
127
 
128
128
  ## Dependencies
129
129
 
130
- - js-yaml: 4.1.0
130
+ - js-yaml: <ConfigValue(type=str, value=4.1.0)>
131
131
 
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.2",
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.2