Skip to content

Commit 243670c

Browse files
authored
refactor: new username patricktree (from pkerschbaum) (#3)
1 parent 911ba87 commit 243670c

File tree

89 files changed

+207
-207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+207
-207
lines changed

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document provides essential information about the `packages-private` reposi
44

55
## Repository Overview
66

7-
This is a **TypeScript monorepo** managed with **pnpm workspaces** and **Turbo**. It contains various utility packages, tools, and libraries created by Patrick Kerschbaum (@pkerschbaum).
7+
This is a **TypeScript monorepo** managed with **pnpm workspaces** and **Turbo**. It contains various utility packages, tools, and libraries created by Patrick Kerschbaum (@patricktree).
88

99
### Key Technologies
1010

@@ -113,15 +113,15 @@ The root `tsconfig.json` contains references to all packages for TypeScript proj
113113

114114
- Packages under `packages/` are published to npm
115115
- Uses Changesets for version management
116-
- Public packages use `@pkerschbaum/` scope
116+
- Public packages use `@patricktree/` scope
117117

118118
## Special Considerations
119119

120120
### TypeScript Patching
121121

122122
The repository uses a patched version of TypeScript to support custom transformers. We use the custom transformer (plugin) [`typescript-transform-paths`](https://github.com/LeDDGroup/typescript-transform-paths) in our TypeScript codebase. This enables authoring TypeScript sources with path aliases but during TypeScript compilation, they are replaced by relative paths. That avoids all sorts of difficulties supporting path aliases in Node.js, Next.js, etc.
123123

124-
Such custom transformers (plugins) are not supported by TypeScript out-of-the-box, so we apply [`ts-patch`](https://github.com/nonara/ts-patch) to the `typescript` package. To better incorporate with pnpm (<https://github.com/pnpm/pnpm/issues/6111>) we create a pnpm patch via `ts-patch`, using [`@pkerschbaum/pkg-management`](https://www.npmjs.com/package/@pkerschbaum/pkg-management).
124+
Such custom transformers (plugins) are not supported by TypeScript out-of-the-box, so we apply [`ts-patch`](https://github.com/nonara/ts-patch) to the `typescript` package. To better incorporate with pnpm (<https://github.com/pnpm/pnpm/issues/6111>) we create a pnpm patch via `ts-patch`, using [`@patricktree/pkg-management`](https://www.npmjs.com/package/@patricktree/pkg-management).
125125

126126
When updating TypeScript to a new version, this procedure is required:
127127

@@ -140,7 +140,7 @@ When updating TypeScript to a new version, this procedure is required:
140140
3. Run:
141141

142142
```bash
143-
pnpm --package="@pkerschbaum/[email protected]" dlx create-pnpm-patch-via-ts-patch \
143+
pnpm --package="@patricktree/[email protected]" dlx create-pnpm-patch-via-ts-patch \
144144
--typescript-version=5.6.3 \ # <-- new version of `typescript` here
145145
--ts-patch-version=3.3.0 # <-- latest version of `ts-patch` here
146146
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pkerschbaum OSS <!-- omit in toc -->
1+
# patricktree OSS <!-- omit in toc -->
22

33
- [Development](#development)
44
- [Prerequisites](#prerequisites)

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "pkerschbaum",
2+
"name": "patricktree",
33
"private": true,
44
"scripts": {
55
"build": "superturbo build",
66
"changeset": "changeset",
7-
"create-pnpm-patch-via-ts-patch": "pnpm --filter=\"@pkerschbaum/pkg-management\" exec node ./dist/create-pnpm-patch-via-ts-patch.mjs --typescript-version=5.5.4 --ts-patch-version=3.2.1",
7+
"create-pnpm-patch-via-ts-patch": "pnpm --filter=\"@patricktree/pkg-management\" exec node ./dist/create-pnpm-patch-via-ts-patch.mjs --typescript-version=5.5.4 --ts-patch-version=3.2.1",
88
"format": "prettier --write --ignore-unknown .",
99
"lint": "superturbo lint",
1010
"lint:fix": "superturbo lint:fix",
@@ -16,10 +16,10 @@
1616
},
1717
"devDependencies": {
1818
"@changesets/cli": "^2.27.8",
19-
"@pkerschbaum/config-eslint": "workspace:*",
20-
"@pkerschbaum/config-typescript": "workspace:*",
19+
"@patricktree/config-eslint": "workspace:*",
20+
"@patricktree/config-typescript": "workspace:*",
21+
"@patricktree/superturbo": "workspace:*",
2122
"@pkerschbaum/pkg-management": "^2.1.0",
22-
"@pkerschbaum/superturbo": "workspace:*",
2323
"@typescript-eslint/eslint-plugin": "^8.26.1",
2424
"@typescript-eslint/parser": "^8.26.1",
2525
"del-cli": "^5.1.0",

packages/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Packages Directory
22

3-
This directory contains the main packages that are published to npm under the `@pkerschbaum/` scope.
3+
This directory contains the main packages that are published to npm under the `@patricktree/` scope.
44

55
## Package Categories
66

packages/codemod-rewrite-module-specifiers-to-full-paths/.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const baseEslintConfig = require('@pkerschbaum/config-eslint/eslint-ecma.cjs');
1+
const baseEslintConfig = require('@patricktree/config-eslint/eslint-ecma.cjs');
22

33
module.exports = {
44
...baseEslintConfig,

packages/codemod-rewrite-module-specifiers-to-full-paths/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# @pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths
1+
# @patricktree/codemod-rewrite-module-specifiers-to-full-paths
22

33
## 1.0.1
44

55
### Patch Changes
66

7-
- 3f52b98: fix(codemod-rewrite-module-specifiers-to-full-paths): make `@pkerschbaum/runtime-extensions-node` a dev dependency
7+
- 3f52b98: fix(codemod-rewrite-module-specifiers-to-full-paths): make `@patricktree/runtime-extensions-node` a dev dependency
88

99
## 1.0.0
1010

packages/codemod-rewrite-module-specifiers-to-full-paths/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `@pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths`
1+
# `@patricktree/codemod-rewrite-module-specifiers-to-full-paths`
22

33
Codemod to rewrite module specifiers of TypeScript files to their full paths.
44

@@ -25,7 +25,7 @@ This package is a codemod which consumes a TypeScript configuration file and rew
2525
## How to use
2626

2727
```bash
28-
npx @pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths --help
28+
npx @patricktree/codemod-rewrite-module-specifiers-to-full-paths --help
2929

3030
# Usage: codemod [options]
3131

@@ -36,5 +36,5 @@ npx @pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths --help
3636
# -h, --help display help for command
3737

3838
# for example
39-
npx @pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths --project=./path/to/tsconfig.json
39+
npx @patricktree/codemod-rewrite-module-specifiers-to-full-paths --project=./path/to/tsconfig.json
4040
```

packages/codemod-rewrite-module-specifiers-to-full-paths/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "@pkerschbaum/codemod-rewrite-module-specifiers-to-full-paths",
2+
"name": "@patricktree/codemod-rewrite-module-specifiers-to-full-paths",
33
"version": "1.0.1",
4-
"homepage": "https://github.com/pkerschbaum/packages/tree/main/packages/codemod-rewrite-module-specifiers-to-full-paths",
4+
"homepage": "https://github.com/patricktree/packages/tree/main/packages/codemod-rewrite-module-specifiers-to-full-paths",
55
"bugs": {
6-
"url": "https://github.com/pkerschbaum/packages/issues"
6+
"url": "https://github.com/patricktree/packages/issues"
77
},
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/pkerschbaum/packages",
10+
"url": "https://github.com/patricktree/packages",
1111
"directory": "packages/codemod-rewrite-module-specifiers-to-full-paths"
1212
},
1313
"license": "MIT",
@@ -41,16 +41,16 @@
4141
},
4242
"dependencies": {
4343
"@commander-js/extra-typings": "^12.1.0",
44-
"@pkerschbaum/commons-ecma": "workspace:*",
45-
"@pkerschbaum/commons-node": "workspace:*",
44+
"@patricktree/commons-ecma": "workspace:*",
45+
"@patricktree/commons-node": "workspace:*",
4646
"commander": "^12.1.0",
4747
"jscodeshift": "^17.0.0",
4848
"p-limit": "^6.1.0",
4949
"tiny-invariant": "^1.3.3",
5050
"typescript": "^5.8.2"
5151
},
5252
"devDependencies": {
53-
"@pkerschbaum/runtime-extensions-node": "workspace:*",
53+
"@patricktree/runtime-extensions-node": "workspace:*",
5454
"@types/jscodeshift": "^0.11.11",
5555
"@types/node": "^20",
5656
"@vitest/coverage-v8": "^2.0.5",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import '@pkerschbaum/runtime-extensions-node';
1+
import '@patricktree/runtime-extensions-node';
22
import '#pkg/bin/codemod.js';

packages/codemod-rewrite-module-specifiers-to-full-paths/src/load-typescript-program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import path from 'node:path';
22
import invariant from 'tiny-invariant';
33
import ts from 'typescript';
44

5-
import { fsUtils } from '@pkerschbaum/commons-node/utils/fs';
5+
import { fsUtils } from '@patricktree/commons-node/utils/fs';
66

77
export type TypeScriptProgram = {
88
compilerOptions: ts.CompilerOptions;

0 commit comments

Comments
 (0)