diff --git a/.github/workflows/build_size.yml b/.github/workflows/build_size.yml index 3dd49acf8..083695a59 100644 --- a/.github/workflows/build_size.yml +++ b/.github/workflows/build_size.yml @@ -18,10 +18,24 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + + - name: Install pnpm + run: npm install -g pnpm + + - name: Install dependencies + run: pnpm install + + - name: Build project + run: pnpm run build + - name: Analyze and Create Badge uses: timeowilliams/package-size-badge-action@v1.0.7 with: - path: "build/static/js/*.js" + path: "build" limit: "800" label: "Bundle Size" color: "green" diff --git a/.gitignore b/.gitignore index ba09d7f00..aca55ca2f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ node_modules/ playwright-report test-results .env -.DS_Store \ No newline at end of file +.DS_Store +build/ \ No newline at end of file diff --git a/README.md b/README.md index 04a2d076e..e5aa1f6dd 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ +
To get started, cd into the project and run this: diff --git a/build/118.8b6cc7c8284f76162b46.js b/build/118.8b6cc7c8284f76162b46.js deleted file mode 100644 index 0c0b079bf..000000000 --- a/build/118.8b6cc7c8284f76162b46.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 118.8b6cc7c8284f76162b46.js.LICENSE.txt */ -"use strict";(self.webpackChunkwre_frontend=self.webpackChunkwre_frontend||[]).push([[118],{5588:(e,t,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;te||125{"use strict";var o=i(6163);e.default=o.default},2424:function(t,e,i){"use strict";var o,n=this&&this.__extends||(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)},function(t,e){function i(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0});var s=i(6540);e.isMouseMoveEvent=function(t){return"clientY"in t};var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(s.Component);e.default=r},9189:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOriginalCounterPart=function(t,e,i){var o=e.slidesToShow,n=e.currentSlide;return i.length>2*o?t+2*o:n>=i.length?i.length+t:t},e.getOriginalIndexLookupTableByClones=function(t,e){if(e.length>2*t){for(var i={},o=e.length-2*t,n=e.length-o,s=o,r=0;r2*s?((o=n>=h+e.length)&&(u=-r*(l=n-e.length)),d&&(u=-r*(l=h+(e.length-2*s)))):((o=n>=2*e.length)&&(u=-r*(l=n-e.length)),d&&(u=i.showDots?-r*(l=e.length):-r*(l=a/3))),{isReachingTheEnd:o,isReachingTheStart:d,nextSlide:l,nextPosition:u}}},6802:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(4867);function n(t){var e=t.slidesToShow;return t.totalItems