Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JsDaddy/ngx-copypaste
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.0
Choose a base ref
...
head repository: JsDaddy/ngx-copypaste
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref

Commits on Jul 5, 2024

  1. Copy the full SHA
    3459f49 View commit details
  2. Copy the full SHA
    715f981 View commit details

Commits on Jul 8, 2024

  1. fix(ref:#114): new deps

    NepipenkoIgor committed Jul 8, 2024
    Copy the full SHA
    02b47ac View commit details
  2. Copy the full SHA
    ff857b8 View commit details
  3. Fix/114

    Fix/114
    NepipenkoIgor authored Jul 8, 2024
    Copy the full SHA
    bb073ad View commit details

Commits on Oct 25, 2024

  1. Copy the full SHA
    1357e29 View commit details
  2. Copy the full SHA
    fe642cf View commit details
  3. Copy the full SHA
    5a51488 View commit details
  4. Copy the full SHA
    a91bb45 View commit details
  5. Copy the full SHA
    cccb6b7 View commit details
  6. Copy the full SHA
    c5f4000 View commit details
  7. Copy the full SHA
    e90c7d8 View commit details
  8. Copy the full SHA
    fd5095f View commit details
  9. Merge pull request #133 from JsDaddy/feat/132

    Feat/132
    NepipenkoIgor authored Oct 25, 2024
    Copy the full SHA
    9dc532d View commit details
  10. feat(ref: #132): fix publish actions

    * feat(ref: #132): fix publish actions
    
    * feat(ref: #132): fix publish actions
    andriikamaldinov1 authored Oct 25, 2024
    Copy the full SHA
    60a7b7e View commit details

Commits on Nov 22, 2024

  1. feat(ref: no-ref): update ng 19

    * fix(ref: no-ref): updage ng 19
    
    * fix(ref: no-ref): update ng 19
    
    * fix(ref: no-ref): update ng 19
    
    * fix(ref: no-ref): add ngxtension
    andriikamaldinov1 authored Nov 22, 2024
    Copy the full SHA
    ee50f6e View commit details
  2. Copy the full SHA
    9b6b150 View commit details
  3. Copy the full SHA
    72f4d39 View commit details

Commits on Nov 29, 2024

  1. Copy the full SHA
    7e6ba5f View commit details
  2. feat(ref: no-ref): add autoCsp, change ts config

    feat(ref: no-ref): add autoCsp, change ts config
    andriikamaldinov1 authored Nov 29, 2024
    Copy the full SHA
    6698fdc View commit details
  3. Copy the full SHA
    a55deb5 View commit details
  4. feat(ref: no-ref): update angular json

    feat(ref: no-ref): update angular json
    andriikamaldinov1 authored Nov 29, 2024
    Copy the full SHA
    6811d48 View commit details
Showing with 611 additions and 28,660 deletions.
  1. +13 −13 .github/PULL_REQUEST_TEMPLATE.md
  2. +1 −2 .github/hooks/pre-commit
  3. +3 −3 .github/workflows/gh-pages.yml
  4. +60 −46 .github/workflows/publish.yml
  5. +1 −1 .github/workflows/quality-check.yml
  6. +1 −1 .gitignore
  7. +2 −2 .lintstagedrc
  8. +4 −4 .releaserc.yaml
  9. +1 −0 .stylelintignore
  10. +10 −1 .stylelintrc.json
  11. +22 −7 CHANGELOG.md
  12. +7 −7 CONTRIBUTING.md
  13. +18 −15 README.md
  14. +4 −4 angular.json
  15. BIN bun.lockb
  16. +0 −1 cypress/support/component.ts
  17. +103 −5 eslint.config.js
  18. +0 −28,099 package-lock.json
  19. +56 −50 package.json
  20. +8 −0 postcss.config.js
  21. +6 −6 projects/ngx-copypaste-lib/ng-package.json
  22. +1 −1 projects/ngx-copypaste-lib/package.json
  23. +1 −1 projects/ngx-copypaste-lib/src/lib/ngx-copypaste.directive.spec.ts
  24. +8 −5 projects/ngx-copypaste-lib/src/lib/ngx-copypaste.directive.ts
  25. +1 −4 projects/ngx-copypaste-lib/src/test/copy.cy-spec.ts
  26. +4 −1 projects/ngx-copypaste-lib/src/test/utils/cypress-test.component.ts
  27. +0 −12 projects/ngx-copypaste-lib/src/test/utils/cypress-test.module.ts
  28. +9 −11 projects/ngx-copypaste-lib/tsconfig.lib.json
  29. +7 −7 projects/ngx-copypaste-lib/tsconfig.lib.prod.json
  30. +6 −11 projects/ngx-copypaste-lib/tsconfig.spec.json
  31. +4 −4 src/app/app.component.html
  32. +2 −21 src/app/app.component.scss
  33. +1 −1 src/app/app.component.spec.ts
  34. +4 −4 src/app/app.component.ts
  35. +83 −83 src/app/cards/cards.component.html
  36. +7 −126 src/app/cards/cards.component.scss
  37. +3 −11 src/app/cards/cards.component.ts
  38. +2 −2 src/app/cards/{cards.interface.ts → cards.type.ts}
  39. +2 −7 src/app/shared/copied/copied.component.html
  40. +9 −54 src/app/shared/copied/copied.component.scss
  41. +2 −2 src/assets/content/card.ts
  42. +2 −2 src/assets/content/lists.ts
  43. +1 −1 src/libraries
  44. +4 −1 src/main.ts
  45. +5 −1 src/styles.scss
  46. +106 −0 tailwind.config.ts
  47. +2 −6 tsconfig.app.json
  48. +4 −0 tsconfig.eslint.json
  49. +9 −8 tsconfig.json
  50. +2 −6 tsconfig.spec.json
26 changes: 13 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -2,24 +2,24 @@

Please check if your PR fulfills the following requirements:

- [ ] The commit message follows our guidelines: https://github.com/JsDaddy/ngx-copypaste/blob/develop/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] The commit message follows our guidelines: https://github.com/JsDaddy/ngx-copypaste/blob/develop/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)

## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:
- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:

## What is the current behavior?

@@ -31,8 +31,8 @@ Issue Number: N/A

## Does this PR introduce a breaking change?

- [ ] Yes
- [ ] No
- [ ] Yes
- [ ] No

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->

3 changes: 1 addition & 2 deletions .github/hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -2,8 +2,7 @@

set -e

bun run lint-staged
bun run lint
bun lint-staged

# bun run snyk:test

6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
with:
node-version: 20

- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

@@ -44,7 +44,7 @@ jobs:
bash .github/workflows/scripts/replace_template.sh $RELEASE_VERSION
bun run build
- name: Deploy demo
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/ngx-copypaste/browser
@@ -58,7 +58,7 @@ jobs:
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1.26.0
uses: slackapi/slack-github-action@v1.27.0
with:
channel-id: 'deployments'
payload: |
106 changes: 60 additions & 46 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish npm
name: Publish bun

on:
push:
@@ -8,11 +8,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version.outputs.version }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/setup-node@v4
@@ -27,50 +29,62 @@ jobs:
run: bun run publish:lib
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- name: Extract version
id: get_version
run: |
VERSION=$(node -p "require('./dist/ngx-copypaste-lib/package.json').version")
echo "version=$VERSION" >> $GITHUB_OUTPUT
slack_notification:
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1.26.0
with:
channel-id: 'deployments'
payload: |
slack_notification:
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/slack-github-action@v1.27.0
with:
channel-id: 'deployments'
payload: |
{
"text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}"
}
},
{
"text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Action build result: ${{ job.status == 'success' && ':white_check_mark:' || ':x:' }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Project: `${{ github.event.repository.name }}`"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Website URL: ${{ env.NPM_PACKAGE_URL }}"
}
}
]
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Project: `${{ github.event.repository.name }}`"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Commit/PR URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Website URL: ${{ secrets.NPM_PACKAGE_URL }}"
}
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
with:
submodules: true
ref: ${{ env.REF }}
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: actions/setup-node@v4
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
/tmp
/out-tsc
/bazel-out

/cypress/screenshots
# Node
/node_modules
npm-debug.log
4 changes: 2 additions & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"*.{ts,js,json}": [
"eslint --report-unused-disable-directives --max-warnings 0 --fix",
"prettier --write"
"prettier . --write"
],
"*.scss": "stylelint --fix"
}
}
8 changes: 4 additions & 4 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
branches:
- develop
- develop

plugins:
- '@semantic-release/commit-analyzer'
- '@semantic-release/github'
- 'semantic-release-export-data'
- '@semantic-release/commit-analyzer'
- '@semantic-release/github'
- 'semantic-release-export-data'
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
/out-tsc
/bazel-out


# Node
/node_modules

11 changes: 10 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
{
"extends": ["stylelint-config-recommended-scss"],
"customSyntax": "postcss-scss",
"plugins": ["stylelint-prettier"],
"plugins": ["stylelint-scss", "stylelint-prettier"],
"rules": {
"no-empty-source": null,
"scss/comment-no-empty": null,
"no-descending-specificity": null,
"prettier/prettier": true,
"selector-type-no-unknown": [
true,
{
"ignoreTypes": ["/^mat-/", "markdown", ":host", ":root"]
}
],
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind"]
}
]
}
}
29 changes: 22 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,53 @@
# 19.0.0(2024-11-21)

### Feature

- update ng 19.x

# 18.0.4(2024-10-25)

### Feature

- add tailwind
- change interface to type, remove prefix "I"
- update dependencies
- add ESLint strict rules

# 17.3.2(2024-03-29)

### Feature

- change decorators to signals
- change decorators to signals

<a name="16.0.0"></a>

# 17.0.0(2023-11-28)

### Feature

- update ng 17.x
- update ng 17.x

<a name="16.0.0"></a>

# 16.0.1(2023-07-07)

### Feature

- add success cb
- update dependencies
- add success cb
- update dependencies

# 16.0.0(2023-07-07)

### Feature

- update ng 16.x
- update ng 16.x

<a name="16.0.0"></a>


# 15.0.0(2022-25-12)

### Feature
- ng 15

- ng 15

<a name="15.0.0"></a>
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -8,16 +8,16 @@ Please format code and markup in your issue using [github markdown](https://help

## Contributing to Source Code (Pull Requests)

- If your PR changes any behavior or fixes an issue, it should have an associated test.
- New features should be general and as simple as possible.
- Breaking changes should be avoided if possible.
- All pull requests require review. No PR will be merged without a comment from a team member stating LGTM (Looks good to me).
- If your PR changes any behavior or fixes an issue, it should have an associated test.
- New features should be general and as simple as possible.
- Breaking changes should be avoided if possible.
- All pull requests require review. No PR will be merged without a comment from a team member stating LGTM (Looks good to me).

## Protractor specific rules

- JavaScript style should generally follow the [Google JS style guide](https://google.github.io/styleguide/javascriptguide.xml).
- Document public methods with jsdoc.
- Be consistent with the code around you!
- JavaScript style should generally follow the [Google JS style guide](https://google.github.io/styleguide/javascriptguide.xml).
- Document public methods with jsdoc.
- Be consistent with the code around you!

## Commit Messages

Loading