Skip to content

Commit

Permalink
chore: update pob root
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and christophehurpeau committed Aug 11, 2024
1 parent b2a5224 commit aa69c4a
Show file tree
Hide file tree
Showing 16 changed files with 1,506 additions and 1,107 deletions.
5 changes: 0 additions & 5 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/usr/bin/env sh

yarn commitlint --edit $1
2 changes: 0 additions & 2 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh

if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then
yarn install --immutable || true
fi
2 changes: 0 additions & 2 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh

if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then
yarn install --immutable || true
fi
2 changes: 0 additions & 2 deletions .husky/post-rewrite
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh

if [ -n "$(git diff HEAD@{1}..HEAD@{0} -- yarn.lock)" ]; then
yarn install --immutable || true
fi
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#!/usr/bin/env sh

yarn pob-root-lint-staged
2 changes: 0 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env sh

# z40 is the value matching the empty blob/commit/tree SHA (zero x 40)
z40=0000000000000000000000000000000000000000
branch_ref=$(git symbolic-ref HEAD)
Expand Down
11 changes: 7 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@

// eslint config
"eslint.workingDirectories": ["."],
"eslint.options": {
"resolvePluginsRelativeTo": ".",
"reportUnusedDisableDirectives": "error"
},
"eslint.useFlatConfig": true,
"eslint.lintTask.enable": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],

// eslint & prettier formatter
"eslint.format.enable": false,
Expand Down
4 changes: 2 additions & 2 deletions dist/definitions/utils/__mocks__/createReportError.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export declare const mockReportError: import("vitest").Mock<any, any>;
export declare const createReportError: import("vitest").Mock<any, any>;
export declare const mockReportError: import("vitest").Mock<(...args: any[]) => any>;
export declare const createReportError: import("vitest").Mock<(...args: any[]) => any>;
//# sourceMappingURL=createReportError.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/definitions/utils/object.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/definitions/utils/warnForUtils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import pobTypescriptConfig from "@pob/eslint-config-typescript";

export default [
...pobTypescriptConfig(import.meta.url).configs.node,
];
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"generate:api": "typedoc --tsconfig tsconfig.doc.json",
"generate:test-coverage": "rm -Rf docs/coverage/ ; NODE_ENV=production BABEL_ENV=test jest --coverage --coverageReporters=pob-lcov-reporter --coverageDirectory=docs/coverage/",
"lint": "yarn run lint:prettier && tsc && yarn run lint:eslint",
"lint:eslint": "eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet *.{js,cjs,mjs} src bin scripts",
"lint:eslint": "eslint --quiet .",
"lint:prettier": "pob-root-prettier --check .",
"lint:prettier:fix": "pob-root-prettier --write .",
"postinstallDev": "pob-root-postinstall",
Expand Down Expand Up @@ -80,18 +80,18 @@
"type-fest": "^4.0.0"
},
"devDependencies": {
"@pob/commitlint-config": "6.4.0",
"@pob/eslint-config": "56.0.0",
"@pob/eslint-config-typescript": "56.0.0",
"@pob/rollup-esbuild": "3.0.0",
"@pob/commitlint-config": "7.0.0",
"@pob/eslint-config": "57.3.0",
"@pob/eslint-config-typescript": "57.3.0",
"@pob/rollup-esbuild": "4.0.0",
"@pob/root": "13.0.0",
"@types/semver": "7.5.8",
"@types/semver-utils": "1.1.3",
"@vitest/coverage-v8": "1.5.2",
"@vitest/coverage-v8": "2.0.5",
"eslint": "8.57.0",
"semver": "7.5.4",
"typedoc": "0.25.13",
"typescript": "5.4.5",
"vitest": "1.5.2"
"typedoc": "0.26.5",
"typescript": "5.5.4",
"vitest": "2.0.5"
}
}
36 changes: 0 additions & 36 deletions src/.eslintrc.json

This file was deleted.

Loading

0 comments on commit aa69c4a

Please sign in to comment.