{"id":24873,"library":"aberlaas-ci","title":"aberlaas-ci","description":"Aberlaas CI is a CLI tool (v2.27.4) that automates running tests and linting on every commit in a CI environment. It integrates with GitHub Actions and other CI platforms, providing a zero-config setup for JavaScript/TypeScript projects. Key differentiators include opinionated defaults (Jest, ESLint, Prettier), automatic detection of project structure, and seamless integration with aberlaas core. Maintained primarily for the author's own projects, it follows a monthly release cadence. Alternatives include standard CI scripts or tools like Husky.","status":"active","version":"2.27.4","language":"javascript","source_language":"en","source_url":"https://github.com/pixelastic/aberlaas","tags":["javascript"],"install":[{"cmd":"npm install aberlaas-ci","lang":"bash","label":"npm"},{"cmd":"yarn add aberlaas-ci","lang":"bash","label":"yarn"},{"cmd":"pnpm add aberlaas-ci","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core dependency for CI commands and configuration","package":"aberlaas","optional":false}],"imports":[{"note":"Package is ESM-only since v2. Use import syntax.","wrong":"const ci = require('aberlaas-ci')","symbol":"default","correct":"import ci from 'aberlaas-ci'"},{"note":"Named export available for programmatic use.","wrong":"","symbol":"run","correct":"import { run } from 'aberlaas-ci'"},{"note":"CLI binary exposed without import; run via npx or as a script.","wrong":"","symbol":"ci (CLI)","correct":"npx aberlaas-ci"}],"quickstart":{"code":"// In package.json scripts\n{\n  \"scripts\": {\n    \"ci\": \"aberlaas-ci\"\n  }\n}\n// Then run:\n// npm run ci\n// or npx aberlaas-ci","lang":"javascript","description":"Shows how to integrate aberlaas-ci as an npm script and run it via CLI."},"warnings":[{"fix":"Rename jest.config.js to jest.config.mjs for future v3 compatibility.","message":"v2.x uses jest.config.js; v3 will require jest.config.mjs","severity":"deprecated","affected_versions":"2.x"},{"fix":"Run 'git stash --include-untracked' to temporarily stash changes.","message":"CI fails if git working tree is dirty; ensure all files committed or staged before run.","severity":"gotcha","affected_versions":">=2.0"},{"fix":"Update Node.js version in CI config to >=14.","message":"v2.0 dropped support for Node.js < 14, breaking many older CI pipelines.","severity":"breaking","affected_versions":">=2.0"},{"fix":"Migrate ESLint config to v8 format if using custom rules.","message":"Linting with ESLint 7 is no longer supported; v2.27 uses ESLint 8 internally.","severity":"deprecated","affected_versions":">=2.20"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install aberlaas-ci --save-dev' or use import syntax instead of require.","cause":"Package not installed or ESM-only but required with CommonJS.","error":"Error: Cannot find module 'aberlaas-ci'"},{"fix":"Add 'jest' to devDependencies: 'npm install jest --save-dev'","cause":"Jest not installed as a devDependency.","error":"ReferenceError: jest is not defined"},{"fix":"Install prettier: 'npm install prettier --save-dev'","cause":"Prettier not installed but required by default eslint config.","error":"Could not resolve 'prettier' (ESLint config error)"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}