Skip to content

Commit

Permalink
debug windows
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Nov 19, 2024
1 parent 62d8278 commit 0bb0b72
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 55 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [windows-latest]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -35,4 +35,17 @@ jobs:
npm ci
npx playwright install --with-deps
npm run format package.json
npm run test:all
- name: compile
run: npm run compile
- name: coverage
run: npm run test:coverage
- name: spelling
run: npm run test:spelling
- name: format
run: npm run test:format
- name: docs
run: npm run test:docs
- name: deps
run: npm run test:deps
- name: lint
run: npm run test:lint
83 changes: 41 additions & 42 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "9.14.0",
"@stylistic/eslint-plugin": "^2.10.1",
"@stylistic/eslint-plugin-ts": "^2.10.1",
"@stylistic/eslint-plugin": "^2.11.0",
"@stylistic/eslint-plugin-ts": "^2.11.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"cspell": "^8.16.0",
"dependency-cruiser": "^16.6.0",
Expand All @@ -39,8 +39,8 @@
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-unicorn": "^56.0.0",
"markdown-code-example-inserter": "^3.0.1",
"eslint-plugin-unicorn": "^56.0.1",
"markdown-code-example-inserter": "^3.0.2",
"mono-vir": "^2.0.4",
"npm-check-updates": "^17.1.11",
"prettier": "^3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"c8": "^10.1.2",
"esbuild": "^0.24.0",
"istanbul-smart-text-reporter": "^1.1.5",
"markdown-code-example-inserter": "^3.0.1",
"markdown-code-example-inserter": "^3.0.2",
"typedoc": "^0.26.11"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@augment-vir/test": "^30.8.2",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "9.14.0",
"@stylistic/eslint-plugin": "^2.10.1",
"@stylistic/eslint-plugin-ts": "^2.10.1",
"@stylistic/eslint-plugin": "^2.11.0",
"@stylistic/eslint-plugin-ts": "^2.11.0",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"c8": "^10.1.2",
Expand All @@ -53,7 +53,7 @@
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-sonarjs": "^2.0.4",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"istanbul-smart-text-reporter": "^1.1.5",
"typescript-eslint": "^8.15.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"devDependencies": {
"@types/node": "^22.9.0",
"@types/semver": "^7.5.8",
"markdown-code-example-inserter": "^3.0.1",
"markdown-code-example-inserter": "^3.0.2",
"type-fest": "^4.27.0",
"typedoc": "^0.26.11"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ describe('snapshotPlugin', () => {
assert.deepEquals(result, {
matches: false,
updated: false,
snapshotPath: 'src/web-snapshot-plugin/web-snapshot-plugin.test.ts.snapshot.web',
snapshotPath: join(
'src',
'web-snapshot-plugin',
'web-snapshot-plugin.test.ts.snapshot.web',
),
exists: false,
savedContent: '',
});
Expand Down
8 changes: 8 additions & 0 deletions packages/virmator/bin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env node

import {runCliScript} from '@augment-vir/node';
import {join} from 'node:path';

const cliPath = join(import.meta.dirname, 'src', 'cli.script.ts');

await runCliScript(cliPath, import.meta.filename, 'virmator');
2 changes: 1 addition & 1 deletion packages/virmator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"main": "src/index.ts",
"module": "src/index.ts",
"types": "src/index.ts",
"bin": "src/cli.ts",
"bin": "bin.js",
"scripts": {
"compile": "virmator compile",
"test": "virmator test node",
Expand Down
File renamed without changes.

0 comments on commit 0bb0b72

Please sign in to comment.