From 7c0756824e8bbd5f7d4bf7d8f4e748481504ac80 Mon Sep 17 00:00:00 2001 From: Eric Taix Date: Mon, 5 Sep 2022 16:32:03 +0200 Subject: [PATCH] fix: modules name to reflect typescript usage (#2909) * Prevent IntelliJ config file from being pushed to the repository * Rename module's name to reflect the created file for a new mode * Rename the module's name to reflect the filed created for a new extension which uses now typescript --- .gitignore | 1 + platform/cli/templates/extension/dependencies.json | 2 +- platform/cli/templates/mode/dependencies.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 45d0fb3c8..4a9d08278 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ screenshots/ # autogenerated files platform/viewer/src/pluginImports.js +/Viewers.iml diff --git a/platform/cli/templates/extension/dependencies.json b/platform/cli/templates/extension/dependencies.json index e79d4c4ce..02970822d 100644 --- a/platform/cli/templates/extension/dependencies.json +++ b/platform/cli/templates/extension/dependencies.json @@ -1,7 +1,7 @@ { "repository": "OHIF/Viewers", "keywords": ["ohif-extension"], - "module": "src/index.js", + "module": "src/index.tsx", "engines": { "node": ">=14", "npm": ">=6", diff --git a/platform/cli/templates/mode/dependencies.json b/platform/cli/templates/mode/dependencies.json index 9e16162cc..55dc20621 100644 --- a/platform/cli/templates/mode/dependencies.json +++ b/platform/cli/templates/mode/dependencies.json @@ -1,7 +1,7 @@ { "repository": "OHIF/Viewers", "keywords": ["ohif-mode"], - "module": "src/index.js", + "module": "src/index.tsx", "engines": { "node": ">=14", "npm": ">=6",