diff options
-rw-r--r-- | packages/astro/test/fixtures/static-build-ssr/astro.config.mjs (renamed from packages/astro/test/fixtures/static build SSR/astro.config.mjs) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build-ssr/package.json (renamed from packages/astro/test/fixtures/static build SSR/package.json) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build-ssr/public/asset.txt (renamed from packages/astro/test/fixtures/static build SSR/public/asset.txt) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build-ssr/public/nested/asset2.txt (renamed from packages/astro/test/fixtures/static build SSR/public/nested/asset2.txt) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/astro.config.mjs (renamed from packages/astro/test/fixtures/static build/astro.config.mjs) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/package.json (renamed from packages/astro/test/fixtures/static build/package.json) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/pkg/package.json (renamed from packages/astro/test/fixtures/static build/pkg/package.json) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/pkg/pkg.mjs (renamed from packages/astro/test/fixtures/static build/pkg/pkg.mjs) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/components/ExternalHoisted.astro (renamed from packages/astro/test/fixtures/static build/src/components/ExternalHoisted.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/components/InlineHoisted.astro (renamed from packages/astro/test/fixtures/static build/src/components/InlineHoisted.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/components/MainHead.astro (renamed from packages/astro/test/fixtures/static build/src/components/MainHead.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/components/Nav/index.jsx (renamed from packages/astro/test/fixtures/static build/src/components/Nav/index.jsx) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/components/Nav/styles.module.scss (renamed from packages/astro/test/fixtures/static build/src/components/Nav/styles.module.scss) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/layouts/Main.astro (renamed from packages/astro/test/fixtures/static build/src/layouts/Main.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/company.json.ts (renamed from packages/astro/test/fixtures/static build/src/pages/company.json.ts) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/data/[slug].json.ts (renamed from packages/astro/test/fixtures/static build/src/pages/data/[slug].json.ts) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/hoisted.astro (renamed from packages/astro/test/fixtures/static build/src/pages/hoisted.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/index.astro (renamed from packages/astro/test/fixtures/static build/src/pages/index.astro) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/posts.json.js (renamed from packages/astro/test/fixtures/static build/src/pages/posts.json.js) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/posts/nested/more.md (renamed from packages/astro/test/fixtures/static build/src/pages/posts/nested/more.md) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/pages/posts/thoughts.md (renamed from packages/astro/test/fixtures/static build/src/pages/posts/thoughts.md) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/scripts/external-hoist.ts (renamed from packages/astro/test/fixtures/static build/src/scripts/external-hoist.ts) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/scripts/inline-hoist.js (renamed from packages/astro/test/fixtures/static build/src/scripts/inline-hoist.js) | 0 | ||||
-rw-r--r-- | packages/astro/test/fixtures/static-build/src/styles/main.scss (renamed from packages/astro/test/fixtures/static build/src/styles/main.scss) | 0 | ||||
-rw-r--r-- | packages/astro/test/static-build.test.js | 4 | ||||
-rw-r--r-- | pnpm-lock.yaml | 30 |
26 files changed, 17 insertions, 17 deletions
diff --git a/packages/astro/test/fixtures/static build SSR/astro.config.mjs b/packages/astro/test/fixtures/static-build-ssr/astro.config.mjs index cf1980887..cf1980887 100644 --- a/packages/astro/test/fixtures/static build SSR/astro.config.mjs +++ b/packages/astro/test/fixtures/static-build-ssr/astro.config.mjs diff --git a/packages/astro/test/fixtures/static build SSR/package.json b/packages/astro/test/fixtures/static-build-ssr/package.json index 658d40fa9..658d40fa9 100644 --- a/packages/astro/test/fixtures/static build SSR/package.json +++ b/packages/astro/test/fixtures/static-build-ssr/package.json diff --git a/packages/astro/test/fixtures/static build SSR/public/asset.txt b/packages/astro/test/fixtures/static-build-ssr/public/asset.txt index 7d40b559f..7d40b559f 100644 --- a/packages/astro/test/fixtures/static build SSR/public/asset.txt +++ b/packages/astro/test/fixtures/static-build-ssr/public/asset.txt diff --git a/packages/astro/test/fixtures/static build SSR/public/nested/asset2.txt b/packages/astro/test/fixtures/static-build-ssr/public/nested/asset2.txt index 7d40b559f..7d40b559f 100644 --- a/packages/astro/test/fixtures/static build SSR/public/nested/asset2.txt +++ b/packages/astro/test/fixtures/static-build-ssr/public/nested/asset2.txt diff --git a/packages/astro/test/fixtures/static build/astro.config.mjs b/packages/astro/test/fixtures/static-build/astro.config.mjs index cc4fa3ae9..cc4fa3ae9 100644 --- a/packages/astro/test/fixtures/static build/astro.config.mjs +++ b/packages/astro/test/fixtures/static-build/astro.config.mjs diff --git a/packages/astro/test/fixtures/static build/package.json b/packages/astro/test/fixtures/static-build/package.json index 5796987a3..5796987a3 100644 --- a/packages/astro/test/fixtures/static build/package.json +++ b/packages/astro/test/fixtures/static-build/package.json diff --git a/packages/astro/test/fixtures/static build/pkg/package.json b/packages/astro/test/fixtures/static-build/pkg/package.json index 16d318672..16d318672 100644 --- a/packages/astro/test/fixtures/static build/pkg/package.json +++ b/packages/astro/test/fixtures/static-build/pkg/package.json diff --git a/packages/astro/test/fixtures/static build/pkg/pkg.mjs b/packages/astro/test/fixtures/static-build/pkg/pkg.mjs index b013a3b42..b013a3b42 100644 --- a/packages/astro/test/fixtures/static build/pkg/pkg.mjs +++ b/packages/astro/test/fixtures/static-build/pkg/pkg.mjs diff --git a/packages/astro/test/fixtures/static build/src/components/ExternalHoisted.astro b/packages/astro/test/fixtures/static-build/src/components/ExternalHoisted.astro index a9e7d2ae2..a9e7d2ae2 100644 --- a/packages/astro/test/fixtures/static build/src/components/ExternalHoisted.astro +++ b/packages/astro/test/fixtures/static-build/src/components/ExternalHoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/components/InlineHoisted.astro b/packages/astro/test/fixtures/static-build/src/components/InlineHoisted.astro index f1f15b401..f1f15b401 100644 --- a/packages/astro/test/fixtures/static build/src/components/InlineHoisted.astro +++ b/packages/astro/test/fixtures/static-build/src/components/InlineHoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/components/MainHead.astro b/packages/astro/test/fixtures/static-build/src/components/MainHead.astro index 532d99299..532d99299 100644 --- a/packages/astro/test/fixtures/static build/src/components/MainHead.astro +++ b/packages/astro/test/fixtures/static-build/src/components/MainHead.astro diff --git a/packages/astro/test/fixtures/static build/src/components/Nav/index.jsx b/packages/astro/test/fixtures/static-build/src/components/Nav/index.jsx index d74961d6d..d74961d6d 100644 --- a/packages/astro/test/fixtures/static build/src/components/Nav/index.jsx +++ b/packages/astro/test/fixtures/static-build/src/components/Nav/index.jsx diff --git a/packages/astro/test/fixtures/static build/src/components/Nav/styles.module.scss b/packages/astro/test/fixtures/static-build/src/components/Nav/styles.module.scss index ecbe5585e..ecbe5585e 100644 --- a/packages/astro/test/fixtures/static build/src/components/Nav/styles.module.scss +++ b/packages/astro/test/fixtures/static-build/src/components/Nav/styles.module.scss diff --git a/packages/astro/test/fixtures/static build/src/layouts/Main.astro b/packages/astro/test/fixtures/static-build/src/layouts/Main.astro index 26f817711..26f817711 100644 --- a/packages/astro/test/fixtures/static build/src/layouts/Main.astro +++ b/packages/astro/test/fixtures/static-build/src/layouts/Main.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/company.json.ts b/packages/astro/test/fixtures/static-build/src/pages/company.json.ts index ee3f2f1ad..ee3f2f1ad 100644 --- a/packages/astro/test/fixtures/static build/src/pages/company.json.ts +++ b/packages/astro/test/fixtures/static-build/src/pages/company.json.ts diff --git a/packages/astro/test/fixtures/static build/src/pages/data/[slug].json.ts b/packages/astro/test/fixtures/static-build/src/pages/data/[slug].json.ts index 51a12db2e..51a12db2e 100644 --- a/packages/astro/test/fixtures/static build/src/pages/data/[slug].json.ts +++ b/packages/astro/test/fixtures/static-build/src/pages/data/[slug].json.ts diff --git a/packages/astro/test/fixtures/static build/src/pages/hoisted.astro b/packages/astro/test/fixtures/static-build/src/pages/hoisted.astro index 9677a6c52..9677a6c52 100644 --- a/packages/astro/test/fixtures/static build/src/pages/hoisted.astro +++ b/packages/astro/test/fixtures/static-build/src/pages/hoisted.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/index.astro b/packages/astro/test/fixtures/static-build/src/pages/index.astro index 5bd2410ac..5bd2410ac 100644 --- a/packages/astro/test/fixtures/static build/src/pages/index.astro +++ b/packages/astro/test/fixtures/static-build/src/pages/index.astro diff --git a/packages/astro/test/fixtures/static build/src/pages/posts.json.js b/packages/astro/test/fixtures/static-build/src/pages/posts.json.js index 6463fdbad..6463fdbad 100644 --- a/packages/astro/test/fixtures/static build/src/pages/posts.json.js +++ b/packages/astro/test/fixtures/static-build/src/pages/posts.json.js diff --git a/packages/astro/test/fixtures/static build/src/pages/posts/nested/more.md b/packages/astro/test/fixtures/static-build/src/pages/posts/nested/more.md index 5bfd7f382..5bfd7f382 100644 --- a/packages/astro/test/fixtures/static build/src/pages/posts/nested/more.md +++ b/packages/astro/test/fixtures/static-build/src/pages/posts/nested/more.md diff --git a/packages/astro/test/fixtures/static build/src/pages/posts/thoughts.md b/packages/astro/test/fixtures/static-build/src/pages/posts/thoughts.md index 5edbf5e90..5edbf5e90 100644 --- a/packages/astro/test/fixtures/static build/src/pages/posts/thoughts.md +++ b/packages/astro/test/fixtures/static-build/src/pages/posts/thoughts.md diff --git a/packages/astro/test/fixtures/static build/src/scripts/external-hoist.ts b/packages/astro/test/fixtures/static-build/src/scripts/external-hoist.ts index ca6112cd3..ca6112cd3 100644 --- a/packages/astro/test/fixtures/static build/src/scripts/external-hoist.ts +++ b/packages/astro/test/fixtures/static-build/src/scripts/external-hoist.ts diff --git a/packages/astro/test/fixtures/static build/src/scripts/inline-hoist.js b/packages/astro/test/fixtures/static-build/src/scripts/inline-hoist.js index b1241e781..b1241e781 100644 --- a/packages/astro/test/fixtures/static build/src/scripts/inline-hoist.js +++ b/packages/astro/test/fixtures/static-build/src/scripts/inline-hoist.js diff --git a/packages/astro/test/fixtures/static build/src/styles/main.scss b/packages/astro/test/fixtures/static-build/src/styles/main.scss index cb4e85345..cb4e85345 100644 --- a/packages/astro/test/fixtures/static build/src/styles/main.scss +++ b/packages/astro/test/fixtures/static-build/src/styles/main.scss diff --git a/packages/astro/test/static-build.test.js b/packages/astro/test/static-build.test.js index f4cd4b276..3ed593ace 100644 --- a/packages/astro/test/static-build.test.js +++ b/packages/astro/test/static-build.test.js @@ -28,7 +28,7 @@ describe('Static build', () => { }; fixture = await loadFixture({ - root: './fixtures/static build/', + root: './fixtures/static-build/', }); await fixture.build({ logging }); }); @@ -172,7 +172,7 @@ describe('Static build', () => { describe('Static build SSR', () => { it('Copies public files', async () => { const fixture = await loadFixture({ - root: './fixtures/static build SSR/', + root: './fixtures/static-build-ssr/', }); await fixture.build(); const asset = await fixture.readFile('/client/nested/asset2.txt'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 190872d7d..b38d40c4e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1092,7 +1092,7 @@ importers: '@astrojs/solid-js': link:../../../../integrations/solid astro: link:../../.. - packages/astro/test/fixtures/static build: + packages/astro/test/fixtures/static-build: specifiers: '@astrojs/preact': workspace:* '@test/static-build-pkg': workspace:* @@ -1102,19 +1102,6 @@ importers: '@test/static-build-pkg': link:pkg astro: link:../../.. - packages/astro/test/fixtures/static build SSR: - specifiers: - '@astrojs/node': workspace:* - '@test/static-build-pkg': workspace:* - astro: workspace:* - dependencies: - '@astrojs/node': link:../../../../integrations/node - '@test/static-build-pkg': link:../static build/pkg - astro: link:../../.. - - packages/astro/test/fixtures/static build/pkg: - specifiers: {} - packages/astro/test/fixtures/static-build-code-component: specifiers: astro: workspace:* @@ -1137,6 +1124,19 @@ importers: dependencies: astro: link:../../.. + packages/astro/test/fixtures/static-build-ssr: + specifiers: + '@astrojs/node': workspace:* + '@test/static-build-pkg': workspace:* + astro: workspace:* + dependencies: + '@astrojs/node': link:../../../../integrations/node + '@test/static-build-pkg': link:../static-build/pkg + astro: link:../../.. + + packages/astro/test/fixtures/static-build/pkg: + specifiers: {} + packages/astro/test/fixtures/svelte-component: specifiers: '@astrojs/svelte': workspace:* @@ -10675,7 +10675,7 @@ packages: stylus: optional: true dependencies: - esbuild: 0.14.34 + esbuild: 0.14.30 postcss: 8.4.12 resolve: 1.22.0 rollup: 2.70.1 |