diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e619eb25..4e196464 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release App on: + workflow_dispatch: push: branches: - master @@ -29,10 +30,6 @@ jobs: npm i @rollup/rollup-linux-x64-gnu working-directory: ./packages/app - - name: Dump licenses - run: node scripts/dump-licenses.js - working-directory: ./packages/app - - name: Run release script env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/packages/app/.gitignore b/packages/app/.gitignore index 12fb3623..0d76f018 100755 --- a/packages/app/.gitignore +++ b/packages/app/.gitignore @@ -8,4 +8,5 @@ yarn-error.log out/ .ssl +public/oss-licenses.json /**/**/src/cores/@* diff --git a/packages/app/package.json b/packages/app/package.json index e0d39494..30edaa89 100755 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -33,7 +33,7 @@ "axios": "^1.7.7", "bear-react-carousel": "^4.0.10-alpha.0", "classnames": "2.3.1", - "comty.js": "^0.63.0", + "comty.js": "^0.63.1", "dashjs": "^4.7.4", "dompurify": "^3.0.0", "fast-average-color": "^9.2.0", diff --git a/packages/app/public/oss-licenses.json b/packages/app/public/oss-licenses.json deleted file mode 100644 index 2dadd954..00000000 --- a/packages/app/public/oss-licenses.json +++ /dev/null @@ -1,370 +0,0 @@ -[ - { - "name": "@ant-design/icons", - "version": "5.6.1", - "license": "MIT" - }, - { - "name": "@dnd-kit/core", - "version": "6.3.1", - "license": "MIT", - "author": "Claudéric Demers" - }, - { - "name": "@dnd-kit/modifiers", - "version": "9.0.0", - "license": "MIT", - "author": "Claudéric Demers" - }, - { - "name": "@dnd-kit/sortable", - "version": "7.0.2", - "license": "MIT", - "author": "Claudéric Demers" - }, - { - "name": "@dnd-kit/utilities", - "version": "3.2.2", - "license": "MIT", - "author": "Claudéric Demers" - }, - { - "name": "@emotion/react", - "version": "11.14.0", - "license": "MIT", - "author": "Emotion Contributors" - }, - { - "name": "@emotion/styled", - "version": "11.14.0", - "license": "MIT" - }, - { - "name": "@ffmpeg/ffmpeg", - "version": "0.12.15", - "license": "MIT", - "author": "Jerome Wu " - }, - { - "name": "@ffmpeg/util", - "version": "0.12.2", - "license": "MIT", - "author": "Jerome Wu " - }, - { - "name": "@mui/material", - "version": "5.16.14", - "license": "MIT", - "author": "MUI Team" - }, - { - "name": "@ragestudio/cordova-nfc", - "version": "1.2.0", - "license": "MIT", - "author": "Don Coleman " - }, - { - "name": "@ragestudio/vessel", - "version": "0.19.0", - "license": "MIT", - "author": "RageStudio" - }, - { - "name": "@sentry/browser", - "version": "7.120.3", - "license": "MIT", - "author": "Sentry" - }, - { - "name": "@tauri-apps/api", - "version": "1.6.0", - "license": "Apache-2.0 OR MIT" - }, - { - "name": "@tsmx/human-readable", - "version": "1.0.9", - "license": "MIT", - "author": "tsmx " - }, - { - "name": "antd", - "version": "5.24.1", - "license": "MIT" - }, - { - "name": "axios", - "version": "1.7.9", - "license": "MIT", - "author": "Matt Zabriskie" - }, - { - "name": "bear-react-carousel", - "version": "4.0.30", - "license": "MIT" - }, - { - "name": "classnames", - "version": "2.3.1", - "license": "MIT", - "author": "Jed Watson" - }, - { - "name": "dashjs", - "version": "4.7.4", - "license": "BSD-3-Clause", - "author": "Dash Industry Forum" - }, - { - "name": "dompurify", - "version": "3.2.4", - "license": "(MPL-2.0 OR Apache-2.0)", - "author": "Dr.-Ing. Mario Heiderich, Cure53 (https://cure53.de/)" - }, - { - "name": "fast-average-color", - "version": "9.4.0", - "license": "MIT", - "author": { - "name": "Denis Seleznev", - "email": "hcodes@yandex.ru", - "url": "https://github.com/fast-average-color/fast-average-color" - } - }, - { - "name": "fuse.js", - "version": "6.5.3", - "license": "Apache-2.0", - "author": { - "name": "Kiro Risk", - "email": "kirollos@gmail.com", - "url": "http://kiro.me" - } - }, - { - "name": "hls.js", - "version": "1.5.20", - "license": "Apache-2.0" - }, - { - "name": "howler", - "version": "2.2.3", - "license": "MIT", - "author": "James Simpson (http://goldfirestudios.com)" - }, - { - "name": "i18next", - "version": "21.6.6", - "license": "MIT", - "author": "Jan Mühlemann (https://github.com/jamuhl)" - }, - { - "name": "js-cookie", - "version": "3.0.1", - "license": "MIT", - "author": "Klaus Hartl" - }, - { - "name": "jsmediatags", - "version": "3.9.7", - "license": "BSD-3-Clause", - "author": { - "name": "António Afonso", - "email": "antonio.afonso@gmail.com" - } - }, - { - "name": "lottie-react", - "version": "2.4.1", - "license": "MIT", - "author": "David Gamote" - }, - { - "name": "luxon", - "version": "3.5.0", - "license": "MIT", - "author": "Isaac Cambron" - }, - { - "name": "mime", - "version": "3.0.0", - "license": "MIT", - "author": { - "name": "Robert Kieffer", - "url": "http://github.com/broofa", - "email": "robert@broofa.com" - } - }, - { - "name": "moment", - "version": "2.29.4", - "license": "MIT", - "author": "Iskren Ivov Chernev (https://github.com/ichernev)" - }, - { - "name": "motion", - "version": "12.4.5", - "license": "MIT", - "author": "Matt Perry" - }, - { - "name": "mpegts.js", - "version": "1.8.0", - "license": "Apache-2.0", - "author": "zheng qian " - }, - { - "name": "plyr", - "version": "3.7.8", - "license": "MIT", - "author": "Sam Potts " - }, - { - "name": "prop-types", - "version": "15.8.1", - "license": "MIT" - }, - { - "name": "qs", - "version": "6.14.0", - "license": "BSD-3-Clause" - }, - { - "name": "react", - "version": "18.3.1", - "license": "MIT" - }, - { - "name": "react-beautiful-dnd", - "version": "13.1.1", - "license": "Apache-2.0", - "author": "Alex Reardon " - }, - { - "name": "react-color", - "version": "2.19.3", - "license": "MIT", - "author": "case " - }, - { - "name": "react-countup", - "version": "6.5.3", - "license": "MIT", - "author": "Glenn Reyes (https://twitter.com/glnnrys)" - }, - { - "name": "react-dom", - "version": "18.3.1", - "license": "MIT" - }, - { - "name": "react-fast-marquee", - "version": "1.6.5", - "license": "MIT", - "author": "justin-chu " - }, - { - "name": "react-i18next", - "version": "11.15.3", - "license": "MIT", - "author": "Jan Mühlemann (https://github.com/jamuhl)" - }, - { - "name": "react-icons", - "version": "5.5.0", - "license": "MIT", - "author": "Goran Gajic" - }, - { - "name": "react-lazy-load-image-component", - "version": "1.6.3", - "license": "MIT", - "author": { - "name": "Albert Juhé Lluveras", - "email": "contact@albertjuhe.com" - } - }, - { - "name": "react-markdown", - "version": "8.0.7", - "license": "MIT", - "author": "Espen Hovlandsdal " - }, - { - "name": "react-modal-image", - "version": "2.6.0", - "license": "MIT", - "author": "Ari Autio " - }, - { - "name": "react-player", - "version": "2.16.0", - "license": "MIT", - "author": "Pete Cook (https://github.com/cookpete)" - }, - { - "name": "react-rnd", - "version": "10.4.14", - "license": "MIT", - "author": "bokuweb" - }, - { - "name": "react-router-dom", - "version": "6.29.0", - "license": "MIT", - "author": "Remix Software " - }, - { - "name": "react-transition-group", - "version": "4.4.5", - "license": "BSD-3-Clause", - "author": "" - }, - { - "name": "react-useanimations", - "version": "2.10.0", - "license": "MIT", - "author": "Tuan Phung, Marek Feikus" - }, - { - "name": "remark-gfm", - "version": "3.0.1", - "license": "MIT", - "author": "Titus Wormer (https://wooorm.com)" - }, - { - "name": "rxjs", - "version": "7.8.1", - "license": "Apache-2.0", - "author": "Ben Lesh " - }, - { - "name": "store", - "version": "2.0.12", - "license": "MIT", - "author": "Marcus Westin " - }, - { - "name": "swapy", - "version": "1.0.5", - "license": "GPL-3.0", - "author": "Taha Shashtari (taha@tahazsh.com)" - }, - { - "name": "ua-parser-js", - "version": "1.0.40", - "license": "MIT", - "author": "Faisal Salman (http://faisalman.com)" - }, - { - "name": "vaul", - "version": "1.1.2", - "license": "MIT", - "author": "Emil Kowalski " - }, - { - "name": "vite", - "version": "5.4.14", - "license": "MIT", - "author": "Evan You" - } -] \ No newline at end of file diff --git a/packages/app/scripts/postinstall.sh b/packages/app/scripts/postinstall.sh index da2562e5..49af7fe6 100755 --- a/packages/app/scripts/postinstall.sh +++ b/packages/app/scripts/postinstall.sh @@ -71,4 +71,8 @@ for submodule in $SUBMODULES; do fi done +echo -e "${YELLOW}Dumping licenses...${NC}" +cd "$(pwd)/packages/app" +node "./scripts/dump-licenses.js" + echo -e "${GREEN}=== Installation of dependencies in submodules completed ===${NC}"