remove storybook, switch build to esbuild

This commit is contained in:
Sebastian 2022-03-29 12:32:37 -03:00
parent ed6bdfaef5
commit fdd272af20
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
6 changed files with 20 additions and 955 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env node
import linaria from '@linaria/esbuild'
import esbuild from 'esbuild'

View File

@ -1,6 +1,18 @@
#!/usr/bin/env bash
# This file is in the public domain.
#!/bin/bash
set -e
[ "also-wallet" == "$1" ] && { pnpm -C ../taler-wallet-core/ compile || exit 1; }
[ "also-util" == "$1" ] && { pnpm -C ../taler-util/ prepare || exit 1; }
pnpm clean && pnpm compile && rm -rf extension/ && ./pack.sh
#rm -rf dist lib tsconfig.tsbuildinfo .linaria-cache
echo typecheck and bundle...
node build-fast-with-linaria.mjs &
pnpm tsc --noEmit &
wait -n
wait -n
echo testing...
pnpm test -- -R dot
echo packing...
rm -rf extension/
./pack.sh

View File

@ -1,18 +0,0 @@
#!/bin/bash
set -e
#rm -rf dist lib tsconfig.tsbuildinfo .linaria-cache
echo typecheck and bundle...
node build-fast-with-linaria.mjs &
pnpm tsc --noEmit &
wait -n
wait -n
echo testing...
pnpm test -- -R dot
echo packing...
rm -rf extension/
./pack.sh

View File

@ -11,7 +11,7 @@
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
"test": "mocha --enable-source-maps 'dist/**/*.test.js'",
"test:coverage": "nyc pnpm test",
"compile": "rollup -c -m",
"compile": "tsc && ./build-fast-with-linaria.mjs",
"compile:test": "rollup -c rollup.config.test.js -m",
"prepare": "rollup -c -m",
"pretty": "prettier --write src",

1
packages/taler-wallet-webextension/serve-esbuild.mjs Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env node
import linaria from '@linaria/esbuild'
import esbuild from 'esbuild'

File diff suppressed because it is too large Load Diff