Skip to content

Commit b7a6997

Browse files
committed
merge master
2 parents 368339c + 3a40fe7 commit b7a6997

File tree

9 files changed

+3544
-67
lines changed

9 files changed

+3544
-67
lines changed

.github/workflows/automated.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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@v2
12+
- name: Jaid/action-sync-node-meta
13+
uses: jaid/[email protected]
14+
with:
15+
direction: overwrite-github
16+
githubToken: "${{ secrets.GITHUB }}"
17+
release:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
- name: Semantic Release
23+
uses: cycjimmy/semantic-release-action@v2
24+
id: semantic
25+
with:
26+
extra_plugins: |
27+
@semantic-release/changelog
28+
@semantic-release/npm
29+
@semantic-release/git
30+
@semantic-release/github
31+
env:
32+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
33+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
34+
outputs:
35+
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
36+
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
37+
# cdn:
38+
# runs-on: ubuntu-latest
39+
# needs: release
40+
# if: needs.release.outputs.new_release_published == 'true'
41+
# env:
42+
# VERSION: "${{ needs.release.outputs.new_release_version }}"
43+
# steps:
44+
# - name: Checkout
45+
# uses: actions/checkout@v2
46+
# - name: setup nodejs
47+
# uses: actions/setup-node@v2
48+
# with:
49+
# node-version: 14.15.4
50+
# - name: yarn install
51+
# run: >
52+
# echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
53+
# .npmrc
54+
55+
# yarn install
56+
# - name: yarn build
57+
# run: yarn build
58+
# - name: upload bundle as version
59+
# uses: CoCreate-app/CoCreate-s3@master
60+
# with:
61+
# aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
62+
# aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
63+
# bucket: testcrudbucket
64+
# source: ./dist
65+
# destination: "/dashboard/${{env.VERSION}}"
66+
# acl: public-read
67+
# - name: upload bundle as latest
68+
# uses: CoCreate-app/CoCreate-s3@master
69+
# with:
70+
# aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
71+
# aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
72+
# bucket: testcrudbucket
73+
# source: ./dist
74+
# destination: /dashboard/latest
75+
# acl: public-read
76+
# invalidations: true
77+
docs:
78+
runs-on: ubuntu-latest
79+
steps:
80+
- name: Checkout
81+
uses: actions/checkout@v2
82+
83+
- name: update documentation
84+
uses: CoCreate-app/CoCreate-docs@master

.github/workflows/manual.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Manual Workflow
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
invalidations:
6+
description: |
7+
If set to 'true', invalidates previous upload.
8+
default: "true"
9+
required: true
10+
11+
jobs:
12+
cdn:
13+
runs-on: ubuntu-latest
14+
env:
15+
DRY_RUN: ${{ github.event.inputs.dry_run }}
16+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
17+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v2
22+
- name: setup nodejs
23+
uses: actions/setup-node@v2
24+
with:
25+
node-version: 14.15.4
26+
- name: yarn install
27+
run: >
28+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
29+
.npmrc
30+
31+
yarn install
32+
- name: yarn build
33+
run: yarn build
34+
- name: upload latest bundle
35+
uses: CoCreate-app/CoCreate-s3@master
36+
with:
37+
aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
38+
aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
39+
distributionId: "${{ secrets.DISTRIBUTION_ID }}"
40+
bucket: testcrudbucket
41+
source: ./dist
42+
destination: /dashboard/latest
43+
acl: public-read
44+
invalidations: ${{ github.event.inputs.invalidations }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# ignore
22
node_modules
3+
dist
4+
.npmrc

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,84 @@
1+
## [1.0.11](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.10...v1.0.11) (2021-06-30)
12

3+
4+
### Bug Fixes
5+
6+
* Update readme.md ([8e01a35](https://github.com/CoCreate-app/CoCreate-dashboard/commit/8e01a35883e48057f20d5d8f8bb84edf5c8d0e97))
7+
8+
## [1.0.10](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.9...v1.0.10) (2021-06-30)
9+
10+
11+
### Bug Fixes
12+
13+
* automated and manual workflows ([17312d9](https://github.com/CoCreate-app/CoCreate-dashboard/commit/17312d9b66da6c8a92d59274da957bc74b69a2ee))
14+
15+
## [1.0.9](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.8...v1.0.9) (2021-06-25)
16+
17+
18+
### Bug Fixes
19+
20+
* latest version numbers applied to all cocreate packages ([4217287](https://github.com/CoCreate-app/CoCreate-dashboard/commit/421728770d0f0ac96b94286a92c0283664099f9c))
21+
22+
## [1.0.8](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.7...v1.0.8) (2021-06-24)
23+
24+
25+
### Bug Fixes
26+
27+
* package versioningto 1.0.0 ([b3a12ad](https://github.com/CoCreate-app/CoCreate-dashboard/commit/b3a12ad245a34ecd717a0bee5b238c56f946f34f))
28+
29+
## [1.0.7](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.6...v1.0.7) (2021-06-24)
30+
31+
32+
### Bug Fixes
33+
34+
* update all [@cocreate](https://github.com/cocreate) to use latest versions ([773262e](https://github.com/CoCreate-app/CoCreate-dashboard/commit/773262e89881924348d17c1faaab51372cc41733))
35+
36+
## [1.0.6](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.5...v1.0.6) (2021-06-17)
37+
38+
39+
### Bug Fixes
40+
41+
* added header for seo ([d53a631](https://github.com/CoCreate-app/CoCreate-dashboard/commit/d53a631b2c24efb99fcda3fb19b060e09211c088))
42+
43+
## [1.0.5](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.4...v1.0.5) (2021-06-06)
44+
45+
46+
### Bug Fixes
47+
48+
* update packages, add uuid, add data-parse to demos ([55dceaf](https://github.com/CoCreate-app/CoCreate-dashboard/commit/55dceaf9d94207c251392d86e4deea53f67f5076))
49+
50+
## [1.0.4](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.3...v1.0.4) (2021-05-08)
51+
52+
53+
### Bug Fixes
54+
55+
* add css auto parse and save to docs. ([f8739a1](https://github.com/CoCreate-app/CoCreate-dashboard/commit/f8739a183d8ff7bfe248664b419e538b974ac3d9))
56+
57+
## [1.0.3](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.2...v1.0.3) (2021-04-27)
58+
59+
60+
### Bug Fixes
61+
62+
* add host in docs ([83b5d25](https://github.com/CoCreate-app/CoCreate-dashboard/commit/83b5d25e2e0ad9bbf817161f701066ce7630de8b))
63+
64+
## [1.0.2](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.1...v1.0.2) (2021-04-27)
65+
66+
67+
### Bug Fixes
68+
69+
* Update to readme, demo, added cdn scripts ([b959610](https://github.com/CoCreate-app/CoCreate-dashboard/commit/b9596103da0b9e6a7d72ff6a12fb30a3c85387f5))
70+
71+
## [1.0.1](https://github.com/CoCreate-app/CoCreate-dashboard/compare/v1.0.0...v1.0.1) (2021-04-23)
72+
73+
74+
### Bug Fixes
75+
76+
* readme and documentation. Removed securitykeys ([5708d4c](https://github.com/CoCreate-app/CoCreate-dashboard/commit/5708d4c94b61874fe2548c3326a2586f54e1b078))
77+
78+
# 1.0.0 (2021-04-19)
79+
80+
81+
### Bug Fixes
82+
83+
* ci and build process ([5cd81c0](https://github.com/CoCreate-app/CoCreate-dashboard/commit/5cd81c0048fc29896dba7a41e2b0932207181f79))
84+
* npm publish and cdn deployment ([8ad7522](https://github.com/CoCreate-app/CoCreate-dashboard/commit/8ad7522eaccbbf85bdb0b1c63da39312c644cf80))

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
A simple dashboard component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/dashboard)
44

5-
![GitHub file size in bytes](https://img.shields.io/github/size/CoCreate-app/CoCreate-dashboard/dist/CoCreate-dashboard.min.js?label=minified%20size&style=for-the-badge)
6-
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-dashboard?style=for-the-badge)
7-
![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-dashboard?style=for-the-badge)
8-
![GitHub labels](https://img.shields.io/github/labels/CoCreate-app/CoCreate-dashboard/help%20wanted?style=for-the-badge)
5+
![minified](https://img.badgesize.io/https://cdn.cocreate.app/dashboard/latest/CoCreate-dashboard.min.js?style=flat-square&label=minified&color=orange)
6+
![gzip](https://img.badgesize.io/https://cdn.cocreate.app/dashboard/latest/CoCreate-dashboard.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
7+
![brotli](https://img.badgesize.io/https://cdn.cocreate.app/dashboard/latest/CoCreate-dashboard.min.js?compression=brotli&style=flat-square&label=brotli)
8+
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-dashboard?style=flat-square)
9+
![License](https://img.shields.io/github/license/CoCreate-app/CoCreate-dashboard?style=flat-square)
10+
![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
911

1012
![CoCreate-dashboard](https://cdn.cocreate.app/docs/CoCreate-dashboard.gif)
1113

@@ -26,7 +28,13 @@ For a complete guide and working demo refer to the [doumentation](https://cocrea
2628
## NPM
2729

2830
```shell
29-
$ npm install @cocreate/dashboard
31+
$ npm i @cocreate/dashboard
32+
```
33+
34+
## yarn
35+
36+
```shell
37+
$ yarn install @cocreate/dashboard
3038
```
3139

3240
# Table of Contents

0 commit comments

Comments
 (0)