Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\" && lerna exec -- \"node -e \\\"fs.rmSync('dist', { recursive: true, force: true })\\\" && node -e \\\"fs.rmSync('tsconfig.tsbuildinfo', { recursive: true, force: true })\\\"\"",
"build": "tsc -b packages && ts-node tools/test-dist",
"build": "tsc -b packages && tsx tools/test-dist",
"build:watch": "tsc -b packages --watch",
"docs": "yarn build && typedoc",
"lerna:version": "./tools/version.sh",
Expand All @@ -22,9 +22,9 @@
"test": "xvfb-maybe vitest run --project fast --project slow",
"test:fast": "xvfb-maybe vitest run --project fast",
"test:slow": "xvfb-maybe vitest run --project slow",
"test:clear": "ts-node tools/test-clear",
"update:lockfile-fixtures": "ts-node tools/regenerate-lockfile-fixtures.ts",
"postinstall": "husky install && node -e \"try { fs.rmSync('node_modules/.bin/*.ps1', { recursive: true, force: true }) } catch (e) {}\" && ts-node ./tools/gen-tsconfigs.ts && ts-node ./tools/gen-ts-glue.ts"
"test:clear": "tsx tools/test-clear",
"update:lockfile-fixtures": "tsx tools/regenerate-lockfile-fixtures.ts",
"postinstall": "husky install && node -e \"try { fs.rmSync('node_modules/.bin/*.ps1', { recursive: true, force: true }) } catch (e) {}\" && tsx ./tools/gen-tsconfigs.ts && tsx ./tools/gen-ts-glue.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.654.0",
Expand Down Expand Up @@ -69,6 +69,7 @@
"rechoir": "^0.8.0",
"semver": "^7.2.1",
"source-map-support": "^0.5.13",
"tsx": "^4.21.0",
"username": "^5.1.0",
"vite": "^7.2.4",
"webpack": "^5.69.1",
Expand Down Expand Up @@ -116,7 +117,6 @@
"minimist": "^1.2.6",
"msw": "^2.7.0",
"prettier": "^3.6.2",
"ts-node": "^10.0.0",
"typedoc": "0.25.13",
"typescript": "~5.4.5",
"vitest": "^4.0.14",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/cli/spec/cli.slow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { describe, expect, it } from 'vitest';

function runForgeCLI(...extraArgs: string[]): Promise<string> {
const args = [
'ts-node',
'tsx',
path.resolve(__dirname, '../src/electron-forge.ts'),
...extraArgs,
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('ViteTypeScriptTemplate', () => {
* - When this test starts failing due to dependency resolution issues
*
* How to regenerate:
* Run: yarn ts-node tools/regenerate-lockfile-fixtures.ts
* Run: yarn update:lockfile-fixtures
*
* This will create a new lockfile with the correct vite resolution and dependencies.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('WebpackTypeScriptTemplate', () => {
* - When this test starts failing due to dependency resolution issues
*
* How to regenerate:
* Run: yarn ts-node tools/regenerate-lockfile-fixtures.ts
* Run: yarn update:lockfile-fixtures
*
* This will create a new lockfile with the correct webpack resolution and dependencies.
*/
Expand Down
2 changes: 0 additions & 2 deletions tools/regenerate-lockfile-fixtures.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env ts-node

/**
* Utility script to regenerate lockfile fixtures for template tests.
*
Expand Down
2 changes: 0 additions & 2 deletions tools/update-node-version.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env ts-node

import path from 'node:path';

import { readJsonSync, writeJsonSync } from 'fs-extra';
Expand Down
Loading
Loading