-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
v.potekhin
committed
Jul 13, 2023
1 parent
dae8c9d
commit 3ce2a7c
Showing
35 changed files
with
33,756 additions
and
41,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* @type {import('eslint').Linter.Config} | ||
*/ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'@tinkoff/eslint-config-angular', | ||
'@tinkoff/eslint-config-angular/html', | ||
'@tinkoff/eslint-config-angular/rxjs', | ||
'@tinkoff/eslint-config-angular/imports', | ||
'@tinkoff/eslint-config-angular/promise', | ||
'@tinkoff/eslint-config-angular/file-progress', | ||
'@tinkoff/eslint-config-angular/line-statements', | ||
'@tinkoff/eslint-config-angular/member-ordering', | ||
'@tinkoff/eslint-config-angular/decorator-position', | ||
'@tinkoff/eslint-config-angular/experimental', | ||
'@tinkoff/eslint-config-angular/function-return-type', | ||
], | ||
rules: { | ||
'@typescript-eslint/prefer-nullish-coalescing': 'off', | ||
'@typescript-eslint/member-ordering': 'off', | ||
}, | ||
ignorePatterns: [ | ||
'projects/**/test.ts', | ||
'*.json', | ||
'*.less', | ||
'*.md', | ||
'*.js', | ||
'*.spec.ts', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
project: [require.resolve('./tsconfig.eslint.json')], | ||
}, | ||
env: { | ||
jest: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## PR Checklist | ||
|
||
## PR Type | ||
|
||
What kind of change does this PR introduce? | ||
|
||
- [ ] Bugfix | ||
- [ ] Feature | ||
- [ ] Refactoring | ||
- [ ] Code style update | ||
- [ ] Build or CI related changes | ||
- [ ] Documentation content changes | ||
|
||
## What is the current behavior? | ||
|
||
Closes # <!-- link to a relevant issue. --> | ||
|
||
## What is the new behavior? | ||
|
||
## Does this PR introduce a breaking change? | ||
|
||
- [ ] Yes | ||
- [ ] No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Action for Node.js | ||
description: Node.js setup cache | ||
|
||
inputs: | ||
node-version: | ||
description: Node.js version | ||
required: false | ||
default: 16.20 | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Use Node.js ${{ inputs.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Restore node_modules from cache | ||
id: cache-node-modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules | ||
!**/node_modules/.cache | ||
key: modules-cache__nodejs-${{ inputs.node-version }}__${{ hashfiles('**/package-lock.json') }} | ||
|
||
- name: Restore from cache of builds | ||
id: build-cache | ||
if: steps.cache-node-modules.outputs.cache-hit == 'true' | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
**/node_modules/.cache | ||
key: builds-cache-hash__${{ hashFiles('**/package-lock.json') }}-${{ github.ref }} | ||
restore-keys: builds-cache__nodejs-${{ inputs.node-version }}__${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Restore from global NPM cache | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: npm-cache__nodejs-${{ inputs.node-version }}__${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: npm-cache-hash__ | ||
|
||
- run: npm ci | ||
env: | ||
CYPRESS_CACHE_FOLDER: ./node_modules/cache-cypress | ||
if: steps.cache-node-modules.outputs.cache-hit != 'true' | ||
shell: bash | ||
|
||
- name: environment | ||
shell: bash | ||
run: | | ||
node -v | ||
npm -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build | ||
on: | ||
pull_request: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
build-packages: | ||
name: Packages | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Build packages | ||
run: npm run build | ||
|
||
concurrency: | ||
group: build-${{ github.head_ref }} | ||
cancel-in-progress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Lint | ||
on: [pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Lint check | ||
run: | | ||
npm run typecheck | ||
npm run format -- --check | ||
npm run lint | ||
concurrency: | ||
group: lint-${{ github.head_ref }} | ||
cancel-in-progress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
tests: | ||
if: ${{ !contains(github.head_ref, 'release/') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node.js and Cache | ||
uses: ./.github/actions/nodejs | ||
|
||
- name: Run tests | ||
run: npm run test | ||
|
||
concurrency: | ||
group: test-${{ github.head_ref }} | ||
cancel-in-progress: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
All notable changes to this project will be documented in this file. See | ||
[standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
|
||
## [1.2.0](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/compare/v1.1.0...v1.2.0) (2021-07-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **directive:** fix for non-string values ([38ac555](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/38ac5555dbadbb1d432840301b7593a72f2c4f52)) | ||
- **directive:** fix for non-string values | ||
([38ac555](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/38ac5555dbadbb1d432840301b7593a72f2c4f52)) | ||
|
||
# 1.1.0 (2019-03-13) | ||
|
||
|
||
### Features | ||
|
||
* **travis:** add build step ([c40aaf9](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/c40aaf9)) | ||
* **travis:** add travis integration ([a72102e](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/a72102e)) | ||
* **travis:** link MAINTAIN.md inside README.md and add comments to scripts ([74cc813](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/74cc813)) | ||
* **travis:** remove old node builds ([367358b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/367358b)) | ||
* **travis:** update license ([b9ea68b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/b9ea68b)) | ||
* **travis:** use spaces not tabs ([d6a9e30](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/d6a9e30)) | ||
- **travis:** add build step | ||
([c40aaf9](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/c40aaf9)) | ||
- **travis:** add travis integration | ||
([a72102e](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/a72102e)) | ||
- **travis:** link MAINTAIN.md inside README.md and add comments to scripts | ||
([74cc813](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/74cc813)) | ||
- **travis:** remove old node builds | ||
([367358b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/367358b)) | ||
- **travis:** update license | ||
([b9ea68b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/b9ea68b)) | ||
- **travis:** use spaces not tabs | ||
([d6a9e30](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/d6a9e30)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.