From 2aba439130ee8dd30ff236045eeeea29977531be Mon Sep 17 00:00:00 2001 From: Yuku Kotani Date: Sat, 11 Sep 2021 21:58:32 +0900 Subject: [PATCH 1/4] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e12c8fe..87206e2 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ A [TypeScript Language Service Plugin](https://github.com/microsoft/TypeScript/w ## Motivation +[日本語の記事 / Japanese Article](https://zenn.dev/yuku/articles/4d2f665cf42385) + We often use an object as a namespace. ```typescript From 7d512ca02b1e4844a76761c4df16de639ec96ba9 Mon Sep 17 00:00:00 2001 From: Yuku Kotani Date: Wed, 23 Mar 2022 19:47:38 +0900 Subject: [PATCH 2/4] yukukotani -> Monchi --- README.md | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 87206e2..bc30194 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # typescript-plugin-namespace-import [![npm](https://img.shields.io/npm/v/typescript-plugin-namespace-import)](https://www.npmjs.com/package/typescript-plugin-namespace-import) -[![license](https://img.shields.io/npm/l/typescript-plugin-namespace-import)](https://github.com/Monchi/typescript-plugin-namespace-import/blob/master/LICENSE) +[![license](https://img.shields.io/npm/l/typescript-plugin-namespace-import)](https://github.com/yukukotani/typescript-plugin-namespace-import/blob/master/LICENSE) A [TypeScript Language Service Plugin](https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin) to auto-complete and insert [Namespace Import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#import_an_entire_modules_contents). diff --git a/package.json b/package.json index 92bd169..d50bbff 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Monchi/typescript-plugin-namespace-import.git" + "url": "git+https://github.com/yukukotani/typescript-plugin-namespace-import.git" }, "author": "Yuku Kotani (yukukotani@gmail.com)", "license": "MIT", "bugs": { - "url": "https://github.com/Monchi/typescript-plugin-namespace-import/issues" + "url": "https://github.com/yukukotani/typescript-plugin-namespace-import/issues" }, - "homepage": "https://github.com/Monchi/typescript-plugin-namespace-import#readme", + "homepage": "https://github.com/yukukotani/typescript-plugin-namespace-import#readme", "dependencies": { "camelcase": "^6.2.0", "tsutils": "^3.21.0", From 9df705732d1990b8660b791f843e831bd24e2653 Mon Sep 17 00:00:00 2001 From: vain0x Date: Tue, 6 Aug 2024 21:02:42 +0900 Subject: [PATCH 3/4] Use slash as path separator on Windows --- src/lib/import.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/import.ts b/src/lib/import.ts index 6a47bec..3ce99ed 100644 --- a/src/lib/import.ts +++ b/src/lib/import.ts @@ -114,9 +114,9 @@ function getModuleSpceifier(selfPath: string, modulePath: string, project: ts.se let specifier: string; if (compilerOptions.baseUrl) { - specifier = path.relative(compilerOptions.baseUrl, modulePath); + specifier = path.posix.relative(compilerOptions.baseUrl, modulePath); } else { - specifier = './' + path.relative(path.dirname(selfPath), modulePath); + specifier = './' + path.posix.relative(path.dirname(selfPath), modulePath); } return getFilePathWithoutExt(specifier); From 46873d4d076e9f2eb1f37cd0136591df821cfb75 Mon Sep 17 00:00:00 2001 From: Yuku Kotani Date: Wed, 7 Aug 2024 01:19:25 +0900 Subject: [PATCH 4/4] 0.3.3 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index befc2f2..196bd9c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "typescript-plugin-namespace-import", - "version": "0.3.2", + "version": "0.3.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d50bbff..9946844 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typescript-plugin-namespace-import", - "version": "0.3.2", + "version": "0.3.3", "description": "A TypeScript Language Service Plugin to auto-complete and insert Namespace Import.", "main": "dist/index.js", "scripts": { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy