[*] submodule

This commit is contained in:
acgist
2023-02-03 08:57:37 +08:00
parent df7e35ee09
commit 7ad3acc205
9 changed files with 17 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "client",
"version": "0.0.0",
"name": "taoyao-client",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,7 +1,9 @@
{
"name": "client",
"version": "0.0.0",
"name": "taoyao-client",
"author": "acgist",
"version": "1.0.0",
"private": true,
"description": "taoyao client",
"scripts": {
"dev": "vite",
"build": "vite build",

View File

@@ -1,14 +1,14 @@
import { fileURLToPath, URL } from 'node:url'
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});

View File

@@ -1,2 +1,4 @@
[submodule "mediasoup"]
path = mediasoup
url = git@github.com:acgist/mediasoup.git
branch = taoyao

View File

@@ -10,7 +10,7 @@
# git config -f .gitmodules submodule.mediasoup.branch taoyao
# 更新
git submodule init
git submodule init
git submodule update
# git submodule update --remote

View File

@@ -3,10 +3,9 @@
"author": "acgist",
"version": "1.0.0",
"private": true,
"license": "All Rights Reserved",
"description": "taoyao media server",
"scripts": {
"start": "DEBUG=${DEBUG:='*mediasoup* *INFO* *WARN* *ERROR*'} INTERACTIVE=${INTERACTIVE:='true'} node server.js"
"start": "DEBUG=${DEBUG:='*mediasoup* *INFO* *WARN* *ERROR*'} INTERACTIVE=${INTERACTIVE:='true'} node src/server.js"
},
"dependencies": {
"mediasoup": "file:./mediasoup"