Skip to content

Commit

Permalink
chore: Removed dist and test folders to favor a more up-to-date packa…
Browse files Browse the repository at this point in the history
…ge; moved files one level up and updated interfaces
  • Loading branch information
rafa8626 committed Nov 1, 2022
1 parent ad251da commit 4287254
Show file tree
Hide file tree
Showing 87 changed files with 17,160 additions and 31,209 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
[
"@babel/preset-env",
{
"corejs": "3.22"
"useBuiltIns": "entry",
"corejs": "3.25"
}
]
]
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ coverage/
.DS_Store
.nyc_output
.coveralls.yml
test/index.html
test/index.html
dist/
18 changes: 12 additions & 6 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/sh
#!/usr/bin/env sh
if [ -z "$husky_skip_init" ]; then
debug () {
[ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1"
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}

readonly hook_name="$(basename "$0")"
readonly hook_name="$(basename -- "$0")"
debug "starting $hook_name..."

if [ "$HUSKY" = "0" ]; then
Expand All @@ -17,14 +19,18 @@ if [ -z "$husky_skip_init" ]; then
. ~/.huskyrc
fi

export readonly husky_skip_init=1
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)"
exit $exitCode
fi

exit 0
if [ $exitCode = 127 ]; then
echo "husky - command not found in PATH=$PATH"
fi

exit $exitCode
fi
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"*.{js,ts}": [
"prettier --write",
"eslint --fix",
"npm run test:sources",
"npm run test:changes",
"git add --all"
],
"src/js/**/*.json": [
Expand Down
440 changes: 0 additions & 440 deletions dist/esm/controls.js

This file was deleted.

435 changes: 0 additions & 435 deletions dist/esm/controls/captions.js

This file was deleted.

222 changes: 0 additions & 222 deletions dist/esm/controls/fullscreen.js

This file was deleted.

Loading

0 comments on commit 4287254

Please sign in to comment.