Skip to content

Commit afda9e2

Browse files
feat(ref: no-ref): release
2 parents 08d1628 + 360493a commit afda9e2

19 files changed

+4447
-92
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
Please check if your PR fulfills the following requirements:
44

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

99
## PR Type
1010

1111
What kind of change does this PR introduce?
1212

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

15-
- [ ] Bugfix
16-
- [ ] Feature
17-
- [ ] Code style update (formatting, local variables)
18-
- [ ] Refactoring (no functional changes, no api changes)
19-
- [ ] Build related changes
20-
- [ ] CI related changes
21-
- [ ] Documentation content changes
22-
- [ ] Other... Please describe:
15+
- [ ] Bugfix
16+
- [ ] Feature
17+
- [ ] Code style update (formatting, local variables)
18+
- [ ] Refactoring (no functional changes, no api changes)
19+
- [ ] Build related changes
20+
- [ ] CI related changes
21+
- [ ] Documentation content changes
22+
- [ ] Other... Please describe:
2323

2424
## What is the current behavior?
2525

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

3232
## Does this PR introduce a breaking change?
3333

34-
- [ ] Yes
35-
- [ ] No
34+
- [ ] Yes
35+
- [ ] No
3636

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

.github/workflows/publish.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
outputs:
12+
version: ${{ steps.get_version.outputs.version }}
1113
steps:
1214
- uses: actions/checkout@v4
1315
with:
@@ -27,9 +29,14 @@ jobs:
2729
run: |
2830
echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" > dist/ngx-copypaste-lib/.npmrc
2931
- name: Publish library
30-
run: bun publish:lib
32+
run: bun publish:lib
3133
env:
3234
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
35+
- name: Extract version
36+
id: get_version
37+
run: |
38+
VERSION=$(node -p "require('./dist/ngx-copypaste-lib/package.json').version")
39+
echo "version=$VERSION" >> $GITHUB_OUTPUT
3340
3441
slack_notification:
3542
needs:
@@ -59,6 +66,13 @@ jobs:
5966
"text": "Project: `${{ github.event.repository.name }}`"
6067
}
6168
},
69+
{
70+
"type": "section",
71+
"text": {
72+
"type": "mrkdwn",
73+
"text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`"
74+
}
75+
},
6276
{
6377
"type": "section",
6478
"text": {
@@ -70,7 +84,7 @@ jobs:
7084
"type": "section",
7185
"text": {
7286
"type": "mrkdwn",
73-
"text": "Website URL: ${{ env.NPM_PACKAGE_URL }}"
87+
"text": "Website URL: ${{ secrets.NPM_PACKAGE_URL }}"
7488
}
7589
}
7690
]

.stylelintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scss/at-rule-no-unknown": [
1717
true,
1818
{
19-
"ignoreAtRules": ["tailwind"]
19+
"ignoreAtRules": ["tailwind", "config"]
2020
}
2121
]
2222
}

CHANGELOG.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,59 @@
1+
# 19.0.1(2025-04-29)
2+
3+
### Feature
4+
5+
- update dependencies
6+
17
# 19.0.0(2024-11-21)
28

39
### Feature
410

5-
- update ng 19.x
11+
- update ng 19.x
612

713
# 18.0.4(2024-10-25)
814

915
### Feature
1016

11-
- add tailwind
12-
- change interface to type, remove prefix "I"
13-
- update dependencies
14-
- add ESLint strict rules
17+
- add tailwind
18+
- change interface to type, remove prefix "I"
19+
- update dependencies
20+
- add ESLint strict rules
1521

1622
# 17.3.2(2024-03-29)
1723

1824
### Feature
1925

20-
- change decorators to signals
26+
- change decorators to signals
2127

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

2430
# 17.0.0(2023-11-28)
2531

2632
### Feature
2733

28-
- update ng 17.x
34+
- update ng 17.x
2935

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

3238
# 16.0.1(2023-07-07)
3339

3440
### Feature
3541

36-
- add success cb
37-
- update dependencies
42+
- add success cb
43+
- update dependencies
3844

3945
# 16.0.0(2023-07-07)
4046

4147
### Feature
4248

43-
- update ng 16.x
49+
- update ng 16.x
4450

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

4753
# 15.0.0(2022-25-12)
4854

4955
### Feature
5056

51-
- ng 15
57+
- ng 15
5258

5359
<a name="15.0.0"></a>

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ Please format code and markup in your issue using [github markdown](https://help
88

99
## Contributing to Source Code (Pull Requests)
1010

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

1616
## Protractor specific rules
1717

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

2222
## Commit Messages
2323

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,18 @@ You can also try our NGX LOADER INDICATOR [check](https://www.npmjs.com/package/
2323

2424
## Installing
2525

26+
## npm
27+
2628
```bash
2729
$ npm install --save ngx-copypaste
2830
```
2931

32+
## bun
33+
34+
```bash
35+
$ bun install --save ngx-copypaste
36+
```
37+
3038
## Quickstart if ngx-copypaste version >= 15.0.0
3139

3240
Pay attention this version works for angular >= 14.0.0

angular.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"build": {
3030
"builder": "@angular-devkit/build-angular:application",
3131
"options": {
32+
"security": { "autoCsp": true },
3233
"outputPath": "dist/ngx-copypaste",
3334
"browser": "src/main.ts",
3435
"index": "src/index.html",
@@ -39,6 +40,8 @@
3940
"src/styles.scss"
4041
],
4142
"scripts": [],
43+
"sourceMap": true,
44+
"optimization": false,
4245
"namedChunks": true
4346
},
4447
"configurations": {

0 commit comments

Comments
 (0)