Compare commits

...

75 Commits

Author SHA1 Message Date
mmpruiowt 5fa6b404c1 dev合并
3 months ago
lyt 81135d03c2 06
3 months ago
lyt b3bc8c6ddf 1
3 months ago
lyt 307cfdbc1e Merge branch 'dev' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into dev
3 months ago
lyt fece922f22 1
3 months ago
lyt 37bd0c9772 0102
3 months ago
mmpruiowt 723843eae9 cer
3 months ago
chenenru 28aadb5934 实践报告
3 months ago
lyt ee9d1f9904 1
3 months ago
mmpruiowt 304ad17ace Update README.md
3 months ago
lyt 712ca5fb3a 1
3 months ago
lyt 3f5f25f49c Merge branch 'dev' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into dev
3 months ago
pq6snz5lp e923852667 report
3 months ago
mmpruiowt 0d996df8f2 1
3 months ago
zll 9589e85595 report
3 months ago
mmpruiowt a0983f4c6b dym
3 months ago
mmpruiowt 281d7d9834 Update README.md
3 months ago
chenenru e15c5e2fc1 1
3 months ago
chenenru 653c7ac00c 邓玉梅
3 months ago
zll 644d87d0a6 Merge branch 'zll_branch' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into zll_branch
3 months ago
zll 1bee7f84bb commit report
3 months ago
zll c72551cdde commit report
3 months ago
lyt 2c943a95cf 1
3 months ago
mmpruiowt 258d94fa45 1
3 months ago
mmpruiowt 796dd186d2 Update README.md
3 months ago
mmpruiowt 21eed67c70 readme
3 months ago
lyt 9080bcec47 PPT和需求规格说明书
3 months ago
wwl 1d3a831545 1
3 months ago
lyt cb24c05e8b Merge branch 'dev' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into dev
3 months ago
lyt ef539534fd 1
3 months ago
mmpruiowt a4d9c2970b 14
3 months ago
zll faa367d07b Merge branch 'zll_branch' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into zll_branch
3 months ago
zll 3aa16ef336 Merge branch 'zll_branch' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into zll_branch
3 months ago
mmpruiowt 9165cd35af 代码
3 months ago
lyt 7eb6298381 设计规格说明书
3 months ago
chenenru 30c94e5e40 注册界面类表示
3 months ago
chenenru 1a02b0e988 查看
3 months ago
chenenru 0b57b34026 源代码
3 months ago
chenenru 2275685506 添加宠物健康档案界面
3 months ago
lyt d52d1fcab6 团队自评
3 months ago
lyt 0a6743da6f 1
3 months ago
lyt a10f020a25 Merge branch 'dev' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into dev
3 months ago
lyt 9eb70cbb11 演示视频
3 months ago
mmpruiowt c3e111b18d 更新
3 months ago
zll 58fb5410fa Merge branch 'zll_branch' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into zll_branch
3 months ago
zll 97f09f71dc 14
3 months ago
pq6snz5lp fb3940e96b commit 14
3 months ago
zll 730c4f4e1f 14
3 months ago
zll 64dd3df5e9 commit_14
3 months ago
zll 5a72fcb1ad commit_9
3 months ago
pq6snz5lp 455274a7a2 ADD file via upload
3 months ago
mmpruiowt cd268637b7 12个图
3 months ago
chenenru 1d0ea4a2a2 1
3 months ago
chenenru 2c414526ca 好几个图
3 months ago
pq6snz5lp aea86ff908 ADD file via upload
3 months ago
pq6snz5lp 632bd77d98 ADD file via upload
3 months ago
pq6snz5lp 1004ae75d4 ADD file via upload
3 months ago
pq6snz5lp a4b6493fa7 ADD file via upload
3 months ago
chenenru b2cae938a7 222
3 months ago
lyt fe1ddbbe78 Merge branch 'dev' of https://bdgit.educoder.net/mmpruiowt/PetHealthControl into dev
3 months ago
lyt 1a4cd8c5b7 Squashed commit of the following:
3 months ago
mmpruiowt d604bafb7e 1
3 months ago
chenenru ba0d313cad 1
3 months ago
chenenru a57f5c9e04 删除
3 months ago
chenenru 9ba3df9bc5 1个界面
3 months ago
par3t4kin 22141dd676 ADD file via upload
3 months ago
lyt a60aa58b2a lyt实践报告
3 months ago
lyt 93d8fe4c3b 6个图
3 months ago
mmpruiowt 7a5208dc78 1
4 months ago
lyt c88b104426 1
4 months ago
lyt 32c4f718fd 1
4 months ago
lyt a1ee3884c4 1
4 months ago
par3t4kin b1d909548a Add doc
4 months ago
mmpruiowt 0054f11a59 Delete 'src'
4 months ago
mmpruiowt 5d89e35348 Add src
4 months ago

@ -1,2 +1,125 @@
# PetHealthControl
# "宠物健康监测" APP
这是一个专为宠物健康管理而设计的应用程序,旨在帮助宠物主人实时监测宠物的健康状态,记录宠物的基本指标、医疗历史、接种疫苗记录等,提供健康提醒、资讯推荐、社区分享等功能,帮助宠物主人更好地照顾自己的爱宠。
## 项目简介
随着宠物经济的兴起,宠物主人的健康管理需求不断增加。本应用程序通过整合宠物健康数据、社区互动以及资讯推荐,帮助宠物主人科学、系统地管理宠物健康,提供个性化的健康管理方案。
## **功能概述**
本软件主要功能包括:
登录与注册:用户可以创建账户并登录到应用程序。
宠物数据记录:用户可以记录宠物的体重、喝水、体温等健康数据,并生成可视化图表。
健康档案管理:为宠物添加、修改、删除详细的健康档案,记录疫苗接种历史、病史等。
提醒功能:用户可以设置宠物的健康提醒,如喂食、遛弯等事项。
宠物资讯推送:系统根据宠物的健康状况和品种,推送相关的宠物资讯。
社区功能:用户可以在社区分享与宠物相关的内容,进行评论和互动。
## **安装与配置**
1.克隆项目
首先,克隆这个项目到本地:
git@bdgit.educoder.net:mmpruiowt/PetHealthControl.git
cd PetHealthControl
2\. 环境要求
开发语言Java (SpringBoot) 和 Vue.js
数据库MySQL或其他适合的数据库
客户端环境Android
3\. 安装依赖
后端SpringBoot
进入后端项目目录并安装相关依赖:
cd backend
mvn install
前端Vue.js
进入前端项目目录并安装相关依赖:
cd frontend
npm install
4\. 配置数据库
在本地设置数据库,并导入数据库配置文件。
配置数据库连接信息,确保后端能正确连接到数据库。
5.启动应用
启动后端:
cd backend
mvn spring-boot:run
启动前端:
cd frontend
npm run serve
6\. 访问应用
移动端应用:下载并安装客户端,按照指南设置应用。
## **使用方法**
1.注册/登录:
在应用启动后,用户可以选择注册新账号或使用已有账号登录。
登录成功后,进入主界面。
2.记录宠物数据:
选择"宠物数据记录"功能,填写宠物体重、喝水、体温等信息,系统会自动生成可视化图表,帮助用户跟踪宠物的健康状况。
3.设置提醒:
用户可以设置提醒,如遛弯、喂食、洗护等事项。提醒功能支持定时提醒。
4.管理宠物健康档案:
在"宠物健康档案"中,用户可以记录宠物的疫苗接种历史、病史等信息,并随时查看并修改删除。
5.社区互动:
用户可以发布宠物相关的内容,参与社区互动,评论和分享经验。
6.宠物资讯推送:
系统会根据宠物的品种、年龄、健康状况等信息推送相关的实时资讯,帮助宠物主人了解宠物健康知识。
## **贡献指南**
我们欢迎任何形式的贡献!如果你希望贡献代码,请按照以下步骤进行:
1.Fork 这个仓库。
2.创建一个新的分支git checkout -b feature-branch
3.提交你的修改git commit -am \'Add new feature\'
4.推送到分支git push origin feature-branch
5.创建 Pull Request。

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

@ -0,0 +1,15 @@
{
"version": "0.0",
"configurations": [{
"app-plus" :
{
"launchtype" : "local"
},
"default" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
]
}

@ -0,0 +1,3 @@
# 默认忽略的文件
/shelf/
/workspace.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/PetHealthController.iml" filepath="$PROJECT_DIR$/.idea/PetHealthController.iml" />
</modules>
</component>
</project>

@ -0,0 +1,17 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style>
/*每个页面公共css */
</style>

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>

@ -0,0 +1,30 @@
import App from './App'
import store from './store' // 引入 store
import { $http } from '@escook/request-miniprogram'
uni.$http = $http
$http.baseUrl = 'http://8.148.4.75:8081'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.component('uni-datetime-picker', uniDatetimePicker)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.use(store)
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
app.use(store) // 使用 Pinia
return {
app
}
}
// #endif

@ -0,0 +1,76 @@
{
"name" : "宠物健康监控",
"appid" : "__UNI__EFABFAF",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* */
"modules" : {},
/* */
"distribute" : {
/* android */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
"ios" : {
"dSYMs" : false
},
/* SDK */
"sdkConfigs" : {
"ad" : {}
}
}
},
/* */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "3"
}

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
else
exec node "$basedir/../acorn/bin/acorn" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
} else {
& "node$exe" "$basedir/../acorn/bin/acorn" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../browserslist/cli.js" "$@"
else
exec node "$basedir/../browserslist/cli.js" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\browserslist\cli.js" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../browserslist/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../browserslist/cli.js" $args
} else {
& "node$exe" "$basedir/../browserslist/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../giget/dist/cli.mjs" "$@"
else
exec node "$basedir/../giget/dist/cli.mjs" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\giget\dist\cli.mjs" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../giget/dist/cli.mjs" $args
} else {
& "$basedir/node$exe" "$basedir/../giget/dist/cli.mjs" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../giget/dist/cli.mjs" $args
} else {
& "node$exe" "$basedir/../giget/dist/cli.mjs" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../jiti/bin/jiti.js" "$@"
else
exec node "$basedir/../jiti/bin/jiti.js" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jiti\bin\jiti.js" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../jiti/bin/jiti.js" $args
} else {
& "$basedir/node$exe" "$basedir/../jiti/bin/jiti.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../jiti/bin/jiti.js" $args
} else {
& "node$exe" "$basedir/../jiti/bin/jiti.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../jsesc/bin/jsesc" "$@"
else
exec node "$basedir/../jsesc/bin/jsesc" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\jsesc\bin\jsesc" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args
} else {
& "$basedir/node$exe" "$basedir/../jsesc/bin/jsesc" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../jsesc/bin/jsesc" $args
} else {
& "node$exe" "$basedir/../jsesc/bin/jsesc" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
else
exec node "$basedir/../json5/lib/cli.js" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\json5\lib\cli.js" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "$basedir/node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../json5/lib/cli.js" $args
} else {
& "node$exe" "$basedir/../json5/lib/cli.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
else
exec node "$basedir/../mkdirp/bin/cmd.js" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
} else {
& "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
} else {
& "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
else
exec node "$basedir/../which/bin/node-which" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../which/bin/node-which" $args
} else {
& "node$exe" "$basedir/../which/bin/node-which" $args
}
$ret=$LASTEXITCODE
}
exit $ret

@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nypm/dist/cli.mjs" "$@"
else
exec node "$basedir/../nypm/dist/cli.mjs" "$@"
fi

@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nypm\dist\cli.mjs" %*

@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../nypm/dist/cli.mjs" $args
} else {
& "$basedir/node$exe" "$basedir/../nypm/dist/cli.mjs" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../nypm/dist/cli.mjs" $args
} else {
& "node$exe" "$basedir/../nypm/dist/cli.mjs" $args
}
$ret=$LASTEXITCODE
}
exit $ret

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save