feat: add Angular workspace with demo app and library build
- Restructure into standard Angular library workspace - Library source in projects/ngx-pretext-table/ - Demo app in src/ using PretextVirtualScrollDirective - Switch @chenglou/pretext dependency to npm registry (^0.0.4) - Fix moduleResolution to "bundler" for Angular 17 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+29
-18
@@ -1,23 +1,34 @@
|
||||
{
|
||||
"name": "ngx-pretext-table",
|
||||
"version": "0.0.1",
|
||||
"description": "Variable-height virtual scrolling for PrimeNG p-table powered by @chenglou/pretext",
|
||||
"keywords": [
|
||||
"angular",
|
||||
"primeng",
|
||||
"virtual-scroll",
|
||||
"pretext",
|
||||
"table",
|
||||
"variable-row-height"
|
||||
],
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"@chenglou/pretext": ">=0.0.4"
|
||||
"name": "ngx-pretext-table-workspace",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve demo",
|
||||
"build": "ng build ngx-pretext-table && ng build demo",
|
||||
"build:lib": "ng build ngx-pretext-table",
|
||||
"build:demo": "ng build demo",
|
||||
"watch": "ng build demo --watch --configuration development"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
"@angular/animations": "^17.3.0",
|
||||
"@angular/common": "^17.3.0",
|
||||
"@angular/compiler": "^17.3.0",
|
||||
"@angular/core": "^17.3.0",
|
||||
"@angular/forms": "^17.3.0",
|
||||
"@angular/platform-browser": "^17.3.0",
|
||||
"@angular/platform-browser-dynamic": "^17.3.0",
|
||||
"@angular/router": "^17.3.0",
|
||||
"@chenglou/pretext": "^0.0.4",
|
||||
"rxjs": "~7.8.0",
|
||||
"tslib": "^2.3.0",
|
||||
"zone.js": "~0.14.3"
|
||||
},
|
||||
"sideEffects": false
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^17.3.17",
|
||||
"@angular/cli": "^17.3.17",
|
||||
"@angular/compiler-cli": "^17.3.0",
|
||||
"ng-packagr": "^17.3.0",
|
||||
"typescript": "~5.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user