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
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run test
- run: pnpm run build
38 changes: 21 additions & 17 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
{
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#5592d5",
"activityBar.activeBorder": "#f2ccde",
"activityBar.background": "#5592d5",
"activityBar.foreground": "#15202b",
"activityBar.inactiveForeground": "#15202b99",
"activityBarBadge.background": "#f2ccde",
"activityBarBadge.foreground": "#15202b",
"titleBar.activeBackground": "#3178c6",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#3178c699",
"titleBar.inactiveForeground": "#e7e7e799",
"sash.hoverBorder": "#5592d5",
"commandCenter.border": "#e7e7e799"
},
"peacock.color": "#3178c6",
"cSpell.words": [
"clazz",
"tpendency"
]
],
"peacock.remoteColor": "#0a1e34",
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#12375f",
"activityBar.background": "#12375f",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#bc246d",
"activityBarBadge.foreground": "#e7e7e7",
"activityBarTop.activeBackground": "#12375f",
"activityBarTop.background": "#12375f",
"activityBarTop.foreground": "#e7e7e7",
"activityBarTop.inactiveForeground": "#e7e7e799",
"commandCenter.border": "#e7e7e799",
"commandCenter.foreground": "#595959",
"sash.hoverBorder": "#12375f",
"titleBar.activeBackground": "#0a1e34",
"titleBar.activeForeground": "#595959",
"titleBar.inactiveBackground": "#0a1e3499",
"titleBar.inactiveForeground": "#e7e7e799"
},
}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ etc.
Simply install from npm via `tpendency` package with your preferred package
manager (npm, yarn & co.)

### Agent Skill

You can add [SKILL.md](./skills/tpendency/SKILL.md) to your project to make it easier to use tpendency in your project when working with AI agents.

## Basic Usage

To start using tpendency, you will have to create a set of tokens with
Expand Down Expand Up @@ -112,9 +116,6 @@ bind(PlusTenToken).toFactory((x: number) => x + 10, [StringToken]);
Bindings for classes and factories will also ensure, that the tokens for all
required parameters are provided correctly.

Because this library uses TypeScript Tuple Types to provide type-safety for
tokens and bindings, you need at least TypeScript 4.0 to use this library.

## Best Practices

### Use single location for all tokens
Expand Down
4 changes: 0 additions & 4 deletions jest.config.js

This file was deleted.

Loading
Loading