18bc9ffb51
We now include `misc/angular-in-memory-web-api` in the packages that are build in the `dist/packages-dist` directory. But this package should not be published as an artifact. This commit prevents attempting to publishing the `misc` directory by first checking whether the directory contains a `package.json` file. PR Close #41393