Policy for package to publish


Do exists policy for publish packages similar to .gitignore for repository? In my .gitignore file I have venv etc. for Python Script which is inside the UiPath project and while Python testing I created venv, which I forget and then published package with this files. There is any way to ignore specific file/folder to publish package?

I find something like this:

… I find something like this but I can use this only in case, if file/folder exists and can not added file which do not exists for the moment, but maybe will be.

And I can not add folders to “Ignore from publish”, there is for just single file.