stackscan 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +222 -0
- package/dist/add.d.mts +3 -0
- package/dist/add.d.ts +3 -0
- package/dist/add.js +83 -0
- package/dist/add.mjs +7 -0
- package/dist/batch-import.d.mts +6 -0
- package/dist/batch-import.d.ts +6 -0
- package/dist/batch-import.js +5724 -0
- package/dist/batch-import.mjs +12 -0
- package/dist/chunk-22J2UHU7.mjs +1980 -0
- package/dist/chunk-2KG7JDHY.mjs +19 -0
- package/dist/chunk-2O2NMD7M.mjs +127 -0
- package/dist/chunk-3HEYJTUE.mjs +157 -0
- package/dist/chunk-3LPZV7KA.mjs +15 -0
- package/dist/chunk-3O2C34CJ.mjs +174 -0
- package/dist/chunk-3R4TXOZA.mjs +179 -0
- package/dist/chunk-3RJHZIII.mjs +174 -0
- package/dist/chunk-3XKWCBY6.mjs +105 -0
- package/dist/chunk-4OMBB3R6.mjs +52 -0
- package/dist/chunk-4THN5TT4.mjs +185 -0
- package/dist/chunk-4WCVZS6B.mjs +178 -0
- package/dist/chunk-5MNAT56X.mjs +23 -0
- package/dist/chunk-5VH7N3X6.mjs +109 -0
- package/dist/chunk-6A4WEZDZ.mjs +14 -0
- package/dist/chunk-6MIRBLO4.mjs +15 -0
- package/dist/chunk-6RCTNUF4.mjs +17 -0
- package/dist/chunk-7F4KWGMM.mjs +45 -0
- package/dist/chunk-7KF2HEU2.mjs +56 -0
- package/dist/chunk-7KONWCSX.mjs +15 -0
- package/dist/chunk-7TIXAYVC.mjs +10122 -0
- package/dist/chunk-ADMVFPX7.mjs +150 -0
- package/dist/chunk-AFJCX5SK.mjs +22 -0
- package/dist/chunk-ATNEVZPV.mjs +25 -0
- package/dist/chunk-BBP27ZGZ.mjs +4841 -0
- package/dist/chunk-BGT3PANW.mjs +64 -0
- package/dist/chunk-BJIQZNKU.mjs +184 -0
- package/dist/chunk-BKQW4ZNZ.mjs +19 -0
- package/dist/chunk-BMQTYZOD.mjs +144 -0
- package/dist/chunk-CZADURZD.mjs +674 -0
- package/dist/chunk-D2DOGM2Y.mjs +19 -0
- package/dist/chunk-D32C3FU6.mjs +45 -0
- package/dist/chunk-D6FFDX4P.mjs +158 -0
- package/dist/chunk-DUAFJVBN.mjs +44 -0
- package/dist/chunk-E24PAHCZ.mjs +146 -0
- package/dist/chunk-E3OD2BXY.mjs +14 -0
- package/dist/chunk-E4K5XYFI.mjs +210767 -0
- package/dist/chunk-EH2SEQZP.mjs +10119 -0
- package/dist/chunk-EH4FWTP5.mjs +21 -0
- package/dist/chunk-EOKQCSHI.mjs +10 -0
- package/dist/chunk-EQ4WRCPP.mjs +16 -0
- package/dist/chunk-EYXTSAAW.mjs +64 -0
- package/dist/chunk-F6Z4WXOF.mjs +146 -0
- package/dist/chunk-FM5BCBKT.mjs +77 -0
- package/dist/chunk-GXKIDBAX.mjs +146 -0
- package/dist/chunk-H6HA3IZE.mjs +1980 -0
- package/dist/chunk-H7WNQ3SS.mjs +23 -0
- package/dist/chunk-HBJEQ63D.mjs +205 -0
- package/dist/chunk-HTTDBNRT.mjs +146 -0
- package/dist/chunk-HYUKJUPF.mjs +177 -0
- package/dist/chunk-IFEEO473.mjs +49 -0
- package/dist/chunk-IILZ43EE.mjs +25 -0
- package/dist/chunk-ITGRHGUT.mjs +158 -0
- package/dist/chunk-J5JVDMED.mjs +45 -0
- package/dist/chunk-JH3SW4KH.mjs +4896 -0
- package/dist/chunk-JHVWSHNY.mjs +32 -0
- package/dist/chunk-JLFOQXQG.mjs +26 -0
- package/dist/chunk-K4BNSVJP.mjs +16 -0
- package/dist/chunk-KCDUZXVN.mjs +157 -0
- package/dist/chunk-KMDEPBKS.mjs +685 -0
- package/dist/chunk-L4AQWDD2.mjs +92 -0
- package/dist/chunk-L7I4UC35.mjs +158 -0
- package/dist/chunk-LB3L25FS.mjs +1980 -0
- package/dist/chunk-LDA354A3.mjs +158 -0
- package/dist/chunk-LSUI3VI4.mjs +19 -0
- package/dist/chunk-MB2X3DXF.mjs +45 -0
- package/dist/chunk-MBL4CIFG.mjs +28 -0
- package/dist/chunk-MLAUEAUQ.mjs +27 -0
- package/dist/chunk-NGEKE4DQ.mjs +23 -0
- package/dist/chunk-NJ4FK5BO.mjs +19 -0
- package/dist/chunk-OJZZPNXQ.mjs +1985 -0
- package/dist/chunk-P24PKCUA.mjs +25 -0
- package/dist/chunk-PFQIKEIL.mjs +15 -0
- package/dist/chunk-Q5ASM7HE.mjs +45 -0
- package/dist/chunk-Q7X2R7N7.mjs +16 -0
- package/dist/chunk-QAIJCQWH.mjs +157 -0
- package/dist/chunk-QQAUZGVG.mjs +2166 -0
- package/dist/chunk-QUIF3FJ2.mjs +55 -0
- package/dist/chunk-RDFZ4GVM.mjs +23 -0
- package/dist/chunk-RFRKMUNA.mjs +49 -0
- package/dist/chunk-RIIQA6S6.mjs +2204 -0
- package/dist/chunk-SGOSAU2P.mjs +51 -0
- package/dist/chunk-SLYSEMYE.mjs +21 -0
- package/dist/chunk-SNKLZ7VB.mjs +36 -0
- package/dist/chunk-TKKUEAN6.mjs +45 -0
- package/dist/chunk-TMH7EUXF.mjs +179 -0
- package/dist/chunk-TP55TF47.mjs +1980 -0
- package/dist/chunk-U4AFTAZI.mjs +1980 -0
- package/dist/chunk-U4EXCWGR.mjs +174 -0
- package/dist/chunk-U4OINWJM.mjs +42 -0
- package/dist/chunk-U63TGBAS.mjs +179 -0
- package/dist/chunk-UESFH6US.mjs +210773 -0
- package/dist/chunk-UITLHBZA.mjs +164 -0
- package/dist/chunk-VFD26CTJ.mjs +16 -0
- package/dist/chunk-VSWWWPO7.mjs +205 -0
- package/dist/chunk-VUVPGH7A.mjs +157 -0
- package/dist/chunk-W34IFT2J.mjs +45 -0
- package/dist/chunk-WPSGF5DK.mjs +92 -0
- package/dist/chunk-WPU2XV5B.mjs +25 -0
- package/dist/chunk-WTPR7TOE.mjs +146 -0
- package/dist/chunk-X3ATBJ5Q.mjs +14 -0
- package/dist/chunk-XMZATJRD.mjs +23 -0
- package/dist/chunk-Y2Y225MR.mjs +117 -0
- package/dist/chunk-YNDKJ5QJ.mjs +89 -0
- package/dist/chunk-YPQNYUP3.mjs +92 -0
- package/dist/chunk-ZH22D4SN.mjs +179 -0
- package/dist/chunk-ZSJJGBQR.mjs +39 -0
- package/dist/chunk-ZSMMBZHO.mjs +64 -0
- package/dist/chunk-ZTXCA3NN.mjs +74 -0
- package/dist/chunk-ZYMQR24Z.mjs +145 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +5770 -0
- package/dist/cli.mjs +25 -0
- package/dist/config.d.mts +5 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +41 -0
- package/dist/config.mjs +7 -0
- package/dist/defaults.d.mts +3 -0
- package/dist/defaults.d.ts +3 -0
- package/dist/defaults.js +47 -0
- package/dist/defaults.mjs +7 -0
- package/dist/detectors/ci.d.mts +5 -0
- package/dist/detectors/ci.d.ts +5 -0
- package/dist/detectors/ci.js +59 -0
- package/dist/detectors/ci.mjs +7 -0
- package/dist/detectors/docker.d.mts +5 -0
- package/dist/detectors/docker.d.ts +5 -0
- package/dist/detectors/docker.js +50 -0
- package/dist/detectors/docker.mjs +7 -0
- package/dist/detectors/next.d.mts +7 -0
- package/dist/detectors/next.d.ts +7 -0
- package/dist/detectors/next.js +49 -0
- package/dist/detectors/next.mjs +7 -0
- package/dist/detectors/prisma.d.mts +7 -0
- package/dist/detectors/prisma.d.ts +7 -0
- package/dist/detectors/prisma.js +48 -0
- package/dist/detectors/prisma.mjs +7 -0
- package/dist/import.d.mts +2 -0
- package/dist/import.d.ts +2 -0
- package/dist/import.js +2062 -0
- package/dist/import.mjs +53 -0
- package/dist/output.d.mts +7 -0
- package/dist/output.d.ts +7 -0
- package/dist/output.js +3619 -0
- package/dist/output.mjs +13 -0
- package/dist/scan.d.mts +7 -0
- package/dist/scan.d.ts +7 -0
- package/dist/scan.js +5725 -0
- package/dist/scan.mjs +12 -0
- package/dist/scanner.d.mts +5 -0
- package/dist/scanner.d.ts +5 -0
- package/dist/scanner.js +5514 -0
- package/dist/scanner.mjs +14 -0
- package/dist/simple-icons-hex.d.mts +6751 -0
- package/dist/simple-icons-hex.d.ts +6751 -0
- package/dist/simple-icons-hex.js +10118 -0
- package/dist/simple-icons-hex.mjs +6736 -0
- package/dist/sync.d.mts +7 -0
- package/dist/sync.d.ts +7 -0
- package/dist/sync.js +5725 -0
- package/dist/sync.mjs +160 -0
- package/dist/techDefinitions.d.mts +5 -0
- package/dist/techDefinitions.d.ts +5 -0
- package/dist/techDefinitions.js +2004 -0
- package/dist/techDefinitions.mjs +7 -0
- package/dist/techMap.d.mts +5 -0
- package/dist/techMap.d.ts +5 -0
- package/dist/techMap.js +2018 -0
- package/dist/techMap.mjs +8 -0
- package/dist/types.d.mts +24 -0
- package/dist/types.d.ts +24 -0
- package/dist/types.js +18 -0
- package/dist/types.mjs +1 -0
- package/dist/typescript-7Q5RIVZY.mjs +6 -0
- package/dist/typescript-T5HXSZZS.mjs +5 -0
- package/dist/watch.d.mts +3 -0
- package/dist/watch.d.ts +3 -0
- package/dist/watch.js +2122 -0
- package/dist/watch.mjs +13 -0
- package/package.json +57 -0
- package/public/assets/logos/ai/huggingface.svg +1 -0
- package/public/assets/logos/ai/langchain.svg +1 -0
- package/public/assets/logos/ai/openai.svg +1 -0
- package/public/assets/logos/ai/replicate.svg +1 -0
- package/public/assets/logos/ai/tensorflow.svg +1 -0
- package/public/assets/logos/api/apollographql.svg +1 -0
- package/public/assets/logos/api/graphql.svg +1 -0
- package/public/assets/logos/api/relay.svg +1 -0
- package/public/assets/logos/api/trpc.svg +1 -0
- package/public/assets/logos/auth/argo.svg +1 -0
- package/public/assets/logos/auth/auth0.svg +1 -0
- package/public/assets/logos/auth/authjs.svg +73 -0
- package/public/assets/logos/auth/clerk.svg +1 -0
- package/public/assets/logos/auth/firebase.svg +1 -0
- package/public/assets/logos/auth/jsonwebtokens.svg +1 -0
- package/public/assets/logos/auth/keycloak.svg +1 -0
- package/public/assets/logos/auth/passport.svg +1 -0
- package/public/assets/logos/automation/lerna.svg +1 -0
- package/public/assets/logos/automation/nx.svg +1 -0
- package/public/assets/logos/automation/turborepo.svg +1 -0
- package/public/assets/logos/backend/adonisjs.svg +1 -0
- package/public/assets/logos/backend/express.svg +1 -0
- package/public/assets/logos/backend/fastify.svg +1 -0
- package/public/assets/logos/backend/koa.svg +1 -0
- package/public/assets/logos/backend/nestjs.svg +1 -0
- package/public/assets/logos/build/babel.svg +1 -0
- package/public/assets/logos/build/esbuild.svg +1 -0
- package/public/assets/logos/build/rollupdotjs.svg +1 -0
- package/public/assets/logos/build/snowpack.svg +1 -0
- package/public/assets/logos/build/swc.svg +1 -0
- package/public/assets/logos/build/vite.svg +15 -0
- package/public/assets/logos/build/webpack.svg +1 -0
- package/public/assets/logos/ci/circleci.svg +1 -0
- package/public/assets/logos/ci/githubactions.svg +1 -0
- package/public/assets/logos/ci/gitlab.svg +1 -0
- package/public/assets/logos/ci/jenkins.svg +1 -0
- package/public/assets/logos/ci/travisci.svg +1 -0
- package/public/assets/logos/cloud/cloudflare.svg +1 -0
- package/public/assets/logos/cloud/googlecloud.svg +1 -0
- package/public/assets/logos/cloud/microsoftazure.svg +1 -0
- package/public/assets/logos/cms/contentful.svg +1 -0
- package/public/assets/logos/cms/directus.svg +1 -0
- package/public/assets/logos/cms/ghost.svg +1 -0
- package/public/assets/logos/cms/keystone.svg +1 -0
- package/public/assets/logos/cms/sanity.svg +1 -0
- package/public/assets/logos/cms/shopify.svg +1 -0
- package/public/assets/logos/cms/strapi.svg +1 -0
- package/public/assets/logos/cms/wordpress.svg +1 -0
- package/public/assets/logos/container/docker.svg +1 -0
- package/public/assets/logos/container/kubernetes.svg +1 -0
- package/public/assets/logos/css/antdesign.svg +1 -0
- package/public/assets/logos/css/bootstrap.svg +1 -0
- package/public/assets/logos/css/bulma.svg +1 -0
- package/public/assets/logos/css/chakraui.svg +1 -0
- package/public/assets/logos/css/daisyui.svg +1 -0
- package/public/assets/logos/css/fallback/mantine-logo.svg +1 -0
- package/public/assets/logos/css/fallback/shadcnui.svg +1 -0
- package/public/assets/logos/css/foundation.svg +1 -0
- package/public/assets/logos/css/headlessui.svg +1 -0
- package/public/assets/logos/css/less.svg +1 -0
- package/public/assets/logos/css/mui.svg +1 -0
- package/public/assets/logos/css/postcss.svg +1 -0
- package/public/assets/logos/css/radixui.svg +1 -0
- package/public/assets/logos/css/sass.svg +1 -0
- package/public/assets/logos/css/shadcnui.svg +1 -0
- package/public/assets/logos/css/styledcomponents.svg +1 -0
- package/public/assets/logos/css/tailwindcss.svg +1 -0
- package/public/assets/logos/database/amazondynamodb.svg +1 -0
- package/public/assets/logos/database/apachecassandra.svg +1 -0
- package/public/assets/logos/database/cockroachlabs.svg +1 -0
- package/public/assets/logos/database/duckdb.svg +1 -0
- package/public/assets/logos/database/elasticsearch.svg +1 -0
- package/public/assets/logos/database/fauna.svg +3 -0
- package/public/assets/logos/database/mariadb.svg +1 -0
- package/public/assets/logos/database/mongodb.svg +1 -0
- package/public/assets/logos/database/mysql.svg +1 -0
- package/public/assets/logos/database/planetscale.svg +1 -0
- package/public/assets/logos/database/postgresql.svg +1 -0
- package/public/assets/logos/database/redis.svg +1 -0
- package/public/assets/logos/database/sqlite.svg +1 -0
- package/public/assets/logos/database/supabase.svg +1 -0
- package/public/assets/logos/database/surrealdb.svg +1 -0
- package/public/assets/logos/devops/ansible.svg +1 -0
- package/public/assets/logos/devops/pulumi.svg +1 -0
- package/public/assets/logos/devops/serverless.svg +1 -0
- package/public/assets/logos/devops/terraform.svg +1 -0
- package/public/assets/logos/fallback/31557565.svg +32 -0
- package/public/assets/logos/fallback/Drizzle--Streamline-Simple-Icons.svg +7 -0
- package/public/assets/logos/fallback/changesets.svg +43 -0
- package/public/assets/logos/fallback/lemonsqueezy.svg +8 -0
- package/public/assets/logos/fallback/mantine-logo.svg +1 -0
- package/public/assets/logos/fallback/reactquery.svg +12 -0
- package/public/assets/logos/fallback/shadcnui.svg +21 -0
- package/public/assets/logos/fallback/stitches.svg +10 -0
- package/public/assets/logos/format/prettier.svg +1 -0
- package/public/assets/logos/frontend/alpinedotjs.svg +1 -0
- package/public/assets/logos/frontend/angular.svg +1 -0
- package/public/assets/logos/frontend/astro.svg +1 -0
- package/public/assets/logos/frontend/backbone.svg +1 -0
- package/public/assets/logos/frontend/emberdotjs.svg +1 -0
- package/public/assets/logos/frontend/htmx.svg +1 -0
- package/public/assets/logos/frontend/lit.svg +1 -0
- package/public/assets/logos/frontend/nextdotjs.svg +1 -0
- package/public/assets/logos/frontend/nuxt.svg +1 -0
- package/public/assets/logos/frontend/preact.svg +1 -0
- package/public/assets/logos/frontend/qwik.svg +1 -0
- package/public/assets/logos/frontend/react.svg +1 -0
- package/public/assets/logos/frontend/remix.svg +1 -0
- package/public/assets/logos/frontend/solid.svg +1 -0
- package/public/assets/logos/frontend/svelte.svg +1 -0
- package/public/assets/logos/frontend/vuedotjs.svg +1 -0
- package/public/assets/logos/hosting/netlify.svg +1 -0
- package/public/assets/logos/hosting/railway.svg +1 -0
- package/public/assets/logos/hosting/render.svg +1 -0
- package/public/assets/logos/hosting/vercel.svg +1 -0
- package/public/assets/logos/language/csharp.svg +1 -0
- package/public/assets/logos/language/go.svg +1 -0
- package/public/assets/logos/language/javascript.svg +1 -0
- package/public/assets/logos/language/openjdk.svg +1 -0
- package/public/assets/logos/language/php.svg +1 -0
- package/public/assets/logos/language/python.svg +1 -0
- package/public/assets/logos/language/ruby.svg +1 -0
- package/public/assets/logos/language/rust.svg +1 -0
- package/public/assets/logos/language/typescript.svg +1 -0
- package/public/assets/logos/lint/commitlint.svg +1 -0
- package/public/assets/logos/lint/eslint.svg +1 -0
- package/public/assets/logos/lint/husky.svg +3 -0
- package/public/assets/logos/lint/lintstaged.svg +3 -0
- package/public/assets/logos/mobile/capacitor.svg +1 -0
- package/public/assets/logos/mobile/expo.svg +1 -0
- package/public/assets/logos/mobile/flutter.svg +1 -0
- package/public/assets/logos/mobile/ionic.svg +1 -0
- package/public/assets/logos/mobile/react.svg +1 -0
- package/public/assets/logos/network/axios.svg +1 -0
- package/public/assets/logos/network/brandfetch.svg +1 -0
- package/public/assets/logos/network/grpc.svg +1 -0
- package/public/assets/logos/network/openapiinitiative.svg +1 -0
- package/public/assets/logos/network/swr.svg +1 -0
- package/public/assets/logos/orm/drizzle.svg +1 -0
- package/public/assets/logos/orm/mongoose.svg +1 -0
- package/public/assets/logos/orm/prisma.svg +1 -0
- package/public/assets/logos/orm/typeorm.svg +1 -0
- package/public/assets/logos/package/npm.svg +1 -0
- package/public/assets/logos/package/pnpm.svg +1 -0
- package/public/assets/logos/package/yarn.svg +1 -0
- package/public/assets/logos/payment/fallback/lemonsqueezy.svg +1 -0
- package/public/assets/logos/payment/paypal.svg +1 -0
- package/public/assets/logos/payment/stripe.svg +1 -0
- package/public/assets/logos/runtime/bun.svg +1 -0
- package/public/assets/logos/runtime/deno.svg +1 -0
- package/public/assets/logos/ssg/eleventy.svg +1 -0
- package/public/assets/logos/ssg/gatsby.svg +1 -0
- package/public/assets/logos/ssg/hugo.svg +1 -0
- package/public/assets/logos/ssg/jekyll.svg +1 -0
- package/public/assets/logos/state/mobx.svg +1 -0
- package/public/assets/logos/state/recoil.svg +1 -0
- package/public/assets/logos/state/redux.svg +1 -0
- package/public/assets/logos/state/xstate.svg +1 -0
- package/public/assets/logos/state/zustand.svg +1 -0
- package/public/assets/logos/testing/chai.svg +1 -0
- package/public/assets/logos/testing/cypress.svg +1 -0
- package/public/assets/logos/testing/jasmine.svg +1 -0
- package/public/assets/logos/testing/jest.svg +1 -0
- package/public/assets/logos/testing/mocha.svg +1 -0
- package/public/assets/logos/testing/playwright.svg +1 -0
- package/public/assets/logos/testing/puppeteer.svg +1 -0
- package/public/assets/logos/testing/storybook.svg +1 -0
- package/public/assets/logos/testing/testinglibrary.svg +1 -0
- package/public/assets/logos/testing/vitest.svg +1 -0
- package/public/assets/logos/utility/d3.svg +1 -0
- package/public/assets/logos/utility/leaflet.svg +1 -0
- package/public/assets/logos/utility/lodash.svg +1 -0
- package/public/assets/logos/utility/pyup.svg +1 -0
- package/public/assets/logos/utility/reactivex.svg +1 -0
- package/public/assets/logos/utility/threedotjs.svg +1 -0
- package/public/assets/logos/utility/zod.svg +1 -0
- package/public/stackscan-white.svg +26 -0
- package/public/stackscan.svg +26 -0
package/dist/cli.mjs
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
add
|
|
4
|
+
} from "./chunk-IFEEO473.mjs";
|
|
5
|
+
import {
|
|
6
|
+
scan
|
|
7
|
+
} from "./chunk-ITGRHGUT.mjs";
|
|
8
|
+
import "./chunk-LSUI3VI4.mjs";
|
|
9
|
+
import "./chunk-ZH22D4SN.mjs";
|
|
10
|
+
import "./chunk-NGEKE4DQ.mjs";
|
|
11
|
+
import "./chunk-EH2SEQZP.mjs";
|
|
12
|
+
import "./chunk-LB3L25FS.mjs";
|
|
13
|
+
import "./chunk-EOKQCSHI.mjs";
|
|
14
|
+
|
|
15
|
+
// src/cli.ts
|
|
16
|
+
import { Command } from "commander";
|
|
17
|
+
var program = new Command();
|
|
18
|
+
program.name("stackscan").description("Auto-detect tech stacks and generate tech.json or markdown.").version("0.1.0");
|
|
19
|
+
program.command("scan", { isDefault: true }).description("Scan stacks from multiple projects in stackscan/").option("--color <mode>", "Color mode (brand, white, black, or hex)", "brand").action(async (options) => {
|
|
20
|
+
await scan(options);
|
|
21
|
+
});
|
|
22
|
+
program.command("add <path>").description("Add a project (folder or package.json) to the stackscan workspace").action(async (path) => {
|
|
23
|
+
await add(path);
|
|
24
|
+
});
|
|
25
|
+
program.parse();
|
package/dist/config.d.ts
ADDED
package/dist/config.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/config.ts
|
|
21
|
+
var config_exports = {};
|
|
22
|
+
__export(config_exports, {
|
|
23
|
+
loadConfig: () => loadConfig
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(config_exports);
|
|
26
|
+
var import_cosmiconfig = require("cosmiconfig");
|
|
27
|
+
async function loadConfig(configPath) {
|
|
28
|
+
const explorer = (0, import_cosmiconfig.cosmiconfig)("stacksync");
|
|
29
|
+
const result = configPath ? await explorer.load(configPath) : await explorer.search();
|
|
30
|
+
const defaultConfig = {
|
|
31
|
+
ignore: [],
|
|
32
|
+
aliases: {},
|
|
33
|
+
logosPath: "/public/tech/",
|
|
34
|
+
colorMode: "default"
|
|
35
|
+
};
|
|
36
|
+
return { ...defaultConfig, ...result?.config };
|
|
37
|
+
}
|
|
38
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
39
|
+
0 && (module.exports = {
|
|
40
|
+
loadConfig
|
|
41
|
+
});
|
package/dist/config.mjs
ADDED
package/dist/defaults.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/defaults.ts
|
|
21
|
+
var defaults_exports = {};
|
|
22
|
+
__export(defaults_exports, {
|
|
23
|
+
DEFAULT_CATEGORY_ICONS: () => DEFAULT_CATEGORY_ICONS
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(defaults_exports);
|
|
26
|
+
var DEFAULT_CATEGORY_ICONS = {
|
|
27
|
+
ai: "brain",
|
|
28
|
+
auth: "lock",
|
|
29
|
+
backend: "server",
|
|
30
|
+
build: "package",
|
|
31
|
+
cloud: "cloud",
|
|
32
|
+
css: "palette",
|
|
33
|
+
lint: "check-square",
|
|
34
|
+
network: "globe",
|
|
35
|
+
state: "layers",
|
|
36
|
+
utility: "wrench",
|
|
37
|
+
// Optional refinements
|
|
38
|
+
validation: "shield-check",
|
|
39
|
+
date: "clock",
|
|
40
|
+
cli: "terminal",
|
|
41
|
+
git: "git-branch",
|
|
42
|
+
http: "arrow-left-right"
|
|
43
|
+
};
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
DEFAULT_CATEGORY_ICONS
|
|
47
|
+
});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/detectors/ci.ts
|
|
31
|
+
var ci_exports = {};
|
|
32
|
+
__export(ci_exports, {
|
|
33
|
+
detectCI: () => detectCI
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(ci_exports);
|
|
36
|
+
var import_fs_extra = __toESM(require("fs-extra"));
|
|
37
|
+
var import_path = __toESM(require("path"));
|
|
38
|
+
async function detectCI(repoPath) {
|
|
39
|
+
if (await import_fs_extra.default.pathExists(import_path.default.join(repoPath, ".github/workflows"))) {
|
|
40
|
+
return { name: "GitHub Actions", logo: "ci/githubactions.svg", type: "ci" };
|
|
41
|
+
}
|
|
42
|
+
if (await import_fs_extra.default.pathExists(import_path.default.join(repoPath, ".gitlab-ci.yml"))) {
|
|
43
|
+
return { name: "GitLab CI", logo: "ci/gitlab.svg", type: "ci" };
|
|
44
|
+
}
|
|
45
|
+
if (await import_fs_extra.default.pathExists(import_path.default.join(repoPath, ".circleci"))) {
|
|
46
|
+
return { name: "CircleCI", logo: "ci/circleci.svg", type: "ci" };
|
|
47
|
+
}
|
|
48
|
+
if (await import_fs_extra.default.pathExists(import_path.default.join(repoPath, ".travis.yml"))) {
|
|
49
|
+
return { name: "Travis CI", logo: "ci/travisci.svg", type: "ci" };
|
|
50
|
+
}
|
|
51
|
+
if (await import_fs_extra.default.pathExists(import_path.default.join(repoPath, "azure-pipelines.yml"))) {
|
|
52
|
+
return { name: "Azure Pipelines", logo: "ci/azurepipelines.svg", type: "ci" };
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
+
0 && (module.exports = {
|
|
58
|
+
detectCI
|
|
59
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/detectors/docker.ts
|
|
31
|
+
var docker_exports = {};
|
|
32
|
+
__export(docker_exports, {
|
|
33
|
+
detectDocker: () => detectDocker
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(docker_exports);
|
|
36
|
+
var import_fs_extra = __toESM(require("fs-extra"));
|
|
37
|
+
var import_path = __toESM(require("path"));
|
|
38
|
+
async function detectDocker(repoPath) {
|
|
39
|
+
const dockerfile = import_path.default.join(repoPath, "Dockerfile");
|
|
40
|
+
const compose = import_path.default.join(repoPath, "docker-compose.yml");
|
|
41
|
+
const composeYaml = import_path.default.join(repoPath, "compose.yaml");
|
|
42
|
+
if (await import_fs_extra.default.pathExists(dockerfile) || await import_fs_extra.default.pathExists(compose) || await import_fs_extra.default.pathExists(composeYaml)) {
|
|
43
|
+
return { name: "Docker", logo: "container/docker.svg", type: "infrastructure" };
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
+
0 && (module.exports = {
|
|
49
|
+
detectDocker
|
|
50
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/detectors/next.ts
|
|
31
|
+
var next_exports = {};
|
|
32
|
+
__export(next_exports, {
|
|
33
|
+
detectNext: () => detectNext
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(next_exports);
|
|
36
|
+
var import_fs_extra = __toESM(require("fs-extra"));
|
|
37
|
+
var import_path = __toESM(require("path"));
|
|
38
|
+
async function detectNext(repoPath) {
|
|
39
|
+
const pages = import_path.default.join(repoPath, "pages");
|
|
40
|
+
const app = import_path.default.join(repoPath, "app");
|
|
41
|
+
if (await import_fs_extra.default.pathExists(pages) || await import_fs_extra.default.pathExists(app)) {
|
|
42
|
+
return { name: "Next.js App", logo: "frontend/nextdotjs.svg", type: "frontend" };
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
detectNext
|
|
49
|
+
});
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// src/detectors/prisma.ts
|
|
31
|
+
var prisma_exports = {};
|
|
32
|
+
__export(prisma_exports, {
|
|
33
|
+
detectPrisma: () => detectPrisma
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(prisma_exports);
|
|
36
|
+
var import_fs_extra = __toESM(require("fs-extra"));
|
|
37
|
+
var import_path = __toESM(require("path"));
|
|
38
|
+
async function detectPrisma(repoPath) {
|
|
39
|
+
const schema = import_path.default.join(repoPath, "prisma/schema.prisma");
|
|
40
|
+
if (await import_fs_extra.default.pathExists(schema)) {
|
|
41
|
+
return { name: "Prisma ORM", logo: "orm/prisma.svg", type: "database" };
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
+
0 && (module.exports = {
|
|
47
|
+
detectPrisma
|
|
48
|
+
});
|
package/dist/import.d.ts
ADDED