@cima-foundation/schematics 0.4.11 → 0.4.12
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/package.json +1 -1
- package/src/new-library/files/__name@dasherize__/.github/distWorkflow/.github/workflows/tag.yml +26 -0
- package/src/new-library/files/__name@dasherize__/.github/workflows/build-and-release-app.yml +15 -0
- package/src/new-library/files/__name@dasherize__/.github/workflows/build-push-lib.yml +17 -0
- package/src/new-library/files/__name@dasherize__/package.json +3 -0
package/package.json
CHANGED
package/src/new-library/files/__name@dasherize__/.github/distWorkflow/.github/workflows/tag.yml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: Tag and Release
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
release-on-push:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
env:
|
|
11
|
+
GITHUB_TOKEN: ${{ secrets.CIMA_MACHINE_USER_API_TOKEN }}
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout code
|
|
14
|
+
uses: actions/checkout@main
|
|
15
|
+
|
|
16
|
+
- name: Extract version
|
|
17
|
+
id: extract_version
|
|
18
|
+
uses: Saionaro/extract-package-version@v1.2.1
|
|
19
|
+
|
|
20
|
+
- name: Print version
|
|
21
|
+
run: echo ${{ steps.extract_version.outputs.version }}
|
|
22
|
+
|
|
23
|
+
- name: tag-and-release
|
|
24
|
+
uses: avakar/tag-and-release@v1
|
|
25
|
+
with:
|
|
26
|
+
tag_name: v${{ steps.extract_version.outputs.version }}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: Build and Release App
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
tags: [v*]
|
|
5
|
+
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test-app-build:
|
|
10
|
+
uses: CIMAFoundation/deployments-manager/.github/workflows/ngx-cima-release-app.yaml@main
|
|
11
|
+
with:
|
|
12
|
+
application-name: <%= dasherize(name) %>
|
|
13
|
+
build-script: npm run build:prod
|
|
14
|
+
npm-install-command: install
|
|
15
|
+
secrets: inherit
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
name: Build and Release
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
#only on tag and push on branch commons
|
|
6
|
+
tags: [v*]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
ci-commons:
|
|
10
|
+
uses: CIMAFoundation/deployments-manager/.github/workflows/ngx-cima-release.yaml@main
|
|
11
|
+
with:
|
|
12
|
+
project-name: <%= dasherize(name) %>
|
|
13
|
+
release-repo: ngx-cima-<%= dasherize(name) %>
|
|
14
|
+
user-email: alessandro.casasola@cimafoundation.org
|
|
15
|
+
npm-install-command: install
|
|
16
|
+
secrets: inherit
|
|
17
|
+
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"start": "npm run clean:dist && ng serve --port=4201",
|
|
7
7
|
"build": "ng build",
|
|
8
8
|
"build:prod": "ng build --configuration production",
|
|
9
|
+
"release": "node ./node_modules/@cima/commons/scripts/tag-and-release.js",
|
|
9
10
|
"clean:dist": "rimraf dist",
|
|
10
11
|
"clean:package-lock": "rimraf package-lock.json",
|
|
11
12
|
"clean:npm": "rimraf node_modules && npm cache verify",
|
|
@@ -44,6 +45,8 @@
|
|
|
44
45
|
"flag-icons": "^6.2.0",
|
|
45
46
|
"jwt-decode": "^3.1.2",
|
|
46
47
|
"leaflet": "^1.8.0",
|
|
48
|
+
"@svgdotjs/svg.js": "^3.2.0",
|
|
49
|
+
"ngx-file-drop": "^13.0.0",
|
|
47
50
|
"masonry-layout": "^4.2.2",
|
|
48
51
|
"moment": "^2.29.1",
|
|
49
52
|
"ngx-color-picker": "^12.0.1",
|