Skip to content

Commit 344283d

Browse files
committed
feat: Ports packcheck from taskless loader
0 parents  commit 344283d

27 files changed

+9166
-0
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.changeset/tricky-flies-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@taskless/packcheck": patch
3+
---
4+
5+
Initial packcheck port from @taskless/loader

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
__generated__/*
2+
*.config.*
3+
next-env.d.ts
4+
examples/*
5+
test/fixtures/*

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Dist and builds
2+
dist
3+
tmp
4+
.make
5+
.build
6+
.out
7+
.tsimp
8+
coverage
9+
10+
# Standard node affairs
11+
node_modules
12+
*.log
13+
out.txt
14+
15+
# Emacs/Vims and other Editor State files
16+
*.swp
17+
*.save
18+
19+
# Directory / File Meta Info
20+
.DS_Store
21+
*:Zone.Identifier
22+
23+
# Don't save zips. Save the things that make zips
24+
*.zip
25+
26+
# scratchpad - personal local files
27+
.scratchpad
28+
.scratchpad.md
29+
30+
# No env. Never env
31+
.env*

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
pnpm commitlint --edit "$1"

.husky/post-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
git update-index --again

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
pnpm lint-staged --shell

.lintstagedrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// syncpack commands
2+
const syncpack = {
3+
listMismatches: () => "syncpack list-mismatches",
4+
format: () => "syncpack format",
5+
};
6+
7+
const config = {
8+
// prettier formatting only
9+
"*.(md|json|graphql)": "prettier --write",
10+
11+
// package.json formatting
12+
"./package.json": [
13+
syncpack.listMismatches,
14+
syncpack.format,
15+
"prettier --write",
16+
],
17+
18+
// // source files
19+
"*.{js,jsx,ts,tsx}": ["xo --fix", "prettier --write"],
20+
};
21+
22+
export default config;

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Configuration and lock files
2+
.*rc
3+
*.lock
4+
.*ignore
5+
__generated__
6+
7+
# unformattables
8+
*.sh
9+
*.cfg

0 commit comments

Comments
 (0)