Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: patch round 2024-08 #428

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
root = true

[*.{css,js,json,jsx,html,md,mdx,scss,svg,ts,tsx}]
[*]
charset = UTF-8
end_of_line = lf
indent_size = 2
Expand All @@ -9,8 +9,5 @@ insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true

[*ignore]
charset = UTF-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{md,mdx}]
trim_trailing_whitespace = false
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"env": {
"browser": true,
"es6": true,
"node": false
"node": true
},
"parserOptions": {
"ecmaVersion": 2018,
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpx lint-staged
lint-staged
7 changes: 0 additions & 7 deletions .lintstagedrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CHANGELOG.md
package-lock.json
yarn.lock
pnpm-lock.yaml

55 changes: 0 additions & 55 deletions .prettierrc.json

This file was deleted.

7 changes: 7 additions & 0 deletions lint-staged.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
'*': 'prettier --ignore-unknown --write',
'package.json': 'npmPkgJsonLint --allowEmptyTargets',
'*.md': 'markdownlint',
'*.{js,cjs,mjs,jsx,ts,tsx}': 'eslint --no-error-on-unmatched-pattern',
'*.{css,scss}': 'stylelint --allow-empty-input',
};
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-syntax-import-attributes": "7.24.7",
"@lerna-lite/cli": "3.7.1",
"@lerna-lite/publish": "3.7.1",
"@lerna-lite/version": "3.7.1",
"@types/node": "22.0.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@lerna-lite/cli": "3.8.0",
"@lerna-lite/publish": "3.8.0",
"@lerna-lite/version": "3.8.0",
"@types/node": "22.3.0",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-mdx": "3.1.5",
"husky": "9.1.4",
"lint-staged": "15.2.7",
"lint-staged": "15.2.9",
"markdownlint-cli": "0.41.0",
"npm-check-updates": "16.14.20",
"npm-check-updates": "17.0.6",
"npm-package-json-lint": "8.0.0",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
Expand All @@ -60,5 +60,5 @@
"update-minor": "npm-check-updates --configFileName .ncurc.minor.cjs",
"update-major": "npm-check-updates --configFileName .ncurc.major.cjs"
},
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
"packageManager": "pnpm@9.7.1"
}
2 changes: 1 addition & 1 deletion packages/component-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"rimraf": "6.0.1",
"rollup": "4.19.1",
"rollup": "4.20.0",
"rollup-plugin-filesize": "10.0.0",
"typescript": "5.5.4"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/component-index/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import typescript from "@rollup/plugin-typescript";
import filesize from "rollup-plugin-filesize";
import packageJson from "./package.json" assert { type: "json" };
import typescript from '@rollup/plugin-typescript';
import filesize from 'rollup-plugin-filesize';
import packageJson from './package.json' assert { type: 'json' };

/**
* @type {import('rollup').RollupOptions}
*/

export default {
input: "src/index.ts",
input: 'src/index.ts',
output: [
{
file: packageJson.main,
format: "cjs",
format: 'cjs',
},
{
file: packageJson.module,
format: "esm",
format: 'esm',
},
],
plugins: [typescript(), filesize()],
Expand Down
2 changes: 1 addition & 1 deletion packages/component-progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@octokit/core": "6.1.2",
"@octokit/plugin-paginate-graphql": "5.2.2",
"@types/lodash.isempty": "4.4.9",
"@types/node": "22.0.0",
"@types/node": "22.3.0",
"lodash.isempty": "4.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/component-progress/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { mapProjects, mapToComponentProgress } from './utils/index.js';
const init = async () => {
try {
await mkdir('./dist', { recursive: true });
} catch (error) {
} catch {
console.error('Could not create dist directory');
}

Expand Down
Loading