Skip to content

Commit cd9884b

Browse files
Harmeet SinghHarmeet Singh
authored andcommitted
chore(ngbootstrap): align ng-packagr to 18.2.1 and fix ng-package.json
1 parent 126ced7 commit cd9884b

File tree

3 files changed

+25
-14
lines changed

3 files changed

+25
-14
lines changed

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
shamefully-hoist=false
1+
workspaces=false
2+
audit=false
3+
fund=false

ng-package.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
// {
2+
// "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3+
// "dest": "../../../dist/libs/ngbootstrap/datagrid",
4+
// "lib": {
5+
// "entryFile": "src/index.ts"
6+
// }
7+
// }
8+
19
{
2-
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "../../../dist/libs/ngbootstrap/datagrid",
4-
"lib": {
5-
"entryFile": "src/index.ts"
6-
}
10+
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
11+
"dest": "dist",
12+
"lib": { "entryFile": "src/index.ts" }
713
}
14+

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22
"name": "@ngbootstrap-workspace/datagrid",
33
"version": "0.0.1",
44
"license": "MIT",
5-
"private":true,
5+
"private": true,
66
"publishConfig": { "access": "restricted" },
7-
"files": ["dist"],
87
"scripts": {
98
"build": "ng-packagr -p ng-package.json",
109
"test": "echo \"(no tests yet)\""
1110
},
1211
"peerDependencies": {
1312
"@angular/core": ">=17.0.0 <21.0.0",
1413
"@angular/common": ">=17.0.0 <21.0.0",
15-
"@angular/forms": ">=17.0.0 <21.0.0"
16-
},
17-
"devDependencies": {
18-
"ng-packagr": "~20.1.0",
19-
"typescript": "~5.8.2",
20-
"tslib": "^2.3.0"
14+
"@angular/forms": ">=17.0.0 <21.0.0",
15+
"rxjs": "^7.8.0",
16+
"tslib": "^2.6.0"
2117
},
18+
"devDependencies": {
19+
"ng-packagr": "18.2.1",
20+
"@angular/compiler": "18.2.0",
21+
"@angular/compiler-cli": "18.2.0",
22+
"typescript": "5.4.5"
23+
},
2224
"sideEffects": false
2325
}

0 commit comments

Comments
 (0)