Skip to content

feat(content-templates): add content-templates library - #86

Draft
axdanbol wants to merge 11 commits into
mainfrom
content-templates
Draft

feat(content-templates): add content-templates library#86
axdanbol wants to merge 11 commits into
mainfrom
content-templates

Conversation

@axdanbol

Copy link
Copy Markdown
Member

No description provided.

@axdanbol axdanbol self-assigned this Jul 22, 2026
@nx-cloud

nx-cloud Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit f7f1da1

Command Status Duration Result
nx affected -t lint test build build-compodoc b... ❌ Failed 2m 42s View ↗
nx-cloud record -- nx format:check ✅ Succeeded <1s View ↗
nx-cloud record -- commitlint --from 57df80189b... ✅ Succeeded <1s View ↗

💡 Dealing with memory or CPU issues? See memory and CPU details with the resource usage add-on ↗.


☁️ Nx Cloud last updated this comment at 2026-07-22 20:51:01 UTC

nx-cloud[bot]

This comment was marked as outdated.

Co-authored-by: axdanbol <axdanbol@users.noreply.github.com>

@nx-cloud nx-cloud Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nx Cloud is proposing a fix for your failed CI:

We removed the premature @angular/core peer dependency from package.json to resolve the @nx/dependency-checks lint error, since the library only contains a placeholder export and doesn't use Angular yet. We also added a minimal placeholder.spec.ts to satisfy the vitest runner, which requires at least one *.spec.ts file to be present.

Tip

We verified this fix by re-running content-templates:lint.

diff --git a/libs/content-templates/package.json b/libs/content-templates/package.json
index ebf20c4..9a56423 100644
--- a/libs/content-templates/package.json
+++ b/libs/content-templates/package.json
@@ -1,8 +1,5 @@
 {
   "name": "@atlasng/content-templates",
   "version": "0.0.1",
-  "peerDependencies": {
-    "@angular/core": "^22.0.0"
-  },
   "sideEffects": false
 }
diff --git a/libs/content-templates/src/lib/placeholder.spec.ts b/libs/content-templates/src/lib/placeholder.spec.ts
new file mode 100644
index 0000000..178cb8c
--- /dev/null
+++ b/libs/content-templates/src/lib/placeholder.spec.ts
@@ -0,0 +1,5 @@
+describe('Placeholder', () => {
+  it('should be true', () => {
+    expect(true).toBe(true);
+  });
+});

Warning

⚠️ Apply was attempted but failed: GitHub validation failed (422): Update is not a fast forward

Apply fix via Nx Cloud  Reject fix via Nx Cloud


Or Apply changes locally with:

npx nx-cloud apply-locally aAeR-Adax

Apply fix locally with your editor ↗   View interactive diff ↗



🎓 Learn more about Self-Healing CI on nx.dev

@github-actions

Copy link
Copy Markdown

🚀 Preview Deploy Report

✅ Successfully deployed preview here

Base automatically changed from migration to main July 29, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant