Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ eslint.config.mjs
justfile
tsconfig.dev.json
.nvmrc
.github
#.github
.prettierignore


Expand Down
40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

25 changes: 0 additions & 25 deletions .github/dependabot.yml

This file was deleted.

97 changes: 27 additions & 70 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,83 +3,40 @@
on: [push]

jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
compile:
runs-on: ubuntu-latest

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: "18.18.0"
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup yarn
run: npm install -g yarn
- name: Set up node
uses: actions/setup-node@v4

- name: Install dependencies
run: yarn install
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Compile
run: yarn build
- name: Install dependencies
run: pnpm install

test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Compile
run: pnpm build

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: "18.18.0"
test:
runs-on: ubuntu-latest

- name: Setup yarn
run: npm install -g yarn
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Install dependencies
run: yarn install
- name: Set up node
uses: actions/setup-node@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Check for formatting issues
run: yarn prettier . --check --ignore-unknown
- name: Install dependencies
run: pnpm install

- name: Run tests
run: yarn test

- name: Run browser tests
run: yarn test:browser

publish:
needs: [compile, test]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: "18.18.0"

- name: Setup yarn
run: npm install -g yarn

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Publish to npm
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
if [[ ${GITHUB_REF} == *alpha* ]]; then
npm publish --access public --tag alpha
elif [[ ${GITHUB_REF} == *beta* ]]; then
npm publish --access public --tag beta
else
npm publish --access public
fi
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Test
run: pnpm test
2 changes: 1 addition & 1 deletion .mock/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization" : "hume",
"version" : "0.99.1"
"version" : "0.93.2"
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tests
.github
.fernignore
.prettierrc.yml
biome.json
tsconfig.json
yarn.lock
pnpm-lock.yaml
2 changes: 0 additions & 2 deletions .prettierrc.yml

This file was deleted.

74 changes: 74 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
"root": true,
"vcs": {
"enabled": false
},
"files": {
"ignoreUnknown": true,
"includes": [
"**",
"!!dist",
"!!**/dist",
"!!lib",
"!!**/lib",
"!!_tmp_*",
"!!**/_tmp_*",
"!!*.tmp",
"!!**/*.tmp",
"!!.tmp/",
"!!**/.tmp/",
"!!*.log",
"!!**/*.log",
"!!**/.DS_Store",
"!!**/Thumbs.db"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 120
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"linter": {
"rules": {
"style": {
"useNodejsImportProtocol": "off"
},
"suspicious": {
"noAssignInExpressions": "warn",
"noUselessEscapeInString": {
"level": "warn",
"fix": "none",
"options": {}
},
"noThenProperty": "warn",
"useIterableCallbackReturn": "warn",
"noShadowRestrictedNames": "warn",
"noTsIgnore": {
"level": "warn",
"fix": "none",
"options": {}
},
"noConfusingVoidType": {
"level": "warn",
"fix": "none",
"options": {}
}
}
}
}
}
42 changes: 0 additions & 42 deletions jest.config.mjs

This file was deleted.

Loading
Loading