@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.
@@ -0,0 +1,101 @@
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'"
@@ -0,0 +1,108 @@
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'"
@@ -11,19 +11,19 @@ jobs:
11
11
  sonarqube:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14
+ - uses: actions/checkout@v4
15
15
  with:
16
16
  # Disabling shallow clone is recommended for improving relevancy of reporting.
17
17
  fetch-depth: 0
18
18
 
19
19
  - name: SonarQube Scan
20
- uses: sonarsource/sonarqube-scan-action@299e4b793aaa83bf2aba7c9c14bedbb485688ec4 # v7.1.0
20
+ uses: sonarsource/sonarqube-scan-action@master
21
21
  env:
22
22
  SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
23
23
  SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
24
24
 
25
25
  - name: SonarQube Quality Gate Check
26
- uses: sonarsource/sonarqube-quality-gate-action@cf038b0e0cdecfa9e56c198bbb7d21d751d62c3b # v1.2.0
26
+ uses: sonarsource/sonarqube-quality-gate-action@master
27
27
  timeout-minutes: 5
28
28
  env:
29
29
  SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -2,12 +2,7 @@
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
- ### [1.4.4-dev.1](https://github.com/Vixonic/store-aniversarios/compare/v1.4.1...v1.4.4-dev.1) (2026-04-23)
6
-
7
-
8
- ### Bug Fixes
9
-
10
- * **animation:** change default reverse value to false ([b2cd175](https://github.com/Vixonic/store-aniversarios/commit/b2cd175f1146adab60f199d515b5fcb3c51148f7))
5
+ ### [1.4.4](https://github.com/Vixonic/store-aniversarios/compare/v1.4.4-dev.0...v1.4.4) (2026-04-22)
11
6
 
12
7
  ### [1.4.4-dev.0](https://github.com/Vixonic/store-aniversarios/compare/v1.4.3...v1.4.4-dev.0) (2026-04-22)
13
8