-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 6.15 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 6.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "powershell-scripts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"prepare": "husky",
"lint-staged": "node ./scripts/run-lint-staged.mjs",
"format:pwsh": "pwsh -NoProfile -File ./scripts/pwsh/devops/Format-PowerShellCode.ps1 -GitChanged",
"format:pwsh:all": "pwsh -NoProfile -File ./scripts/pwsh/devops/Format-PowerShellCode.ps1 -Path . -Recurse",
"format:pwsh:strict": "pwsh -NoProfile -File ./scripts/pwsh/devops/Format-PowerShellCode.ps1 -GitChanged -Strict",
"pwshfmt:rs": "cargo run --manifest-path ./projects/clis/pwshfmt-rs/Cargo.toml --",
"format:pwsh:rs": "pnpm run pwshfmt:rs -- write --git-changed --strict-fallback",
"format:pwsh:rs:all": "pnpm run pwshfmt:rs -- write --path . --recurse --strict-fallback",
"check:pwsh:rs": "pnpm run pwshfmt:rs -- check --git-changed --strict-fallback",
"format:biome": "biome format --write .",
"format:md": "rumdl fmt .",
"check:md": "rumdl check --fix .",
"format:python": "uvx ruff format .",
"lint:python": "uvx ruff check --fix .",
"format": "pnpm format:pwsh && pnpm format:md && pnpm format:python",
"pwsh:install": "pwsh -File ./install.ps1",
"pester:install": "pwsh -NoProfile -Command \"Install-Module -Name Pester -Scope CurrentUser -Force -SkipPublisherCheck -AllowClobber\"",
"pester:update": "pwsh -NoProfile -Command \"Update-Module -Name Pester -Force -ErrorAction Stop\"",
"test:pwsh:full": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='full'; $env:PWSH_TEST_ENABLE_COVERAGE='true'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:coverage": "pnpm test:pwsh:full",
"test:pwsh:full:assertions": "pwsh -NoProfile -File ./scripts/pwsh/devops/Invoke-PesterMode.ps1 -Mode full -Coverage Off",
"test:pwsh:fast": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='fast'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:qa": "pwsh -NoProfile -File ./scripts/pwsh/devops/Invoke-PesterMode.ps1 -Mode qa",
"test:pwsh:serial": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='serial'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:debug": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='debug'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:serial:debug": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='serial'; $env:PWSH_TEST_VERBOSE='1'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:profile": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='serial'; $env:PWSH_TEST_PATH='./tests/ProfileMode.Tests.ps1'; $env:PWSH_TEST_VERBOSE='1'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:slow": "pwsh -NoProfile -Command \"$c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; $c.Filter.Tag = 'Slow'; $c.Filter.ExcludeTag = @($c.Filter.ExcludeTag.Value | Where-Object { $_ -ne 'Slow' }); Invoke-Pester -Configuration $c\"",
"test:pwsh:detailed": "pwsh -NoProfile -Command \"$env:PWSH_TEST_MODE='full'; $env:PWSH_TEST_ENABLE_COVERAGE='true'; $env:PWSH_TEST_VERBOSE='1'; $c = ./PesterConfiguration.ps1; $c.Run.Exit = $true; Invoke-Pester -Configuration $c\"",
"test:pwsh:coverage:slowest": "node ./scripts/pester-duration-report.mjs --command \"pnpm test:pwsh:coverage\"",
"test:pwsh:assertions:slowest": "node ./scripts/pester-duration-report.mjs --command \"pnpm test:pwsh:full:assertions\"",
"test:pwsh:slowest": "pnpm test:pwsh:assertions:slowest",
"test:pwsh:all:slowest": "node ./scripts/pester-duration-report.mjs --command \"pnpm test:pwsh:all\"",
"benchmark": "pwsh -NoProfile -File ./scripts/pwsh/devops/Invoke-Benchmark.ps1",
"build:pwsh:postgresql": "pwsh -NoProfile -File ./scripts/pwsh/devops/postgresql/build/Build-PostgresToolkit.ps1",
"scripts:install": "pwsh -File ./install.ps1",
"scoop:update": "scoop update -a",
"choco:update": "choco upgrade all -y",
"nb:clean": "pwsh -NoProfile -Command \"fd -e ipynb |ForEach-Object { nbstripout $_ }\"",
"test:pwsh:linux:fast": "docker compose -f docker-compose.pester.yml run --rm pester-fast",
"test:pwsh:linux:full": "docker compose -f docker-compose.pester.yml run --rm pester-full",
"test:pwsh:linux:build": "docker compose -f docker-compose.pester.yml build",
"test:fnos": "vitest run --config ./linux/fnos/fnos-mount-manager/vitest.config.ts",
"test:bash": "vitest run --config ./scripts/bash/vitest.config.ts",
"test:systemd-service-manager": "vitest run --config ./scripts/bash/systemd-service-manager/vitest.config.ts",
"test:pwsh:all": "pnpm exec concurrently --group --names host,linux --prefix-colors blue,magenta --success all \"pnpm test:pwsh:full:assertions\" \"pnpm test:pwsh:linux:full\"",
"qa:fnos": "pnpm run test:fnos",
"qa:bash": "pnpm run test:bash",
"qa:systemd-service-manager": "pnpm run test:systemd-service-manager",
"qa:pwsh": "pnpm format:pwsh && pnpm test:pwsh:qa",
"qa": "node ./scripts/qa.mjs changed",
"qa:all": "node ./scripts/qa.mjs all",
"qa:verbose": "node ./scripts/qa.mjs changed --verbose",
"qa:all:verbose": "node ./scripts/qa.mjs all --verbose",
"turbo:qa": "node ./scripts/qa-turbo.mjs changed",
"turbo:qa:all": "node ./scripts/qa-turbo.mjs all",
"turbo:qa:verbose": "node ./scripts/qa-turbo.mjs changed --verbose",
"turbo:qa:all:verbose": "node ./scripts/qa-turbo.mjs all --verbose",
"qa:benchmark": "node ./scripts/qa-benchmark.mjs"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@types/node": "^25.9.1",
"@typescript/native-preview": "7.0.0-dev.20260519.1",
"concurrently": "^9.2.1",
"execa": "^9.6.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"rumdl": "^0.1.95",
"turbo": "^2.9.14",
"typescript": "^6.0.3",
"vitest": "^4.1.7"
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319"
}