Skip to content

Commit 4d99a74

Browse files
init commit
0 parents  commit 4d99a74

File tree

11 files changed

+1098
-0
lines changed

11 files changed

+1098
-0
lines changed

.czrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"scopes": [
3+
{
4+
"value": "core",
5+
"name": "core: anything core specific"
6+
}
7+
],
8+
"scopesSearchValue": true,
9+
"allowCustomScopes": false
10+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.nano-staged.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
"{apps,packages}/**/*.{js,jsx,ts,tsx,json}": (api) =>
3+
`pnpm dlx @biomejs/biome check --write ${api.filenames.join(" ")}`,
4+
};

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Muppet

biome.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.4.1/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true,
10+
"style": {
11+
"noNonNullAssertion": "off"
12+
}
13+
}
14+
},
15+
"formatter": {
16+
"indentStyle": "space",
17+
"lineWidth": 80,
18+
"lineEnding": "lf"
19+
},
20+
"vcs": {
21+
"enabled": true,
22+
"clientKind": "git",
23+
"useIgnoreFile": true
24+
}
25+
}

package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "@muppet/workspace",
3+
"version": "0.0.1",
4+
"scripts": {
5+
"commit": "czg",
6+
"setup": "is-ci || husky",
7+
"format": "biome check --write ."
8+
},
9+
"devDependencies": {
10+
"@biomejs/biome": "^1.9.4",
11+
"czg": "^1.11.1",
12+
"husky": "^9.1.7",
13+
"is-ci": "^4.1.0",
14+
"nano-staged": "^0.8.0",
15+
"typescript": "^5.8.2"
16+
},
17+
"packageManager": "[email protected]+sha256.9cebf61abd83f68177b29484da72da9751390eaad46dfc3072d266bfbb1ba7bf"
18+
}

packages/core/package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "@muppet/validations",
3+
"version": "0.1.0",
4+
"private": true,
5+
"type": "module",
6+
"main": "dist/index.cjs",
7+
"module": "dist/index.js",
8+
"types": "dist/index.d.ts",
9+
"files": [
10+
"dist"
11+
],
12+
"scripts": {
13+
"build": "pkgroll --minify"
14+
},
15+
"exports": {
16+
".": {
17+
"import": {
18+
"types": "./dist/index.d.ts",
19+
"default": "./dist/index.js"
20+
},
21+
"require": {
22+
"types": "./dist/index.d.cts",
23+
"default": "./dist/index.cjs"
24+
}
25+
}
26+
},
27+
"peerDependencies": {},
28+
"devDependencies": {
29+
"pkgroll": "^2.5.1"
30+
}
31+
}

packages/core/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export function defineConfig() {
2+
return {};
3+
}

packages/core/tsconfig.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"lib": ["ESNext", "DOM"],
5+
"moduleDetection": "force",
6+
"useDefineForClassFields": false,
7+
"experimentalDecorators": true,
8+
"module": "ESNext",
9+
"moduleResolution": "bundler",
10+
"resolveJsonModule": true,
11+
"allowJs": true,
12+
"strict": true,
13+
"noFallthroughCasesInSwitch": true,
14+
"noImplicitOverride": true,
15+
"noImplicitReturns": true,
16+
"noUnusedLocals": true,
17+
"noImplicitAny": true,
18+
"noUnusedParameters": true,
19+
"declaration": false,
20+
"noEmit": true,
21+
"outDir": "dist/",
22+
"sourceMap": true,
23+
"esModuleInterop": true,
24+
"forceConsistentCasingInFileNames": true,
25+
"isolatedModules": true,
26+
"verbatimModuleSyntax": true,
27+
"skipLibCheck": true
28+
},
29+
"include": ["./src/**/*"]
30+
}

0 commit comments

Comments
 (0)