@vixoniccom/aniversarios 1.4.4-dev.1 → 1.4.4

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/build.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/aniversarios",
3
3
  "alias": "Aniversarios",
4
- "version": "1.4.4-dev.1",
4
+ "version": "1.4.4",
5
5
  "description": "Muestra el día que el trabajador está de aniversario en la empresa.",
6
6
  "main": "main.js",
7
7
  "author": "",
@@ -1,2 +1 @@
1
- sonar.projectKey=Vixonic_store-aniversarios_cb1129c3-491c-4ada-ac60-75ab0fad0c6a
2
- sonar.exclusions=.github/**/*
1
+ sonar.projectKey=Vixonic_store-aniversarios_cb1129c3-491c-4ada-ac60-75ab0fad0c6a
@@ -70,7 +70,7 @@ export class AnimationController {
70
70
  this.duration = 10000
71
71
  this.speed = 1000
72
72
  this.stagger = 1000 / 4
73
- this.reverse = false
73
+ this.reverse = true
74
74
  }
75
75
 
76
76
  configure(options: Partial<Options>) {
@@ -1,131 +0,0 @@
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@34e114876b0b11c390a56381ad16ebd13914f8d5 # 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@49933ea5288caeca8642d1e84afbd3f7d6820020 # 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@0057852bfaa89a56745cba8c7296529d2fc39830 # 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@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # 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@34e114876b0b11c390a56381ad16ebd13914f8d5 # 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 }}