Skip to content

Commit

Permalink
fix(create-nx-cmake,nx-cmake): remove deprecated setting from .clang-…
Browse files Browse the repository at this point in the history
…tidy
  • Loading branch information
clemenscodes committed Mar 17, 2024
1 parent 2f30f2c commit 4fcd287
Show file tree
Hide file tree
Showing 14 changed files with 198 additions and 183 deletions.
6 changes: 0 additions & 6 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ component_management:
- component_id: mocks
paths:
- 'packages/mocks/**'
- component_id: types
paths:
- 'packages/types/**'
- component_id: util
paths:
- 'packages/util/**'
- component_id: verdaccio
paths:
- 'packages/verdaccio/**'
70 changes: 34 additions & 36 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
{
"pluginsConfig": {
"@nx/js": {
"analyzeSourceFiles": true
},
"nx-cmake": {
"language": "C",
"cmakeConfigDir": ".cmake",
"workspaceName": "workspace"
}
},
"extends": "nx/presets/npm.json",
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "origin/main",
"defaultProject": "verdaccio",
"release": {
"projects": ["plugins/*"],
"projectsRelationship": "independent",
"releaseTagPattern": "{projectName}-{version}",
"changelog": {
"workspaceChangelog": false,
"projectChangelogs": {
"createRelease": "github"
}
},
"git": {
"commitMessage": "chore({projectName}): release version {version} [skip ci]"
},
"version": {
"conventionalCommits": true
}
"workspaceLayout": {
"appsDir": "bin",
"libsDir": "packages"
},
"tasksRunnerOptions": {
"default": {
Expand All @@ -47,15 +26,6 @@
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"affected": {
"defaultBase": "origin/main"
},
"workspaceLayout": {
"appsDir": "bin",
"libsDir": "packages"
},
"plugins": ["nx-cmake"],
"targetDefaults": {
"build": {
"dependsOn": ["lint", "^build"]
Expand Down Expand Up @@ -126,5 +96,33 @@
"generateTests": true
}
}
}
},
"release": {
"projects": ["plugins/*"],
"projectsRelationship": "independent",
"releaseTagPattern": "{projectName}-{version}",
"changelog": {
"workspaceChangelog": false,
"projectChangelogs": {
"createRelease": "github"
}
},
"git": {
"commitMessage": "chore({projectName}): release version {version} [skip ci]"
},
"version": {
"conventionalCommits": true
}
},
"pluginsConfig": {
"@nx/js": {
"analyzeSourceFiles": true
},
"nx-cmake": {
"language": "C",
"cmakeConfigDir": ".cmake",
"workspaceName": "workspace"
}
},
"plugins": ["nx-cmake"]
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"@commitlint/config-conventional": "^18.6.1",
"@commitlint/config-nx-scopes": "^18.6.1",
"@commitlint/types": "^18.6.1",
"@nx/eslint": "18.0.8",
"@nx/eslint-plugin": "18.0.8",
"@nx/jest": "18.0.8",
"@nx/js": "18.0.8",
"@nx/plugin": "18.0.8",
"@nx/eslint": "18.1.1",
"@nx/eslint-plugin": "18.1.1",
"@nx/jest": "18.1.1",
"@nx/js": "18.1.1",
"@nx/plugin": "18.1.1",
"@swc-node/register": "1.9.0",
"@swc/cli": "~0.3.10",
"@swc/core": "1.4.6",
Expand All @@ -48,15 +48,15 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-node": "^29.7.0",
"nx": "18.0.8",
"nx": "18.1.1",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "10.9.2",
"typescript": "5.4.2",
"verdaccio": "^5.29.2"
},
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"@swc/helpers": "0.5.6",
"create-nx-workspace": "18.0.8",
"tslib": "^2.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/command",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/file",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/log",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/mocks",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/types",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/util",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/verdaccio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@/verdaccio",
"version": "0.0.1",
"dependencies": {
"@nx/devkit": "18.0.8",
"@nx/devkit": "18.1.1",
"tslib": "^2.6.2"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion plugins/nx-cmake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
},
"dependencies": {
"tslib": "^2.6.2",
"@nx/devkit": "18.0.8"
"@nx/devkit": "18.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ describe('generateClangPreset', () => {
"Checks: 'clang-diagnostic-*,clang-analyzer-*'\n" +
"WarningsAsErrors: ''\n" +
"HeaderFilterRegex: ''\n" +
'AnalyzeTemporaryDtors: false\n' +
'FormatStyle: none\n';
expectedClangFormatFileContent =
'BasedOnStyle: LLVM\n' +
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Checks: 'clang-diagnostic-*,clang-analyzer-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
Loading

0 comments on commit 4fcd287

Please sign in to comment.