@thzero/library_client_svelte 0.15.1 → 0.15.3

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.
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@thzero/library_client_svelte",
3
- "version": "0.15.1",
3
+ "version": "0.15.3",
4
4
  "version_major": 0,
5
5
  "version_minor": 15,
6
- "version_patch": 1,
7
- "version_date": "10/26/2021",
6
+ "version_patch": 3,
7
+ "version_date": "04/25/2022",
8
8
  "description": "An opinionated library of common functionality to bootstrap a Svelte based SPA application.",
9
9
  "author": "thZero",
10
10
  "license": "MIT",
@@ -17,19 +17,15 @@
17
17
  },
18
18
  "homepage": "https://github.com/thzero/library_client_svelte#readme",
19
19
  "scripts": {
20
- "cli-update": "./node_modules/.bin/library-cli --updateversion --pi",
21
- "cli-update-w": ".\\node_modules\\.bin\\library-cli --updateversion --pi",
20
+ "cli-update": "library-cli --updateversion --pi",
22
21
  "test": "echo \"Error: no test specified\" && exit 1"
23
22
  },
24
23
  "dependencies": {
25
- "@thzero/library_common": "^0.15",
26
24
  "@thzero/library_client": "^0.15",
25
+ "@thzero/library_common": "^0.15",
27
26
  "async-mutex": "^0.3.2",
28
27
  "mitt": "^3.0.0",
29
- "svelte-i18n": "^3.3.13"
30
- },
31
- "devDependencies": {
32
- "@thzero/library_cli": "^0.13.21"
28
+ "svelte-i18n": "^3.4.0"
33
29
  },
34
30
  "peerDependencies": {
35
31
  "@alienfast/i18next-loader": "^1",
@@ -1,121 +0,0 @@
1
- name: Build CI
2
-
3
- on:
4
- repository_dispatch:
5
- # types: [ npm, version ]
6
-
7
- jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
-
11
- if: github.actor == github.event.repository.owner.login
12
-
13
- strategy:
14
- matrix:
15
- #node-version: [8.x, 10.x, 12.x]
16
- node-version: [13.x]
17
-
18
- steps:
19
- - name: Event Input
20
- run: |
21
- echo event-type: ${{ github.event.action }}
22
- echo action: ${{ github.event.client_payload.action }}
23
- echo label: ${{ github.event.client_payload.label }}
24
- echo library: ${{ github.event.client_payload.library }}
25
- - uses: actions/checkout@v2
26
- with:
27
- ref: dev
28
- fetch-depth: 0
29
- - name: Package Output
30
- run: |
31
- cat package.json
32
- - name: Initialize Node.js ${{ matrix.node-version }}
33
- uses: actions/setup-node@v2
34
- with:
35
- node-version: ${{ matrix.node-version }}
36
- registry-url: 'https://registry.npmjs.org'
37
- - name: NCU Upgrade Check
38
- if: github.event.client_payload.action == 'npm'
39
- id: ncu-upgrade
40
- uses: thzero/ncu-upgrade@v0.23-beta
41
- - name: NCU Updated Check Output
42
- run: |
43
- echo upgraded: ${{ steps.ncu-upgrade.outputs.upgraded }}
44
- echo upgrades: ${{ steps.ncu-upgrade.outputs.upgrades }}
45
- echo action: ${{ github.event.action }}
46
- echo action_is_npm? ${{ (github.event.client_payload.action == 'npm') }}
47
- echo upgrade? ${{ (steps.ncu-upgrade.outputs.upgraded == true) }}
48
- echo npm_and_upgrade? ${{ (github.event.client_payload.action == 'npm' && steps.ncu-upgrade.outputs.upgraded == true) }}
49
- echo action_is_version? ${{ (github.event.action == 'version') }}
50
- echo upgrade? ${{ ((github.event.client_payload.action == 'npm' && steps.ncu-upgrade.outputs.upgraded == true) || github.event.action == 'version') }}
51
- - name: Node Dependencies
52
- if: ((github.event.client_payload.action == 'npm' && steps.ncu-upgrade.outputs.upgraded == true) || github.event.action == 'version')
53
- run: |
54
- npm install --no-package-lock
55
- - name: Update Package Version
56
- if: ((github.event.client_payload.action == 'npm' && steps.ncu-upgrade.outputs.upgraded == true) || github.event.action == 'version')
57
- run: |
58
- npm run cli-update -- --silent
59
- - name: Git Check
60
- id: git-changes
61
- if: success()
62
- uses: UnicornGlobal/has-changes-action@v1.0.11
63
- - name: Git Check Output
64
- run: |
65
- echo changed? ${{ steps.git-changes.outputs.changed }}
66
- echo npm commit? ${{ github.event.client_payload.action == 'npm' && steps.git-changes.outputs.changed == true }}
67
- echo !npm commit? ${{ github.event.action != 'npm' && steps.git-changes.outputs.changed == true && github.event.client_payload.label != '' }}
68
- - name: Git Diff Check
69
- id: git-diff-changes
70
- run: |
71
- git diff origin/master origin/dev --shortstat
72
- diff_check=$(git diff origin/master origin/dev --shortstat)
73
- echo $diff_check
74
- echo ${#diff_check}
75
- diff_check_length=${#diff_check}
76
- echo ::set-output name=diff_check_length::$diff_check_length
77
- - name: Git Diff Check Output
78
- run: |
79
- echo ${{ steps.git-diff-changes.outputs.diff_check_length }}- name: Git Commit NPM
80
- - name: Git Commit NPM
81
- if: github.event.client_payload.action == 'npm' && (steps.git-changes.outputs.changed == true || steps.git-diff-changes.outputs.diff_check_length > 0)
82
- run: |
83
- git config --global user.name '${{ github.repository_owner }}'
84
- git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com'
85
- git add .
86
- git commit -m "npm updates"
87
- git push
88
- - name: Git Commit Version
89
- if: github.event.action == 'version' && steps.git-changes.outputs.changed == true && github.event.client_payload.label != ''
90
- run: |
91
- git config --global user.name '${{ github.repository_owner }}'
92
- git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com'
93
- git add .
94
- git commit -m "version updates"
95
- git push
96
- - name: Requires Pull Request?
97
- run: |
98
- echo changed? ${{ steps.git-changes.outputs.changed }}
99
- - name: Pull Request
100
- id: pull-request
101
- if: steps.git-changes.outputs.changed == true && success()
102
- uses: repo-sync/pull-request@v2
103
- with:
104
- source_branch: dev
105
- destination_branch: master
106
- github_token: ${{ secrets.GITHUB_TOKEN }}
107
- - name: Pull Request Output
108
- if: steps.git-changes.outputs.changed == true && success()
109
- run: |
110
- echo ${{ steps.pull-request.outputs.pr_url }}
111
- echo ${{ steps.pull-request.outputs.pr_number }}
112
- - name: Merge pull request
113
- if: steps.git-changes.outputs.changed == true && steps.pull-request.outputs.pr_number > 0 && success()
114
- uses: sudo-bot/action-pull-request-merge@v1.1.1
115
- with:
116
- github-token: ${{ secrets.GITHUB_TOKEN }}
117
- number: ${{ steps.pull-request.outputs.pr_number }}
118
- - run: npm publish --access public
119
- if: steps.git-changes.outputs.changed == 1 && success()
120
- env:
121
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,85 +0,0 @@
1
- name: Publish CI
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- label:
7
- description: 'Label'
8
- default: 'Npm Publish - Version Update'
9
- logLevel:
10
- description: 'Log level'
11
- required: true
12
- default: 'warning'
13
-
14
- jobs:
15
- build:
16
- runs-on: ubuntu-latest
17
-
18
- if: github.actor == github.event.repository.owner.login
19
-
20
- strategy:
21
- matrix:
22
- #node-version: [8.x, 10.x, 12.x]
23
- node-version: [13.x]
24
-
25
- steps:
26
- - name: Input
27
- run: |
28
- echo label: ${{ github.event.inputs.label }}
29
- - uses: actions/checkout@v2
30
- with:
31
- ref: dev
32
- - name: Node Dependencies
33
- run: |
34
- npm install --no-package-lock
35
- - name: Package Info
36
- run: |
37
- cat package.json
38
- - name: Initialize Node.js ${{ matrix.node-version }}
39
- uses: actions/setup-node@v2
40
- with:
41
- node-version: ${{ matrix.node-version }}
42
- registry-url: 'https://registry.npmjs.org'
43
- - name: Update Package Version
44
- run: |
45
- npm run cli-update -- --silent
46
- - name: Git Check
47
- id: git-changes
48
- if: success()
49
- uses: UnicornGlobal/has-changes-action@v1.0.11
50
- - name: Git Check Output
51
- run: |
52
- echo changed? ${{ steps.git-changes.outputs.changed }}
53
- - name: Git Commit Version
54
- run: |
55
- git config --global user.name '${{ github.repository_owner }}'
56
- git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com'
57
- git add .
58
- git commit -m '${{ github.event.inputs.label }}'
59
- git push
60
- - name: Requires Pull Request?
61
- run: |
62
- echo changed? ${{ steps.git-changes.outputs.changed }}
63
- - name: Pull Request
64
- id: pull-request
65
- if: steps.git-changes.outputs.changed == true && success()
66
- uses: repo-sync/pull-request@v2
67
- with:
68
- source_branch: dev
69
- destination_branch: master
70
- github_token: ${{ secrets.GITHUB_TOKEN }}
71
- - name: Pull Request Output
72
- if: steps.git-changes.outputs.changed == true && success()
73
- run: |
74
- echo ${{ steps.pull-request.outputs.pr_url }}
75
- echo ${{ steps.pull-request.outputs.pr_number }}
76
- - name: Merge pull request
77
- if: steps.git-changes.outputs.changed == true && steps.pull-request.outputs.pr_number > 0 && success()
78
- uses: sudo-bot/action-pull-request-merge@v1.1.1
79
- with:
80
- github-token: ${{ secrets.GITHUB_TOKEN }}
81
- number: ${{ steps.pull-request.outputs.pr_number }}
82
- - run: npm publish --access public
83
- if: steps.git-changes.outputs.changed == 1 && success()
84
- env:
85
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/ncupd.bat DELETED
@@ -1,2 +0,0 @@
1
- call ncu -u
2
- call npm i
package/push.bat DELETED
@@ -1,3 +0,0 @@
1
- git add .
2
- git commit -m %1
3
- git push
package/pushnpm.bat DELETED
@@ -1,2 +0,0 @@
1
- call ncupd
2
- call pushversion "npm updates
package/pushversion.bat DELETED
@@ -1,4 +0,0 @@
1
- call npm run cli-update-w -- --silent
2
- call git add .
3
- call git commit -m %1
4
- call git push
package/version.bat DELETED
@@ -1 +0,0 @@
1
- @npm run cli-update