Skip to content

Commit df46fb1

Browse files
committed
build: make library recognizable by consuming project
1 parent 8011c5b commit df46fb1

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://github.com/evolkmann/ngx-material-data-table"
99
},
1010
"license": "MIT",
11-
"main": "dist/ngx-material-data-table",
11+
"main": "dist/ngx-material-data-table/esm2022/ngx-material-data-table.mjs",
1212
"scripts": {
1313
"prestart": "ng build --project ngx-material-data-table",
1414
"start": "ng serve --project demo",

projects/ngx-material-data-table/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
},
99
"license": "MIT",
1010
"version": "2.0.4",
11+
"sideEffects": false,
1112
"peerDependencies": {
12-
"@angular/common": "^18.0.0",
13-
"@angular/core": "^18.0.0",
14-
"@angular/cdk": "^18.0.0",
15-
"@angular/material": "^18.0.0",
16-
"@angular/animations": "^18.0.0"
13+
"@angular/common": "^18.2.0",
14+
"@angular/core": "^18.2.0",
15+
"@angular/cdk": "^18.2.0",
16+
"@angular/material": "^18.2.0",
17+
"@angular/animations": "^18.2.0"
1718
},
1819
"dependencies": {
19-
"tslib": "2.4.0"
20+
"tslib": "^2.4.0"
2021
}
2122
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"paths": {
2323
"ngx-material-data-table": [
24-
"dist/ngx-material-data-table"
24+
"./dist/ngx-material-data-table"
2525
]
2626
},
2727
"useDefineForClassFields": false

0 commit comments

Comments
 (0)