File tree Expand file tree Collapse file tree
projects/filestack-angular Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @filestack/angular" ,
33 "version" : " 4.0.0-beta.2" ,
4- "dependencies" : {
5- "filestack-js" : " ^4.0.0"
6- },
74 "peerDependencies" : {
85 "@angular/common" : " >=19.0.0" ,
9- "@angular/core" : " >=19.0.0"
6+ "@angular/core" : " >=19.0.0" ,
7+ "filestack-js" : " >3.0.0"
108 },
119 "schematics" : " ./schematics/collection.json" ,
1210 "ng-add" : {
Original file line number Diff line number Diff line change @@ -16,8 +16,11 @@ import { getWorkspace } from '@schematics/angular/utility/workspace';
1616
1717import { Schema } from './schema' ;
1818
19- // Keep aligned with the filestack-js dependency range in package.json.
20- const FILESTACK_JS_VERSION = '^4.0.0' ;
19+ // filestack-js is a peerDependency of @filestack/angular. Keep this in sync with
20+ // the peerDependencies range in package.json so `ng add` writes a matching
21+ // dependency into the consumer app; npm then resolves to the newest satisfying
22+ // version (currently the latest 4.x).
23+ const FILESTACK_JS_VERSION = '>3.0.0' ;
2124
2225/**
2326 * `ng add @filestack/angular` schematic.
You can’t perform that action at this time.
0 commit comments