Browse Source

chore: renames to @e22m4u/js-service

e22m4u 2 years ago
parent
commit
3ad6868cec

+ 4 - 4
README.md

@@ -1,4 +1,4 @@
-## @e22m4u/service
+## @e22m4u/js-service
 
 
 Разновидность сервис-локатора для инкапсуляции процесса разрешения
 Разновидность сервис-локатора для инкапсуляции процесса разрешения
 зависимостей.
 зависимостей.
@@ -6,7 +6,7 @@
 ## Установка
 ## Установка
 
 
 ```bash
 ```bash
-npm install @e22m4u/service
+npm install @e22m4u/js-service
 ```
 ```
 
 
 ## Назначение
 ## Назначение
@@ -47,7 +47,7 @@ npm install @e22m4u/service
 Пример:
 Пример:
 
 
 ```js
 ```js
-import {ServiceContainer} from '@e22m4u/service';
+import {ServiceContainer} from '@e22m4u/js-service';
 
 
 // создание контейнера
 // создание контейнера
 const container = new ServiceContainer();
 const container = new ServiceContainer();
@@ -92,7 +92,7 @@ console.log(myDate3); // Sun May 05 2030 03:00:00
 Пример:
 Пример:
 
 
 ```js
 ```js
-import {Service} from '@e22m4u/service';
+import {Service} from '@e22m4u/js-service';
 
 
 // сервис Foo
 // сервис Foo
 class Foo extends Service {
 class Foo extends Service {

+ 4 - 4
package.json

@@ -1,5 +1,5 @@
 {
 {
-  "name": "@e22m4u/service",
+  "name": "@e22m4u/js-service",
   "version": "0.0.6",
   "version": "0.0.6",
   "description": "Разновидность сервис-локатора",
   "description": "Разновидность сервис-локатора",
   "type": "module",
   "type": "module",
@@ -14,7 +14,7 @@
   },
   },
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
-    "url": "https://github.com/e22m4u/service.git"
+    "url": "https://github.com/e22m4u/js-service.git"
   },
   },
   "keywords": [
   "keywords": [
     "DI",
     "DI",
@@ -24,9 +24,9 @@
   ],
   ],
   "author": "e22m4u <e22m4u@gmail.com>",
   "author": "e22m4u <e22m4u@gmail.com>",
   "license": "MIT",
   "license": "MIT",
-  "homepage": "https://github.com/e22m4u/service",
+  "homepage": "https://github.com/e22m4u/js-service",
   "dependencies": {
   "dependencies": {
-    "@e22m4u/util-format": "0.0.6"
+    "@e22m4u/js-format": "0.0.7"
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@commitlint/cli": "^17.7.1",
     "@commitlint/cli": "^17.7.1",

+ 1 - 1
src/errors/invalid-argument-error.d.ts

@@ -1,4 +1,4 @@
-import {Errorf} from '@e22m4u/util-format';
+import {Errorf} from '@e22m4u/js-format';
 
 
 /**
 /**
  * Invalid argument error.
  * Invalid argument error.

+ 1 - 1
src/errors/invalid-argument-error.js

@@ -1,4 +1,4 @@
-import {Errorf} from '@e22m4u/util-format';
+import {Errorf} from '@e22m4u/js-format';
 
 
 /**
 /**
  * Invalid argument error.
  * Invalid argument error.

+ 1 - 1
src/service-container.spec.js

@@ -1,6 +1,6 @@
 import {expect} from 'chai';
 import {expect} from 'chai';
 import {Service} from './service.js';
 import {Service} from './service.js';
-import {format} from '@e22m4u/util-format';
+import {format} from '@e22m4u/js-format';
 import {ServiceContainer} from './service-container.js';
 import {ServiceContainer} from './service-container.js';
 
 
 describe('ServiceContainer', function () {
 describe('ServiceContainer', function () {