@wexample/js-app 0.0.12 → 0.0.20

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.
@@ -0,0 +1,24 @@
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/.wex/config.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  global:
2
2
  name: js_app
3
- version: 0.0.12
3
+ version: 0.0.20
@@ -5,6 +5,12 @@ from wexample_wex_addon_dev_javascript.workdir.javascript_package_workdir import
5
5
 
6
6
 
7
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
+
8
14
  def prepare_value(self, raw_value: DictConfig | None = None) -> DictConfig:
9
15
  from wexample_helpers.helpers.string import string_to_kebab_case
10
16
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @wexample/js-app
2
2
 
3
- Version: 0.0.12
3
+ Version: 0.0.20
4
4
 
5
5
  ## Table of Contents
6
6
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.12",
2
+ "version": "0.0.20",
3
3
  "type": "module",
4
4
  "name": "@wexample/js-app",
5
5
  "publishConfig": {
@@ -7,5 +7,6 @@
7
7
  },
8
8
  "peerDependencies": {
9
9
  "@wexample/js-helpers": "*"
10
- }
10
+ },
11
+ "repository": "https://github.com/wexample/js-app"
11
12
  }
package/version.txt CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.20