@wexample/js-app 0.0.21 → 0.0.23

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @wexample/js-app
2
2
 
3
- Version: 0.0.21
3
+ Version: 0.0.23
4
4
 
5
5
  ## Table of Contents
6
6
 
package/package.json CHANGED
@@ -1,10 +1,26 @@
1
1
  {
2
- "version": "0.0.21",
2
+ "version": "0.0.23",
3
3
  "type": "module",
4
4
  "name": "@wexample/js-app",
5
+ "files": [
6
+ "src"
7
+ ],
5
8
  "publishConfig": {
6
9
  "access": "public"
7
10
  },
11
+ "exports": {
12
+ "./*": {
13
+ "types": "./src/*",
14
+ "default": "./src/*"
15
+ }
16
+ },
17
+ "typesVersions": {
18
+ "*": {
19
+ "*": [
20
+ "src/*"
21
+ ]
22
+ }
23
+ },
8
24
  "peerDependencies": {
9
25
  "@wexample/js-helpers": "*"
10
26
  },
@@ -1,24 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- push:
5
- tags:
6
- - "v*"
7
- workflow_dispatch: {}
8
-
9
- permissions:
10
- contents: read
11
- id-token: write
12
-
13
- jobs:
14
- publish:
15
- runs-on: ubuntu-latest
16
- steps:
17
- - uses: actions/checkout@v4
18
-
19
- - uses: actions/setup-node@v4
20
- with:
21
- node-version: "24"
22
- registry-url: "https://registry.npmjs.org"
23
-
24
- - run: npm publish --access public
package/.iml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output/>
5
- <content url="file://$MODULE_DIR$"/>
6
- </component>
7
- </module>
package/.wex/config.yml DELETED
@@ -1,3 +0,0 @@
1
- global:
2
- name: js_app
3
- version: 0.0.21
@@ -1 +0,0 @@
1
- 3.12
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env python3
2
- """Main entry point for the application."""
3
- from wexample_wex_core.common.app_manager_kernel import AppManagerKernel
4
-
5
- if __name__ == "__main__":
6
- try:
7
- from wexample_wex_addon_dev_python.python_addon_manager import (
8
- PythonAddonManager,
9
- )
10
- from wexample_wex_core.addons.default.default_addon_manager import (
11
- DefaultAddonManager,
12
- )
13
- from wexample_wex_core.addons.git.git_addon_manager import (
14
- GitAddonManager,
15
- )
16
- from wexample_wex_core.common.kernel import Kernel
17
- from wexample_wex_addon_filestate.filestate_addon_manager import FilestateAddonManager
18
- from wexample_wex_addon_app.app_addon_manager import AppAddonManager
19
-
20
- (
21
- AppManagerKernel(
22
- entrypoint_path=__file__,
23
- )
24
- .setup(addons=[
25
- AppAddonManager,
26
- DefaultAddonManager,
27
- GitAddonManager,
28
- ])
29
- .exec_argv()
30
- )
31
- except Exception as e:
32
- from wexample_app.helpers.debug import debug_handle_app_error
33
-
34
- debug_handle_app_error(e)
@@ -1,44 +0,0 @@
1
- from __future__ import annotations
2
-
3
- from wexample_config.const.types import DictConfig
4
- from wexample_wex_addon_dev_javascript.workdir.javascript_package_workdir import JavascriptPackageWorkdir
5
-
6
-
7
- class AppWorkdir(JavascriptPackageWorkdir):
8
- def get_public_remote_repository_url(self) -> str | None:
9
- from wexample_helpers.helpers.string import string_to_kebab_case
10
-
11
- name_config = self.get_runtime_config().search("global.name")
12
- return f"https://github.com/wexample/{string_to_kebab_case(name_config.get_str())}"
13
-
14
- def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
15
- from wexample_helpers.helpers.string import string_to_kebab_case
16
-
17
- raw_value = super().prepare_value(raw_value=raw_value)
18
- name_config = self.get_runtime_config().search("global.name")
19
-
20
- def _build_remote_github(target: AppWorkdir) -> str:
21
- return f"git@github.com:wexample/{string_to_kebab_case(name_config.get_str())}.git"
22
-
23
- def _build_remote_gitlab(target: AppWorkdir) -> str:
24
- return f"ssh://git@gitlab.wexample.com:4567/wexample-javascript/{string_to_kebab_case(name_config.get_str())}.git"
25
-
26
- raw_value["git"] = {
27
- "main_branch": "main",
28
- "remote": [
29
- {
30
- "name": "origin",
31
- "type": "gitlab",
32
- "url": _build_remote_gitlab,
33
- "create_remote": True,
34
- },
35
- {
36
- "name": "github",
37
- "type": "github",
38
- "url": _build_remote_github,
39
- "create_remote": True,
40
- },
41
- ]
42
- }
43
-
44
- return raw_value
@@ -1,11 +0,0 @@
1
- [project]
2
- name = "app-manager"
3
- version = "0.0.1"
4
- description = "App manager entrypoint"
5
- requires-python = ">=3.10"
6
- dependencies = [
7
- "wexample-wex-addon-dev-javascript==0.0.55",
8
- ]
9
-
10
- [tool.pdm]
11
- distribution = false
@@ -1,223 +0,0 @@
1
- #
2
- # This file is autogenerated by pip-compile with Python 3.12
3
- # by the following command:
4
- #
5
- # pip-compile --output-file=/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/requirements.txt /home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml
6
- #
7
- annotated-types==0.7.0
8
- # via pydantic
9
- astroid==4.0.2
10
- # via pylint
11
- attrs==25.4.0
12
- # via
13
- # cattrs
14
- # wexample-api
15
- # wexample-app
16
- # wexample-config
17
- # wexample-file
18
- # wexample-filestate
19
- # wexample-filestate-git
20
- # wexample-filestate-python
21
- # wexample-helpers
22
- # wexample-helpers-git
23
- # wexample-helpers-yaml
24
- # wexample-prompt
25
- # wexample-wex-addon-app
26
- # wexample-wex-addon-dev-python
27
- # wexample-wex-addon-filestate
28
- # wexample-wex-core
29
- autoflake==2.3.1
30
- # via wexample-filestate-python
31
- black==25.11.0
32
- # via wexample-filestate-python
33
- cattrs==25.3.0
34
- # via
35
- # wexample-api
36
- # wexample-app
37
- # wexample-config
38
- # wexample-file
39
- # wexample-filestate
40
- # wexample-filestate-git
41
- # wexample-filestate-python
42
- # wexample-helpers
43
- # wexample-helpers-git
44
- # wexample-helpers-yaml
45
- # wexample-prompt
46
- # wexample-wex-addon-app
47
- # wexample-wex-addon-dev-python
48
- # wexample-wex-addon-filestate
49
- # wexample-wex-core
50
- certifi==2025.11.12
51
- # via requests
52
- charset-normalizer==3.4.4
53
- # via requests
54
- click==8.3.1
55
- # via
56
- # black
57
- # wexample-wex-core
58
- colorama==0.4.6
59
- # via wexample-prompt
60
- dill==0.4.0
61
- # via pylint
62
- dotenv==0.9.9
63
- # via wexample-app
64
- flynt==1.0.6
65
- # via wexample-filestate-python
66
- gitdb==4.0.12
67
- # via gitpython
68
- gitpython==3.1.45
69
- # via wexample-helpers-git
70
- idna==3.11
71
- # via requests
72
- inquirerpy==0.3.4
73
- # via wexample-prompt
74
- isort==7.0.0
75
- # via
76
- # pylint
77
- # wexample-filestate-python
78
- jinja2==3.1.6
79
- # via
80
- # app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
81
- # wexample-wex-addon-dev-python
82
- libcst==1.8.6
83
- # via wexample-filestate-python
84
- markupsafe==3.0.3
85
- # via jinja2
86
- mccabe==0.7.0
87
- # via pylint
88
- mypy-extensions==1.1.0
89
- # via black
90
- networkx==3.6
91
- # via wexample-wex-addon-dev-python
92
- nodeenv==1.9.1
93
- # via pyright
94
- packaging==25.0
95
- # via
96
- # black
97
- # wexample-filestate-python
98
- pathspec==0.12.1
99
- # via black
100
- pfzy==0.3.4
101
- # via inquirerpy
102
- platformdirs==4.5.0
103
- # via
104
- # black
105
- # pylint
106
- prompt-toolkit==3.0.52
107
- # via inquirerpy
108
- pydantic==2.12.5
109
- # via wexample-config
110
- pydantic-core==2.41.5
111
- # via pydantic
112
- pyflakes==3.4.0
113
- # via autoflake
114
- pylint==4.0.3
115
- # via wexample-wex-addon-dev-python
116
- pyright==1.1.407
117
- # via wexample-wex-addon-dev-python
118
- python-dotenv==1.2.1
119
- # via
120
- # dotenv
121
- # wexample-app
122
- # wexample-filestate
123
- pytokens==0.3.0
124
- # via black
125
- pyupgrade==3.21.2
126
- # via wexample-filestate-python
127
- pyyaml==6.0.3
128
- # via
129
- # libcst
130
- # wexample-helpers-yaml
131
- readchar==4.2.1
132
- # via wexample-prompt
133
- requests==2.32.5
134
- # via
135
- # wexample-api
136
- # wexample-filestate-git
137
- smmap==5.0.2
138
- # via gitdb
139
- tokenize-rt==6.2.0
140
- # via pyupgrade
141
- tomli==2.3.0
142
- # via wexample-filestate-python
143
- tomlkit==0.13.3
144
- # via
145
- # pylint
146
- # wexample-filestate
147
- typing-extensions==4.15.0
148
- # via
149
- # cattrs
150
- # pydantic
151
- # pydantic-core
152
- # pyright
153
- # typing-inspection
154
- typing-inspection==0.4.2
155
- # via pydantic
156
- urllib3==2.5.0
157
- # via requests
158
- wcwidth==0.2.14
159
- # via
160
- # prompt-toolkit
161
- # wexample-prompt
162
- wexample-api==0.0.80
163
- # via
164
- # wexample-filestate-git
165
- # wexample-filestate-python
166
- wexample-app==0.0.68
167
- # via wexample-wex-core
168
- wexample-config==0.0.94
169
- # via wexample-filestate
170
- wexample-event==0.0.76
171
- # via wexample-filestate
172
- wexample-file==0.0.49
173
- # via
174
- # app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
175
- # wexample-filestate
176
- wexample-filestate==0.0.71
177
- # via
178
- # app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
179
- # wexample-app
180
- # wexample-filestate-git
181
- # wexample-filestate-python
182
- # wexample-wex-core
183
- wexample-filestate-git==0.0.57
184
- # via wexample-wex-core
185
- wexample-filestate-python==0.0.56
186
- # via wexample-wex-addon-dev-python
187
- wexample-helpers==0.0.85
188
- # via
189
- # wexample-api
190
- # wexample-config
191
- # wexample-event
192
- # wexample-file
193
- # wexample-helpers-git
194
- # wexample-helpers-yaml
195
- # wexample-prompt
196
- wexample-helpers-git==0.0.93
197
- # via
198
- # wexample-filestate-git
199
- # wexample-wex-core
200
- wexample-helpers-yaml==0.0.110
201
- # via
202
- # wexample-app
203
- # wexample-filestate
204
- wexample-prompt==0.0.94
205
- # via
206
- # wexample-api
207
- # wexample-filestate
208
- wexample-wex-addon-app==0.0.53
209
- # via
210
- # app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
211
- # wexample-wex-addon-dev-python
212
- wexample-wex-addon-dev-python==0.0.61
213
- # via app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
214
- wexample-wex-addon-filestate==0.0.15
215
- # via app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
216
- wexample-wex-core==6.0.65
217
- # via
218
- # app-manager (/home/weeger/Desktop/WIP/WEB/WEXAMPLE/PACKAGES/JAVASCRIPT/packages/js-pseudocode/.wex/python/app_manager/pyproject.toml)
219
- # wexample-wex-addon-app
220
- # wexample-wex-addon-dev-python
221
- # wexample-wex-addon-filestate
222
- xmltodict==1.0.2
223
- # via wexample-filestate
package/tsconfig.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "ESNext",
5
- "moduleResolution": "node",
6
- "strict": false,
7
- "skipLibCheck": true,
8
- "esModuleInterop": true,
9
- "forceConsistentCasingInFileNames": true,
10
- "declaration": false,
11
- "declarationMap": false,
12
- "isolatedModules": true,
13
- "resolveJsonModule": true,
14
- "baseUrl": ".",
15
- "paths": {
16
- "@wexample/js-app": ["./src"],
17
- "@wexample/js-app/*": ["./src/*"],
18
- "@wexample/js-helpers": ["../js-helpers/src"],
19
- "@wexample/js-helpers/*": ["../js-helpers/src/*"],
20
- "@wexample/js-pseudocode": ["../js-pseudocode/src"],
21
- "@wexample/js-pseudocode/*": ["../js-pseudocode/src/*"]
22
- }
23
- },
24
- "include": ["src"],
25
- "exclude": ["dist", "node_modules"]
26
- }
package/version.txt DELETED
@@ -1 +0,0 @@
1
- 0.0.21