Skip to content

Commit

Permalink
chore: restructure before moving to app-api-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarialounes committed Aug 12, 2024
1 parent c7ba7ff commit a09a6a8
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
node_modules
public
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.8.1
Empty file removed build/.gitkeep
Empty file.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"main": "index.js",
"scripts": {
"build": "./scripts/build.sh && npm run make",
"make": "NODE_OPTIONS='--experimental-specifier-resolution=node --loader ts-node/esm --experimental-modules' node scripts/make.mjs",
"utils:gen:config": "NODE_OPTIONS='--experimental-specifier-resolution=node --loader ts-node/esm --experimental-modules' node scripts/genconfig.ts",
"utils:gen:predoc": "npx jsonschema2mk --schema chains/chain.schema.json >PREDOC.md"
"make": "NODE_OPTIONS='--experimental-specifier-resolution=node --loader ts-node/esm --experimental-modules' node scripts/make.mjs"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

shopt -s dotglob

rm -rf public
mkdir public
cp -r chains public
cp vercel.json public
# cp vercel.json public

exit 0
86 changes: 0 additions & 86 deletions scripts/genconfig.ts

This file was deleted.

0 comments on commit a09a6a8

Please sign in to comment.