Skip to content

Commit 9c63bbc

Browse files
authored
Merge pull request #1 from stacknide/ashu/add-tests
2 parents 0003b54 + ca4fb58 commit 9c63bbc

File tree

18 files changed

+273
-44
lines changed

18 files changed

+273
-44
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"changelog": "@changesets/cli/changelog",
66
"commit": false,
77
"fixed": [],
8-
"ignore": [],
8+
"ignore": ["pathnorm-test"],
99
"linked": [],
1010
"updateInternalDependencies": "patch"
1111
}

.changeset/public-baboons-tan.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@knide/pathnorm": major
3+
---
4+
5+
First release

.github/CODEOWNERS

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These are supported funding model platforms
2+
3+
github: stacknide # https://github.com/sponsors/stacknide
4+
# open_collective: fs-prober # https://opencollective.com/fs-prober
5+
buy_me_a_coffee: ashuvssut # https://www.buymeacoffee.com/ashuvssut

.github/MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
your-org/your-username
1+
ashuvssut

.github/workflows/changeset-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
run: yarn install --frozen-lockfile
3333

3434
- name: Build
35-
run: yarn workspace @knide/fs-prober build
35+
run: yarn build
36+
37+
- name: Test
38+
run: yarn test
3639

3740
- name: Create Release Pull Request or Publish
3841
id: changesets

.github/workflows/pull_request_code_quality.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ jobs:
4444
- name: Run Package Build
4545
working-directory: package
4646
run: yarn build
47+
48+
- name: Run Workspace Tests
49+
run: yarn test

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Stacknide
3+
Copyright (c) 2026 Stacknide
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pathnorm
1+
# @knide/pathnorm
22

33
Normalize and join path/URL segments. Full Win32, UNC, POSIX, and URL support.
44

@@ -8,6 +8,9 @@ Read the [`README.md`](./package/README.md) documentation for more details.
88

99
```sh
1010
yarn install
11+
yarn dev
12+
13+
# Build and test
1114
yarn build
1215
yarn test
1316
```

lefthook.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ pre-commit:
77
npx @biomejs/biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files} # `--no-errors-on-unmatched` silents possible errors in case no files are processed.
88
stage_fixed: true # stage_fixed: true adds again the staged files.
99

10+
pre-push:
11+
commands:
12+
test:
13+
run: yarn test
14+
1015
# After updating the above configuration, run `yarn lefthook install` to install the hooks.
1116
# EXAMPLE USAGE:
1217
#

0 commit comments

Comments
 (0)