Skip to content

Commit c0772e0

Browse files
committed
Restructured project into a monorepo (eslint-plugin-solid, eslint-solid-standalone, test) powered by turbo.
1 parent b097fdd commit c0772e0

File tree

186 files changed

+2069
-554
lines changed

Some content is hidden

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

186 files changed

+2069
-554
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,5 @@ jobs:
2525
cache: "pnpm"
2626
- name: Install dependencies
2727
run: pnpm install --frozen-lockfile
28-
- name: Run build
29-
run: pnpm run build
30-
- name: Lint source code
31-
run: pnpm run lint --max-warnings=0
32-
- name: Run all tests
33-
run: pnpm run test:all
34-
- name: Sanity check standalone build
35-
working-directory: standalone
36-
run: |
37-
pnpm install --frozen-lockfile
38-
pnpm build
39-
pnpm test
28+
- name: Run CI with turbo
29+
run: pnpm run ci

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Build directory
22
dist
33
dist.*
4+
!packages/eslint-solid-standalone/dist.d.ts
45

56
# Logs
67
logs
@@ -106,3 +107,6 @@ typings/
106107
# TernJS port file
107108
.tern-port
108109
.DS_Store
110+
111+
# Turbo cache
112+
.turbo

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
pnpm build
5-
git add README.md docs/*
4+
pnpm docs
5+
git add README.md packages/eslint-plugin-solid/README.md packages/eslint-plugin-solid/docs/*
66
pnpm lint-staged

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
auto-install-peers=true
1+
link-workspace-packages=true
2+
disallow-workspace-cycles=true

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const [editedValue, setEditedValue] = createSignal(props.value);
206206

207207
_Please note_: there may also be times where a rule correctly warns about a subtle problem,
208208
even if it looks like a false positive at first. With `solid/reactivity`, please look at the
209-
[reactivity docs](./docs/reactivity.md#troubleshooting) before deciding to disable the rule.
209+
[reactivity docs](https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md#troubleshooting) before deciding to disable the rule.
210210

211211
When in doubt, feel free to [file an
212212
issue](https://github.com/solidjs-community/eslint-plugin-solid/issues/new/choose).

configs/recommended.d.ts

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

configs/recommended.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

configs/typescript.d.ts

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

configs/typescript.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)