Files
Aaron Cox 98712a62e4 0.4.0 Release (#67)
* full width divider

* fix icon size and alignment

* remove size tokens in svgs

* fix width of qr code and button on anchor screen

* add list item hover state

* fix padding

* fix divider color

* fix for keyboard navigation

* clean up

* fix: allowing countdown timer to be used more than once

* update list item hover state

* add buttongroup component

* new generic styled body title and text components

* update title and subtitle in login flow

* add dark mode and fix typography font family

* fix list item columns to account for no icon lists

* fix clicking backdrop to dismiss

* Revert "fix clicking backdrop to dismiss"

This reverts commit ea14ded5b9.

* fix for dismissing dialog by clicking backdrop

* Passing new `getLogo` call to list for blockchains

* Containing variable size logos

* refactor listitem leading logo

* Added light/dark mode to wallets

* Updated to 0.4.0-RC2

* Upgraded to Session Kit + Wallet Plugins 0.4.0

* Renaming to `web-renderer`

* fix for tall chain icons

* update styles

* Updating Anchor plugin

* Better placeholder text

* Updating cleos plugin

* add check for valid image url

* add theme writable store with toggle component

* handle logo via method or property

* hide toggle in header

* fix default theme when no value in localstorage

---------

Co-authored-by: Dean Sallinen <dean@greymass.com>
Co-authored-by: dafuga <danielfugere28@gmail.com>
2023-04-20 16:34:36 -04:00

63 lines
2.1 KiB
Makefile

SRC_FILES := $(shell find src -name '*.ts')
lib: ${SRC_FILES} package.json tsconfig.json node_modules rollup.config.js
@./node_modules/.bin/rollup -c && touch lib
dev: ${SRC_FILES} package.json tsconfig.json node_modules rollup.config.js
@./node_modules/.bin/rollup -c test/rollup.config.js -w --host
.PHONY: test
test: node_modules
@TS_NODE_PROJECT='./test/tsconfig.json' ./node_modules/.bin/mocha -u tdd -r ts-node/register --extension ts test/*.ts --grep '$(grep)'
.PHONY: coverage
coverage: node_modules
@TS_NODE_PROJECT='./test/tsconfig.json' ./node_modules/.bin/nyc --reporter=html ./node_modules/.bin/mocha -u tdd -r ts-node/register --extension ts test/*.ts -R nyan && open coverage/index.html
.PHONY: format
format: node_modules
@./node_modules/.bin/prettier -w .
.PHONY: lint
lint: node_modules
@./node_modules/.bin/eslint src --ext .ts --fix
.PHONY: ci-test
ci-test: node_modules
@TS_NODE_PROJECT='./test/tsconfig.json' ./node_modules/.bin/nyc --reporter=text ./node_modules/.bin/mocha -u tdd -r ts-node/register --extension ts test/*.ts -R list
.PHONY: ci-lint
ci-lint: node_modules
@./node_modules/.bin/eslint src --ext .ts --max-warnings 0 --format unix && echo "Ok"
docs: $(SRC_FILES) node_modules
./node_modules/.bin/typedoc \
--excludeInternal \
--excludePrivate --excludeProtected \
--name "@wharfkit/web-renderer" --includeVersion --readme none \
--out docs \
src/index-module.ts
.PHONY: deploy-site
deploy-site: docs
cp -r ./examples ./docs/examples/
./node_modules/.bin/gh-pages -d docs
node_modules:
yarn install --non-interactive --frozen-lockfile --ignore-scripts
.PHONY: publish
publish: | distclean node_modules
@git diff-index --quiet HEAD || (echo "Uncommitted changes, please commit first" && exit 1)
@git fetch origin && git diff origin/master --quiet || (echo "Changes not pushed to origin, please push first" && exit 1)
@yarn config set version-tag-prefix "" && yarn config set version-git-message "Version %s"
@yarn publish && git push && git push --tags
.PHONY: clean
clean:
rm -rf lib/ coverage/ docs/
.PHONY: distclean
distclean: clean
rm -rf node_modules/