Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Ixo committed Nov 3, 2022
2 parents 4cdf4f9 + 2925dd0 commit dadf8bc
Show file tree
Hide file tree
Showing 700 changed files with 269,565 additions and 51,010 deletions.
13 changes: 13 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": "0.1",
"language": "en",
"words": ["esbuild", "rmrf", "gjuchault", "socio", "octocat"],
"flagWords": [],
"ignorePaths": [
"package.json",
"package-lock.json",
"yarn.lock",
"tsconfig.json",
"node_modules/**"
]
}
3 changes: 3 additions & 0 deletions .czrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
58 changes: 36 additions & 22 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,39 @@
{
"env": {
"commonjs": true,
"es2017": true,
"shared-node-browser": true
},
"parserOptions": {
"ecmaVersion": 9
},
"extends": "eslint:recommended",
"rules": {
"max-len": [2, 80],
"indent": [2, 4],
"linebreak-style": [2, "unix"],
"quotes": [2, "single"],
"semi": [2, "never"],
"comma-dangle": [2, "always-multiline"],
"no-unused-vars": 1,
"object-curly-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"keyword-spacing": 2,
"no-console": 0,
"quote-props": [1, "as-needed"]
"root": true,
"env": {
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.lint.json"
},
"plugins": ["import", "@typescript-eslint"],
"ignorePatterns": ["scripts/*", "ava.config.mjs", "esbuild-hook.js"],
"extends": [
"eslint:recommended",
"plugin:eslint-comments/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"settings": {
"import/resolver": {
"typescript": {
"project": "tsconfig.json"
}
}
},
"rules": {
"import/order": [
"error",
{
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Ubuntu 22.04, macOS 11.4]
- Node version [e.g 16.4.2]
- Code Version [e.g. 1.1.0]

**Additional context**
Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/demondayza/ixo-client-sdk/discussions
about: Please discuss non bug-related topics there
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Fixes #

## Description of the changes

-
-
-
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
43 changes: 43 additions & 0 deletions .github/workflows/ixo-client-sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ixo-client-sdk

on: [push]

env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
ixo-client-sdk:
runs-on: ubuntu-latest

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- run: npm ci

- name: Dependencies audit
run: npm audit

- name: Build
run: npm run build

- name: Format check
run: npm run format:check

- name: Lint check
run: npm run lint:check

- name: Spell check
run: npm run spell:check

- name: Test
run: npm run test

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release
38 changes: 38 additions & 0 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: update docs
on:
push:
branches: [develop]
workflow_dispatch:
permissions:
contents: write

jobs:
ixo-client-sdk-docs:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v2

- name: 🏗 Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: yarn

- name: install deps
run: yarn add typedoc

- name: generate docs
run: npx typedoc src/index.ts

# run: echo ${GITHUB_REF##*/}

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
branch: develop
target-folder: docs
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/node_modules
package-lock.json
build/
node_modules/
.nyc_output/
coverage/
.DS_Store
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.nyc_output/
coverage/
25 changes: 25 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"master",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"repositoryUrl": "https://github.com/ixofoundation/ixo-client-sdk.git",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// only use words from .cspell.json
"cSpell.userWords": [],
"cSpell.enabled": true,
"editor.formatOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
Loading

0 comments on commit dadf8bc

Please sign in to comment.