Skip to content

Commit 0d8f3fe

Browse files
author
Anita Steiner
authored
Merge pull request #5 from datavisyn/release-1.0.0
Release 1.0.0
2 parents 7cc3e93 + cdd55a9 commit 0d8f3fe

File tree

118 files changed

+23670
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+23670
-5
lines changed

.circleci/config.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
version: 2.1
2+
3+
executors:
4+
node-executor:
5+
working_directory: ~/visyn
6+
docker:
7+
- image: circleci/node:16-buster
8+
9+
jobs:
10+
build:
11+
executor: node-executor
12+
steps:
13+
- checkout
14+
- run:
15+
name: Show Node.js and npm version
16+
command: |
17+
node -v
18+
npm -v
19+
- restore_cache:
20+
key: deps-{{ .Branch }}-{{ checksum "package.json" }}
21+
- run:
22+
name: Install npm dependencies
23+
command: npm install
24+
- save_cache:
25+
key: deps-{{ .Branch }}-{{ checksum "package.json" }}
26+
paths: ./node_modules
27+
- run:
28+
name: Show installed npm dependencies
29+
command: npm list --depth=1 || true
30+
- run:
31+
name: Run linting
32+
command: npm run lint
33+
- run:
34+
name: Run test
35+
command: npm run test
36+
- persist_to_workspace:
37+
root: ~/visyn
38+
paths: .
39+
publish:
40+
executor: node-executor
41+
steps:
42+
- attach_workspace:
43+
at: ~/visyn
44+
- run:
45+
name: Authentication
46+
command: |
47+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
48+
- run:
49+
name: Publish package
50+
command: npm publish
51+
workflows:
52+
version: 2.1
53+
# build-nightly:
54+
# triggers:
55+
# - schedule:
56+
# cron: "15 1 * * 1-5" # "At 01:15 on every day-of-week from Monday through Friday.”, see: https://crontab.guru/#15_1_*_*_1-5
57+
# filters:
58+
# branches:
59+
# only:
60+
# - develop
61+
# jobs:
62+
# - build
63+
build-branches-only:
64+
jobs:
65+
- build:
66+
filters:
67+
tags:
68+
ignore: /.*/
69+
build-publish-tag:
70+
jobs:
71+
- build:
72+
filters:
73+
branches:
74+
ignore: /.*/
75+
tags:
76+
only: /^v.*/
77+
- publish:
78+
context:
79+
- org-public
80+
requires:
81+
- build
82+
filters:
83+
branches:
84+
ignore: /.*/
85+
tags:
86+
only: /^v.*/

.eslintrc.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = {
2+
plugins: ['prettier'],
3+
env: {
4+
browser: true,
5+
commonjs: true,
6+
es2021: true,
7+
},
8+
extends: ['airbnb-base'],
9+
parserOptions: {
10+
ecmaVersion: 'latest',
11+
},
12+
rules: {
13+
'max-len': 'off',
14+
},
15+
overrides: [
16+
{
17+
files: ['tests/**/*.test.js'],
18+
env: {
19+
jest: true,
20+
},
21+
},
22+
],
23+
};

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* @datavisyn/core
2+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: 🐛Bug Report
3+
about: Create a bug report to help us improve
4+
title: ""
5+
labels: ["type: bug"]
6+
assignees: ""
7+
8+
---
9+
10+
### Environment
11+
12+
* Release number or git hash:
13+
* Browser:
14+
* Deployed / Local:
15+
---
16+
17+
### Steps to reproduce the bug
18+
19+
1. Open a list of ... / Search ...
20+
2. Do something else
21+
22+
### Observed Behavior
23+
24+
> Please provide a short description of the actual behavior you observed
25+
> If applicable, add screenshots to help explain your problem.
26+
> - Any unexpected output or action (or lack of expected output or action)
27+
> - Web browser console errors (including tracebacks)
28+
> - Server errors (relevant messages and tracebacks)
29+
> - Static or animated images showing the UI behavior
30+
31+
### Expected Behavior
32+
33+
> Please provide a short description which behavior you expected from your steps
34+
35+
Thanks for taking the time to fill out this bug report 🤗
36+
Make sure there aren't any open/closed issues for this topic 😃
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: ✨Feature Request
3+
about: Request a new feature or enhancement
4+
title: ""
5+
labels: ["type: feature"]
6+
---
7+
8+
## Short description
9+
10+
Please provide a short description which summarizes the idea behind this feature request and why this is useful.
11+
12+
## User stories
13+
14+
* As a *user*, I want to ... so that ...
15+
16+
17+
Please make sure this feature request hasn't been already submitted by someone by looking through other open/closed issues 😃

.github/pull_request_template.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Closes *list issues numbers here*
2+
3+
### Developer Checklist (Definition of Done)
4+
5+
**Issue**
6+
7+
- [ ] All acceptance criteria from the issue are met
8+
- [ ] Tested in latest Chrome/Firefox
9+
10+
**UI/UX/Vis**
11+
12+
- [ ] Requires UI/UX/Vis review
13+
- [ ] Reviewer(s) are notified (_tag assignees_)
14+
- [ ] Review has occurred (_link to notes_)
15+
- [ ] Feedback is included in this PR
16+
- [ ] Reviewer(s) approve of concept and design
17+
18+
**Code**
19+
20+
- [ ] Branch is up-to-date with the branch to be merged with, i.e., develop
21+
- [ ] Code is cleaned up and formatted
22+
- [ ] Unit tests are written (frontend/backend if applicable)
23+
- [ ] Integration tests are written (if applicable)
24+
25+
**PR**
26+
27+
- [ ] Descriptive title for this pull request is provided (will be used for release notes later)
28+
- [ ] Reviewer and assignees are defined
29+
- [ ] Add type label (e.g., *bug*, *feature*) to this pull request
30+
- [ ] Add release label (e.g., `release: minor`) to this PR following [semver](https://semver.org/)
31+
- [ ] The PR is connected to the corresponding issue (via `Closes #...`)
32+
- [ ] [Summary of changes](#summary-of-changes) is written
33+
34+
35+
### Summary of changes
36+
37+
-
38+
39+
### Screenshots
40+
41+
42+
### Additional notes for the reviewer(s)
43+
44+
-
45+
Thanks for creating this pull request 🤗

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: build
2+
3+
on: [push, workflow_dispatch]
4+
5+
jobs:
6+
build:
7+
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@node16
8+
secrets: inherit

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: release
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
release:
7+
uses: datavisyn/github-workflows/.github/workflows/release-source.yml@main
8+
secrets: inherit

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
package-lock.json
3+
4+
# yarn
5+
.pnp.*
6+
.yarn/*
7+
!.yarn/patches
8+
!.yarn/plugins
9+
!.yarn/releases
10+
!.yarn/sdks
11+
!.yarn/versions

.prettierrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
endOfLine: 'auto',
3+
singleQuote: true,
4+
trailingComma: 'all',
5+
printWidth: 160,
6+
};

0 commit comments

Comments
 (0)