-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterminal
More file actions
78 lines (55 loc) · 1.91 KB
/
terminal
File metadata and controls
78 lines (55 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
npm install -g pnpm
pnpm create react-app calculator-app
cd calculator-app
pnpm install @reduxjs/toolkit react-redux styled-components recharts
pnpm install
pnpm start
pnpm update-interactive
# First update non-breaking changes
pnpm update --interactive --latest
# Then specifically handle React ecosystem updates
pnpm add react@latest react-dom@latest
pnpm add -D @types/react@latest @types/react-dom@latest
# Update testing libraries
pnpm add -D @testing-library/react@latest @testing-library/jest-dom@latest @testing-library/user-event@latest
# Update Redux toolkit and React Redux
pnpm add @reduxjs/toolkit@latest react-redux@latest
pnpm add -D eslint prettier eslint-config-prettier eslint-plugin-prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser
# Run tests
pnpm test
# Run linting
pnpm lint
# Format code
pnpm format
pnpm add -D gh-pages
# First commit your changes
git add .
git commit -m "Setup deployment configuration"
# Create a new repository on GitHub if you haven't already
git remote add origin https://github.com/yourusername/calculator-app.git
git push -u origin main
# Deploy
pnpm deploy
chmod +x deploy.sh
# Configure Git
git config user.name "dFi0racle"
git config user.email "PCW@MANNLIFAMILYOFFICE.ORG"
# Initialize repository (if not already initialized)
git init
# Remove existing remote if it exists
git remote remove origin
# Verify remote is removed
git remote -v
# Add the new remote
git remote add origin https://github.com/Defi-Oracle-Tooling/perpetual-leverage-tool.git
# Verify new remote is added correctly
git remote -v
# Stage all changes
git add .
# Commit changes
git commit -m "Initial setup with calculator functionality"
# Push to the new remote (use -f only if you're sure you want to force push)
git push -u origin main
# Make deploy script executable and run it
chmod +x deploy.sh
./deploy.sh https://github.com/Defi-Oracle-Tooling/perpetual-leverage-tool.git