@vixoniccom/aniversarios 1.4.4-dev.0 → 1.4.4-dev.1

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.0",
4
+ "version": "1.4.4-dev.1",
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 +1,2 @@
1
- sonar.projectKey=Vixonic_store-aniversarios_cb1129c3-491c-4ada-ac60-75ab0fad0c6a
1
+ sonar.projectKey=Vixonic_store-aniversarios_cb1129c3-491c-4ada-ac60-75ab0fad0c6a
2
+ sonar.exclusions=.github/**/*
@@ -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 = true
73
+ this.reverse = false
74
74
  }
75
75
 
76
76
  configure(options: Partial<Options>) {
@@ -1,101 +0,0 @@
1
- name: Publish to NPM
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- - main
8
- pull_request:
9
- branches:
10
- - master
11
- - main
12
- types: [closed]
13
-
14
- jobs:
15
- publish:
16
- # Solo ejecutar si es un push a main/master o un merge a main/master
17
- if: github.event_name == 'push' || (github.event.pull_request.merged == true && (github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main'))
18
- runs-on: ubuntu-latest
19
-
20
- steps:
21
- - name: Checkout code
22
- uses: actions/checkout@v4
23
- with:
24
- fetch-depth: 0
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@v3
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
-
55
- - name: Verify build.zip exists
56
- run: |
57
- if [ ! -f "build.zip" ]; then
58
- echo "❌ Error: build.zip not found after build process"
59
- exit 1
60
- fi
61
- echo "✅ build.zip found successfully"
62
- ls -la build.zip
63
-
64
- - name: Check if version already exists on npm
65
- id: check-version
66
- run: |
67
- PACKAGE_NAME=$(node -p "require('./package.json').name")
68
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
69
-
70
- echo "Checking if $PACKAGE_NAME@$PACKAGE_VERSION exists on npm..."
71
-
72
- if npm view "$PACKAGE_NAME@$PACKAGE_VERSION" version 2>/dev/null; then
73
- echo "version-exists=true" >> $GITHUB_OUTPUT
74
- echo "⚠️ Version $PACKAGE_VERSION already exists on npm"
75
- else
76
- echo "version-exists=false" >> $GITHUB_OUTPUT
77
- echo "✅ Version $PACKAGE_VERSION does not exist on npm - ready to publish"
78
- fi
79
-
80
- - name: Publish to npm
81
- if: steps.check-version.outputs.version-exists == 'false'
82
- run: |
83
- echo "Publishing to npm..."
84
- npm publish --access public
85
- env:
86
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
87
-
88
- - name: Publication success
89
- if: steps.check-version.outputs.version-exists == 'false'
90
- run: |
91
- PACKAGE_NAME=$(node -p "require('./package.json').name")
92
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
93
- echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
94
- echo "📦 Package includes build.zip with the compiled application"
95
-
96
- - name: Skip publication
97
- if: steps.check-version.outputs.version-exists == 'true'
98
- run: |
99
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
100
- echo "⏭️ Skipping publication - version $PACKAGE_VERSION already exists on npm"
101
- echo "💡 To publish a new version, update the version in package.json or run 'npm run release'"
@@ -1,108 +0,0 @@
1
- name: Publish to NPM
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - development
7
- - master
8
- - main
9
- workflow_dispatch:
10
-
11
- jobs:
12
- publish:
13
- runs-on: ubuntu-latest
14
-
15
- steps:
16
- - name: Checkout code
17
- uses: actions/checkout@v4
18
- with:
19
- fetch-depth: 0
20
-
21
- - name: Setup Node.js 20
22
- uses: actions/setup-node@v4
23
- with:
24
- node-version: '20'
25
- registry-url: 'https://registry.npmjs.org'
26
- scope: '@vixoniccom'
27
-
28
- - name: Configure npm authentication
29
- run: |
30
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
31
- echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
32
- echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
33
-
34
- - name: Cache node modules
35
- uses: actions/cache@v4
36
- with:
37
- path: ~/.npm
38
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
39
- restore-keys: |
40
- ${{ runner.os }}-node-
41
-
42
- - name: Install dependencies
43
- run: npm ci
44
- env:
45
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
46
-
47
- - name: Configure Git
48
- run: |
49
- git config --global user.name "github-actions[bot]"
50
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
51
-
52
- - name: Create release version
53
- run: npm run release
54
- env:
55
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
56
-
57
- - name: Build package
58
- run: npm run prepublish
59
- env:
60
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
61
-
62
- - name: Verify build.zip exists
63
- run: |
64
- if [ ! -f "build.zip" ]; then
65
- echo "❌ Error: build.zip not found after build process"
66
- exit 1
67
- fi
68
- echo "✅ build.zip found successfully"
69
- ls -la build.zip
70
-
71
- - name: Check if version already exists on npm
72
- id: check-version
73
- run: |
74
- PACKAGE_NAME=$(node -p "require('./package.json').name")
75
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
76
-
77
- echo "Checking if $PACKAGE_NAME@$PACKAGE_VERSION exists on npm..."
78
-
79
- if npm view "$PACKAGE_NAME@$PACKAGE_VERSION" version 2>/dev/null; then
80
- echo "version-exists=true" >> $GITHUB_OUTPUT
81
- echo "⚠️ Version $PACKAGE_VERSION already exists on npm"
82
- else
83
- echo "version-exists=false" >> $GITHUB_OUTPUT
84
- echo "✅ Version $PACKAGE_VERSION does not exist on npm - ready to publish"
85
- fi
86
-
87
- - name: Publish to npm
88
- if: steps.check-version.outputs.version-exists == 'false'
89
- run: |
90
- echo "Publishing to npm..."
91
- npm publish --access public
92
- env:
93
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
94
-
95
- - name: Publication success
96
- if: steps.check-version.outputs.version-exists == 'false'
97
- run: |
98
- PACKAGE_NAME=$(node -p "require('./package.json').name")
99
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
100
- echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
101
- echo "📦 Package includes build.zip with the compiled application"
102
-
103
- - name: Skip publication
104
- if: steps.check-version.outputs.version-exists == 'true'
105
- run: |
106
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
107
- echo "⏭️ Skipping publication - version $PACKAGE_VERSION already exists on npm"
108
- echo "💡 To publish a new version, update the version in package.json or run 'npm run release'"