diff --git a/package-shared b/package-shared deleted file mode 120000 index b450b76..0000000 --- a/package-shared +++ /dev/null @@ -1 +0,0 @@ -/media/benoti/Ubuntu-Disk/Github/datasquirel/package-shared \ No newline at end of file diff --git a/package-shared/README.md b/package-shared/README.md new file mode 100644 index 0000000..b196a25 --- /dev/null +++ b/package-shared/README.md @@ -0,0 +1,3 @@ +# Shared resources + +This directory contains data (mostly type definitions) shared by both the datasquirel NPM package and the datasquirel web app diff --git a/types/database-schema.td.js b/package-shared/types/database-schema.td.js similarity index 100% rename from types/database-schema.td.js rename to package-shared/types/database-schema.td.js diff --git a/types/package-shared-index.js b/package-shared/types/package-shared-index.js similarity index 100% rename from types/package-shared-index.js rename to package-shared/types/package-shared-index.js diff --git a/push.sh b/push.sh index b98308c..5650c82 100644 --- a/push.sh +++ b/push.sh @@ -8,10 +8,10 @@ else msg="$1" fi -cp "$root_dir/package-shared/types/"* "$root_dir/types/" || - { - echo "Copy Failed!" - exit 1 - } +# cp "$root_dir/package-shared/types/"* "$root_dir/types/" || +# { +# echo "Copy Failed!" +# exit 1 +# } git add . && git commit -m "$msg" && git push