Skip to content

Commit 13a1e1b

Browse files
committed
react nextjs + electron apps added
1 parent fc6786d commit 13a1e1b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+7845
-3
lines changed

electron-apps/.gitignore

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Hyper Forge
2+
**/config.hf.json
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
.pnpm-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
*.lcov
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules/
46+
jspm_packages/
47+
48+
# Snowpack dependency directory (https://snowpack.dev/)
49+
web_modules/
50+
51+
# TypeScript cache
52+
*.tsbuildinfo
53+
54+
# Optional npm cache directory
55+
.npm
56+
57+
# Optional eslint cache
58+
.eslintcache
59+
60+
# Optional stylelint cache
61+
.stylelintcache
62+
63+
# Microbundle cache
64+
.rpt2_cache/
65+
.rts2_cache_cjs/
66+
.rts2_cache_es/
67+
.rts2_cache_umd/
68+
69+
# Optional REPL history
70+
.node_repl_history
71+
72+
# Output of 'npm pack'
73+
*.tgz
74+
75+
# Yarn Integrity file
76+
.yarn-integrity
77+
78+
# dotenv environment variable files
79+
.env
80+
.env.development.local
81+
.env.test.local
82+
.env.production.local
83+
.env.local
84+
85+
# parcel-bundler cache (https://parceljs.org/)
86+
.cache
87+
.parcel-cache
88+
89+
# Next.js build output
90+
.next
91+
out
92+
93+
# Nuxt.js build / generate output
94+
.nuxt
95+
dist
96+
97+
# Gatsby files
98+
.cache/
99+
# Comment in the public line in if your project uses Gatsby and not Next.js
100+
# https://nextjs.org/blog/next-9-1#public-directory-support
101+
# public
102+
103+
# vuepress build output
104+
.vuepress/dist
105+
106+
# vuepress v2.x temp and cache directory
107+
.temp
108+
.cache
109+
110+
# vitepress build output
111+
**/.vitepress/dist
112+
113+
# vitepress cache directory
114+
**/.vitepress/cache
115+
116+
# Docusaurus cache and generated files
117+
.docusaurus
118+
119+
# Serverless directories
120+
.serverless/
121+
122+
# FuseBox cache
123+
.fusebox/
124+
125+
# DynamoDB Local files
126+
.dynamodb/
127+
128+
# TernJS port file
129+
.tern-port
130+
131+
# Stores VSCode versions used for testing VSCode extensions
132+
.vscode-test
133+
134+
# yarn v2
135+
.yarn/cache
136+
.yarn/unplugged
137+
.yarn/build-state.yml
138+
.yarn/install-state.gz
139+
.pnp.*

electron-apps/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# electron-apps
2+
3+
Helps building new electron apps
4+
5+
## Dependencies
6+
7+
* [Node.js](https://nodejs.org/) — Required to run and build the forge. Recommended version: `>=18`.
8+
* [hyper-forge-cli](https://www.npmjs.com/package/hyper-forge-cli) — The CLI tool used to run forges. Install it globally with:
9+
```console
10+
npm install -g hyper-forge-cli
11+
```
12+
13+
### Optional / Recommended
14+
* Git — To clone repositories and manage version control.
15+
* A modern terminal — For the best experience (e.g., Windows Terminal, iTerm2, etc.).
16+
17+
## Installing
18+
### Manually
19+
20+
1. Clone this repository.
21+
2. Open your terminal.
22+
3. Navigate into the forge's directory.
23+
4. Type `npm install` to install the dependencies.
24+
5. Type `npm run build` to compile the forge.
25+
6. Type `npm link` to make this forge globally available via `npm`.
26+
27+
## How to use
28+
29+
1. Open your terminal.
30+
2. Navigate to the directory where you want to create your new forge (e.g., `C:\\my-forges`).
31+
3. Run the Hyper Forge CLI by typing `hf`.
32+
4. Choose `Run a forge` from the options.
33+
5. Select this forge by name.
34+
6. Pick the task you want to run.
35+
7. You're done!
36+
37+
## How to debug this forge
38+
39+
* TO-DO

electron-apps/config.ff.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"project": {},
3+
"tasks": {}
4+
}

0 commit comments

Comments
 (0)