@cocreate/utils 1.21.3 → 1.21.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.
- package/.github/workflows/automated.yml +38 -15
- package/CHANGELOG.md +14 -0
- package/CoCreate.config.js +4 -6
- package/package.json +3 -6
|
@@ -81,19 +81,42 @@ jobs:
|
|
|
81
81
|
destination: /utils/latest
|
|
82
82
|
acl: public-read
|
|
83
83
|
invalidations: true
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
|
99
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 }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.21.5](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.21.4...v1.21.5) (2023-06-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* renamed hosts to host. the value can be a string or an array of strings ([9a2dff9](https://github.com/CoCreate-app/CoCreate-utils/commit/9a2dff94863a0f7e3f7361b817d9d4dfb1753f3c))
|
|
7
|
+
|
|
8
|
+
## [1.21.4](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.21.3...v1.21.4) (2023-06-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([eff26e1](https://github.com/CoCreate-app/CoCreate-utils/commit/eff26e13969e34fdc5f27bb2bd75a4041f06578f))
|
|
14
|
+
|
|
1
15
|
## [1.21.3](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.21.2...v1.21.3) (2023-06-04)
|
|
2
16
|
|
|
3
17
|
|
package/CoCreate.config.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"host": ""
|
|
6
|
-
},
|
|
2
|
+
"organization_id": "",
|
|
3
|
+
"key": "",
|
|
4
|
+
"host": "",
|
|
7
5
|
"sources": [
|
|
8
6
|
{
|
|
9
7
|
"collection": "files",
|
|
@@ -12,7 +10,7 @@ module.exports = {
|
|
|
12
10
|
"name": "index.html",
|
|
13
11
|
"path": "/docs/utils/index.html",
|
|
14
12
|
"src": "{{./docs/index.html}}",
|
|
15
|
-
"
|
|
13
|
+
"host": [
|
|
16
14
|
"*",
|
|
17
15
|
"general.cocreate.app"
|
|
18
16
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/utils",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.5",
|
|
4
4
|
"description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utils",
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
"start": "npx webpack --config webpack.config.js",
|
|
28
28
|
"build": "NODE_ENV=production npx webpack --config webpack.config.js",
|
|
29
29
|
"dev": "npx webpack --config webpack.config.js --watch",
|
|
30
|
-
"
|
|
31
|
-
"hosting": "node ./node_modules/@cocreate/hosting/src/index.js"
|
|
30
|
+
"postinstall": "node ./node_modules/@cocreate/cli/check-coc.js"
|
|
32
31
|
},
|
|
33
32
|
"repository": {
|
|
34
33
|
"type": "git",
|
|
@@ -48,6 +47,7 @@
|
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@babel/core": "^7.9.6",
|
|
50
49
|
"@babel/preset-env": "^7.9.6",
|
|
50
|
+
"@cocreate/cli": "^1.29.3",
|
|
51
51
|
"babel-loader": "^8.1.0",
|
|
52
52
|
"clean-webpack-plugin": "^3.0.0",
|
|
53
53
|
"file-loader": "^6.2.0",
|
|
@@ -57,8 +57,5 @@
|
|
|
57
57
|
"webpack": "^5.24.4",
|
|
58
58
|
"webpack-cli": "^4.5.0",
|
|
59
59
|
"webpack-log": "^3.0.1"
|
|
60
|
-
},
|
|
61
|
-
"dependencies": {
|
|
62
|
-
"@cocreate/docs": "^1.7.15"
|
|
63
60
|
}
|
|
64
61
|
}
|