diff --git a/.pubignore b/.pubignore new file mode 100644 index 00000000..43c82d3c --- /dev/null +++ b/.pubignore @@ -0,0 +1,5 @@ +new_version.sh +.latest_version +.vscode/ +example/ +models/ diff --git a/packages/wyatt_architecture/.pubignore b/packages/wyatt_architecture/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_architecture/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_bloc_helper/.pubignore b/packages/wyatt_bloc_helper/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_bloc_helper/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_bloc_layout/.pubignore b/packages/wyatt_bloc_layout/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_bloc_layout/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_component_copy_with_extension/.pubignore b/packages/wyatt_component_copy_with_extension/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_component_copy_with_extension/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_component_copy_with_gen/.pubignore b/packages/wyatt_component_copy_with_gen/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_component_copy_with_gen/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_deferred_widget_annotation/.pubignore b/packages/wyatt_deferred_widget_annotation/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_deferred_widget_annotation/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_deferred_widget_gen/.pubignore b/packages/wyatt_deferred_widget_gen/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_deferred_widget_gen/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_http_client/.pubignore b/packages/wyatt_http_client/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_http_client/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_i18n/.pubignore b/packages/wyatt_i18n/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_i18n/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_notification_bloc/.pubignore b/packages/wyatt_notification_bloc/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_notification_bloc/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_type_utils/.pubignore b/packages/wyatt_type_utils/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_type_utils/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_ui_components/.pubignore b/packages/wyatt_ui_components/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_ui_components/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_ui_kit/.pubignore b/packages/wyatt_ui_kit/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_ui_kit/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/packages/wyatt_ui_layout/.pubignore b/packages/wyatt_ui_layout/.pubignore new file mode 120000 index 00000000..52b2f28d --- /dev/null +++ b/packages/wyatt_ui_layout/.pubignore @@ -0,0 +1 @@ +../../.pubignore \ No newline at end of file diff --git a/scripts/clean_gitignore.sh b/scripts/clean_gitignore.sh index ad546849..74e5e289 100755 --- a/scripts/clean_gitignore.sh +++ b/scripts/clean_gitignore.sh @@ -32,6 +32,11 @@ for package in "$PACKAGES_DIR"/*; do rm "$package/.gitignore" fi + # Remove .pubignore file if it exists + if [ -f "$package/.pubignore" ]; then + rm "$package/.pubignore" + fi + # Remove AUTHORS file if it exists if [ -f "$package/AUTHORS" ]; then rm "$package/AUTHORS" diff --git a/scripts/symbolic_links.sh b/scripts/symbolic_links.sh index f00ac7da..1d2b6e59 100755 --- a/scripts/symbolic_links.sh +++ b/scripts/symbolic_links.sh @@ -37,6 +37,12 @@ for package in "$PACKAGES_DIR"/*; do ln -s ../../.gitignore .gitignore fi + # Create symbolic link to the main .pubignore file if it does not already + # exist + if [ ! -f .pubignore ]; then + ln -s ../../.pubignore .pubignore + fi + # Create symbolic link to the main AUTHORS file if it does not already # exist