forked from trent_larson/crowd-funder-for-time-pwa
feat: integrate daily-notification-plugin from Gitea repository
- Add @timesafari/daily-notification-plugin dependency from private Gitea repo - Configure .npmrc to be ignored by git to protect authentication tokens - Remove .npmrc from version control (contains sensitive Gitea token) - Update package-lock.json with new dependency The plugin is installed via git URL and automatically builds during npm install thanks to the prepare script in the plugin repository. Installation requires Gitea personal access token configured in local .npmrc file.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -16,6 +16,9 @@ myenv
|
|||||||
.env.local
|
.env.local
|
||||||
.env.*.local
|
.env.*.local
|
||||||
|
|
||||||
|
# npm configuration with sensitive tokens
|
||||||
|
.npmrc
|
||||||
|
|
||||||
# Log filesopenssl dgst -sha256 -verify public.pem -signature <(echo -n "$signature") "$signing_input"
|
# Log filesopenssl dgst -sha256 -verify public.pem -signature <(echo -n "$signature") "$signing_input"
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
|
|||||||
45
.husky/_/husky.sh
Executable file → Normal file
45
.husky/_/husky.sh
Executable file → Normal file
@@ -1,40 +1,9 @@
|
|||||||
|
echo "husky - DEPRECATED
|
||||||
|
|
||||||
|
Please remove the following two lines from $0:
|
||||||
|
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
#
|
. \"\$(dirname -- \"\$0\")/_/husky.sh\"
|
||||||
# Husky Helper Script
|
|
||||||
# This file is sourced by all Husky hooks
|
|
||||||
#
|
|
||||||
if [ -z "$husky_skip_init" ]; then
|
|
||||||
debug () {
|
|
||||||
if [ "$HUSKY_DEBUG" = "1" ]; then
|
|
||||||
echo "husky (debug) - $1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
readonly hook_name="$(basename -- "$0")"
|
They WILL FAIL in v10.0.0
|
||||||
debug "starting $hook_name..."
|
"
|
||||||
|
|
||||||
if [ "$HUSKY" = "0" ]; then
|
|
||||||
debug "HUSKY env variable is set to 0, skipping hook"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f ~/.huskyrc ]; then
|
|
||||||
debug "sourcing ~/.huskyrc"
|
|
||||||
. ~/.huskyrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
readonly husky_skip_init=1
|
|
||||||
export husky_skip_init
|
|
||||||
sh -e "$0" "$@"
|
|
||||||
exitCode="$?"
|
|
||||||
|
|
||||||
if [ $exitCode != 0 ]; then
|
|
||||||
echo "husky - $hook_name hook exited with code $exitCode (error)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $exitCode = 127 ]; then
|
|
||||||
echo "husky - command not found in PATH=$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit $exitCode
|
|
||||||
fi
|
|
||||||
4511
package-lock.json
generated
4511
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -151,6 +151,7 @@
|
|||||||
"@capacitor/share": "^6.0.3",
|
"@capacitor/share": "^6.0.3",
|
||||||
"@capacitor/status-bar": "^6.0.2",
|
"@capacitor/status-bar": "^6.0.2",
|
||||||
"@capawesome/capacitor-file-picker": "^6.2.0",
|
"@capawesome/capacitor-file-picker": "^6.2.0",
|
||||||
|
"@timesafari/daily-notification-plugin": "git+https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin.git#master",
|
||||||
"@dicebear/collection": "^5.4.1",
|
"@dicebear/collection": "^5.4.1",
|
||||||
"@dicebear/core": "^5.4.1",
|
"@dicebear/core": "^5.4.1",
|
||||||
"@ethersproject/hdnode": "^5.7.0",
|
"@ethersproject/hdnode": "^5.7.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user