remove storybook, switch build to esbuild
This commit is contained in:
parent
ed6bdfaef5
commit
fdd272af20
1
packages/taler-wallet-webextension/build-fast-with-linaria.mjs
Normal file → Executable file
1
packages/taler-wallet-webextension/build-fast-with-linaria.mjs
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import linaria from '@linaria/esbuild'
|
import linaria from '@linaria/esbuild'
|
||||||
import esbuild from 'esbuild'
|
import esbuild from 'esbuild'
|
||||||
|
@ -1,6 +1,18 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
# This file is in the public domain.
|
|
||||||
set -e
|
set -e
|
||||||
[ "also-wallet" == "$1" ] && { pnpm -C ../taler-wallet-core/ compile || exit 1; }
|
|
||||||
[ "also-util" == "$1" ] && { pnpm -C ../taler-util/ prepare || exit 1; }
|
#rm -rf dist lib tsconfig.tsbuildinfo .linaria-cache
|
||||||
pnpm clean && pnpm compile && rm -rf extension/ && ./pack.sh
|
|
||||||
|
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
|
||||||
|
@ -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
|
|
@ -11,7 +11,7 @@
|
|||||||
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
|
"clean": "rimraf dist lib tsconfig.tsbuildinfo",
|
||||||
"test": "mocha --enable-source-maps 'dist/**/*.test.js'",
|
"test": "mocha --enable-source-maps 'dist/**/*.test.js'",
|
||||||
"test:coverage": "nyc pnpm test",
|
"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",
|
"compile:test": "rollup -c rollup.config.test.js -m",
|
||||||
"prepare": "rollup -c -m",
|
"prepare": "rollup -c -m",
|
||||||
"pretty": "prettier --write src",
|
"pretty": "prettier --write src",
|
||||||
|
1
packages/taler-wallet-webextension/serve-esbuild.mjs
Normal file → Executable file
1
packages/taler-wallet-webextension/serve-esbuild.mjs
Normal file → Executable file
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import linaria from '@linaria/esbuild'
|
import linaria from '@linaria/esbuild'
|
||||||
import esbuild from 'esbuild'
|
import esbuild from 'esbuild'
|
||||||
|
931
pnpm-lock.yaml
931
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user