Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kokororin committed Mar 8, 2024
1 parent 9435c29 commit 5780da8
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 397 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18
51 changes: 26 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"description": "Integrates phpfmt into VS Code",
"main": "./out/src/extension",
"scripts": {
"build": "npm run clean && tsc",
"build": "nr clean && tsc",
"build:docs": "tsx scripts/docs.ts",
"prebuild": "npm run build:docs",
"prebuild": "nr build:docs",
"watch": "tsc -watch -p ./",
"clean": "rimraf out",
"postinstall": "node ./node_modules/phpfmt/v2/install",
"pretest": "npm run build",
"pretest": "nr build",
"test": "node ./out/test/runTest.js",
"format": "prettier --write .",
"lint": "eslint --ext .ts,.js --fix src test scripts",
"prepublishOnly": "npm run build && vsce publish"
"prepublishOnly": "nr build && vsce publish"
},
"keywords": [
"phpfmt",
Expand Down Expand Up @@ -617,35 +617,36 @@
}
},
"devDependencies": {
"@antfu/ni": "^0.21.12",
"@kokororin/prettierrc": "^0.1.1",
"@types/adm-zip": "^0.5.0",
"@types/debug": "^4.1.8",
"@types/md5": "^2.3.2",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.13",
"@types/semver": "^7.5.6",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vscode/test-electron": "^2.3.8",
"@types/adm-zip": "^0.5.5",
"@types/debug": "^4.1.12",
"@types/md5": "^2.3.5",
"@types/mocha": "^10.0.6",
"@types/node": "^18.0.0",
"@types/semver": "^7.5.8",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"@vscode/test-electron": "^2.3.9",
"adm-zip": "^0.5.10",
"eslint": "^8.55.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^42.0.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"fast-glob": "^3.3.2",
"md5": "^2.3.0",
"mocha": "^9.2.0",
"prettier": "^3.1.0",
"mocha": "^10.3.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"semver": "^7.5.4",
"simple-git": "^3.19.1",
"tsx": "^4.6.2",
"typescript": "^5.3.3"
"semver": "^7.6.0",
"simple-git": "^3.22.0",
"tsx": "^4.7.1",
"typescript": "~5.3.0"
},
"dependencies": {
"compare-versions": "^6.1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/PHPFmt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export class PHPFmt {
});
const origIniPath = iniPath;

const workspaceFolder = workspaceFolders.find(
folder => iniPath?.startsWith(folder.uri.fsPath)
const workspaceFolder = workspaceFolders.find(folder =>
iniPath?.startsWith(folder.uri.fsPath)
);
iniPath = workspaceFolder != null ? origIniPath : undefined;
}
Expand Down
Loading

0 comments on commit 5780da8

Please sign in to comment.