Skip to content

Commit

Permalink
feat: use tbank scope (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Jun 5, 2024
1 parent e270d66 commit 9a98316
Show file tree
Hide file tree
Showing 89 changed files with 206 additions and 206 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ⚠️ Release @tinkoff/tui-editor
name: ⚠️ Release @tbank/tui-editor
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
topicId: ${{ secrets.TAIGA_TELEGRAM_CHAT_THREAD_ID }}
token: ${{ secrets.TAIGA_TELEGRAM_BOT_TOKEN }}
version: ${{ steps.info.outputs.version }}
textLink: '@tinkoff/tui-editor'
textLink: '@tbank/tui-editor'

concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

<div align="center">

[![npm version](https://img.shields.io/npm/v/@tinkoff/tui-editor.svg)](https://npmjs.com/package/@tinkoff/tui-editor)
[![npm version](https://img.shields.io/npm/v/@tbank/tui-editor.svg)](https://npmjs.com/package/@tbank/tui-editor)
[![All packages CI](https://github.com/taiga-family/tui-editor/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/taiga-family/tui-editor/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/tinkoff/tui-editor/branch/main/graphs/badge.svg)](https://app.codecov.io/gh/taiga-family/tui-editor/tree/main/projects)
[![codecov](https://codecov.io/gh/tbank/tui-editor/branch/main/graphs/badge.svg)](https://app.codecov.io/gh/taiga-family/tui-editor/tree/main/projects)

</div>

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"publish": {
"yes": true,
"registry": "https://registry.npmjs.org",
"message": "chore(release): publish @tinkoff/tui-editor"
"message": "chore(release): publish @tbank/tui-editor"
}
}
}
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion projects/demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {LOCAL_STORAGE} from '@ng-web-apis/common';
import {TUI_DOC_PAGE_LOADED, TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective, TuiRootComponent} from '@taiga-ui/core';
import {TuiPreview} from '@taiga-ui/kit';
import pkg from '@tinkoff/tui-editor/package.json';
import pkg from '@tbank/tui-editor/package.json';

@Component({
standalone: true,
Expand Down
10 changes: 5 additions & 5 deletions projects/demo/src/app/pages/anchors/examples/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TuiEditorComponent,
TuiEditorSocketComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand All @@ -17,16 +17,16 @@ import {
provide: TUI_EDITOR_EXTENSIONS,
deps: [Injector],
useFactory: (injector: Injector) => [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tiptap/extension-image').then(({default: Image}) =>
Image.configure({inline: true, allowBase64: true}),
),
import('@tinkoff/tui-editor').then(({tuiCreateImageEditorExtension}) =>
import('@tbank/tui-editor').then(({tuiCreateImageEditorExtension}) =>
tuiCreateImageEditorExtension({injector}),
),
import('@tiptap/extension-text-style').then(({TextStyle}) => TextStyle),
import('@tinkoff/tui-editor').then(({TuiLink}) => TuiLink),
import('@tinkoff/tui-editor').then(({TuiJumpAnchor}) => TuiJumpAnchor),
import('@tbank/tui-editor').then(({TuiLink}) => TuiLink),
import('@tbank/tui-editor').then(({TuiJumpAnchor}) => TuiJumpAnchor),
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/pages/anchors/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {RouterLink} from '@angular/router';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective} from '@taiga-ui/core';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/pages/appearance/examples/1/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';
import {FormControl, ReactiveFormsModule} from '@angular/forms';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {TuiEditorComponent, tuiEditorOptionsProvider} from '@tinkoff/tui-editor';
import {TuiEditorComponent, tuiEditorOptionsProvider} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/pages/appearance/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {ChangeDetectionStrategy, Component} from '@angular/core';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
4 changes: 2 additions & 2 deletions projects/demo/src/app/pages/checkbox/examples/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TuiEditorComponent,
TuiEditorSocketComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand All @@ -17,7 +17,7 @@ import {
{
provide: TUI_EDITOR_EXTENSIONS,
useValue: [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tiptap/extension-text-style').then(
({default: TextStyle}) => TextStyle,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {TuiTextfieldControllerModule} from '@taiga-ui/core';
import {
TUI_EDITOR_DEFAULT_EDITOR_COLORS,
TuiInputColorComponent,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type {SafeStyle} from '@angular/platform-browser';
import {DomSanitizer} from '@angular/platform-browser';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import {TuiColorSelectorComponent} from '@tinkoff/tui-editor';
import {TuiColorSelectorComponent} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {AsyncPipe} from '@angular/common';
import {ChangeDetectionStrategy, Component} from '@angular/core';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import {TuiPaletteComponent} from '@tinkoff/tui-editor';
import {TuiPaletteComponent} from '@tbank/tui-editor';
import {BehaviorSubject} from 'rxjs';

@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
```ts
import {TuiColorPickerModule} from '@tinkoff/tui-editor';
import {TuiColorPickerModule} from '@tbank/tui-editor';

// ...

Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/pages/color-picker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {ChangeDetectionStrategy, Component} from '@angular/core';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective, TuiNotificationComponent} from '@taiga-ui/core';
import {TuiColorPickerComponent} from '@tinkoff/tui-editor';
import {TuiColorPickerComponent} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@tinkoff/tui-editor/styles/tools-common.less';
@import '@tbank/tui-editor/styles/tools-common.less';

:host {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import {AsyncPipe} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject, Input} from '@angular/core';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import type {AbstractTuiEditor} from '@tinkoff/tui-editor';
import type {AbstractTuiEditor} from '@tbank/tui-editor';
import {
TUI_EDITOR_OPTIONS,
TuiColorSelectorComponent,
TuiTiptapEditorService,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';
import {distinctUntilChanged, map, share} from 'rxjs';

@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
TUI_EDITOR_EXTENSIONS,
TuiEditorComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

import {CustomColorPickerComponent} from './custom-color-picker/custom-color-picker.component';

Expand All @@ -17,12 +17,12 @@ import {CustomColorPickerComponent} from './custom-color-picker/custom-color-pic
{
provide: TUI_EDITOR_EXTENSIONS,
useValue: [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tiptap/extension-text-style').then(
({default: TextStyle}) => TextStyle,
),
import('@tinkoff/tui-editor').then(({TuiFontColor}) => TuiFontColor),
import('@tinkoff/tui-editor').then(
import('@tbank/tui-editor').then(({TuiFontColor}) => TuiFontColor),
import('@tbank/tui-editor').then(
({TuiBackgroundColor}) => TuiBackgroundColor,
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TUI_EDITOR_EXTENSIONS,
TuiEditorComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

import {ExampleTuiSmilesToolComponent} from './smiles-tool/smiles-tool.component';

Expand All @@ -26,7 +26,7 @@ import {ExampleTuiSmilesToolComponent} from './smiles-tool/smiles-tool.component
{
provide: TUI_EDITOR_EXTENSIONS,
useValue: [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('./smiles-tool/emoji.extension').then(
({EmojiExtension}) => EmojiExtension,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {NgForOf} from '@angular/common';
import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {TuiActiveZoneDirective} from '@taiga-ui/cdk';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import {TuiTiptapEditorService} from '@tinkoff/tui-editor';
import {TuiTiptapEditorService} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
via
<code>TuiTiptapEditorService</code>
from
<code>&#64;tinkoff/tui-editor</code>
<code>&#64;tbank/tui-editor</code>
.
</li>
<li class="tui-list__item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {RouterLink} from '@angular/router';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective} from '@taiga-ui/core';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {TuiActiveZoneDirective, TuiAutoFocusDirective} from '@taiga-ui/cdk';
import type {TuiHostedDropdownComponent} from '@taiga-ui/core';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import {TuiInputInlineComponent} from '@taiga-ui/kit';
import {TuiTiptapEditorService} from '@tinkoff/tui-editor';
import {TuiTiptapEditorService} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
TUI_EDITOR_EXTENSIONS,
TuiEditorComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';

import {ExampleTuiPasteImageToolComponent} from './image-tool/image-tool.component';
import {IMAGE_CLIPBOARD_PASTE_EXTENSION} from './image-tool/paste.extension';
Expand All @@ -28,8 +28,8 @@ import {IMAGE_CLIPBOARD_PASTE_EXTENSION} from './image-tool/paste.extension';
provide: TUI_EDITOR_EXTENSIONS,
deps: [Injector],
useFactory: (injector: Injector) => [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tinkoff/tui-editor').then(({tuiCreateImageEditorExtension}) =>
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({tuiCreateImageEditorExtension}) =>
tuiCreateImageEditorExtension({injector}).extend(
IMAGE_CLIPBOARD_PASTE_EXTENSION,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
via
<code>TuiTiptapEditorService</code>
from
<code>&#64;tinkoff/tui-editor</code>
<code>&#64;tbank/tui-editor</code>
.
</li>
<li class="tui-list__item">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {RouterLink} from '@angular/router';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective} from '@taiga-ui/core';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
18 changes: 9 additions & 9 deletions projects/demo/src/app/pages/embed/html5/examples/1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import {FormControl, ReactiveFormsModule, Validators} from '@angular/forms';
import type {SafeHtml} from '@angular/platform-browser';
import {DomSanitizer} from '@angular/platform-browser';
import {TUI_IS_E2E, tuiPure, tuiTypedFromEvent} from '@taiga-ui/cdk';
import type {TuiEditorAttachedFile} from '@tinkoff/tui-editor';
import type {TuiEditorAttachedFile} from '@tbank/tui-editor';
import {
TUI_ATTACH_FILES_LOADER,
TUI_ATTACH_FILES_OPTIONS,
TUI_EDITOR_EXTENSIONS,
TuiEditorComponent,
TuiEditorTool,
} from '@tinkoff/tui-editor';
} from '@tbank/tui-editor';
import type {Observable} from 'rxjs';
import {map} from 'rxjs';

Expand All @@ -24,14 +24,14 @@ import {map} from 'rxjs';
{
provide: TUI_EDITOR_EXTENSIONS,
useValue: [
import('@tinkoff/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tbank/tui-editor').then(({TuiStarterKit}) => TuiStarterKit),
import('@tiptap/extension-text-style').then(({TextStyle}) => TextStyle),
import('@tinkoff/tui-editor').then(({TuiLink}) => TuiLink),
import('@tinkoff/tui-editor').then(({TuiJumpAnchor}) => TuiJumpAnchor),
import('@tinkoff/tui-editor').then(({TuiFileLink}) => TuiFileLink),
import('@tinkoff/tui-editor').then(({TuiVideo}) => TuiVideo),
import('@tinkoff/tui-editor').then(({TuiAudio}) => TuiAudio),
import('@tinkoff/tui-editor').then(({TuiSource}) => TuiSource),
import('@tbank/tui-editor').then(({TuiLink}) => TuiLink),
import('@tbank/tui-editor').then(({TuiJumpAnchor}) => TuiJumpAnchor),
import('@tbank/tui-editor').then(({TuiFileLink}) => TuiFileLink),
import('@tbank/tui-editor').then(({TuiVideo}) => TuiVideo),
import('@tbank/tui-editor').then(({TuiAudio}) => TuiAudio),
import('@tbank/tui-editor').then(({TuiSource}) => TuiSource),
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion projects/demo/src/app/pages/embed/html5/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {RouterLink} from '@angular/router';
import type {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiAddonDoc} from '@taiga-ui/addon-doc';
import {TuiLinkDirective} from '@taiga-ui/core';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tinkoff/tui-editor';
import {TUI_EDITOR_DEFAULT_EXTENSIONS, TUI_EDITOR_EXTENSIONS} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {TuiActiveZoneDirective, TuiAutoFocusDirective} from '@taiga-ui/cdk';
import type {TuiHostedDropdownComponent} from '@taiga-ui/core';
import {TuiButtonDirective, TuiHostedDropdownModule} from '@taiga-ui/core';
import {TuiInputInlineComponent} from '@taiga-ui/kit';
import {TuiTiptapEditorService} from '@tinkoff/tui-editor';
import {TuiTiptapEditorService} from '@tbank/tui-editor';

@Component({
standalone: true,
Expand Down
Loading

0 comments on commit 9a98316

Please sign in to comment.