Skip to content

Commit 1723f7f

Browse files
feat(ref:no-ref): ng21
feat(ref:no-ref): ng21
2 parents f886c06 + 683006a commit 1723f7f

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",
@@ -50,6 +50,9 @@
5050
"outputHashing": "all"
5151
},
5252
"development": {
53+
"define": {
54+
"VERSION": "'dev'"
55+
},
5356
"optimization": false,
5457
"extractLicenses": false,
5558
"sourceMap": true
@@ -58,25 +61,21 @@
5861
"defaultConfiguration": "production"
5962
},
6063
"serve": {
61-
"builder": "@angular-devkit/build-angular:dev-server",
62-
"options": {
63-
"buildTarget": "ngx-mask:build"
64-
},
64+
"builder": "@angular/build:dev-server",
6565
"configurations": {
6666
"production": {
6767
"buildTarget": "ngx-mask:build:production"
68+
},
69+
"development": {
70+
"buildTarget": "ngx-mask:build:development"
6871
}
69-
}
72+
},
73+
"defaultConfiguration": "development"
7074
},
7175
"test": {
72-
"builder": "@angular-devkit/build-angular:web-test-runner",
76+
"builder": "@angular/build:unit-test",
7377
"options": {
74-
"tsConfig": "tsconfig.spec.json",
75-
"inlineStyleLanguage": "scss",
76-
"assets": ["src/favicon.ico", "src/assets"],
77-
"polyfills": ["zone.js", "zone.js/testing"],
78-
"styles": ["src/styles.scss"],
79-
"scripts": []
78+
"setupFiles": ["src/test-setup.ts"]
8079
}
8180
},
8281
"lint": {
@@ -94,7 +93,7 @@
9493
"prefix": "app",
9594
"architect": {
9695
"build": {
97-
"builder": "@angular-devkit/build-angular:ng-packagr",
96+
"builder": "@angular/build:ng-packagr",
9897
"options": {
9998
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.json",
10099
"project": "projects/ngx-mask-lib/ng-package.json"
@@ -103,6 +102,10 @@
103102
"production": {
104103
"project": "projects/ngx-mask-lib/ng-package.prod.json",
105104
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.prod.json"
105+
},
106+
"development": {
107+
"project": "projects/ngx-mask-lib/ng-package.json",
108+
"tsConfig": "projects/ngx-mask-lib/tsconfig.lib.json"
106109
}
107110
}
108111
},
@@ -119,6 +122,13 @@
119122
"tsConfig": "projects/ngx-mask-lib/tsconfig.cypress.json",
120123
"testingType": "component"
121124
}
125+
},
126+
"test": {
127+
"builder": "@angular/build:unit-test",
128+
"options": {
129+
"tsConfig": "projects/ngx-mask-lib/tsconfig.spec.json",
130+
"setupFiles": ["src/test-setup.ts"]
131+
}
122132
}
123133
}
124134
}

0 commit comments

Comments
 (0)