Move server to sub project

This commit is contained in:
Adam Goldsmith 2022-03-04 13:27:01 -05:00
parent 55bf9a43b3
commit 6e5ae038b7
7 changed files with 35 additions and 17 deletions

4
.gitignore vendored
View File

@ -1,5 +1,7 @@
/.tern-port /.tern-port
/node_modules/ node_modules/
/dist/ /dist/
.tern-port .tern-port
/.cache/ /.cache/
/server/log/
/.log/

View File

@ -8,8 +8,7 @@
"distinct-colors": "^1.0.4", "distinct-colors": "^1.0.4",
"ol": "^6.13.0", "ol": "^6.13.0",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue3-openlayers": "^0.1.63", "vue3-openlayers": "^0.1.63"
"ws": "^5.2.2"
}, },
"devDependencies": { "devDependencies": {
"@modyfi/vite-plugin-yaml": "^1.0.1", "@modyfi/vite-plugin-yaml": "^1.0.1",
@ -18,8 +17,8 @@
"vite": "^2.8.6" "vite": "^2.8.6"
}, },
"scripts": { "scripts": {
"serve": "node src/server.js", "start": "pnpm run -r --parallel dev",
"start": "vite", "dev": "vite",
"build": "vite build" "build": "vite build"
}, },
"author": "Adam Goldsmith <contact@adamgoldsmith.name>", "author": "Adam Goldsmith <contact@adamgoldsmith.name>",

View File

@ -10,7 +10,6 @@ specifiers:
vite: ^2.8.6 vite: ^2.8.6
vue: ^3.2.31 vue: ^3.2.31
vue3-openlayers: ^0.1.63 vue3-openlayers: ^0.1.63
ws: ^5.2.2
dependencies: dependencies:
aprs-parser: github.com/ad1217/npm-aprs-parser/39cf938ea79e08cd3127997fd1b2fc41abb0b56f aprs-parser: github.com/ad1217/npm-aprs-parser/39cf938ea79e08cd3127997fd1b2fc41abb0b56f
@ -18,7 +17,6 @@ dependencies:
ol: 6.13.0 ol: 6.13.0
vue: 3.2.31 vue: 3.2.31
vue3-openlayers: 0.1.63 vue3-openlayers: 0.1.63
ws: 5.2.3
devDependencies: devDependencies:
'@modyfi/vite-plugin-yaml': 1.0.1 '@modyfi/vite-plugin-yaml': 1.0.1
@ -276,10 +274,6 @@ packages:
engines: {node: '>=8'} engines: {node: '>=8'}
dev: true dev: true
/async-limiter/1.0.1:
resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==}
dev: false
/atob/2.1.2: /atob/2.1.2:
resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==}
engines: {node: '>= 4.5.0'} engines: {node: '>= 4.5.0'}
@ -1648,12 +1642,6 @@ packages:
resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=} resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=}
dev: true dev: true
/ws/5.2.3:
resolution: {integrity: sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==}
dependencies:
async-limiter: 1.0.1
dev: false
/xml-utils/1.0.2: /xml-utils/1.0.2:
resolution: {integrity: sha512-rEn0FvKi+YGjv9omf22oAf+0d6Ly/sgJ/CUufU/nOzS7SRLmgwSujrewc03KojXxt+aPaTRpm593TgehtUBMSQ==} resolution: {integrity: sha512-rEn0FvKi+YGjv9omf22oAf+0d6Ly/sgJ/CUufU/nOzS7SRLmgwSujrewc03KojXxt+aPaTRpm593TgehtUBMSQ==}
dev: false dev: false

1
server/.pnpm-debug.log Normal file
View File

@ -0,0 +1 @@
{}

9
server/package.json Normal file
View File

@ -0,0 +1,9 @@
{
"scripts": {
"start": "npm run dev",
"dev": "node ./src/server.js"
},
"dependencies": {
"ws": "^5.2.3"
}
}

19
server/pnpm-lock.yaml Normal file
View File

@ -0,0 +1,19 @@
lockfileVersion: 5.3
specifiers:
ws: ^5.2.3
dependencies:
ws: 5.2.3
packages:
/async-limiter/1.0.1:
resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==}
dev: false
/ws/5.2.3:
resolution: {integrity: sha512-jZArVERrMsKUatIdnLzqvcfydI85dvd/Fp1u/VOpfdDWQ4c9qWXe+VIeAbQ5FrDwciAkr+lzofXLz3Kuf26AOA==}
dependencies:
async-limiter: 1.0.1
dev: false