Skip to content

Commit

Permalink
deps(build): Update to typescript 5.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Jun 24, 2024
1 parent 9bae090 commit 6a10b5f
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 61 deletions.
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
"pnpm": ">=9"
},
"browserslist": [
"safari >=12",
"edge >=79"
"safari >= 15",
"last 2 chrome versions",
"last 2 edge versions",
"last 2 firefox versions",
"maintained node versions"
],
"scripts": {
"dev": "npx @withfig/autocomplete-tools dev",
Expand Down Expand Up @@ -69,22 +72,23 @@
"repository": "https://github.com/withfig/autocomplete",
"devDependencies": {
"@fig/eslint-config-autocomplete": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@withfig/autocomplete-tools": "^2.10.0",
"@withfig/autocomplete-types": "^1.31.0",
"danger": "^11.3.1",
"eslint": "^8.57.0",
"eslint-plugin-compat": "4.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "~5.4.5"
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"typescript": "~5.5.2"
},
"dependencies": {
"@fig/autocomplete-generators": "^2.4.0",
"@fig/autocomplete-helpers": "^1.0.7",
"semver": "^7.6.2",
"strip-json-comments": "^5.0.1",
"yaml": "^2.4.2"
"yaml": "^2.4.5"
}
}
99 changes: 51 additions & 48 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/coda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const formulaNames: Fig.Generator = {
}
return output.split("\n").map((formulaName) => {
return {
name: formulaName.replaceAll(/['"]/g, "").trim(),
name: formulaName.replace(/['"]/g, "").trim(),
description: `Execute ${formulaName}`,
};
});
Expand Down
2 changes: 1 addition & 1 deletion src/xcodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const processXcodeList = (out: string, tokens: string[]) =>
: tokens.includes("select") || tokens.includes("uninstall")
? "🔨"
: "⬇️",
description: line.slice(line.indexOf("(")).replaceAll(/[\(\)]/g, ""),
description: line.slice(line.indexOf("(")).replace(/[\(\)]/g, ""),
}));

const allXcodes: Fig.Generator = {
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"compilerOptions": {
"jsx": "react-jsx",
"moduleResolution": "node",
"outDir": "./build",
"target": "ES6",
"target": "ES2018",
"module": "ESNext",
"lib": [
"ESNext",
"ES2018",
"DOM"
],
"noImplicitAny": false,
Expand Down

0 comments on commit 6a10b5f

Please sign in to comment.