@vixoniccom/birthdays 0.7.7-dev.5 → 0.7.8-dev.0
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/main.yml +131 -0
- package/CHANGELOG.md +48 -0
- package/build.zip +0 -0
- package/configuration/dataGroup/DataInputs.ts +7 -0
- package/configuration/utils.ts +1 -0
- package/configuration.json +12 -1
- package/package.json +3 -3
- package/sonar-project.properties +2 -1
- package/.github/workflows/release.yml +0 -82
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
name: Deploy job
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
types: [closed]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
name: Build and Publish Package
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
environment: production
|
|
15
|
+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
|
|
16
|
+
|
|
17
|
+
outputs:
|
|
18
|
+
version: ${{ steps.extract_version.outputs.version }}
|
|
19
|
+
deployment-start: ${{ steps.deployment_start.outputs.deployment_start }}
|
|
20
|
+
|
|
21
|
+
steps:
|
|
22
|
+
- name: Log deployment start
|
|
23
|
+
id: deployment_start
|
|
24
|
+
run: |
|
|
25
|
+
echo "deployment_start=$(date +"%Y-%m-%dT%H:%M:%S%:z")" >> "$GITHUB_OUTPUT"
|
|
26
|
+
|
|
27
|
+
- name: Checkout repository
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 0
|
|
31
|
+
token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
|
|
32
|
+
|
|
33
|
+
- name: Setup Node.js 20
|
|
34
|
+
uses: actions/setup-node@v4
|
|
35
|
+
with:
|
|
36
|
+
node-version: '20'
|
|
37
|
+
registry-url: 'https://registry.npmjs.org'
|
|
38
|
+
scope: '@vixoniccom'
|
|
39
|
+
|
|
40
|
+
- name: Configure npm authentication
|
|
41
|
+
run: |
|
|
42
|
+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
|
43
|
+
echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
44
|
+
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
45
|
+
|
|
46
|
+
- name: Cache node modules
|
|
47
|
+
uses: actions/cache@v4
|
|
48
|
+
with:
|
|
49
|
+
path: ~/.npm
|
|
50
|
+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
51
|
+
restore-keys: |
|
|
52
|
+
${{ runner.os }}-node-
|
|
53
|
+
|
|
54
|
+
- name: Install dependencies
|
|
55
|
+
run: npm ci
|
|
56
|
+
env:
|
|
57
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
58
|
+
|
|
59
|
+
- name: Bump version
|
|
60
|
+
run: |
|
|
61
|
+
git config user.name "github-actions[bot]"
|
|
62
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
63
|
+
npm run release -- --no-verify
|
|
64
|
+
git push --follow-tags origin main
|
|
65
|
+
env:
|
|
66
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
67
|
+
|
|
68
|
+
- name: Extract changelog for this release
|
|
69
|
+
id: changelog
|
|
70
|
+
run: |
|
|
71
|
+
BODY=$(awk '/^## \[/{if(p) exit; p=1} p' CHANGELOG.md)
|
|
72
|
+
echo "body<<EOF" >> $GITHUB_OUTPUT
|
|
73
|
+
echo "$BODY" >> $GITHUB_OUTPUT
|
|
74
|
+
echo "EOF" >> $GITHUB_OUTPUT
|
|
75
|
+
|
|
76
|
+
- name: Extract version from package.json
|
|
77
|
+
id: extract_version
|
|
78
|
+
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
|
|
79
|
+
|
|
80
|
+
- name: Build package
|
|
81
|
+
run: npm run prepublish
|
|
82
|
+
env:
|
|
83
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
84
|
+
|
|
85
|
+
- name: Verify build.zip exists
|
|
86
|
+
run: |
|
|
87
|
+
if [ ! -f "build.zip" ]; then
|
|
88
|
+
echo "❌ Error: build.zip not found after build process"
|
|
89
|
+
exit 1
|
|
90
|
+
fi
|
|
91
|
+
echo "✅ build.zip found successfully"
|
|
92
|
+
ls -la build.zip
|
|
93
|
+
|
|
94
|
+
- name: Publish to npm
|
|
95
|
+
run: npm publish --access public
|
|
96
|
+
env:
|
|
97
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
98
|
+
|
|
99
|
+
- name: Create GitHub Release
|
|
100
|
+
uses: softprops/action-gh-release@v2
|
|
101
|
+
with:
|
|
102
|
+
tag_name: v${{ steps.extract_version.outputs.version }}
|
|
103
|
+
name: v${{ steps.extract_version.outputs.version }}
|
|
104
|
+
body: ${{ steps.changelog.outputs.body }}
|
|
105
|
+
files: build.zip
|
|
106
|
+
env:
|
|
107
|
+
GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
|
|
108
|
+
|
|
109
|
+
report-ep:
|
|
110
|
+
name: Report EP Metrics
|
|
111
|
+
runs-on: ubuntu-latest
|
|
112
|
+
needs: [build]
|
|
113
|
+
if: always()
|
|
114
|
+
|
|
115
|
+
steps:
|
|
116
|
+
- uses: actions/checkout@v4
|
|
117
|
+
with:
|
|
118
|
+
fetch-depth: 0
|
|
119
|
+
token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
|
|
120
|
+
|
|
121
|
+
- uses: vismagroup/Jira-SDOP-Reporter@v1
|
|
122
|
+
with:
|
|
123
|
+
token: ${{ github.token }}
|
|
124
|
+
deployment-start: ${{ needs.build.outputs.deployment-start }}
|
|
125
|
+
deployment-status: ${{ needs.build.result == 'success' && 'success' || 'failure' }}
|
|
126
|
+
jira-token: ${{ secrets.JIRA_TOKEN }}
|
|
127
|
+
jira-issue-summary: "store-gallery-image release v${{ needs.build.outputs.version }}"
|
|
128
|
+
jira-issue-project: "SDOP"
|
|
129
|
+
jira-issue-components: |
|
|
130
|
+
${{ secrets.EP_JIRA_COMPONENT }}
|
|
131
|
+
jira-issue-build-info: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,54 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.7.8-dev.0](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.19...v0.7.8-dev.0) (2026-03-19)
|
|
6
|
+
|
|
7
|
+
### [0.7.7-dev.21](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.19...v0.7.7-dev.21) (2026-03-18)
|
|
8
|
+
|
|
9
|
+
### [0.7.7-dev.20](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.19...v0.7.7-dev.20) (2026-03-17)
|
|
10
|
+
|
|
11
|
+
### [0.7.7-dev.19](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.18...v0.7.7-dev.19) (2026-03-17)
|
|
12
|
+
|
|
13
|
+
### [0.7.7-dev.18](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.17...v0.7.7-dev.18) (2026-03-17)
|
|
14
|
+
|
|
15
|
+
### [0.7.7-dev.17](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.16...v0.7.7-dev.17) (2026-03-17)
|
|
16
|
+
|
|
17
|
+
### [0.7.7-dev.16](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.15...v0.7.7-dev.16) (2026-03-17)
|
|
18
|
+
|
|
19
|
+
### [0.7.7-dev.15](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.13...v0.7.7-dev.15) (2026-03-16)
|
|
20
|
+
|
|
21
|
+
### [0.7.7-dev.14](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.13...v0.7.7-dev.14) (2026-03-16)
|
|
22
|
+
|
|
23
|
+
### [0.7.7-dev.13](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.12...v0.7.7-dev.13) (2026-03-16)
|
|
24
|
+
|
|
25
|
+
### [0.7.7-dev.12](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.10...v0.7.7-dev.12) (2026-03-16)
|
|
26
|
+
|
|
27
|
+
### [0.7.7-dev.11](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.10...v0.7.7-dev.11) (2026-03-16)
|
|
28
|
+
|
|
29
|
+
### [0.7.7-dev.10](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.9...v0.7.7-dev.10) (2026-03-16)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
* add support for LocalBirthdayAppService and update related configurations ([7717e95](https://github.com/Vixonic/store-birthdays/commit/7717e957112ae1a31e00539278d5ce7e9a8c5866))
|
|
35
|
+
|
|
36
|
+
### [0.7.7-dev.9](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.8...v0.7.7-dev.9) (2026-03-16)
|
|
37
|
+
|
|
38
|
+
### [0.7.7-dev.8](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.7...v0.7.7-dev.8) (2026-03-16)
|
|
39
|
+
|
|
40
|
+
### [0.7.7-dev.6](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.7...v0.7.7-dev.6) (2026-03-16)
|
|
41
|
+
|
|
42
|
+
### [0.7.7-dev.7](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.6...v0.7.7-dev.7) (2026-03-16)
|
|
43
|
+
|
|
44
|
+
### [0.7.7-dev.6](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.5...v0.7.7-dev.6) (2026-03-16)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* update release workflow to ensure proper version handling and skip publication for existing versions ([352f258](https://github.com/Vixonic/store-birthdays/commit/352f258f4227c4fecff1b9f54bd74bda4d7c3e3c))
|
|
50
|
+
* update release workflow to handle pre-release versions ([1a10178](https://github.com/Vixonic/store-birthdays/commit/1a10178166017f95901bf0deace182d7543b1609))
|
|
51
|
+
* VXD-821 update default margin values to 0% for text, image, and date ([c4fdc0f](https://github.com/Vixonic/store-birthdays/commit/c4fdc0f0d4caa90174a4d3c096263c5153ca9f26))
|
|
52
|
+
|
|
5
53
|
### [0.7.7-dev.5](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.4...v0.7.7-dev.5) (2026-01-19)
|
|
6
54
|
|
|
7
55
|
### [0.7.7-dev.4](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.3...v0.7.7-dev.4) (2026-01-19)
|
package/build.zip
CHANGED
|
Binary file
|
|
@@ -10,6 +10,7 @@ export const dataInputs = [
|
|
|
10
10
|
label: 'Selecciona la fuente de los cumpleaños',
|
|
11
11
|
items: [
|
|
12
12
|
{ label: 'Documento', value: 'BirthdayAppService' },
|
|
13
|
+
{ label: 'Administración local', value: 'LocalAppSheetsService' },
|
|
13
14
|
{ label: 'Rexmas', value: 'RexmasBirthdayService' },
|
|
14
15
|
{ label: 'Buk', value: 'BukBirthdayService' },
|
|
15
16
|
{ label: 'Talana', value: 'TalanaBirthdayService' }
|
|
@@ -23,6 +24,12 @@ export const dataInputs = [
|
|
|
23
24
|
serviceType: 'BirthdayAppService',
|
|
24
25
|
show: serviceEnabled.birthdayAppServiceEnabled
|
|
25
26
|
}),
|
|
27
|
+
new ServiceInput({
|
|
28
|
+
id: 'localService',
|
|
29
|
+
label: 'Administración local',
|
|
30
|
+
serviceType: 'LocalAppSheetsService',
|
|
31
|
+
show: serviceEnabled.localAppSheetsServiceEnabled
|
|
32
|
+
}),
|
|
26
33
|
new ServiceInput({
|
|
27
34
|
id: 'rexmasService',
|
|
28
35
|
label: 'Rexmas',
|
package/configuration/utils.ts
CHANGED
|
@@ -13,6 +13,7 @@ export const ShowValidations = {
|
|
|
13
13
|
|
|
14
14
|
export const serviceEnabled = {
|
|
15
15
|
birthdayAppServiceEnabled: '{{displayService}} === "BirthdayAppService"',
|
|
16
|
+
localAppSheetsServiceEnabled: '{{displayService}} === "LocalAppSheetsService"',
|
|
16
17
|
rexmasServiceEnabled: '{{displayService}} === "RexmasBirthdayService"',
|
|
17
18
|
bukServiceEnabled: '{{displayService}} === "BukBirthdayService"',
|
|
18
19
|
talanaServiceEnabled: '{{displayService}} === "TalanaBirthdayService"',
|
package/configuration.json
CHANGED
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"label": "Documento",
|
|
20
20
|
"value": "BirthdayAppService"
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"label": "Administración local",
|
|
24
|
+
"value": "LocalAppSheetsService"
|
|
25
|
+
},
|
|
22
26
|
{
|
|
23
27
|
"label": "Rexmas",
|
|
24
28
|
"value": "RexmasBirthdayService"
|
|
@@ -39,7 +43,14 @@
|
|
|
39
43
|
"label": "Documento",
|
|
40
44
|
"show": "{{displayService}} === \"BirthdayAppService\"",
|
|
41
45
|
"type": "service-input",
|
|
42
|
-
"serviceType": "BirthdayAppService"
|
|
46
|
+
"serviceType": "BirthdayAppService"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "localService",
|
|
50
|
+
"label": "Administración local",
|
|
51
|
+
"show": "{{displayService}} === \"LocalAppSheetsService\"",
|
|
52
|
+
"type": "service-input",
|
|
53
|
+
"serviceType": "LocalAppSheetsService"
|
|
43
54
|
},
|
|
44
55
|
{
|
|
45
56
|
"id": "rexmasService",
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Lorenzo Alfaro Bravo"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.7.
|
|
11
|
+
"version": "0.7.8-dev.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"prepublish": "vixonic-module-packager --mode=build",
|
|
14
14
|
"watch": "vixonic-module-packager --mode=watch",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@types/lodash": "^4.17.0",
|
|
30
30
|
"@types/react": "^18.3.23",
|
|
31
31
|
"@types/react-dom": "^18.3.7",
|
|
32
|
-
"@vixoniccom/module-packager": "2.
|
|
33
|
-
"@vixoniccom/modules": "^2.
|
|
32
|
+
"@vixoniccom/module-packager": "^2.13.0",
|
|
33
|
+
"@vixoniccom/modules": "^2.25.0-dev.6",
|
|
34
34
|
"standard-version": "^9.5.0"
|
|
35
35
|
}
|
|
36
36
|
}
|
package/sonar-project.properties
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
sonar.projectKey=Vixonic_store-birthdays_7769e3be-dc9d-4ca7-bf1a-4bfa182a053c
|
|
1
|
+
sonar.projectKey=Vixonic_store-birthdays_7769e3be-dc9d-4ca7-bf1a-4bfa182a053c
|
|
2
|
+
sonar.exclusions=.github/**/*
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
name: Publish to NPM on Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- development
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
publish:
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- name: Checkout code
|
|
17
|
-
uses: actions/checkout@v4
|
|
18
|
-
with:
|
|
19
|
-
fetch-depth: 0
|
|
20
|
-
|
|
21
|
-
- name: Configure git
|
|
22
|
-
run: |
|
|
23
|
-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
|
24
|
-
git config --global user.name "github-actions[bot]"
|
|
25
|
-
|
|
26
|
-
- name: Setup Node.js 20
|
|
27
|
-
uses: actions/setup-node@v4
|
|
28
|
-
with:
|
|
29
|
-
node-version: '20'
|
|
30
|
-
registry-url: 'https://registry.npmjs.org'
|
|
31
|
-
scope: '@vixoniccom'
|
|
32
|
-
|
|
33
|
-
- name: Configure npm authentication
|
|
34
|
-
run: |
|
|
35
|
-
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
|
|
36
|
-
echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
37
|
-
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
38
|
-
|
|
39
|
-
- name: Cache node modules
|
|
40
|
-
uses: actions/cache@v4
|
|
41
|
-
with:
|
|
42
|
-
path: ~/.npm
|
|
43
|
-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
44
|
-
restore-keys: |
|
|
45
|
-
${{ runner.os }}-node-
|
|
46
|
-
|
|
47
|
-
- name: Install dependencies
|
|
48
|
-
run: npm ci
|
|
49
|
-
env:
|
|
50
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
51
|
-
|
|
52
|
-
- name: Build package
|
|
53
|
-
run: npm run prepublish
|
|
54
|
-
env:
|
|
55
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
56
|
-
|
|
57
|
-
- name: Verify build.zip exists
|
|
58
|
-
run: |
|
|
59
|
-
if [ ! -f "build.zip" ]; then
|
|
60
|
-
echo "❌ Error: build.zip not found after build process"
|
|
61
|
-
exit 1
|
|
62
|
-
fi
|
|
63
|
-
echo "✅ build.zip found successfully"
|
|
64
|
-
ls -la build.zip
|
|
65
|
-
|
|
66
|
-
- name: Bump version and create release
|
|
67
|
-
run: |
|
|
68
|
-
echo "🔄 Running release..."
|
|
69
|
-
npm run release
|
|
70
|
-
git push --follow-tags
|
|
71
|
-
env:
|
|
72
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
73
|
-
|
|
74
|
-
- name: Publish to npm
|
|
75
|
-
run: |
|
|
76
|
-
PACKAGE_NAME=$(node -p "require('./package.json').name")
|
|
77
|
-
PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
78
|
-
echo "📦 Publishing $PACKAGE_NAME@$PACKAGE_VERSION to npm..."
|
|
79
|
-
npm publish --access public
|
|
80
|
-
echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
|
|
81
|
-
env:
|
|
82
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|