Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nextJSTypescriptTemplate #127

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions nextJSTypeScript/.conf/deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"packages": [
"openssh-client",
"sshpass",
"nodejs",
"npm"
]
}
27 changes: 27 additions & 0 deletions nextJSTypeScript/.conf/id_rsa
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAqpUaOa6i/TaSKwpdsHzLfGK95dDcFYpmYH5hUj0cBhVEVdl8
JAG0MEDcZsjQHiBlfUiHmyU2iOWBoKUytpMnzYF6ggdZBv5hBMv3RcTlnNijxzxg
KvbjTm3LqAY8uu4SF9I8oDXVOn7xwZYgiC7s3XRGOP6TowSVEHsLB+cehWs4Y5io
3BngOlcOYZtVrh+i3A7xSHWP7n2IetJEo5C425oaOCZXUJT2egau6ODmvBItZjpG
mNdwVwrEI2H3o+LLI9tieNfyFcUFPNDRXbku1V0mXU9VjZ7WFihZXob11XNCEkY7
Bg3SpzTntSRn9hZD7i3xDU9MSJz90rnn56ID1wIDAQABAoIBACI239i7/3Mcc/rw
DFSu4z2irIYg+1PSu7AVCT4uhaVutJMnmS+7q8GV8N8o3h18z/5uAs0KjMKuje6D
1AUsxOoCU2krQh8V/K2yn3k+AfQQu+DlakCT3onHmfassZeo0rY2c/SKd6dQ+Pqk
Owg1qUrN3Jvn7ALhk2iH1XGTWNrXj44AxVVhK3zADd/688stubo+mhj1vLJvk3IJ
j/cb9UtCnWDZ6U6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/id_rsa.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqlRo5rqL9NpIrCl2wfMt8Yr3l0NwVimZgfmFSPRwGFURV2XwkAbQwQNxmyNAeIGV9SIebJTaI5YGgpTK2kyfNgXqCB1kG/mEEy/dFxOWc2KPHPGAq9uNObcuoBjy67hIX0jygNdU6fvHBliCILuzddEY4/pOjBJUQewsH5x6FazhjmKjcGeA6Vw5hm1WuH6LcDvFIdY/ufYh60kSjkLjbmho4JldQlPZ6Bq7o4Oa8Ei1mOkaY13BXCsQjYfej4ssj22J41/IVxQU80NFduS7VXSZdT1WNntYWKFlehvXVc0ISRjsGDdKnNOe1JGf2FkPuLfENT0xInP3SuefnogPX
6 changes: 6 additions & 0 deletions nextJSTypeScript/.conf/update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"source": ".vscode/launch.json",
"target": ".vscode/launch.json"
}
]
7 changes: 7 additions & 0 deletions nextJSTypeScript/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Dockerfile
.dockerignore
node_modules
npm-debug.log
README.md
.next
.git
3 changes: 3 additions & 0 deletions nextJSTypeScript/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
35 changes: 35 additions & 0 deletions nextJSTypeScript/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

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

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
122 changes: 122 additions & 0 deletions nextJSTypeScript/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js Proxy Server",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port}",
"cwd": "${workspaceFolder}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"preLaunchTask": "run-nextjs-local",
"postDebugTask": "kill-nextjs-local"
},
{
"name": "Next.js Routing Server",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port2}",
"cwd": "${workspaceFolder}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"preLaunchTask": "wait-for-run-local"
},
{
"name": "Next.js Pages Server",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port3}",
"cwd": "${workspaceFolder}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"preLaunchTask": "wait-for-run-local"
},
{
"name": "Torizon AMD64",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port}",
"address": "${config:torizon_ip}",
"restart": false,
"sourceMaps": true,
"continueOnAttach": true,
"localRoot": "${workspaceFolder}",
"remoteRoot": "${config:torizon_app_root}/app/",
"preLaunchTask": "start-torizon-debug-amd64"
},
{
"name": "Torizon ARMv7",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port}",
"address": "${config:torizon_ip}",
"restart": false,
"sourceMaps": true,
"continueOnAttach": true,
"localRoot": "${workspaceFolder}",
"remoteRoot": "${config:torizon_app_root}/app/",
"preLaunchTask": "start-torizon-debug-arm"
},
{
"name": "Torizon ARMv8 Proxy Server",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port}",
"address": "${config:torizon_ip}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"remoteRoot": "${config:torizon_app_root}/app/out/",
"localRoot": "${workspaceFolder}/",
"preLaunchTask": "wait-for-run"
},
{
"name": "Torizon ARMv8 Routing Server",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port2}",
"address": "${config:torizon_ip}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"remoteRoot": "${config:torizon_app_root}/app/out/",
"localRoot": "${workspaceFolder}/",
"preLaunchTask": "wait-for-run"
},
{
"name": "Torizon ARMv8 Server Pages",
"type": "node",
"request": "attach",
"port": "${config:torizon_debug_port3}",
"address": "${config:torizon_ip}",
"sourceMaps": true,
"autoAttachChildProcesses": true,
"attachExistingChildren": true,
"remoteRoot": "${config:torizon_app_root}/app/out/",
"localRoot": "${workspaceFolder}/",
"preLaunchTask": "start-torizon-debug-arm64"
},
],
"compounds": [
{
"name": "Next.js Local",
"configurations": [
"Next.js Proxy Server",
"Next.js Routing Server",
"Next.js Pages Server"
]
},
{
"name": "Torizon ARMv8",
"configurations": [
"Torizon ARMv8 Server Pages",
"Torizon ARMv8 Proxy Server",
"Torizon ARMv8 Routing Server",
]
}
]
}
18 changes: 18 additions & 0 deletions nextJSTypeScript/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"torizon_psswd": "",
"torizon_login": "",
"torizon_ip": "",
"host_ip": "",
"torizon_workspace": "${workspaceFolder}",
"torizon_debug_port": "9229",
"torizon_debug_ssh_port": "2229",
"torizon_debug_port2": "9230",
"torizon_debug_port3": "9231",
"torizon_gpu": "",
"torizon_arch": "",
"wait_sync": "1",
"torizon_run_as": "torizon",
"torizon_app_root": "/home/torizon",
"tcb.packageName": "__change__",
"tcb.version": "early-access"
}
Loading