-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
d7f0036
commit 2d2e024
Showing
47 changed files
with
4,893 additions
and
8,067 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
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,2 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
* text=auto eol=lf |
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
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,2 +1,5 @@ | ||
node_modules | ||
.eslintcache | ||
node_modules | ||
|
||
.nx/cache | ||
.nx/workspace-data |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"recommendations": ["biomejs.biome"] | ||
} |
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
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,23 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
}, | ||
"formatter": { | ||
"enabled": true | ||
}, | ||
"json": { | ||
"formatter": { | ||
"indentStyle": "space" | ||
} | ||
}, | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"useIgnoreFile": true, | ||
"defaultBranch": "main" | ||
} | ||
} |
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 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
"extends": ["./biome.base.json"], | ||
"formatter": { | ||
"ignore": ["packages"] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,18 +1,35 @@ | ||
{ | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"defaultBase": "main", | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "nx/tasks-runners/default" | ||
} | ||
}, | ||
"targetDefaults": { | ||
"build": { | ||
"dependsOn": ["^build"] | ||
"cache": true, | ||
"dependsOn": ["^build", "format", "lint", "test"], | ||
"inputs": [ | ||
"{projectRoot}/**/*", | ||
"!{projectRoot}/dist/**/*", | ||
"!{projectRoot}/test/**/*" | ||
], | ||
"outputs": ["{projectRoot}/dist/**/*"] | ||
}, | ||
"format": { | ||
"cache": true, | ||
"dependsOn": ["lint"], | ||
"inputs": ["{projectRoot}/**/*", "!{projectRoot}/dist/**/*"], | ||
"outputs": ["{projectRoot}/**/*", "!{projectRoot}/dist/**/*"] | ||
}, | ||
"lint": { | ||
"dependsOn": ["build"] | ||
"cache": false | ||
}, | ||
"test": { | ||
"dependsOn": ["lint"] | ||
"cache": true, | ||
"dependsOn": ["lint"], | ||
"inputs": ["{projectRoot}/**/*", "!{projectRoot}/dist/**/*"] | ||
} | ||
} | ||
} |
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,26 +1,22 @@ | ||
{ | ||
"private": "true", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"packageManager": "[email protected]", | ||
"workspaces": ["packages/*"], | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "lerna run build", | ||
"check": "prettier . --check && lerna run lint,test", | ||
"lint": "prettier . --check && lerna run lint", | ||
"lint:fix": "prettier . --write && lerna run lint:fix", | ||
"test": "lerna run test" | ||
"build": "nx run-many -t build", | ||
"format": "biome format . && nx run-many -t format", | ||
"format:fix": "biome format . --write && nx run-many -t format:fix", | ||
"lint": "nx run-many -t lint", | ||
"lint:fix": "nx run-many -t lint:fix", | ||
"test": "nx run-many -t test" | ||
}, | ||
"devDependencies": { | ||
"lerna": "^7.1.4", | ||
"prettier": "^3.0.0" | ||
"@biomejs/biome": "1.8.3", | ||
"nx": "19.3.2" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
}, | ||
"overrides": { | ||
"has": "npm:@nolyfill/has@latest" | ||
"is-core-module": "npm:@nolyfill/is-core-module@^1" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", | ||
"extends": ["../../biome.base.json"] | ||
} |
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,11 +1,4 @@ | ||
// @ts-check | ||
const { buildConfig } = require("eslint-config-ewm"); | ||
import { buildConfig } from "eslint-config-pcp"; | ||
|
||
/** @type {import("eslint").Linter.FlatConfig[]} */ | ||
module.exports = [ | ||
...buildConfig({ | ||
typescript: { | ||
files: ["src/**/*.ts"], | ||
}, | ||
}), | ||
]; | ||
export default await buildConfig(); |
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,27 +1,38 @@ | ||
{ | ||
"name": "ends-with-miao", | ||
"type": "module", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "", | ||
"author": "pinkchampagne", | ||
"license": "AGPL-3.0", | ||
"private": true, | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
} | ||
}, | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
"build": "rimraf dist && tsc -p ./tsconfig.json", | ||
"test": "jest", | ||
"test:watch": "jest --watchAll" | ||
"build": "rimraf dist && tsc -p ./tsconfig.build.json", | ||
"format": "biome format .", | ||
"format:fix": "biome format . --write", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"test": "vitest --run", | ||
"test:watch": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.21.4", | ||
"@babel/preset-env": "^7.21.4", | ||
"@babel/preset-typescript": "^7.21.4", | ||
"@types/jest": "^29.5.1", | ||
"babel-jest": "^29.5.0", | ||
"eslint-config-ewm": "workspace:*", | ||
"jest": "^29.5.0", | ||
"rimraf": "^5.0.1", | ||
"typescript": "^5.0.4", | ||
"tsconfig": "workspace:*" | ||
"@biomejs/biome": "1.8.3", | ||
"@pinkchampagne/tsconfig": "^1.0.0", | ||
"eslint": "^9.6.0", | ||
"eslint-config-pcp": "2.0.0-beta.6", | ||
"rimraf": "^5.0.7", | ||
"typescript": "^5.5.2", | ||
"vitest": "^1.6.0" | ||
} | ||
} |
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
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,9 @@ | ||
{ | ||
"extends": "@pinkchampagne/tsconfig", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationMap": true, | ||
"outDir": "dist" | ||
}, | ||
"include": ["src"] | ||
} |
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,9 +1,4 @@ | ||
{ | ||
"extends": "tsconfig", | ||
"include": ["src"], | ||
"compilerOptions": { | ||
"declarationMap": true, | ||
"outDir": "dist", | ||
"types": ["@types/jest"] | ||
} | ||
"extends": "@pinkchampagne/tsconfig", | ||
"include": ["src", "test"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.