@cocreate/resize 1.6.0 → 1.7.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.
- package/.github/workflows/automated.yml +70 -122
- package/CHANGELOG.md +16 -0
- package/demo/dashboard.html +2 -2
- package/demo/index.html +1 -1
- package/docs/index.html +1 -1
- package/package.json +2 -2
|
@@ -1,122 +1,70 @@
|
|
|
1
|
-
name: Automated
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
source: ./dist
|
|
72
|
-
destination: "/resize/${{env.VERSION}}"
|
|
73
|
-
acl: public-read
|
|
74
|
-
- name: upload bundle as latest
|
|
75
|
-
uses: CoCreate-app/CoCreate-s3@master
|
|
76
|
-
with:
|
|
77
|
-
aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
|
|
78
|
-
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
|
|
79
|
-
bucket: testcrudbucket
|
|
80
|
-
source: ./dist
|
|
81
|
-
destination: /resize/latest
|
|
82
|
-
acl: public-read
|
|
83
|
-
invalidations: true
|
|
84
|
-
upload:
|
|
85
|
-
runs-on: ubuntu-latest
|
|
86
|
-
|
|
87
|
-
steps:
|
|
88
|
-
- name: Checkout
|
|
89
|
-
uses: actions/checkout@v3
|
|
90
|
-
|
|
91
|
-
- name: Setup Node.js
|
|
92
|
-
uses: actions/setup-node@v3
|
|
93
|
-
with:
|
|
94
|
-
node-version: 16
|
|
95
|
-
|
|
96
|
-
- name: Get Environment Variables
|
|
97
|
-
run: |
|
|
98
|
-
echo "organization_id=${{ secrets.COCREATE_ORGANIZATION_ID }}" >> $GITHUB_ENV
|
|
99
|
-
echo "key=${{ secrets.COCREATE_KEY }}" >> $GITHUB_ENV
|
|
100
|
-
echo "host=${{ secrets.COCREATE_HOST }}" >> $GITHUB_ENV
|
|
101
|
-
|
|
102
|
-
- name: Install @cocreate/cli
|
|
103
|
-
run: npm install -g @cocreate/cli
|
|
104
|
-
|
|
105
|
-
- name: CoCreate CLI Upload
|
|
106
|
-
run: coc upload
|
|
107
|
-
|
|
108
|
-
# docs:
|
|
109
|
-
# runs-on: ubuntu-latest
|
|
110
|
-
# steps:
|
|
111
|
-
# - name: Checkout
|
|
112
|
-
# uses: actions/checkout@v3
|
|
113
|
-
# - name: setup nodejs
|
|
114
|
-
# uses: actions/setup-node@v3
|
|
115
|
-
# with:
|
|
116
|
-
# node-version: 16
|
|
117
|
-
# - name: update documentation
|
|
118
|
-
# uses: CoCreate-app/CoCreate-docs@master
|
|
119
|
-
# env:
|
|
120
|
-
# organization_id: ${{ secrets.COCREATE_ORGANIZATION_ID }}
|
|
121
|
-
# key: ${{ secrets.COCREATE_KEY }}
|
|
122
|
-
# 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,19 @@
|
|
|
1
|
+
## [1.7.1](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.7.0...v1.7.1) (2023-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* /dist/CoCreate.js updated to https://CoCreate.app/dist/CoCreate.js ([dde1d75](https://github.com/CoCreate-app/CoCreate-resize/commit/dde1d75a4c8bf5e88dc2d87732a12a3e8a22317d))
|
|
7
|
+
* replace cdn with /dist ([5251f77](https://github.com/CoCreate-app/CoCreate-resize/commit/5251f7713a0ee66e584b28802aceadf71bb03ed7))
|
|
8
|
+
* update file uploader ([939922e](https://github.com/CoCreate-app/CoCreate-resize/commit/939922e89226db646491eeff7afc59e516ca4dbd))
|
|
9
|
+
|
|
10
|
+
# [1.7.0](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.6.0...v1.7.0) (2023-08-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* bump cocreate dependencies for the latest updates and features ([2bd3015](https://github.com/CoCreate-app/CoCreate-resize/commit/2bd30152d2f5769c0c03dfea1ee477387b841507))
|
|
16
|
+
|
|
1
17
|
# [1.6.0](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.5.29...v1.6.0) (2023-08-16)
|
|
2
18
|
|
|
3
19
|
|
package/demo/dashboard.html
CHANGED
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
</button>
|
|
479
479
|
</main>
|
|
480
480
|
|
|
481
|
-
<script src="https://
|
|
482
|
-
<!-- <script src="https://
|
|
481
|
+
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
|
|
482
|
+
<!-- <script src="https://CoCreate.app/dist/CoCreate.js"></script> -->
|
|
483
483
|
</body>
|
|
484
484
|
</html>
|
package/demo/index.html
CHANGED
package/docs/index.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/resize",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "A light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"resize",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"webpack-log": "^3.0.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@cocreate/observer": "^1.
|
|
61
|
+
"@cocreate/observer": "^1.9.0"
|
|
62
62
|
}
|
|
63
63
|
}
|