@vixoniccom/birthdays 0.7.7-dev.3 → 0.7.7-dev.5
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,11 +1,10 @@
|
|
|
1
|
-
name: Publish to NPM
|
|
1
|
+
name: Publish to NPM on Release
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
workflow_dispatch:
|
|
5
5
|
push:
|
|
6
6
|
branches:
|
|
7
|
-
-
|
|
8
|
-
- main
|
|
7
|
+
- development
|
|
9
8
|
|
|
10
9
|
jobs:
|
|
11
10
|
publish:
|
|
@@ -50,29 +49,6 @@ jobs:
|
|
|
50
49
|
env:
|
|
51
50
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
52
51
|
|
|
53
|
-
- name: Check if version is pre-release
|
|
54
|
-
id: check-prerelease
|
|
55
|
-
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
|
|
66
|
-
|
|
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 }}
|
|
73
|
-
env:
|
|
74
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
75
|
-
|
|
76
52
|
- name: Build package
|
|
77
53
|
run: npm run prepublish
|
|
78
54
|
env:
|
|
@@ -87,40 +63,20 @@ jobs:
|
|
|
87
63
|
echo "✅ build.zip found successfully"
|
|
88
64
|
ls -la build.zip
|
|
89
65
|
|
|
90
|
-
- name:
|
|
91
|
-
id: check-version
|
|
66
|
+
- name: Bump version and create release
|
|
92
67
|
run: |
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
echo "Checking if $PACKAGE_NAME@$PACKAGE_VERSION exists on npm..."
|
|
97
|
-
|
|
98
|
-
if npm view "$PACKAGE_NAME@$PACKAGE_VERSION" version 2>/dev/null; then
|
|
99
|
-
echo "version-exists=true" >> $GITHUB_OUTPUT
|
|
100
|
-
echo "⚠️ Version $PACKAGE_VERSION already exists on npm"
|
|
101
|
-
else
|
|
102
|
-
echo "version-exists=false" >> $GITHUB_OUTPUT
|
|
103
|
-
echo "✅ Version $PACKAGE_VERSION does not exist on npm - ready to publish"
|
|
104
|
-
fi
|
|
105
|
-
|
|
106
|
-
- name: Publish to npm
|
|
107
|
-
if: steps.check-version.outputs.version-exists == 'false'
|
|
108
|
-
run: |
|
|
109
|
-
echo "Publishing to npm..."
|
|
110
|
-
npm publish --access public
|
|
68
|
+
echo "🔄 Running release..."
|
|
69
|
+
npm run release
|
|
70
|
+
git push --follow-tags
|
|
111
71
|
env:
|
|
112
72
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
113
73
|
|
|
114
|
-
- name:
|
|
115
|
-
if: steps.check-version.outputs.version-exists == 'false'
|
|
74
|
+
- name: Publish to npm
|
|
116
75
|
run: |
|
|
117
76
|
PACKAGE_NAME=$(node -p "require('./package.json').name")
|
|
118
77
|
PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
78
|
+
echo "📦 Publishing $PACKAGE_NAME@$PACKAGE_VERSION to npm..."
|
|
79
|
+
npm publish --access public
|
|
119
80
|
echo "🎉 Successfully published $PACKAGE_NAME@$PACKAGE_VERSION to npm!"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
- name: Skip publication - version exists
|
|
123
|
-
if: steps.check-version.outputs.version-exists == 'true'
|
|
124
|
-
run: |
|
|
125
|
-
PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
126
|
-
echo "⏭️ Skipping publication - version $PACKAGE_VERSION already exists on npm"
|
|
81
|
+
env:
|
|
82
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
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.5](https://github.com/Vixonic/store-birthdays/compare/v0.7.7-dev.4...v0.7.7-dev.5) (2026-01-19)
|
|
6
|
+
|
|
7
|
+
### [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)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
|
|
18
|
+
|
|
19
|
+
### [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)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
|
|
30
|
+
|
|
31
|
+
### [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)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
|
|
42
|
+
|
|
43
|
+
### [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)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* deleted npm-publish pipeline ([4b5ebc8](https://github.com/Vixonic/store-birthdays/commit/4b5ebc84d3ac63511cba9d9803a40447061d4318))
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
* deploy prod version ([eda76a7](https://github.com/Vixonic/store-birthdays/commit/eda76a720a7ad1e4b4ec6797b7d409ecb0a9f0bb))
|
|
54
|
+
|
|
5
55
|
### [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)
|
|
6
56
|
|
|
7
57
|
### [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)
|
package/build.zip
CHANGED
|
Binary file
|
|
@@ -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
|
|
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
|
|
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
|
|
190
|
+
description: 'Margen derecho de la fecha (en porcentaje). Por defecto 0%.',
|
|
191
191
|
show: ShowValidations.dateEnabled,
|
|
192
192
|
}),
|
|
193
193
|
|
package/configuration.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
591
|
+
"description": "Margen derecho de la fecha (en porcentaje). Por defecto 0%."
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"type": "label",
|
package/package.json
CHANGED
|
@@ -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'"
|