@cocreate/local-storage 1.9.0 → 1.9.1

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,123 +1,70 @@
1
- name: Automated
2
- "on":
3
- push:
4
- branches:
5
- - master
6
- jobs:
7
- about:
8
- runs-on: ubuntu-latest
9
- steps:
10
- - name: Checkout
11
- uses: actions/checkout@v3
12
- - name: setup nodejs
13
- uses: actions/setup-node@v3
14
- with:
15
- node-version: 16
16
- - name: Jaid/action-sync-node-meta
17
- uses: jaid/action-sync-node-meta@v1.4.0
18
- with:
19
- direction: overwrite-github
20
- githubToken: "${{ secrets.GITHUB }}"
21
- release:
22
- runs-on: ubuntu-latest
23
- steps:
24
- - name: Checkout
25
- uses: actions/checkout@v3
26
- - name: setup nodejs
27
- uses: actions/setup-node@v3
28
- with:
29
- node-version: 14
30
- - name: Semantic Release
31
- uses: cycjimmy/semantic-release-action@v3
32
- id: semantic
33
- with:
34
- extra_plugins: |
35
- @semantic-release/changelog
36
- @semantic-release/git
37
- @semantic-release/github
38
- env:
39
- GITHUB_TOKEN: "${{ secrets.GITHUB }}"
40
- NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41
- outputs:
42
- new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43
- new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44
- cdn:
45
- runs-on: ubuntu-latest
46
- needs: release
47
- if: needs.release.outputs.new_release_published == 'true'
48
- env:
49
- VERSION: "${{ needs.release.outputs.new_release_version }}"
50
- steps:
51
- - name: Checkout
52
- uses: actions/checkout@v3
53
- - name: setup nodejs
54
- uses: actions/setup-node@v3
55
- with:
56
- node-version: 16
57
-
58
- - name: yarn install
59
- run: >
60
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
61
- .npmrc
62
-
63
- yarn install
64
- - name: yarn build
65
- run: yarn build
66
- - name: upload bundle as version
67
- uses: CoCreate-app/CoCreate-s3@master
68
- with:
69
- aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
70
- aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
71
- bucket: testcrudbucket
72
- source: ./dist
73
- destination: "/local-storage/${{env.VERSION}}"
74
- acl: public-read
75
- - name: upload bundle as latest
76
- uses: CoCreate-app/CoCreate-s3@master
77
- with:
78
- aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
79
- aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
80
- bucket: testcrudbucket
81
- source: ./dist
82
- destination: /local-storage/latest
83
- acl: public-read
84
- invalidations: true
85
- upload:
86
- runs-on: ubuntu-latest
87
-
88
- steps:
89
- - name: Checkout
90
- uses: actions/checkout@v3
91
-
92
- - name: Setup Node.js
93
- uses: actions/setup-node@v3
94
- with:
95
- node-version: 16
96
-
97
- - name: Get Environment Variables
98
- run: |
99
- echo "organization_id=${{ secrets.COCREATE_ORGANIZATION_ID }}" >> $GITHUB_ENV
100
- echo "key=${{ secrets.COCREATE_KEY }}" >> $GITHUB_ENV
101
- echo "host=${{ secrets.COCREATE_HOST }}" >> $GITHUB_ENV
102
-
103
- - name: Install @cocreate/cli
104
- run: npm install -g @cocreate/cli
105
-
106
- - name: CoCreate CLI Upload
107
- run: coc upload
108
-
109
- # docs:
110
- # runs-on: ubuntu-latest
111
- # steps:
112
- # - name: Checkout
113
- # uses: actions/checkout@v3
114
- # - name: setup nodejs
115
- # uses: actions/setup-node@v3
116
- # with:
117
- # node-version: 16
118
- # - name: update documentation
119
- # uses: CoCreate-app/CoCreate-docs@master
120
- # env:
121
- # organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }}
122
- # key: ${{ secrets.COCREATE_KEY }}
123
- # host: ${{ secrets.COCREATE_HOST }}
1
+ name: Automated Workflow
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ jobs:
7
+ about:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v3
12
+ - name: Setup Node.js
13
+ uses: actions/setup-node@v3
14
+ with:
15
+ node-version: 16
16
+ - name: Jaid/action-sync-node-meta
17
+ uses: jaid/action-sync-node-meta@v1.4.0
18
+ with:
19
+ direction: overwrite-github
20
+ githubToken: "${{ secrets.GITHUB }}"
21
+ release:
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Checkout
25
+ uses: actions/checkout@v3
26
+ - name: Setup Node.js
27
+ uses: actions/setup-node@v3
28
+ with:
29
+ node-version: 14
30
+ - name: Semantic Release
31
+ uses: cycjimmy/semantic-release-action@v3
32
+ id: semantic
33
+ with:
34
+ extra_plugins: |
35
+ @semantic-release/changelog
36
+ @semantic-release/git
37
+ @semantic-release/github
38
+ env:
39
+ GITHUB_TOKEN: "${{ secrets.GITHUB }}"
40
+ NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41
+ outputs:
42
+ new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43
+ new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44
+ upload:
45
+ runs-on: ubuntu-latest
46
+ needs: release
47
+ if: needs.release.outputs.new_release_published == 'true'
48
+ env:
49
+ VERSION: "${{ needs.release.outputs.new_release_version }}"
50
+ steps:
51
+ - name: Checkout
52
+ uses: actions/checkout@v3
53
+ - name: Setup Node.js
54
+ uses: actions/setup-node@v3
55
+ with:
56
+ node-version: 16
57
+ - name: Set npm registry auth
58
+ run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
59
+ - name: Install dependencies
60
+ run: yarn install
61
+ - name: Build
62
+ run: yarn build
63
+ - name: Set Environment Variables
64
+ run: |
65
+ echo "organization_id=${{ secrets.COCREATE_ORGANIZATION_ID }}" >> $GITHUB_ENV
66
+ echo "key=${{ secrets.COCREATE_KEY }}" >> $GITHUB_ENV
67
+ echo "host=${{ secrets.COCREATE_HOST }}" >> $GITHUB_ENV
68
+ - name: CoCreate Upload
69
+ run: coc upload
70
+
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.9.1](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.9.0...v1.9.1) (2023-08-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([20481f8](https://github.com/CoCreate-app/CoCreate-local-storage/commit/20481f88ad7572cf53fe8bb3cf6886866475eb8c))
7
+ * replace cdn with /dist ([fd00815](https://github.com/CoCreate-app/CoCreate-local-storage/commit/fd00815337412802601ad2708eb0ff62ed8945fb))
8
+ * update file uploader ([85b0bcf](https://github.com/CoCreate-app/CoCreate-local-storage/commit/85b0bcfc4916ca684711912ea9109142fa65b53d))
9
+
1
10
  # [1.9.0](https://github.com/CoCreate-app/CoCreate-local-storage/compare/v1.8.0...v1.9.0) (2023-08-17)
2
11
 
3
12
 
package/demo/index.html CHANGED
@@ -86,6 +86,6 @@
86
86
  </form>
87
87
 
88
88
  <!--<script src="../dist/CoCreate-local-storage.js"></script>-->
89
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
89
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
90
90
  </body>
91
91
  </html>
package/docs/index.html CHANGED
@@ -364,6 +364,6 @@
364
364
  </main>
365
365
 
366
366
  <script src="./apikey.js"></script>
367
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
367
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
368
368
  </body>
369
369
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/local-storage",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "A Simple component similar to CoCreate-input & CoCreate-fetch which Save and fetch data for inputs, textarea, selects from localstorage. Easily configured using HTML5 attributes and/or JavaScript API",
5
5
  "keywords": [
6
6
  "local-storage",