From 279eb2b72d84ea5c62680872001538c4d6797797 Mon Sep 17 00:00:00 2001 From: Shunta KARASAWA Date: Wed, 26 May 2021 02:44:56 +0900 Subject: [PATCH] Rename package --- README.md | 20 ++++++++++++-------- package.json | 2 +- projects/core/README.md | 20 ++++++++++++-------- projects/core/package.json | 6 +++--- projects/demo/src/app/app.module.ts | 2 +- tsconfig.json | 2 +- 6 files changed, 30 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index f664bfc..ce0c3ac 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,19 @@ -# ngx-photo-gallery +# ngx-expanded-photo-gallery PhotoGallery library for Angular based on [PhotoSwipe](http://photoswipe.com/). ## Installation Install from npm: + ``` -npm install --save @twogate/ngx-photo-gallery +npm install --save @twogate/ngx-expanded-photo-gallery ``` Add PhotoGalleryModule to NgModule imports: + ```ts -import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' +import { PhotoGalleryModule } from '@twogate/ngx-expanded-photo-gallery' @NgModule({ ... @@ -21,8 +23,9 @@ import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' ``` with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.html)): + ```ts -import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' +import { PhotoGalleryModule } from '@twogate/ngx-expanded-photo-gallery' @NgModule({ ... @@ -39,6 +42,7 @@ import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' ## Usage simple use: + ```html
@@ -54,6 +58,7 @@ simple use: ``` with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.html)): + ```html
@@ -72,6 +77,7 @@ with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.h ``` on Ionic project: + ```html
-
+
``` + ```ts import { Component, Input } from '@angular/core' import { NavController } from 'ionic-angular' diff --git a/package.json b/package.json index 15369a4..622892b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "ngx-photo-gallery", + "name": "ngx-expanded-photo-gallery", "version": "0.0.0", "scripts": { "ng": "ng", diff --git a/projects/core/README.md b/projects/core/README.md index f664bfc..ce0c3ac 100644 --- a/projects/core/README.md +++ b/projects/core/README.md @@ -1,17 +1,19 @@ -# ngx-photo-gallery +# ngx-expanded-photo-gallery PhotoGallery library for Angular based on [PhotoSwipe](http://photoswipe.com/). ## Installation Install from npm: + ``` -npm install --save @twogate/ngx-photo-gallery +npm install --save @twogate/ngx-expanded-photo-gallery ``` Add PhotoGalleryModule to NgModule imports: + ```ts -import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' +import { PhotoGalleryModule } from '@twogate/ngx-expanded-photo-gallery' @NgModule({ ... @@ -21,8 +23,9 @@ import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' ``` with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.html)): + ```ts -import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' +import { PhotoGalleryModule } from '@twogate/ngx-expanded-photo-gallery' @NgModule({ ... @@ -39,6 +42,7 @@ import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery' ## Usage simple use: + ```html
@@ -54,6 +58,7 @@ simple use: ``` with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.html)): + ```html
@@ -72,6 +77,7 @@ with options ([PhotoSwipeOptions](https://photoswipe.com/documentation/options.h ``` on Ionic project: + ```html
-
+
``` + ```ts import { Component, Input } from '@angular/core' import { NavController } from 'ionic-angular' diff --git a/projects/core/package.json b/projects/core/package.json index a6585aa..6db9a7e 100644 --- a/projects/core/package.json +++ b/projects/core/package.json @@ -1,8 +1,8 @@ { - "name": "@twogate/ngx-photo-gallery", - "version": "1.0.3", + "name": "@twogate/ngx-expanded-photo-gallery", + "version": "1.0.0", "license": "MIT", - "repository": "https://github.com/twogate/ngx-photo-gallery", + "repository": "https://github.com/twogate/ngx-expanded-photo-gallery", "keywords": [ "angular", "ng", diff --git a/projects/demo/src/app/app.module.ts b/projects/demo/src/app/app.module.ts index 6d6d9e3..b4ae574 100644 --- a/projects/demo/src/app/app.module.ts +++ b/projects/demo/src/app/app.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; -import { PhotoGalleryModule } from '@twogate/ngx-photo-gallery'; +import { PhotoGalleryModule } from '@twogate/ngx-expanded-photo-gallery'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; diff --git a/tsconfig.json b/tsconfig.json index 3fd71bf..d8162be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "dom" ], "paths": { - "@twogate/ngx-photo-gallery": ["dist/core"] + "@twogate/ngx-expanded-photo-gallery": ["dist/core"] } } }