Skip to content

Commit

Permalink
release: 14.0.0 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jun 24, 2022
1 parent 53c637a commit 7518950
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 45 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v2.3.0
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install

Expand All @@ -23,7 +23,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v2.3.0
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install

Expand All @@ -40,7 +40,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v2.3.0
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install

Expand All @@ -54,13 +54,13 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v2.3.0
- uses: borales/actions-yarn@v3.0.0
with:
cmd: install

- name: build
run: |
node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build --prod --base-href /ngx-tinymce/
node --max_old_space_size=5120 ./node_modules/@angular/cli/bin/ng build --base-href /ngx-tinymce/
cp ./dist/index.html ./dist/404.html
ls ./dist
Expand Down
9 changes: 5 additions & 4 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "ngx-tinymce",
"version": "13.0.0",
"version": "14.0.0",
"description": "Angular for tinymce",
"keywords": [
"angular-tinymce",
"ngx-tinymce",
"ng-tinymce",
"tinymce"
"tinymce",
"angular standalone library"
],
"author": "cipchk <[email protected]>",
"license": "MIT",
Expand All @@ -19,7 +20,7 @@
},
"homepage": "https://cipchk.github.io/ngx-tinymce/",
"dependencies": {
"@ng-util/lazy": "^13.0.0",
"@ng-util/util": "^13.0.0"
"@ng-util/lazy": "^14.0.0",
"@ng-util/util": "^14.0.0"
}
}
70 changes: 35 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "ngx-tinymce",
"version": "13.0.0",
"version": "14.0.0",
"description": "Angular for tinymce",
"keywords": [
"angular-tinymce",
"ngx-tinymce",
"ng-tinymce",
"tinymce"
"tinymce",
"angular standalone library"
],
"license": "MIT",
"author": "cipchk <[email protected]>",
Expand All @@ -20,51 +21,50 @@
"homepage": "https://cipchk.github.io/ngx-tinymce/",
"scripts": {
"analyze": "ng b --stats-json --source-map",
"lint": "ng l",
"lint": "ng lint",
"test": "ng t --no-progress --browsers=ChromeHeadlessCI --code-coverage --no-watch",
"build": "node scripts/build.js",
"release:next": "npm run build && cd publish && npm publish --access public --tag next",
"release": "npm run build && cd publish && npm publish --access public"
},
"dependencies": {
"@angular/animations": "~13.1.1",
"@angular/common": "~13.1.1",
"@angular/compiler": "~13.1.1",
"@angular/core": "~13.1.1",
"@angular/forms": "~13.1.1",
"@angular/platform-browser": "~13.1.1",
"@angular/platform-browser-dynamic": "~13.1.1",
"@angular/router": "~13.1.1",
"rxjs": "~7.4.0",
"tslib": "^2.3.1",
"@angular/animations": "^14.0.0",
"@angular/common": "^14.0.0",
"@angular/compiler": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/forms": "^14.0.0",
"@angular/platform-browser": "^14.0.0",
"@angular/platform-browser-dynamic": "^14.0.0",
"@angular/router": "^14.0.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4",
"bootstrap": "^5.1.3",
"@ng-util/lazy": "^13.0.0",
"@ng-util/util": "^13.0.0",
"ngx-highlight-js": "^13.0.0"
"@ng-util/lazy": "^14.0.0",
"@ng-util/util": "^14.0.0",
"ngx-highlight-js": "^14.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "~13.1.2",
"@angular/cli": "~13.1.2",
"@angular/compiler-cli": "~13.1.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"jasmine-core": "~3.10.0",
"@angular-devkit/build-angular": "^14.0.3",
"@angular/cli": "~14.0.3",
"@angular/compiler-cli": "^14.0.0",
"@types/jasmine": "~4.0.0",
"jasmine-core": "~4.1.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-chrome-launcher": "~3.1.1",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.5.2",
"@angular-eslint/builder": "^13.0.1",
"@angular-eslint/eslint-plugin": "^13.0.1",
"@angular-eslint/eslint-plugin-template": "^13.0.1",
"@angular-eslint/schematics": "^13.0.1",
"@angular-eslint/template-parser": "^13.0.1",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"typescript": "~4.7.4",
"@angular-eslint/builder": "^14.0.0",
"@angular-eslint/eslint-plugin": "^14.0.0",
"@angular-eslint/eslint-plugin-template": "^14.0.0",
"@angular-eslint/schematics": "^14.0.0",
"@angular-eslint/template-parser": "^14.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"codecov": "^3.8.3",
"eslint": "^8.5.0",
"ng-packagr": "^13.1.2"
"eslint": "^8.18.0",
"ng-packagr": "^14.0.2"
}
}
3 changes: 3 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ import { Component, ViewEncapsulation } from '@angular/core';
<li class="nav-item">
<a class="nav-link" routerLink="/inline">Inline</a>
</li>
<li class="nav-item">
<a class="nav-link" routerLink="/standalone">Standalone</a>
</li>
</ul>
</div>
</nav>
Expand Down
2 changes: 2 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { AppComponent } from './app.component';
import { HomeComponent } from './home/home.component';
import { OtherComponent } from './other/other.component';
import { InlineComponent } from './inline/inline.component';
import { StandaloneDemoComponent } from './standalone.component';

@NgModule({
declarations: [AppComponent, HomeComponent, OtherComponent, InlineComponent],
Expand All @@ -25,6 +26,7 @@ import { InlineComponent } from './inline/inline.component';
{ path: '', component: HomeComponent },
{ path: 'other', component: OtherComponent },
{ path: 'inline', component: InlineComponent },
{ path: 'standalone', component: StandaloneDemoComponent },
],
{ useHash: true },
),
Expand Down
16 changes: 16 additions & 0 deletions src/app/standalone.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { NgxTinymceModule } from 'ngx-tinymce';

@Component({
selector: 'standalone-demo',
template: ` <tinymce [(ngModel)]="html" [config]="config"></tinymce> `,
standalone: true,
imports: [FormsModule, NgxTinymceModule],
})
export class StandaloneDemoComponent {
html = `HTML<strong>S</strong>`;
config = {
height: 350,
};
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2017",
"target": "es2020",
"module": "es2020",
"lib": [
"es2020",
Expand Down

0 comments on commit 7518950

Please sign in to comment.