BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Surviving and Thriving with the SAP Cloud Application Programming Model: Types & Tools

The first post in Max Streifeneder's #CAPTricks series for CAP Node.js sets up TypeScript in a CAP project — a tsconfig.json, cds-ts for the dev loop, tsc to compile for deployment, and cds2types to generate TypeScript definitions from a CDS model's entities and services. It then wires up ESLint and Prettier to lint and format the project's TypeScript files, with a shared .eslintrc and .prettierrc, extensions for VS Code and SAP Business Application Studio, and a husky pre-commit hook running lint-staged before every commit.

Where it sits

Explains
TypingCAPTypingcapabilityMaking the model visible to the compiler — generated types for entities and events so a rename breaks the build rather than production.LintingLintingcapabilityCatching in the editor what would otherwise be caught at deploy time, or not at all — problems in source code and models and in the project's configuration, found by rules rather than by review.

Who is behind it

Max StreifenederMax StreifenederPersonWrote this
In the atlas: contributes to 2, wrote 2
@maxstreifeneder
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared

More on this10

Group by10 of 10 pieces
Piece, what it offersStill applies
Also explainingTyping9
The missing half of AI-assisted CAP development: putting the compiler in the loop
SAP Community, capforge
nothing recorded
Before You Upgrade S/4HANA: Static UI5 Checks with MCP
blog.zeis.de — Marian Zeis, Marian Zeis, part 9 of 10Runnable codeThe reasoning
nothing recorded
Building Secure SAPUI5 Applications: Best Practices for Developers
SAP Community, Manisha_19
nothing recorded
Introducing eslint-plugin-better-cap-config an ESLint plugin to improve CAP configuration
SAP Community, Mauricio LaufferThe reasoningA recipeRunnable code
nothing recorded
Migrate your code with UI5 linter – Autofix has landed
SAP Community, Florian Vogt
nothing recorded
Release of UI5 linter v1.0
SAP Community, FlorianVogt
nothing recorded
Exploring the TypeScript Ecosystem with @cap-js/cds-typer, cds-ts, and node-ts Part - 2
SAP Community, satya-devRunnable code
New majors
Exploring the TypeScript Ecosystem with @cap-js/cds-typer, cds-ts, and node-ts
SAP Community, satya-devA recipeRunnable code
New majors
TypeScript Sheriff: How can I use TypeScript in the SAP ecosystem? (Part 2 of 3)
SAP Community, MikeDoyleThe reasoning
nothing recorded
Building a Terraform onboarder for SAP Business AI Platform
SAP TechEd — session catalogue, Max StreifenederThe reasoning
nothing recorded

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsTypingcapability, core and community
explainsLintingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to
JSON
/content/surviving-and-thriving-with-the-sap-cloud-application-programming-model-types-to.json
MCP
Connecting an agent