mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
* chore: centralize license header scripts * chore: run license header checks from root * add header to other files * add header to bundle * add migration script and update check license headers * convert license to mobile sdk * migrate license headers * remove headers from common; convert remaining * fix headers * add license header checks
86 lines
2.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Check License Headers",
|
|
"type": "shell",
|
|
"command": "node",
|
|
"args": ["scripts/check-license-headers.mjs", "--check"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": [],
|
|
"detail": "Check that all license headers are properly formatted"
|
|
},
|
|
{
|
|
"label": "Fix License Headers",
|
|
"type": "shell",
|
|
"command": "node",
|
|
"args": ["scripts/check-license-headers.mjs", "--fix"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": [],
|
|
"detail": "Auto-fix license header formatting issues"
|
|
},
|
|
{
|
|
"label": "Analyze License Headers",
|
|
"type": "shell",
|
|
"command": "node",
|
|
"args": ["scripts/migrate-license-headers.mjs", "analyze", "--verbose"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": [],
|
|
"detail": "Analyze license header distribution across the codebase"
|
|
},
|
|
{
|
|
"label": "Test License Header Tooling",
|
|
"type": "shell",
|
|
"command": "yarn",
|
|
"args": ["test:license-headers"],
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": false
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": [],
|
|
"detail": "Run comprehensive tests for license header tooling"
|
|
}
|
|
]
|
|
}
|