Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Jul 25, 2024
1 parent 58978f2 commit 77dda75
Show file tree
Hide file tree
Showing 10 changed files with 755 additions and 1,180 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-crews-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperse/exec-program": patch
---

bump version
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
"recommendations": ["dbaeumer.vscode-eslint"]
}
13 changes: 4 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@
"request": "launch",
"name": "Debug Test File",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"test-unit"
],
"runtimeArgs": ["run-script", "test-unit"],
"skipFiles": [
"<node_internals>/**",
"<node_internals>/**"
// "**/node_modules/**"
],
"args": [
"${relativeFile}"
],
"args": ["${relativeFile}"],
"env": {}
}
]
}
}
10 changes: 6 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
"[javascript]": {
"editor.formatOnSave": false
},
"eslint.experimental.useFlatConfig": true,
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
"[json]": {
"editor.formatOnSave": false
},
}
"[jsonc]": {
"editor.formatOnSave": false
}
}
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,26 @@
}
},
"dependencies": {
"@hyperse/ts-node-paths": "^1.0.8",
"execa": "^9.2.0"
"@hyperse/ts-node-paths": "^1.0.9",
"execa": "^9.3.0"
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.5",
"@changesets/cli": "2.27.7",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@hyperse/eslint-config-hyperse": "^1.0.7",
"@types/node": "^20.14.2",
"@hyperse/eslint-config-hyperse": "^1.0.10",
"@types/node": "^20.14.12",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.4.0",
"husky": "9.0.11",
"eslint": "^9.7.0",
"husky": "9.1.1",
"lint-staged": "15.2.7",
"npm-run-all": "^4.1.5",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"vite": "^5.2.13",
"vitest": "^1.6.0"
"tsup": "^8.2.3",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vitest": "^2.0.4"
},
"engines": {
"node": ">=20"
Expand Down
2 changes: 1 addition & 1 deletion tests/exec.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
import { runTsScript } from '../src/runTsScript.js';
import { runTsScript } from '@/runTsScript.js';

const getDirname = (url: string, ...paths: string[]) => {
return join(dirname(fileURLToPath(url)), ...paths);
Expand Down
9 changes: 2 additions & 7 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
"incremental": false,
"paths": {}
},
"exclude": [
"**/*.stories.tsx",
"**/*.stories.mdx",
".storybook/**",
"dist"
]
}
"exclude": ["**/*.stories.tsx", "**/*.stories.mdx", ".storybook/**", "dist"]
}
19 changes: 6 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
{
"extends": "@hyperse/eslint-config-hyperse/tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./src",
"baseUrl": "./",
"rootDir": "./",
"outDir": "dist",
"types": [
"vitest/globals"
],
"types": ["vitest/globals"],
"paths": {
"@hyperse/exec-program": [
"../src/index.js"
],
"@/*": ["./src/*"],
"@hyperse/exec-program": ["./src/index.js"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
}
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}
3 changes: 1 addition & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { fileURLToPath } from 'url';
import { configDefaults, defineConfig } from 'vitest/config';

export default defineConfig({
Expand All @@ -7,7 +6,7 @@ export default defineConfig({
testTimeout: 100000,
exclude: [...configDefaults.exclude],
alias: {
'~/': fileURLToPath(new URL('./src/', import.meta.url)),
'@/': new URL('./src/', import.meta.url).pathname,
},
include: ['**/?(*.){test,spec}.?(c|m)[jt]s?(x)'],
},
Expand Down
Loading

0 comments on commit 77dda75

Please sign in to comment.