@vixoniccom/modules 2.25.0-dev.31 → 2.25.0-dev.32

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,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git add *)",
5
+ "Bash(git commit -m ' *)",
6
+ "Bash(gh auth *)",
7
+ "Bash(gh pr create --base main --assignee @me --title 'feat\\(inputs\\): add EphemerisService to ServiceType union' --body ' *)"
8
+ ]
9
+ }
10
+ }
@@ -0,0 +1,12 @@
1
+ name: Publish to NPM
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ publish:
10
+ uses: Vixonic/github-workflows/.github/workflows/npm-lib-publish.yml@a36ca67ada54f446e3858141085f4ee2c485d83a # main
11
+ secrets:
12
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
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
+ ## [2.25.0-dev.32](https://github.com/Vixonic/store-modules/compare/v2.25.0...v2.25.0-dev.32) (2026-09-03)
6
+
7
+
8
+ ### Features
9
+
10
+ * add AirQualityService to ServiceType union ([942f0a3](https://github.com/Vixonic/store-modules/commit/942f0a3ca2069c4c06301c5af9656c1a0af1dd2e))
11
+
5
12
  ## [2.25.0-dev.31](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.30...v2.25.0-dev.31) (2026-08-07)
6
13
 
7
14
 
@@ -1,6 +1,6 @@
1
1
  import { Input, IInput } from '../base';
2
2
  import { ValueError } from '../errors';
3
- export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'NewTimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService' | 'BukAnniversariesService' | 'BukNewEmployeesService' | 'AgendaAppService' | 'AnniversaryAppService' | 'BirthdayAppService' | 'NewEmployeesAppService' | 'CurrencyAppService' | 'SheetsReaderService' | 'TalanaAnniversariesService' | 'TalanaBirthdayService' | 'TalanaNewEmployeesService' | 'YoutubeService' | 'LocalAppSheetsService' | 'MetalAppService' | 'FootballService' | 'MenuAppService' | 'GoogleCalendarService' | 'OutlookCalendarService' | 'PowerBIService' | 'HoroscopeService' | 'EphemerisService' | 'LocalCompanyDirectoryService';
3
+ export type ServiceType = 'RSSService' | 'InstagramMediaService' | 'LinkedInCompanyMediaService' | 'FacebookPageService' | 'WeatherService' | 'VixonicStoriesService' | 'TwitterService' | 'TimezoneService' | 'NewTimezoneService' | 'ColabraService' | 'RexmasBirthdayService' | 'RexmasAnniversarieService' | 'RexmasNewEmployeesService' | 'TikTokService' | 'BukBirthdayService' | 'BukAnniversariesService' | 'BukNewEmployeesService' | 'AgendaAppService' | 'AnniversaryAppService' | 'BirthdayAppService' | 'NewEmployeesAppService' | 'CurrencyAppService' | 'SheetsReaderService' | 'TalanaAnniversariesService' | 'TalanaBirthdayService' | 'TalanaNewEmployeesService' | 'YoutubeService' | 'LocalAppSheetsService' | 'MetalAppService' | 'FootballService' | 'MenuAppService' | 'GoogleCalendarService' | 'OutlookCalendarService' | 'PowerBIService' | 'HoroscopeService' | 'EphemerisService' | 'LocalCompanyDirectoryService' | 'AirQualityService';
4
4
  export interface IServiceInput extends IInput {
5
5
  serviceType: ServiceType;
6
6
  required?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vixoniccom/modules",
3
- "version": "2.25.0-dev.31",
3
+ "version": "2.25.0-dev.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,133 +0,0 @@
1
- name: Deploy job
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [closed]
8
- workflow_dispatch:
9
-
10
- jobs:
11
- build:
12
- name: Build and Publish Package
13
- runs-on: ubuntu-latest
14
- environment: production
15
- if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
16
-
17
- outputs:
18
- version: ${{ steps.extract_version.outputs.version }}
19
- deployment-start: ${{ steps.deployment_start.outputs.deployment_start }}
20
-
21
- steps:
22
- - name: Log deployment start
23
- id: deployment_start
24
- run: |
25
- echo "deployment_start=$(date +"%Y-%m-%dT%H:%M:%S%:z")" >> "$GITHUB_OUTPUT"
26
-
27
- - name: Checkout repository
28
- uses: actions/checkout@v4
29
- with:
30
- fetch-depth: 0
31
- token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
32
-
33
- - name: Setup Node.js 20
34
- uses: actions/setup-node@v4
35
- with:
36
- node-version: '20'
37
- registry-url: 'https://registry.npmjs.org'
38
- scope: '@vixoniccom'
39
-
40
- - name: Configure npm authentication
41
- env:
42
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
43
- run: |
44
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
45
- echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
46
- echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
47
-
48
- - name: Cache node modules
49
- uses: actions/cache@v4
50
- with:
51
- path: ~/.npm
52
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
53
- restore-keys: |
54
- ${{ runner.os }}-node-
55
-
56
- - name: Install dependencies
57
- run: npm ci --ignore-scripts
58
- env:
59
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
60
-
61
- - name: Bump version
62
- run: |
63
- git config user.name "github-actions[bot]"
64
- git config user.email "github-actions[bot]@users.noreply.github.com"
65
- npm run release -- --no-verify
66
- git push --follow-tags origin main
67
- env:
68
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
69
-
70
- - name: Extract changelog for this release
71
- id: changelog
72
- run: |
73
- BODY=$(awk '/^## \[/{if(p) exit; p=1} p' CHANGELOG.md)
74
- echo "body<<EOF" >> $GITHUB_OUTPUT
75
- echo "$BODY" >> $GITHUB_OUTPUT
76
- echo "EOF" >> $GITHUB_OUTPUT
77
-
78
- - name: Extract version from package.json
79
- id: extract_version
80
- run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
81
-
82
- - name: Build package
83
- run: npm run prepublish
84
- env:
85
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
86
-
87
- - name: Verify build.zip exists
88
- run: |
89
- if [ ! -f "build.zip" ]; then
90
- echo "❌ Error: build.zip not found after build process"
91
- exit 1
92
- fi
93
- echo "✅ build.zip found successfully"
94
- ls -la build.zip
95
-
96
- - name: Publish to npm
97
- run: npm publish --access public
98
- env:
99
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100
-
101
- - name: Create GitHub Release
102
- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2
103
- with:
104
- tag_name: v${{ steps.extract_version.outputs.version }}
105
- name: v${{ steps.extract_version.outputs.version }}
106
- body: ${{ steps.changelog.outputs.body }}
107
- files: build.zip
108
- env:
109
- GITHUB_TOKEN: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
110
-
111
- report-ep:
112
- name: Report EP Metrics
113
- runs-on: ubuntu-latest
114
- needs: [build]
115
- if: always()
116
-
117
- steps:
118
- - uses: actions/checkout@v4
119
- with:
120
- fetch-depth: 0
121
- token: ${{ secrets.PRIVATE_TOKEN_GITHUB }}
122
-
123
- - uses: vismagroup/Jira-SDOP-Reporter@v1 # NOSONAR - internal Visma action
124
- with:
125
- token: ${{ github.token }}
126
- deployment-start: ${{ needs.build.outputs.deployment-start }}
127
- deployment-status: ${{ needs.build.result == 'success' && 'success' || 'failure' }}
128
- jira-token: ${{ secrets.JIRA_TOKEN }}
129
- jira-issue-summary: "store-modules release v${{ needs.build.outputs.version }}"
130
- jira-issue-project: "SDOP"
131
- jira-issue-components: |
132
- ${{ secrets.EP_JIRA_COMPONENT }}
133
- jira-issue-build-info: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}