Skip to content

Commit

Permalink
Merge pull request #27 from joshuajaco/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
joshuajaco authored Nov 19, 2023
2 parents 50c2378 + 3baea8b commit afe7942
Show file tree
Hide file tree
Showing 13 changed files with 383 additions and 826 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [18.18.2, 20.9.0]
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .tool-versions
cache: "npm"
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
- run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dist/
node_modules
.nyc_output
.idea
coverage
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.9.0
nodejs 21.2.0
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Changelog

## [v0.2.0] - 2023-06-10

- Now ignores workspaces that do not have a `name` property defined in their `package.json` file
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Returns [`Workspace[]`](#workspace) or `null` if `dirname` is not inside a monor
Type: `string | undefined`
Default: `process.cwd()`

The directory to start looking for the monorepo root.
The directory to start searching for the monorepo root.

#### Options

Expand All @@ -67,7 +67,7 @@ Returns [`WorkspacesRoot`](#workspaceroot) or `null` if `dirname` is not inside
Type: `string | undefined`
Default: `process.cwd()`

The directory to start looking for the monorepo root.
The directory to start searching for the monorepo root.

#### Options

Expand All @@ -87,7 +87,8 @@ Returns a cache which can be provided to [`findWorkspaces`](#findworkspacesdirna
Type: `string | undefined`
Default: `os.homedir()`

The directory to stop looking for the monorepo root.
The directory to stop searching for the monorepo root.
The provided directory will not be included in the search.

#### cache

Expand Down
Loading

0 comments on commit afe7942

Please sign in to comment.