@vixoniccom/birthdays 0.7.7-dev.1 → 0.7.7-dev.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.
@@ -1,17 +1,16 @@
1
1
  name: Publish to NPM
2
2
 
3
3
  on:
4
- workflow_dispatch:
5
- push:
4
+ pull_request:
6
5
  branches:
6
+ - development
7
7
  - master
8
8
  - main
9
+ workflow_dispatch:
9
10
 
10
11
  jobs:
11
12
  publish:
12
13
  runs-on: ubuntu-latest
13
- permissions:
14
- contents: write
15
14
 
16
15
  steps:
17
16
  - name: Checkout code
@@ -19,11 +18,6 @@ jobs:
19
18
  with:
20
19
  fetch-depth: 0
21
20
 
22
- - name: Configure git
23
- run: |
24
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
25
- git config --global user.name "github-actions[bot]"
26
-
27
21
  - name: Setup Node.js 20
28
22
  uses: actions/setup-node@v4
29
23
  with:
@@ -50,26 +44,13 @@ jobs:
50
44
  env:
51
45
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52
46
 
53
- - name: Check if version is pre-release
54
- id: check-prerelease
47
+ - name: Configure Git
55
48
  run: |
56
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
57
- echo "Current version: $PACKAGE_VERSION"
58
-
59
- if [[ "$PACKAGE_VERSION" =~ -(dev|beta|alpha|rc|canary|next|preview|snapshot|nightly)\.[0-9]+ ]]; then
60
- echo "is-prerelease=true" >> $GITHUB_OUTPUT
61
- echo "✅ Version $PACKAGE_VERSION is a pre-release - will run npm run release"
62
- else
63
- echo "is-prerelease=false" >> $GITHUB_OUTPUT
64
- echo "✅ Version $PACKAGE_VERSION is already a production version - skipping npm run release"
65
- fi
49
+ git config --global user.name "github-actions[bot]"
50
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
66
51
 
67
- - name: Bump version to production (only if pre-release)
68
- if: steps.check-prerelease.outputs.is-prerelease == 'true'
69
- run: |
70
- echo "🔄 Converting pre-release to production version..."
71
- npm run release
72
- git push --follow-tags origin ${{ github.ref_name }}
52
+ - name: Create release version
53
+ run: npm run release
73
54
  env:
74
55
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
75
56
 
@@ -119,8 +100,9 @@ jobs:
119
100
  echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
120
101
  echo "📦 Package includes build.zip with the compiled application"
121
102
 
122
- - name: Skip publication - version exists
103
+ - name: Skip publication
123
104
  if: steps.check-version.outputs.version-exists == 'true'
124
105
  run: |
125
106
  PACKAGE_VERSION=$(node -p "require('./package.json').version")
126
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'"
package/CHANGELOG.md CHANGED
@@ -2,6 +2,88 @@
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.7-dev.12](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.10...v0.7.7-dev.12) (2026-03-16)
6
+
7
+ ### [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)
8
+
9
+ ### [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)
10
+
11
+
12
+ ### Features
13
+
14
+ * add support for LocalBirthdayAppService and update related configurations ([7717e95](https://github.com/Vixonic/store-birthdays/commit/7717e957112ae1a31e00539278d5ce7e9a8c5866))
15
+
16
+ ### [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)
17
+
18
+ ### [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)
19
+
20
+ ### [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)
21
+
22
+ ### [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)
23
+
24
+ ### [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)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * update release workflow to ensure proper version handling and skip publication for existing versions ([352f258](https://github.com/Vixonic/store-birthdays/commit/352f258f4227c4fecff1b9f54bd74bda4d7c3e3c))
30
+ * update release workflow to handle pre-release versions ([1a10178](https://github.com/Vixonic/store-birthdays/commit/1a10178166017f95901bf0deace182d7543b1609))
31
+ * VXD-821 update default margin values to 0% for text, image, and date ([c4fdc0f](https://github.com/Vixonic/store-birthdays/commit/c4fdc0f0d4caa90174a4d3c096263c5153ca9f26))
32
+
33
+ ### [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)
34
+
35
+ ### [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)
36
+
37
+
38
+ ### Features
39
+
40
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
46
+
47
+ ### [0.7.7-dev.2](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.3...v0.7.7-dev.2) (2026-01-19)
48
+
49
+
50
+ ### Features
51
+
52
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
53
+
54
+
55
+ ### Bug Fixes
56
+
57
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
58
+
59
+ ### [0.7.7-dev.1](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.3...v0.7.7-dev.1) (2026-01-19)
60
+
61
+
62
+ ### Features
63
+
64
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
70
+
71
+ ### [0.7.7-dev.0](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.3...v0.7.7-dev.0) (2026-01-19)
72
+
73
+
74
+ ### Features
75
+
76
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
82
+
83
+ ### [0.7.7-dev.3](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.2...v0.7.7-dev.3) (2026-01-16)
84
+
85
+ ### [0.7.7-dev.2](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.1...v0.7.7-dev.2) (2026-01-16)
86
+
5
87
  ### [0.7.7-dev.1](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.0...v0.7.7-dev.1) (2026-01-16)
6
88
 
7
89
  ### [0.7.7-dev.0](https://github.com/Vixonic/store-birthdays/compare/v0.7.6...v0.7.7-dev.0) (2026-01-16)
package/build.zip CHANGED
Binary file
@@ -21,7 +21,7 @@ export const dataInputs = [
21
21
  id: 'documentService',
22
22
  label: 'Documento',
23
23
  serviceType: 'BirthdayAppService',
24
- show: serviceEnabled.birthdayAppServiceEnabled
24
+ show: serviceEnabled.birthdayAppServiceEnabled || serviceEnabled.localBirthdayAppServiceEnabled
25
25
  }),
26
26
  new ServiceInput({
27
27
  id: 'rexmasService',
@@ -39,7 +39,7 @@ export const standardInputs = [
39
39
  new TextInput({
40
40
  id: 'textMargin',
41
41
  label: 'Margen',
42
- description: 'Margen derecho de los textos (en porcentaje). Por defecto 4%.',
42
+ description: 'Margen derecho de los textos (en porcentaje). Por defecto 0%.',
43
43
  }),
44
44
 
45
45
  new Switch({
@@ -113,7 +113,7 @@ export const standardInputs = [
113
113
  new TextInput({
114
114
  id: 'imageMargin',
115
115
  label: 'Margen',
116
- description: 'Margen derecho de la imagen (en porcentaje). Por defecto 4%.',
116
+ description: 'Margen derecho de la imagen (en porcentaje). Por defecto 0%.',
117
117
  show: ShowValidations.imageEnabled,
118
118
  }),
119
119
  new NumberInput({
@@ -187,7 +187,7 @@ export const standardInputs = [
187
187
  new TextInput({
188
188
  id: 'dateMargin',
189
189
  label: 'Margen',
190
- description: 'Margen derecho de la fecha (en porcentaje). Por defecto 4%.',
190
+ description: 'Margen derecho de la fecha (en porcentaje). Por defecto 0%.',
191
191
  show: ShowValidations.dateEnabled,
192
192
  }),
193
193
 
@@ -16,4 +16,5 @@ export const serviceEnabled = {
16
16
  rexmasServiceEnabled: '{{displayService}} === "RexmasBirthdayService"',
17
17
  bukServiceEnabled: '{{displayService}} === "BukBirthdayService"',
18
18
  talanaServiceEnabled: '{{displayService}} === "TalanaBirthdayService"',
19
+ localBirthdayAppServiceEnabled: '{{displayService}} === "LocalBirthdayAppService"',
19
20
  }
@@ -37,9 +37,9 @@
37
37
  {
38
38
  "id": "documentService",
39
39
  "label": "Documento",
40
- "show": "{{displayService}} === \"BirthdayAppService\"",
40
+ "show": "{{displayService}} === \"BirthdayAppService\" || {{displayService}} === \"LocalBirthdayAppService\"",
41
41
  "type": "service-input",
42
- "serviceType": "BirthdayAppService"
42
+ "serviceType": "BirthdayAppService || LocalBirthdayAppService"
43
43
  },
44
44
  {
45
45
  "id": "rexmasService",
@@ -328,7 +328,7 @@
328
328
  "id": "textMargin",
329
329
  "label": "Margen",
330
330
  "type": "text-input",
331
- "description": "Margen derecho de los textos (en porcentaje). Por defecto 4%."
331
+ "description": "Margen derecho de los textos (en porcentaje). Por defecto 0%."
332
332
  },
333
333
  {
334
334
  "id": "descriptionEnabled",
@@ -460,7 +460,7 @@
460
460
  "label": "Margen",
461
461
  "show": "{{imageEnabled}} === true",
462
462
  "type": "text-input",
463
- "description": "Margen derecho de la imagen (en porcentaje). Por defecto 4%."
463
+ "description": "Margen derecho de la imagen (en porcentaje). Por defecto 0%."
464
464
  },
465
465
  {
466
466
  "id": "imageSize",
@@ -588,7 +588,7 @@
588
588
  "label": "Margen",
589
589
  "show": "{{dateEnabled}} === true",
590
590
  "type": "text-input",
591
- "description": "Margen derecho de la fecha (en porcentaje). Por defecto 4%."
591
+ "description": "Margen derecho de la fecha (en porcentaje). Por defecto 0%."
592
592
  },
593
593
  {
594
594
  "type": "label",
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "author": {
9
9
  "name": "Lorenzo Alfaro Bravo"
10
10
  },
11
- "version": "0.7.7-dev.1",
11
+ "version": "0.7.7-dev.12",
12
12
  "scripts": {
13
13
  "prepublish": "vixonic-module-packager --mode=build",
14
14
  "watch": "vixonic-module-packager --mode=watch",
@@ -1,94 +0,0 @@
1
- name: Publish to NPM
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- - main
8
-
9
- jobs:
10
- publish:
11
- runs-on: ubuntu-latest
12
-
13
- steps:
14
- - name: Checkout code
15
- uses: actions/checkout@v4
16
- with:
17
- fetch-depth: 0
18
-
19
- - name: Setup Node.js 20
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: '20'
23
- registry-url: 'https://registry.npmjs.org'
24
- scope: '@vixoniccom'
25
-
26
- - name: Configure npm authentication
27
- run: |
28
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
29
- echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
30
- echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
31
-
32
- - name: Cache node modules
33
- uses: actions/cache@v3
34
- with:
35
- path: ~/.npm
36
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
37
- restore-keys: |
38
- ${{ runner.os }}-node-
39
-
40
- - name: Install dependencies
41
- run: npm ci
42
- env:
43
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44
-
45
- - name: Build package
46
- run: npm run prepublish
47
-
48
- - name: Verify build.zip exists
49
- run: |
50
- if [ ! -f "build.zip" ]; then
51
- echo "❌ Error: build.zip not found after build process"
52
- exit 1
53
- fi
54
- echo "✅ build.zip found successfully"
55
- ls -la build.zip
56
-
57
- - name: Check if version already exists on npm
58
- id: check-version
59
- run: |
60
- PACKAGE_NAME=$(node -p "require('./package.json').name")
61
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
62
-
63
- echo "Checking if $PACKAGE_NAME@$PACKAGE_VERSION exists on npm..."
64
-
65
- if npm view "$PACKAGE_NAME@$PACKAGE_VERSION" version 2>/dev/null; then
66
- echo "version-exists=true" >> $GITHUB_OUTPUT
67
- echo "⚠️ Version $PACKAGE_VERSION already exists on npm"
68
- else
69
- echo "version-exists=false" >> $GITHUB_OUTPUT
70
- echo "✅ Version $PACKAGE_VERSION does not exist on npm - ready to publish"
71
- fi
72
-
73
- - name: Publish to npm
74
- if: steps.check-version.outputs.version-exists == 'false'
75
- run: |
76
- echo "Publishing to npm..."
77
- npm publish --access public
78
- env:
79
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
80
-
81
- - name: Publication success
82
- if: steps.check-version.outputs.version-exists == 'false'
83
- run: |
84
- PACKAGE_NAME=$(node -p "require('./package.json').name")
85
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
86
- echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
87
- echo "📦 Package includes build.zip with the compiled application"
88
-
89
- - name: Skip publication
90
- if: steps.check-version.outputs.version-exists == 'true'
91
- run: |
92
- PACKAGE_VERSION=$(node -p "require('./package.json').version")
93
- echo "⏭️ Skipping publication - version $PACKAGE_VERSION already exists on npm"
94
- echo "💡 To publish a new version, update the version in package.json or run 'npm run release'"