Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
chore: slim down artifacts (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi authored Jun 14, 2023
1 parent 04d8e89 commit eef46b8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
5 changes: 1 addition & 4 deletions _tasks/generate_artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as path from "../deps/std/path.ts"
import dprintConfig from "../dprint.json" assert { type: "json" }
import { devUser } from "../nets/chain_spec/addDevUsers.ts"

export const DEV_USER_COUNT = 100_000
export const DEV_USER_COUNT = 10_000

const artifacts: Record<string, () => Promise<Uint8Array>> = {
async tsFormatterWasm() {
Expand All @@ -14,9 +14,6 @@ const artifacts: Record<string, () => Promise<Uint8Array>> = {
)!
return await fetchBinary(url)
},
async shikiWasm() {
return await fetchBinary("https://unpkg.com/shiki@0.14.1/dist/onig.wasm")
},
async devUserPublicKeysData() {
const publicKeys = []
for (let i = 0; i < DEV_USER_COUNT; i++) {
Expand Down
2 changes: 1 addition & 1 deletion util/_artifacts/devUserPublicKeysData.ts

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions util/_artifacts/shikiWasm.ts

This file was deleted.

14 changes: 0 additions & 14 deletions words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ bootnodes
bungcip
callables
capi
capn
chainspec
chelios
chev
Expand All @@ -23,7 +22,6 @@ devnet
devnets
dispatchable
dprint
egts
esbenp
extrinsics
ferdie
Expand All @@ -35,31 +33,23 @@ hasher
hashers
hrmp
inherents
instanceof
instantiator
keypair
kiera
libp
lparachain
ltex
lxkf
matty
merkle
morfologik
multiaddr
multiaddress
multiasset
multichain
multihash
multilocation
multisigs
multistep
noninteractive
offchain
parachain
parachains
paritydb
paritypr
paritytech
pendings
polkadot
Expand All @@ -72,14 +62,12 @@ relaychain
runtimes
ryann
serde
shiki
sibl
smoldot
statemigration
statemine
statemint
steff
struct
subclassing
sufficients
suri
Expand All @@ -90,9 +78,7 @@ tpeyg
transcoders
twox
unfollow
unguard
unhandle
unioned
vadimcn
westend
westmint
Expand Down

0 comments on commit eef46b8

Please sign in to comment.