Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Apr 29, 2024
1 parent 46f2e69 commit 9a3f70a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
- name: Install
run: npm install
- name: Build
run: npm run build-example
run: npm run build-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: public/
path: docs

# Deployment job
deploy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ src/*.js
dist
.env
public
docs
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ailuropoda

![tests](https://github.com/bicycle-codes/ailuropoda/actions/workflows/nodejs.yml/badge.svg)

Implementing [bamboo](https://github.com/AljoschaMeyer/bamboo), using only browser compatible cryptography.

## install
Expand Down
12 changes: 0 additions & 12 deletions example/index.html

This file was deleted.

10 changes: 0 additions & 10 deletions example/index.tsx

This file was deleted.

9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"build-cjs": "esbuild src/*.ts --format=cjs --keep-names --tsconfig=tsconfig.build.json --outdir=./dist --out-extension:.js=.cjs --sourcemap=inline",
"build-esm": "tsc --project tsconfig.build.json",
"build-example": "mkdir -p ./public && rm -rf ./public/* && vite build --base=./",
"build-docs": "typedoc ./src/index.ts",
"build": "mkdir -p ./dist && rm -rf ./dist/* && npm run build-cjs && npm run build-esm",
"start": "vite",
"preversion": "npm run lint",
"version": "auto-changelog -p --template keepachangelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
"postversion": "git push --follow-tags && npm publish",
Expand All @@ -29,13 +29,10 @@
"@oddjs/odd": "^0.37.2",
"json-canon": "^1.0.1",
"monotonic-timestamp": "^0.0.9",
"p2panda-js": "^0.8.1",
"uint8arrays": "^5.0.3"
},
"devDependencies": {
"@bicycle-codes/tapzero": "^0.9.2",
"@nichoth/debug": "^0.6.7",
"@preact/preset-vite": "^2.8.2",
"@ssc-half-light/node-components": "^0.1.22",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
Expand All @@ -47,8 +44,8 @@
"preact": "^10.20.2",
"tap-spec": "^5.0.0",
"tape-run": "^11.0.0",
"typescript": "^5.4.4",
"vite": "^5.2.10"
"typedoc": "^0.25.13",
"typescript": "^5.4.4"
},
"exports": {
".": {
Expand Down

0 comments on commit 9a3f70a

Please sign in to comment.