File tree Expand file tree Collapse file tree 4 files changed +24
-5
lines changed
build-system-tests/scripts Expand file tree Collapse file tree 4 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,16 @@ if [[ "$FRAMEWORK" == 'angular' ]]; then
131
131
echo " pin @types/node version in mega-apps/${MEGA_APP_NAME} /package.json"
132
132
echo " npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e 'this.dependencies[" @types/node" ] = " 20.11.7" '"
133
133
npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e ' this.dependencies["@types/node"] = "20.11.7"'
134
+
135
+ # Add stylus overrides for Angular 14
136
+ echo " Adding stylus overrides for Angular 14"
137
+ echo " npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e 'this.overrides = this.overrides || {}; this.overrides.stylus = \" github:stylus/stylus#0.59.0\" '"
138
+ npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e ' this.overrides = this.overrides || {}; this.overrides.stylus = "github:stylus/stylus#0.59.0"'
139
+
140
+ echo " npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e 'this.resolutions = this.resolutions || {}; this.resolutions.stylus = \" github:stylus/stylus#0.59.0\" '"
141
+ npx json -I -f mega-apps/${MEGA_APP_NAME} /package.json -e ' this.resolutions = this.resolutions || {}; this.resolutions.stylus = "github:stylus/stylus#0.59.0"'
142
+
143
+ echo " Stylus overrides added for Angular 14"
134
144
fi
135
145
fi
136
146
Original file line number Diff line number Diff line change 109
109
"tar-fs" : " ^3.0.8" ,
110
110
"webpack-dev-middleware" : " ^5.3.4" ,
111
111
"yaml" : " 2.2.2" ,
112
- "ws" : " ^8.17.1"
112
+ "ws" : " ^8.17.1" ,
113
+ "stylus" : " github:stylus/stylus#0.59.0"
113
114
},
114
115
"devDependencies" : {
115
116
"@aws-amplify/backend" : " ^1.7.0" ,
149
150
"typescript" : " ^5.2.2" ,
150
151
"vite" : " ^5.4.19" ,
151
152
"vue-tsc" : " ^2.0.7"
153
+ },
154
+ "overrides" : {
155
+ "stylus" : " github:stylus/stylus#0.59.0"
152
156
}
153
157
}
Original file line number Diff line number Diff line change 46
46
" @angular-devkit/build-angular"
47
47
]
48
48
},
49
- "typings" : " ./dist/ui-angular/index.d.ts"
49
+ "typings" : " ./dist/ui-angular/index.d.ts" ,
50
+ "overrides" : {
51
+ "stylus" : " github:stylus/stylus#0.59.0"
52
+ },
53
+ "resolutions" : {
54
+ "stylus" : " github:stylus/stylus#0.59.0"
55
+ }
50
56
}
You can’t perform that action at this time.
0 commit comments