From 67b44769d55ba1e1b415e4e7dc8b264c94d73848 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Fri, 23 Apr 2021 09:01:25 -0500 Subject: [PATCH] Drone - monkey patch duplicate type definitions --- .drone.yml | 2 ++ angular.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2ad0165..b2e68f2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,6 +23,8 @@ steps: image: glmdev/node-pnpm:latest commands: - pnpm i --silent + - rm -f ./node_modules/ngx-monaco-editor/lib/monaco.d.ts + - sed -i '2d' ./node_modules/ngx-monaco-editor/lib/types.d.ts - ./node_modules/.bin/ionic build --prod - ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i - tar czf build.tar.gz www diff --git a/angular.json b/angular.json index 6b169db..7c3e992 100644 --- a/angular.json +++ b/angular.json @@ -86,7 +86,7 @@ { "type": "initial", "maximumWarning": "2mb", - "maximumError": "5mb" + "maximumError": "10mb" }, { "type": "anyComponentStyle",