Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions blog/2025-03-31-janus-ts.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Janus TS
authors: [jannik]
tags: [janus]
---

[Janus TS] now has docs.


[Janus TS]: /docs/ts-scss/janus-ts
6 changes: 6 additions & 0 deletions docs/tools/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ Just use Webpack Encore / the internal bundler in your framework (like Next.js)
The PHP library `21torr/php-cs` is deprecated, you should use [Janus PHP] instead.


### ci-npm

The JS library `@21torr/ci-npm` is deprecated, you should use [Janus TS] instead.


### Prismic Bundle

The prismic bundle is deprecated.


[Janus PHP]: /docs/php/tooling/janus-php
[Janus TS]: /docs/ts-scss/janus-ts
33 changes: 33 additions & 0 deletions docs/ts-scss/janus-ts/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import {LinkList} from "../../../src/components/Link/LinkList";

# Janus TS

<LinkList
npm="https://www.npmjs.com/package/@21torr/janus"
github="https://github.com/21TORR/janus-ts"
/>

Janus is a library to provide the config for our CI / code style tools.
It is basically a config generator for your app/library, to automatically configure `dprint`, `eslint`, `stylelint` and `typescript`.

To ease configuration changes, it is a versioned package, that has a CLI to copy the config files to your project. It's your task to then merge these config changes with your customizations via Git.

## Usage

Install the package, then run it:

```shell
pnpm exec janus init
```

then choose your type of application.


## Application Types

The application types determine which config files to copy to your project.

Right now, there are two possible options:

- `next-js`
- `library`
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.1",
"prismjs": "^1.29.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"prismjs": "^1.30.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/types": "^3.7.0",
"@tsconfig/docusaurus": "^2.0.3",
"@types/node": "^22.13.4",
"@types/react": "^19.0.10",
"@types/node": "^22.13.14",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"docusaurus-plugin-sass": "^0.2.6",
"prettier-package-json": "^2.8.0",
"sass": "^1.85.0",
"sass": "^1.86.0",
"sass-loader": "^16.0.5",
"ts-dedent": "^2.2.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"typescript-plugin-css-modules": "^5.1.0"
},
"engines": {
Expand Down
Loading