{"id":19499610,"url":"https://github.com/stackbit/annotation-errors-e2e","last_synced_at":"2025-02-25T21:18:06.319Z","repository":{"id":41165532,"uuid":"504199168","full_name":"stackbit/annotation-errors-e2e","owner":"stackbit","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2022-07-19T04:10:04.000Z","size":525,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T05:04:10.764Z","etag":null,"topics":["git","headless","jamstack","nextjs","ssg","stackbit","static"],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-16T15:00:28.000Z","updated_at":"2023-07-25T14:58:26.000Z","dependencies_parsed_at":"2022-07-25T21:32:15.604Z","dependency_job_id":null,"html_url":"https://github.com/stackbit/annotation-errors-e2e","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fannotation-errors-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fannotation-errors-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fannotation-errors-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackbit%2Fannotation-errors-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackbit","download_url":"https://codeload.github.com/stackbit/annotation-errors-e2e/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746953,"owners_count":19850998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","headless","jamstack","nextjs","ssg","stackbit","static"],"created_at":"2024-11-10T22:05:04.687Z","updated_at":"2025-02-25T21:18:06.294Z","avatar_url":"https://github.com/stackbit.png","language":"TypeScript","readme":"# Stackbit Annotation Error Test Site\n\nThis project can be used to test pre-releases of the cli app. It is configured to load the\nmonorepo as a git submodule, then uses a yarn workspace to link the local package for dev.\nFinally, a `bin/dev.js` wrapper is invoked to launch stackbit in dev mode using this package.\n\n## Getting started\n\n0. Ensure `node --version` is 14.x and `npm --version` is 6.x\n\n1. checkout the project and install node_modules:\n\n   ```sh\n   git clone --recursive git@github.com:stackbit/annotation-errors-e2e.git\n   cd annotation-errors-e2e\n   yarn\n   ```\n\nIf yarn cannot be found, first run `npm i -g yarn`. note: your git needs to be configured with ssh so that\nuser auth will pass through to the submodule.\n\n2. Open up two command-line prompts in this directory.\n   a. In the first one run `yarn dev`\n   b. In the second terminal run `yarn stackbit-dev`\n\nThis will open Stackbit in your browser in local dev mode. Refer to the second\ncommand line for reported annotation errors. If this command is run in vscode or WebStorm then the sourcemap links will be navigable.\n\n**Important** One must run yarn again any time the `stackbit` branch changes, as this will force the build to run with the updated code.\n\n## List of errata\n\n1. Header\n   - Missing title annotation\n2. Footer\n   - Incorrect parent field path (missing `:footer` at the end)\n\n### Original Output\n\n```\nerror: Found 22 annotation errors\nerror: AnnotationError: Field path navLinks not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1])\nerror: AnnotationError: Field path header.0 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[1])\nerror: AnnotationError: Field path header.0.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[1])\nerror: AnnotationError: Field path header.label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path header.1 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[2])\nerror: AnnotationError: Field path header.1.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[2])\nerror: AnnotationError: Field path header.label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path header.2 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[3])\nerror: AnnotationError: Field path header.2.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/header[1]/div[1]/nav[1]/a[3])\nerror: AnnotationError: Field path header.label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path content/data/config.json not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1])\nerror: AnnotationError: Field path navLinks not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1])\nerror: AnnotationError: Field path 0 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[1])\nerror: AnnotationError: Field path 0.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[1])\nerror: AnnotationError: Field path label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path 1 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[2])\nerror: AnnotationError: Field path 1.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[2])\nerror: AnnotationError: Field path label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path 2 not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[3])\nerror: AnnotationError: Field path 2.url not found or does not match content schema (/html/body[1]/div[1]/div[1]/div[1]/footer[1]/nav[1]/a[3])\nerror: AnnotationError: Field path label not found or does not match content schema (src/components/atoms/Link.tsx:18)\nerror: AnnotationError: Field path copyrightText not found or does not match content schema (src/components/atoms/Markdown.tsx:9)\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fannotation-errors-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackbit%2Fannotation-errors-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackbit%2Fannotation-errors-e2e/lists"}