Skip to content

Commit

Permalink
refactor: Release 1 prep (#23)
Browse files Browse the repository at this point in the history
* delete old code

* first stab

* build setup

* documentation

* doc changes

* save changes

* Implement transaction (#24)

* transaction

* transaction

* implement glue code for transactions

* update docs

* apply transaction changes

* fix prettier run

* fix lint

* Implement effects (#25)

* start

* effects

* selectors (#26)

* selectors

* better external internal fields

* add some tests

* Fix/update rename (#27)

* save original

* closes bangle-io/bangle-issues-internal#33

* fixes

* add txn docs

* add docs

* Implement refs (#29)

* closes bangle-io/bangle-issues-internal#36

* implement ref

* add docs

* send docs (#30)
  • Loading branch information
kepta committed Oct 3, 2023
1 parent ba2e6c2 commit 80ae867
Show file tree
Hide file tree
Showing 120 changed files with 8,310 additions and 8,611 deletions.
12 changes: 0 additions & 12 deletions .eslintignore

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
run: pnpm lint
- name: test
run: pnpm test
- run: pnpx semantic-release
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - run: pnpx semantic-release
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ docs/.vuepress/dist

# Generated
/test/types/autogen*.ts
tsconfig.tsbuildinfo

# Eslint
.eslintcache
277 changes: 0 additions & 277 deletions API.md

This file was deleted.

24 changes: 12 additions & 12 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand All @@ -59,7 +59,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
reported to the community leaders responsible for enforcement at
cubist.balsa_0p@icloud.com (address to Kushan).
All complaints will be reviewed and investigated promptly and fairly.

Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
17 changes: 12 additions & 5 deletions .eslintrc.cjs → config/eslint-config-custom/base.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// eslint-disable-next-line no-undef
const { resolve } = require('node:path');

const project = resolve(process.cwd(), 'tsconfig.json');

module.exports = {
extends: [
'eslint:recommended',
Expand All @@ -7,12 +10,16 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
parserOptions: {
project: ['./tsconfig.json'],
tsconfigRootDir: __dirname,
project,
},
settings: {
'import/resolver': {
typescript: {
project,
},
},
},

rules: {
'@typescript-eslint/no-unsafe-assignment': 'off',
'prefer-const': 'off',
Expand Down

0 comments on commit 80ae867

Please sign in to comment.