Ignore test fixture for changesets (#2804)

* test: move fixtures to `@test/` scope

* chore: ignore `@test/` scope

* chore: add changeset

* test: renamed missed package

* chore: delete test file

* fix: @test package references

* fix: @test package references
This commit is contained in:
Nate Moore 2022-03-15 16:17:23 -05:00 committed by GitHub
parent 60fe7bd41e
commit 86419d9ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
83 changed files with 89 additions and 97 deletions

View file

@ -6,5 +6,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@example/*"]
"ignore": ["@example/*", "@test/*"]
}

View file

@ -8,7 +8,7 @@ describe('Custom Elements', () => {
before(async () => {
fixture = await loadFixture({
projectRoot: './fixtures/custom-elements/',
renderers: ['@astrojs/test-custom-element-renderer'],
renderers: ['@test/custom-element-renderer'],
});
await fixture.build();
});

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-0-css",
"name": "@test/0-css",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-assets",
"name": "@test/astro-assets",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-attrs",
"name": "@test/astro-attrs",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-basic",
"name": "@test/astro-basic",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-children",
"name": "@test/astro-children",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-class-list",
"name": "@test/astro-class-list",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-client-only",
"name": "@test/astro-client-only",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-component-code",
"name": "@test/astro-component-code",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-components",
"name": "@test/astro-components",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-css-bundling-import",
"name": "@test/astro-css-bundling-import",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-css-bundling-nested-layouts",
"name": "@test/astro-css-bundling-nested-layouts",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-css-bundling",
"name": "@test/astro-css-bundling",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-directives",
"name": "@test/astro-directives",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-doctype",
"name": "@test/astro-doctype",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-dynamic",
"name": "@test/astro-dynamic",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-envs",
"name": "@test/astro-envs",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-expr",
"name": "@test/astro-expr",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-external-files",
"name": "@test/astro-external-files",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-fallback",
"name": "@test/astro-fallback",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-get-static-paths",
"name": "@test/astro-get-static-paths",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-global",
"name": "@test/astro-global",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-jsx",
"name": "@test/astro-jsx",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-drafts",
"name": "@test/astro-markdown-drafts",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-plugins",
"name": "@test/astro-markdown-plugins",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-langs",
"name": "@test/astro-markdown-skiki-langs",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-normal",
"name": "@test/astro-markdown-skiki-normal",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-themes-custom",
"name": "@test/astro-markdown-skiki-themes-custom",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-themes-integrated",
"name": "@test/astro-markdown-skiki-themes-integrated",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-wrap-false",
"name": "@test/astro-markdown-skiki-wrap-false",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-wrap-null",
"name": "@test/astro-markdown-skiki-wrap-null",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown-skiki-wrap-true",
"name": "@test/astro-markdown-skiki-wrap-true",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-markdown",
"name": "@test/astro-markdown",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-page-directory-url",
"name": "@test/astro-page-directory-url",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-pages",
"name": "@test/astro-pages",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-pagination",
"name": "@test/astro-pagination",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-partial-html",
"name": "@test/astro-partial-html",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-public",
"name": "@test/astro-public",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-scripts",
"name": "@test/astro-scripts",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-sitemap-rss",
"name": "@test/astro-sitemap-rss",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-astro-slots",
"name": "@test/astro-slots",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-config-host",
"name": "@test/config-host",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-config-hostname",
"name": "@test/config-hostname",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-config-path",
"name": "@test/config-path",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-config-port",
"name": "@test/config-port",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,8 +0,0 @@
# @astrojs/test-custom-element-renderer
## 0.1.0
### Minor Changes
- [#2202](https://github.com/withastro/astro/pull/2202) [`45cea6ae`](https://github.com/withastro/astro/commit/45cea6aec5a310fed4cb8da0d96670d6b99a2539) Thanks [@jonathantneal](https://github.com/jonathantneal)! - Officially drop support for Node v12. The minimum supported version is now Node v14.15+,

View file

@ -1,5 +1,5 @@
export default {
name: '@astrojs/test-custom-element-renderer',
name: '@test/custom-element-renderer',
server: './server.js',
polyfills: [
'./polyfill.js'
@ -10,8 +10,8 @@ export default {
viteConfig() {
return {
optimizeDeps: {
include: ['@astrojs/test-custom-element-renderer/polyfill.js', '@astrojs/test-custom-element-renderer/hydration-polyfill.js'],
exclude: ['@astrojs/test-custom-element-renderer/server.js']
include: ['@test/custom-element-renderer/polyfill.js', '@test/custom-element-renderer/hydration-polyfill.js'],
exclude: ['@test/custom-element-renderer/server.js']
}
}
}

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-custom-element-renderer",
"name": "@test/custom-element-renderer",
"version": "0.1.0",
"private": true,
"main": "index.js",

View file

@ -1,9 +1,9 @@
{
"name": "@astrojs/test-custom-elements",
"name": "@test/custom-elements",
"version": "0.0.0",
"private": true,
"dependencies": {
"astro": "workspace:*",
"@astrojs/test-custom-element-renderer": "workspace:*"
"@test/custom-element-renderer": "workspace:*"
}
}

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-debug-component",
"name": "@test/debug-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-errors",
"name": "@test/errors",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-fetch",
"name": "@test/fetch",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/legacy-build",
"name": "@test/legacy-build",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-lit-element",
"name": "@test/lit-element",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-markdown",
"name": "@test/markdown",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-postcss",
"name": "@test/postcss",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-preact-component",
"name": "@test/preact-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-react-component",
"name": "@test/react-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-remote-css",
"name": "@test/remote-css",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-route-manifest",
"name": "@test/route-manifest",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-sass",
"name": "@test/sass",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-slots-preact",
"name": "@test/slots-preact",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-slots-react",
"name": "@test/slots-react",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-slots-solid",
"name": "@test/slots-solid",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-slots-svelte",
"name": "@test/slots-svelte",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-slots-vue",
"name": "@test/slots-vue",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-solid-component",
"name": "@test/solid-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,8 +1,8 @@
{
"name": "@astrojs/test-static-build",
"name": "@test/static-build",
"version": "0.0.0",
"dependencies": {
"@astrojs/test-static-build-pkg": "link:pkg",
"@test/static-build-pkg": "link:pkg",
"astro": "workspace:*"
}
}

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-static-build-pkg",
"name": "@test/static-build-pkg",
"main": "./oops.cjs",
"version": "0.0.3",
"exports": {

View file

@ -1,7 +1,7 @@
---
import MainHead from '../components/MainHead.astro';
import Nav from '../components/Nav/index.jsx';
import { test as ssrConfigTest } from '@astrojs/test-static-build-pkg';
import { test as ssrConfigTest } from '@test/static-build-pkg';
let allPosts = await Astro.fetchContent('./posts/*.md');
---
<html>

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-static-build-code-component",
"name": "@test/static-build-code-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-static-build-frameworks",
"name": "@test/static-build-frameworks",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-static-build-page-url-format",
"name": "@test/static-build-page-url-format",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-svelte-component",
"name": "@test/svelte-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-vue-component",
"name": "@test/vue-component",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-with-endpoint-routes",
"name": "@test/with-endpoint-routes",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-with-subpath-no-trailing-slash",
"name": "@test/with-subpath-no-trailing-slash",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-with-subpath-trailing-slash",
"name": "@test/with-subpath-trailing-slash",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-without-site-config",
"name": "@test/without-site-config",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -1,5 +1,5 @@
{
"name": "@astrojs/test-without-subpath",
"name": "@test/without-subpath",
"version": "0.0.0",
"private": true,
"dependencies": {

View file

@ -17,7 +17,7 @@ describe('Static build', () => {
site: 'http://example.com/subpath/',
},
ssr: {
noExternal: ['@astrojs/test-static-build-pkg'],
noExternal: ['@test/static-build-pkg'],
},
});
await fixture.build();

View file

@ -774,10 +774,10 @@ importers:
packages/astro/test/fixtures/custom-elements:
specifiers:
'@astrojs/test-custom-element-renderer': workspace:*
'@test/custom-element-renderer': workspace:*
astro: workspace:*
dependencies:
'@astrojs/test-custom-element-renderer': link:my-component-lib
'@test/custom-element-renderer': link:my-component-lib
astro: link:../../..
packages/astro/test/fixtures/custom-elements/my-component-lib:
@ -913,10 +913,10 @@ importers:
packages/astro/test/fixtures/static build:
specifiers:
'@astrojs/test-static-build-pkg': link:pkg
'@test/static-build-pkg': link:pkg
astro: workspace:*
dependencies:
'@astrojs/test-static-build-pkg': link:pkg
'@test/static-build-pkg': link:pkg
astro: link:../../..
packages/astro/test/fixtures/static build/pkg: