@vixoniccom/birthdays 0.7.7-dev.2 → 0.7.7-dev.20

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,102 @@
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.20](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.19...v0.7.7-dev.20) (2026-03-17)
6
+
7
+ ### [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)
8
+
9
+ ### [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)
10
+
11
+ ### [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)
12
+
13
+ ### [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)
14
+
15
+ ### [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)
16
+
17
+ ### [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)
18
+
19
+ ### [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)
20
+
21
+ ### [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)
22
+
23
+ ### [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)
24
+
25
+ ### [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)
26
+
27
+
28
+ ### Features
29
+
30
+ * add support for LocalBirthdayAppService and update related configurations ([7717e95](https://github.com/Vixonic/store-birthdays/commit/7717e957112ae1a31e00539278d5ce7e9a8c5866))
31
+
32
+ ### [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)
33
+
34
+ ### [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)
35
+
36
+ ### [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)
37
+
38
+ ### [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)
39
+
40
+ ### [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)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * update release workflow to ensure proper version handling and skip publication for existing versions ([352f258](https://github.com/Vixonic/store-birthdays/commit/352f258f4227c4fecff1b9f54bd74bda4d7c3e3c))
46
+ * update release workflow to handle pre-release versions ([1a10178](https://github.com/Vixonic/store-birthdays/commit/1a10178166017f95901bf0deace182d7543b1609))
47
+ * VXD-821 update default margin values to 0% for text, image, and date ([c4fdc0f](https://github.com/Vixonic/store-birthdays/commit/c4fdc0f0d4caa90174a4d3c096263c5153ca9f26))
48
+
49
+ ### [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)
50
+
51
+ ### [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)
52
+
53
+
54
+ ### Features
55
+
56
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
62
+
63
+ ### [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)
64
+
65
+
66
+ ### Features
67
+
68
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
74
+
75
+ ### [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)
76
+
77
+
78
+ ### Features
79
+
80
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
86
+
87
+ ### [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)
88
+
89
+
90
+ ### Features
91
+
92
+ * deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
98
+
99
+ ### [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)
100
+
5
101
  ### [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)
6
102
 
7
103
  ### [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)
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: 'LocalBirthdayAppService' },
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: 'LocalBirthdayAppService',
31
+ show: serviceEnabled.localBirthdayAppServiceEnabled
32
+ }),
26
33
  new ServiceInput({
27
34
  id: 'rexmasService',
28
35
  label: 'Rexmas',
@@ -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
 
@@ -13,6 +13,7 @@ export const ShowValidations = {
13
13
 
14
14
  export const serviceEnabled = {
15
15
  birthdayAppServiceEnabled: '{{displayService}} === "BirthdayAppService"',
16
+ localBirthdayAppServiceEnabled: '{{displayService}} === "LocalBirthdayAppService"',
16
17
  rexmasServiceEnabled: '{{displayService}} === "RexmasBirthdayService"',
17
18
  bukServiceEnabled: '{{displayService}} === "BukBirthdayService"',
18
19
  talanaServiceEnabled: '{{displayService}} === "TalanaBirthdayService"',
@@ -19,6 +19,10 @@
19
19
  "label": "Documento",
20
20
  "value": "BirthdayAppService"
21
21
  },
22
+ {
23
+ "label": "Administración local",
24
+ "value": "LocalBirthdayAppService"
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}} === \"LocalBirthdayAppService\"",
52
+ "type": "service-input",
53
+ "serviceType": "LocalBirthdayAppService"
43
54
  },
44
55
  {
45
56
  "id": "rexmasService",
@@ -328,7 +339,7 @@
328
339
  "id": "textMargin",
329
340
  "label": "Margen",
330
341
  "type": "text-input",
331
- "description": "Margen derecho de los textos (en porcentaje). Por defecto 4%."
342
+ "description": "Margen derecho de los textos (en porcentaje). Por defecto 0%."
332
343
  },
333
344
  {
334
345
  "id": "descriptionEnabled",
@@ -460,7 +471,7 @@
460
471
  "label": "Margen",
461
472
  "show": "{{imageEnabled}} === true",
462
473
  "type": "text-input",
463
- "description": "Margen derecho de la imagen (en porcentaje). Por defecto 4%."
474
+ "description": "Margen derecho de la imagen (en porcentaje). Por defecto 0%."
464
475
  },
465
476
  {
466
477
  "id": "imageSize",
@@ -588,7 +599,7 @@
588
599
  "label": "Margen",
589
600
  "show": "{{dateEnabled}} === true",
590
601
  "type": "text-input",
591
- "description": "Margen derecho de la fecha (en porcentaje). Por defecto 4%."
602
+ "description": "Margen derecho de la fecha (en porcentaje). Por defecto 0%."
592
603
  },
593
604
  {
594
605
  "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.2",
11
+ "version": "0.7.7-dev.20",
12
12
  "scripts": {
13
13
  "prepublish": "vixonic-module-packager --mode=build",
14
14
  "watch": "vixonic-module-packager --mode=watch",
@@ -30,7 +30,7 @@
30
30
  "@types/react": "^18.3.23",
31
31
  "@types/react-dom": "^18.3.7",
32
32
  "@vixoniccom/module-packager": "2.12.0-dev.10",
33
- "@vixoniccom/modules": "^2.24.0-dev.0",
33
+ "@vixoniccom/modules": "^2.25.0-dev.5",
34
34
  "standard-version": "^9.5.0"
35
35
  }
36
36
  }
@@ -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'"