Skip to content

Commit

Permalink
chore: configure tsc-alias for npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
TomyCesaille committed Jan 10, 2025
1 parent 3db8eb0 commit e59f344
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.5",
"version": "0.4.6",
"configurations": [
{
"name": "dev-prepare-dataset1",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Install [node](https://node.org) latest version and run:
```bash
npm install -g poto-siril
poto -v
# Should print `poto-siril 0.4.5`.
# Should print `poto-siril 0.4.6`.

# Make sure to have `siril` registered in your PATH.
siril -v
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poto-siril",
"version": "0.4.5",
"version": "0.4.6",
"description": "Automatization around Siril (<https://siril.org/>) for deep sky astrophotography.",
"bin": {
"poto": "dist/src/poto-siril.js"
Expand Down
2 changes: 1 addition & 1 deletion src/tests/e2e/__snapshots__/e2e-testing.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`E2E should be neat 2`] = `
"{
"generatedAt": "2024-10-15T00:00:00.000Z",
"potoVersion": "poto-siril 0.4.5",
"potoVersion": "poto-siril 0.4.6",
"metrics": {
"cumulatedLightIntegrationMinutes": 12,
"cumulatedDarksIntegrationMinutes": 14,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/const.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const POTO_VERSION = "poto-siril 0.4.5";
export const POTO_VERSION = "poto-siril 0.4.6";

export const POTO_JSON = "_poto_siril.json";

Expand Down
15 changes: 10 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@
"outDir": "dist",
"lib": ["esnext"],
"types": ["node", "jest"],
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
"baseUrl": "./"
},
"exclude": ["node_modules"],
"include": ["src/**/*.ts", "jest.config.ts", "jest.d.ts"]
"include": ["src/**/*.ts", "jest.config.ts", "jest.d.ts"],
"tsc-alias": {
"verbose": false,
"resolveFullPaths": true,
"fileExtensions": {
"inputGlob": "{js,jsx,mjs}",
"outputCheck": ["js", "json", "jsx", "mjs"]
}
}
}

0 comments on commit e59f344

Please sign in to comment.