From dcccc6749d90be44e35bbc14480221ca0182c115 Mon Sep 17 00:00:00 2001 From: Sem Bauke Date: Fri, 16 Feb 2024 17:19:26 +0100 Subject: [PATCH] chore: remove CodeSee (Shutting down feb 22nd) (#53766) --- .github/workflows/codesee-diagram.yml | 24 --------- client/.babelrc.js | 6 --- client/package.json | 2 - pnpm-lock.yaml | 73 --------------------------- renovate.json | 5 -- sample.env | 1 - 6 files changed, 111 deletions(-) delete mode 100644 .github/workflows/codesee-diagram.yml diff --git a/.github/workflows/codesee-diagram.yml b/.github/workflows/codesee-diagram.yml deleted file mode 100644 index dbf2d25a3f9..00000000000 --- a/.github/workflows/codesee-diagram.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: CI - Create CodeSee Maps -on: - workflow_dispatch: - schedule: - - cron: '25 0/12 * * 1-5' # Build once every 12 hours, starting at 25 minutes past the hour (UTC) - - pull_request_target: - paths-ignore: - - 'docs/**' - - '.gitignore' - types: [opened, synchronize, reopened] - -permissions: read-all - -jobs: - codesee: - runs-on: ubuntu-22.04 - if: ${{ github.actor != 'renovate[bot]' && github.actor != 'camperbot' }} - continue-on-error: true - name: Analyze the repo with CodeSee - steps: - - uses: Codesee-io/codesee-action@4f66933f195ad209dab16bcdd12cbacfff7f8707 # v2 - with: - codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }} diff --git a/client/.babelrc.js b/client/.babelrc.js index d19badbb5d8..3bb9dc43ec4 100644 --- a/client/.babelrc.js +++ b/client/.babelrc.js @@ -67,10 +67,4 @@ const config = { ] ] }; -if ( - process.env.FREECODECAMP_NODE_ENV === 'development' && - process.env.CODESEE === 'true' -) { - config.plugins.push(['@codesee/instrument', { hosted: true }]); -} module.exports = config; diff --git a/client/package.json b/client/package.json index 64053d5b948..c98e230b47c 100644 --- a/client/package.json +++ b/client/package.json @@ -142,8 +142,6 @@ }, "devDependencies": { "@babel/plugin-syntax-dynamic-import": "7.8.3", - "@codesee/babel-plugin-instrument": "0.587.0", - "@codesee/tracker": "0.587.0", "@testing-library/jest-dom": "5.17.0", "@testing-library/react": "12.1.5", "@total-typescript/ts-reset": "^0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 248ec23e8ce..f005917edfc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -792,12 +792,6 @@ importers: '@babel/plugin-syntax-dynamic-import': specifier: 7.8.3 version: 7.8.3(@babel/core@7.23.7) - '@codesee/babel-plugin-instrument': - specifier: 0.587.0 - version: 0.587.0(@babel/core@7.23.7) - '@codesee/tracker': - specifier: 0.587.0 - version: 0.587.0 '@testing-library/react': specifier: 12.1.5 version: 12.1.5(react-dom@16.14.0)(react@16.14.0) @@ -5866,19 +5860,6 @@ packages: '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - /@babel/plugin-transform-typescript@7.22.15(@babel/core@7.23.7): - resolution: {integrity: sha512-1uirS0TnijxvQLnlv5wQBwOX3E1wCFX7ITv+9pBV2wKEk4K+M5tqDaoNXnTH8tjEIYHLO98MwiTWO04Ggz4XuA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.7 - '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.7) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.23.7) - dev: true - /@babel/plugin-transform-typescript@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-ogV0yWnq38CFwH20l2Afz0dfKuZBx9o/Y2Rmh5vuSS0YD1hswgEgTfyTzuSrT2q9btmHRSqYoSfwFUVaC1M1Jw==} engines: {node: '>=6.9.0'} @@ -6524,26 +6505,6 @@ packages: minimist: 1.2.8 dev: true - /@codesee/babel-plugin-instrument@0.587.0(@babel/core@7.23.7): - resolution: {integrity: sha512-kay2VYlVFUugILxnzNdeExTSGYDYgtpSuvevgVk6nIDSaZUVq8YisesePwro/Mo+op7mMMdXpaRvj5d2yncfBQ==} - deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.7 - '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.7) - '@babel/plugin-transform-typescript': 7.22.15(@babel/core@7.23.7) - array.prototype.flatmap: 1.3.2 - jest-util: 27.5.1 - object-path: 0.11.8 - pkg-up: 3.1.0 - dev: true - - /@codesee/tracker@0.587.0: - resolution: {integrity: sha512-qCz4rA53Yy+u22N+ypMD4O4jPQmc/+/n2e6CV54z9SxAb7eN5DQyuckVF5JUOrW4yjU/n7UdFKsyaCJ9S0BDJw==} - deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. - dev: true - /@colors/colors@1.5.0: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -7680,17 +7641,6 @@ packages: chalk: 4.1.2 dev: true - /@jest/types@27.5.1: - resolution: {integrity: sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@types/istanbul-lib-coverage': 2.0.4 - '@types/istanbul-reports': 3.0.2 - '@types/node': 20.8.2 - '@types/yargs': 16.0.6 - chalk: 4.1.2 - dev: true - /@jest/types@29.6.3: resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -11254,12 +11204,6 @@ packages: dependencies: '@types/yargs-parser': 21.0.1 - /@types/yargs@16.0.6: - resolution: {integrity: sha512-oTP7/Q13GSPrgcwEwdlnkoZSQ1Hg9THe644qq8PG6hhJzjZ3qj1JjEFPIwWV/IXVs5XGIVqtkNOS9kh63WIJ+A==} - dependencies: - '@types/yargs-parser': 21.0.1 - dev: true - /@types/yargs@17.0.26: resolution: {integrity: sha512-Y3vDy2X6zw/ZCumcwLpdhM5L7jmyGpmBCTYMHDLqT2IKVMYRRLdv6ZakA+wxhra6Z/3bwhNbNl9bDGXaFU+6rw==} dependencies: @@ -22330,18 +22274,6 @@ packages: micromatch: 4.0.5 dev: true - /jest-util@27.5.1: - resolution: {integrity: sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.5.1 - '@types/node': 20.8.2 - chalk: 4.1.2 - ci-info: 3.8.0 - graceful-fs: 4.2.11 - picomatch: 2.3.1 - dev: true - /jest-util@29.7.0: resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -25467,11 +25399,6 @@ packages: resolution: {integrity: sha512-jgSbThcoR/s+XumvGMTMf81QVBmah+/Q7K7YduKeKVWL7N111unR2d6pZZarSk6kY/caeNxUDyxOvMWyzoU2eg==} engines: {node: '>= 10.12.0'} - /object-path@0.11.8: - resolution: {integrity: sha512-YJjNZrlXJFM42wTBn6zgOJVar9KFJvzx6sTWDte8sWZF//cnjl0BxHNpfZx+ZffXX63A9q0b1zsFiBX4g4X5KA==} - engines: {node: '>= 10.12.0'} - dev: true - /object-visit@1.0.1: resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==} engines: {node: '>=0.10.0'} diff --git a/renovate.json b/renovate.json index ae33a1de912..64c2312ba90 100644 --- a/renovate.json +++ b/renovate.json @@ -25,11 +25,6 @@ "groupName": "Grouped - Stripe", "matchPackagePrefixes": ["@stripe/"] }, - { - "groupName": "Automerged Always - CodeSee", - "matchPackagePrefixes": ["@codesee/"], - "automerge": true - }, { "groupName": "Babel", "matchPackageNames": ["@babel/"], diff --git a/sample.env b/sample.env index 5d796977c7f..2ec638c9d14 100644 --- a/sample.env +++ b/sample.env @@ -68,7 +68,6 @@ SHOW_NEW_CURRICULUM=true PEER=stuff DEBUG=true LOCAL_MOCK_AUTH=true -CODESEE=false # --------------------- # New API