Skip to content

Commit 683006a

Browse files
feat(ref:no-ref): ng21 v6
feat(ref:no-ref): ng21 v6
2 parents 11d457c + cf370c4 commit 683006a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3008
-2471
lines changed

.github/hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ else
1414
echo "Type coverage is good! 🎉"
1515
fi
1616

17-
bun run test
17+
bun run test -- --watch=false
1818

1919
bun run cypress:bash
2020

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
40+
uses: github/codeql-action/init@v4
4141
with:
4242
languages: ${{ matrix.language }}
4343
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v3
53+
uses: github/codeql-action/autobuild@v4
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -63,6 +63,6 @@ jobs:
6363
# ./location_of_script_within_repo/buildscript.sh
6464

6565
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v3
66+
uses: github/codeql-action/analyze@v4
6767
with:
6868
category: '/language:${{matrix.language}}'

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
permissions:
1212
contents: write
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
with:
1616
submodules: true
1717

1818
- uses: oven-sh/setup-bun@v2
1919
with:
2020
bun-version: latest
2121

22-
- uses: actions/setup-node@v4
22+
- uses: actions/setup-node@v6
2323
with:
2424
node-version: 22
2525

@@ -45,7 +45,7 @@ jobs:
4545
bun run build
4646
4747
- name: Deploy demo
48-
uses: peaceiris/actions-gh-pages@v3
48+
uses: peaceiris/actions-gh-pages@v4
4949
with:
5050
github_token: ${{ secrets.GITHUB_TOKEN }}
5151
publish_dir: ./dist/ngx-mask/browser

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
outputs:
1212
version: ${{ steps.get_version.outputs.version }}
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515
with:
1616
submodules: true
1717
- uses: oven-sh/setup-bun@v2
1818
with:
1919
bun-version: latest
20-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@v6
2121
with:
2222
node-version: 22
2323
registry-url: https://registry.npmjs.org/

.github/workflows/quality-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
contents: write
2727
pull-requests: write
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@v6
3030
with:
3131
submodules: true
3232
ref: ${{ github.event.pull_request.head.sha }}
3333
fetch-depth: 0
3434
- uses: oven-sh/setup-bun@v2
3535
with:
3636
bun-version: latest
37-
- uses: actions/setup-node@v4
37+
- uses: actions/setup-node@v6
3838
with:
3939
node-version: 22
4040
- name: Check quality

.postcssrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": {
3+
"@tailwindcss/postcss": {}
4+
}
5+
}

.stylelintrc.json

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

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 21.0.0(2026-01-28)
2+
3+
### fix
4+
5+
- Fix ([#1590](https://github.com/JsDaddy/ngx-mask/issues/1590))
6+
- Fix ([#1591](https://github.com/JsDaddy/ngx-mask/issues/1591))
7+
18
# 20.0.3(2025-08-01)
29

310
### fix

angular.json

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"schematics": {},
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:application",
14+
"builder": "@angular/build:application",
1515
"options": {
1616
"security": { "autoCsp": true },
1717
"outputPath": "dist/ngx-mask",
@@ -49,6 +49,9 @@
4949
"outputHashing": "all"
5050
},
5151
"development": {
52+
"define": {
53+
"VERSION": "'dev'"
54+
},
5255
"optimization": false,
5356
"extractLicenses": false,
5457
"sourceMap": true
@@ -57,25 +60,21 @@
5760
"defaultConfiguration": "production"
5861
},
5962
"serve": {
60-
"builder": "@angular-devkit/build-angular:dev-server",
61-
"options": {
62-
"buildTarget": "ngx-mask:build"
63-
},
63+
"builder": "@angular/build:dev-server",
6464
"configurations": {
6565
"production": {
6666
"buildTarget": "ngx-mask:build:production"
67+
},
68+
"development": {
69+
"buildTarget": "ngx-mask:build:development"
6770
}
68-
}
71+
},
72+
"defaultConfiguration": "development"
6973
},
7074
"test": {
71-
"builder": "@angular-devkit/build-angular:web-test-runner",
75+
"builder": "@angular/build:unit-test",
7276
"options": {
73-
"tsConfig": "tsconfig.spec.json",
74-
"inlineStyleLanguage": "scss",
75-
"assets": ["src/favicon.ico", "src/assets"],
76-
"polyfills": ["zone.js", "zone.js/testing"],
77-
"styles": ["src/styles.scss"],
78-
"scripts": []
77+
"setupFiles": ["src/test-setup.ts"]
7978
}
8079
},
8180
"lint": {
@@ -93,7 +92,7 @@
9392
"prefix": "app",
9493
"architect": {
9594
"build": {
96-
"builder": "@angular-devkit/build-angular:ng-packagr",
95+
"builder": "@angular/build:ng-packagr",
9796
"options": {
9897
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.json",
9998
"project": "projects/ngx-mask-lib/ng-package.json"
@@ -102,6 +101,10 @@
102101
"production": {
103102
"project": "projects/ngx-mask-lib/ng-package.prod.json",
104103
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.prod.json"
104+
},
105+
"development": {
106+
"project": "projects/ngx-mask-lib/ng-package.json",
107+
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.json"
105108
}
106109
}
107110
},
@@ -118,6 +121,13 @@
118121
"tsConfig": "projects/ngx-mask-lib/tsconfig.cypress.json",
119122
"testingType": "component"
120123
}
124+
},
125+
"test": {
126+
"builder": "@angular/build:unit-test",
127+
"options": {
128+
"tsConfig": "projects/ngx-mask-lib/tsconfig.spec.json",
129+
"setupFiles": ["src/test-setup.ts"]
130+
}
121131
}
122132
}
123133
}

0 commit comments

Comments
 (0)