Skip to content

Commit

Permalink
Merge pull request #4 from YanYuanFE/main
Browse files Browse the repository at this point in the history
feat: use wasm-cairo npm package
  • Loading branch information
cryptonerdcn authored May 5, 2024
2 parents 260440e + 46c1d5b commit e2ca0bb
Show file tree
Hide file tree
Showing 34 changed files with 4,916 additions and 4,074 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.cjs

This file was deleted.

6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "next/core-web-vitals",
"rules": {
"@next/next/no-img-element": 0
}
}
54 changes: 36 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,42 @@
# Logs
logs
*.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

.env

log/*.log
13 changes: 0 additions & 13 deletions index.html

This file was deleted.

5 changes: 5 additions & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
};

module.exports = nextConfig;
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
"name": "Astro editor",
"version": "1.0.0",
"description": "Online Starknet Cairo editor.",
"type": "module",
"homepage": "https://starknetastro.github.io/AstroEditor/",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@hookform/resolvers": "^3.3.1",
Expand Down Expand Up @@ -49,6 +46,8 @@
"dayjs": "^1.11.9",
"lodash-es": "^4.17.21",
"lucide-react": "^0.276.0",
"next": "^14.2.3",
"next-themes": "^0.3.0",
"react": "^18.2.0",
"react-day-picker": "^8.8.1",
"react-dom": "^18.2.0",
Expand All @@ -59,6 +58,7 @@
"tailwind-merge": "^1.14.0",
"tailwind-variants": "^0.1.18",
"tailwindcss-animate": "^1.0.7",
"wasm-cairo": "^0.8.8",
"zod": "^3.22.2",
"zustand": "^4.4.1"
},
Expand All @@ -69,14 +69,13 @@
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.15",
"eslint": "^8.45.0",
"eslint-config-next": "14.1.4",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"postcss": "^8.4.29",
"tailwindcss": "^3.3.3",
"typescript": "^5.0.2",
"vite": "^4.4.5"
"typescript": "^5.0.2"
}
}
Loading

0 comments on commit e2ca0bb

Please sign in to comment.