Skip to content

Commit

Permalink
compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
dfstio committed Dec 21, 2024
1 parent e8189e4 commit 3fc6a60
Show file tree
Hide file tree
Showing 202 changed files with 4,487 additions and 15,245 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ node_modules/
.zkcloudworker/
packages/abi/dist-scripts/
packages/abi/cache/
cache/
dist/

# Swap the comments on the following lines if you wish to use zero-installs
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
Expand Down
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
registry=https://registry.npmjs.org/
install-strategy=nested
registry=https://registry.npmjs.org/
7,012 changes: 1,028 additions & 5,984 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 21 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,35 @@
"author": "DFST",
"license": "Apache-2.0",
"private": true,
"type": "module",
"scripts": {
"build": "npm run build -w @minatokens/api && npm run build -w @minatokens/storage && npm run build -w @minatokens/token && npm run build -w @minatokens/upgradable && npm run build -w @minatokens/nft && npm run build -w @minatokens/upgradable-v1 && npm run build -w @minatokens/abi",
"build": "npm run build -w @minatokens/api && npm run build -w @minatokens/storage && npm run build -w @minatokens/token && npm run build -w @minatokens/upgradable && npm run build -w @minatokens/nft && npm run build -w @minatokens/abi",
"release": "node release.js",
"build:docs": "rm -rf packages/api/docs/api && rdme docs:prune packages/api/docs --confirm && npm run docs -w packages/api && node scripts/build-docs.js && rdme docs packages/api/docs && rdme docs packages/token/docs",
"clean": "rm -rf node_modules && rm -rf packages/*/node_modules && rm -rf packages/*/dist && rm package-lock.json",
"clean": "rm -rf cache && rm -rf node_modules && rm -rf dist && rm -rf packages/*/node_modules && rm -rf packages/*/dist && rm package-lock.json",
"format": "syncpack format",
"lint": "syncpack lint",
"login": "npm login",
"sync": "syncpack list-mismatches",
"rebuild": "npm run clean && npm i && npm run build"
"rebuild": "npm run clean && npm i && npm run build",
"compile:devnet": "CHAIN=devnet node --trace-uncaught --loader=ts-node/esm --enable-source-maps --test scripts/compile.ts && npm run build -w @minatokens/abi",
"compile:mainnet": "CHAIN=mainnet node --trace-uncaught --loader=ts-node/esm --enable-source-maps --test scripts/compile.ts && npm run build -w @minatokens/abi",
"compile": "npm run compile:devnet && npm run compile:mainnet"
},
"workspaces": [
"packages/*"
"packages/api",
"packages/abi",
"packages/nft",
"packages/storage",
"packages/token",
"packages/upgradable"
],
"version": "0.10.0"
"version": "0.10.0",
"dependencies": {},
"devDependencies": {
"o1js": "^2.2.0",
"@types/node": "^22.10.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
}
}
106 changes: 52 additions & 54 deletions packages/abi/dist/node/index.cjs

Large diffs are not rendered by default.

57 changes: 28 additions & 29 deletions packages/abi/dist/node/vk/devnet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/abi/dist/node/vk/devnet.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 28 additions & 29 deletions packages/abi/dist/node/vk/mainnet.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/abi/dist/node/vk/mainnet.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/abi/dist/node/vk/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export type ChainVerificationKeysList = {
o1js: string;
zkcloudworker: string;
vk: Record<string, // contract name
{
hash: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/abi/dist/tsconfig.web.tsbuildinfo

Large diffs are not rendered by default.

Loading

0 comments on commit 3fc6a60

Please sign in to comment.