@wexample/js-app 0.0.16 → 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.
- package/.github/workflows/publish.yml +24 -0
- package/.wex/config.yml +1 -1
- package/.wex/python/app_manager/app_workdir.py +6 -0
- package/README.md +1 -1
- package/package.json +3 -2
- package/version.txt +1 -1
|
@@ -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
|
@@ -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
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
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.
|
|
1
|
+
0.0.20
|