-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
672 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Format Files | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "**.md" | ||
- "**.mdx" | ||
- "**.yml" | ||
- "**.yaml" | ||
- "**.toml" | ||
- "**.html" | ||
- "**.css" | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
prettier: | ||
name: "Prettier" | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run Prettier | ||
uses: creyD/[email protected] | ||
with: | ||
dry: true | ||
prettier_options: . --check | ||
prettier_version: 4.0.0-alpha.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Format & Lint Files | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "**.js" | ||
- "**.jsx" | ||
- "**.ts" | ||
- "**.tsx" | ||
- "**.cjs" | ||
- "**.json" | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
biome: | ||
name: "Biome" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Biome | ||
uses: biomejs/setup-biome@v2 | ||
with: | ||
version: 1.9.2 | ||
|
||
- name: Run Biome | ||
run: biome ci . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Typecheck | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
typescript: | ||
name: Typescript | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
|
||
- name: Setup Node.js 21.6.1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 21.6.1 | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Typecheck | ||
run: pnpm typecheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
node_modules | ||
build | ||
dist | ||
gitignore | ||
|
||
# debug | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# solid | ||
.solid | ||
.vinxi | ||
.netlify | ||
.output | ||
.vercel | ||
|
||
# VSC Settings | ||
.vscode/settings.json | ||
|
||
/.idea | ||
.project | ||
.classpath | ||
*.launch | ||
.settings/ | ||
|
||
.DS_Store | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.js | ||
*.ts | ||
*.jsx | ||
*.tsx | ||
*.json | ||
*.cjs | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"files": { | ||
"ignore": ["./tsconfig.json", "*/netlify/*", "**/package.json"] | ||
}, | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"useIgnoreFile": true, | ||
"defaultBranch": "main" | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"a11y": { | ||
"noAutofocus": "off", | ||
"noNoninteractiveTabindex": "off", | ||
"noNoninteractiveElementToInteractiveRole": "off" | ||
}, | ||
"suspicious": { | ||
"noEmptyInterface": "off", | ||
"noExplicitAny": "off", | ||
"noAssignInExpressions": "off" | ||
}, | ||
"style": { | ||
"noNonNullAssertion": "off" | ||
}, | ||
"complexity": { | ||
"noBannedTypes": "off" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,34 @@ | ||
{ | ||
"name": "@kobalte/solidbase", | ||
"version": "0.0.1", | ||
"description": "", | ||
"description": "Your Solid knowledgebase", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"check": "biome check", | ||
"format": "biome check --write && prettier . --write", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"keywords": [], | ||
"keywords": [ | ||
"solid", | ||
"solidjs", | ||
"solidstart", | ||
"documentation" | ||
], | ||
"author": "jer3m01 <[email protected]>", | ||
"contributors": [ | ||
"dev-rb <[email protected]>", | ||
"Brendan Allan <[email protected]>" | ||
], | ||
"license": "MIT" | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.9.2", | ||
"prettier": "4.0.0-alpha.8", | ||
"typescript": "^5.6.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"dependencies": { | ||
"solid-js": "^1.9.1" | ||
} | ||
} |
Oops, something went wrong.