[*] 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", "name": "taoyao-client",
"version": "0.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -1,7 +1,9 @@
{ {
"name": "client", "name": "taoyao-client",
"version": "0.0.0", "author": "acgist",
"version": "1.0.0",
"private": true, "private": true,
"description": "taoyao client",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "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 { defineConfig } from "vite";
import vue from '@vitejs/plugin-vue' import vue from "@vitejs/plugin-vue";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
resolve: { resolve: {
alias: { alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)) "@": fileURLToPath(new URL("./src", import.meta.url)),
} },
} },
}) });

View File

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

View File

@@ -3,10 +3,9 @@
"author": "acgist", "author": "acgist",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"license": "All Rights Reserved",
"description": "taoyao media server", "description": "taoyao media server",
"scripts": { "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": { "dependencies": {
"mediasoup": "file:./mediasoup" "mediasoup": "file:./mediasoup"