Skip to content

Commit

Permalink
Removed type checks for consuming catalogs (#865)
Browse files Browse the repository at this point in the history
* chore(core): removed type checks for catalogs

* chore(core): removed type checks for catalogs

* Create moody-hounds-travel.md
  • Loading branch information
boyney123 authored Oct 16, 2024
1 parent 0d8a6e2 commit 95ca9aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-hounds-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@eventcatalog/core": patch
---

chore(core): removed type checks for consuming catalogs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "vitest --config vitest.config.ts",
"test:ci": "node scripts/ci/test.js",
"start": "astro dev",
"build": "npm run scripts:hydrate-content && node scripts/analytics/log-build.js && astro check --minimumSeverity error && astro build",
"build": "npm run scripts:hydrate-content && node scripts/analytics/log-build.js && astro build",
"build:cd": "node scripts/build-ci.js",
"preview": "astro preview",
"astro": "astro",
Expand Down
11 changes: 7 additions & 4 deletions scripts/build-ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ fs.copyFileSync(join(projectDIR, 'eventcatalog.config.js'), join(catalogDir, 'ev

fs.copyFileSync(join(projectDIR, 'eventcatalog.styles.css'), join(catalogDir, 'eventcatalog.styles.css'));

execSync(`cross-env NODE_ENV=CI PROJECT_DIR=${projectDIR} CATALOG_DIR=${catalogDir} npm run build`, {
cwd: catalogDir,
stdio: 'inherit',
});
execSync(
`cross-env NODE_ENV=CI PROJECT_DIR=${projectDIR} CATALOG_DIR=${catalogDir} npm run build && astro check --minimumSeverity error`,
{
cwd: catalogDir,
stdio: 'inherit',
}
);

0 comments on commit 95ca9aa

Please sign in to comment.