Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the workspace root when doing nft scan #381

Merged
merged 19 commits into from
Sep 10, 2024
Merged

Set the workspace root when doing nft scan #381

merged 19 commits into from
Sep 10, 2024

Conversation

matthewp
Copy link
Contributor

@matthewp matthewp commented Sep 7, 2024

  • Previously we were setting the nft scan root to the / folder, which causes chaos if you have routes like /home or /dev. This fixes it by setting it to the workspace root instead.

Copy link

changeset-bot bot commented Sep 7, 2024

🦋 Changeset detected

Latest commit: 0fb6bb6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@astrojs/netlify Patch
@astrojs/vercel Patch
@test/netlify-hosted-astro-project Patch
@test/astro-vercel-basic Patch
@test/astro-vercel-function-per-route Patch
@test/astro-vercel-image Patch
@test/vercel-isr Patch
@test/vercel-max-duration Patch
@test/vercel-edge-middleware-with-edge-file Patch
@test/vercel-edge-middleware-without-edge-file Patch
@test/astro-vercel-no-output Patch
@test/astro-vercel-prerendered-error-pages Patch
@test/astro-vercel-redirects-serverless Patch
@test/astro-vercel-redirects Patch
@test/vercel-server-islands Patch
@test/astro-vercel-serverless-prerender Patch
@test/astro-vercel-serverless-with-dynamic-routes Patch
@test/astro-vercel-static-assets Patch
@test/astro-vercel-static Patch
@test/vercel-streaming Patch
@test/astro-vercel-with-speed-insights-enabled-output-as-server Patch
@test/astro-vercel-with-speed-insights-enabled-output-as-static Patch
@test/astro-vercel-with-web-analytics-enabled-output-as-static Patch
vercel-hosted-astro-project Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907133710) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907133710"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing cc6cec77af77b584

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.368s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907134901) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907134901"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing 2774c329c7cf40f6

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.139s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907135430) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907135430"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/netlify:build
cache miss, executing 8a792ceefbe99fa6

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.702s 

@matthewp matthewp changed the title Debugging netlify Prevent crawling linuxbrew folder Sep 7, 2024
@matthewp matthewp marked this pull request as ready for review September 7, 2024 14:04
@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907140507) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907140507"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing 420164d08e246108

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.255s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907141026) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907141026"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing 6d58d792a5a957c0

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.783s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907142241) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907142241"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/netlify:build
cache miss, executing 71ef0d3ac9e43dab

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    5.913s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907143159) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907143159"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/netlify:build
cache miss, executing 100ac93f57d0f0ba

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.683s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907143307) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907143307"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing 6c0c02434f5ef617

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.129s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907143426) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907143426"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing efdae97e23af781e

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.303s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907144446) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907144446"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/netlify:build
cache miss, executing d015d2d3d904a095

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.09s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907145048) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907145048"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing c4b8b66db2fd680a

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.328s 

@matthewp
Copy link
Contributor Author

matthewp commented Sep 7, 2024

!preview netlify-bug

Copy link
Contributor

github-actions bot commented Sep 7, 2024

Snapshots have been released for the following packages:

  • @astrojs/netlify@experimental--netlify-bug
Publish Log
🦋  warn ===============================IMPORTANT!===============================
🦋  warn Packages will be released under the experimental--netlify-bug tag
🦋  warn ----------------------------------------------------------------------
🦋  info npm info @astrojs/cloudflare
🦋  info npm info @astrojs/netlify
🦋  info npm info @astrojs/node
🦋  info npm info @astrojs/vercel
🦋  warn @astrojs/cloudflare is not being published because version 11.0.4 is already published on npm
🦋  info @astrojs/netlify is being published because our local version (0.0.0-netlify-bug-20240907150005) has not been published on npm
🦋  warn @astrojs/node is not being published because version 8.3.3 is already published on npm
🦋  warn @astrojs/vercel is not being published because version 7.8.0 is already published on npm
🦋  info Publishing "@astrojs/netlify" at "0.0.0-netlify-bug-20240907150005"
🦋  success packages published successfully:
🦋  @astrojs/[email protected]
🦋  Creating git tag...
🦋  New tag:  @astrojs/[email protected]
Build Log

> [email protected] build /home/runner/work/adapters/adapters
> turbo run build --filter="@astrojs/*"

• Packages in scope: @astrojs/cloudflare, @astrojs/netlify, @astrojs/node, @astrojs/test-utils, @astrojs/vercel
• Running build in 5 packages
• Remote caching disabled
::group::@astrojs/netlify:build
cache miss, executing 61b547a68c9ae7ce

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/netlify
> tsc

::endgroup::
::group::@astrojs/vercel:build
cache miss, executing 6e63e7a22cb615dd

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/vercel
> tsc

::endgroup::
::group::@astrojs/node:build
cache miss, executing 500254f597799cf1

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/node
> tsc

::endgroup::
::group::@astrojs/cloudflare:build
cache miss, executing b168b1ba31cb4844

> @astrojs/[email protected] build /home/runner/work/adapters/adapters/packages/cloudflare
> tsc

::endgroup::

 Tasks:    4 successful, 4 total
Cached:    0 cached, 4 total
  Time:    6.145s 

@matthewp matthewp changed the title Prevent crawling linuxbrew folder Set the workspace root when doing nft scan Sep 7, 2024
@github-actions github-actions bot added the pkg: vercel Related to Vercel adapter (scope) label Sep 7, 2024
@wobsoriano
Copy link

Tried the snapshot version and I can confirm it is working:

Screenshot 2024-09-07 at 10 25 42 AM

import type { AstroIntegrationLogger } from 'astro';
import { searchForWorkspaceRoot } from 'vite';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

today I learned

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have copied the function for vercel but not for netlify?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason simply having a import 'vite' in the Vercel adapter causes tests to timeout. I spent too much time and couldn't figure out why.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could move it into our shared utils, like we already did with some other vite stuff

Copy link
Member

@alexanderniebuhr alexanderniebuhr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some thoughts and comments, otherwise lgtm.

@matthewp matthewp merged commit 46fbb26 into main Sep 10, 2024
8 checks passed
@matthewp matthewp deleted the netlify-bug branch September 10, 2024 16:56
@github-actions github-actions bot mentioned this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: netlify pkg: vercel Related to Vercel adapter (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants