Skip to content
Snippets Groups Projects
  • Nicolò Pretto's avatar
    302a9946
    `embedding-sdk:dev`: --watch that makes "fixed" dts (#48574) · 302a9946
    Nicolò Pretto authored
    * faster --watch command for the sdk
    
    * apparently we want an empty line at the end of jsons, but prettier removes it?
    
    * format tasks.json with prettier :confused:
    
    * vscods tasks, move watch task from webpack config to the fixup script
    
    * cleanup webpack config
    
    * adds clean + waits for dist folder when not existing
    
    * minimal doc for the sdk commands
    `embedding-sdk:dev`: --watch that makes "fixed" dts (#48574)
    Nicolò Pretto authored
    * faster --watch command for the sdk
    
    * apparently we want an empty line at the end of jsons, but prettier removes it?
    
    * format tasks.json with prettier :confused:
    
    * vscods tasks, move watch task from webpack config to the fixup script
    
    * cleanup webpack config
    
    * adds clean + waits for dist folder when not existing
    
    * minimal doc for the sdk commands
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
tsconfig.sdk.json 1.06 KiB
{
  "extends": "./tsconfig.base.json",
  "compilerOptions": {
    // should make tsc run faster, we may need to delete the buildinfo file if we run into issues
    "incremental": true,
    // so that it doesn't accidentally end up in the distributed package
    "tsBuildInfoFile": "./resources/embedding-sdk/.tsbuildinfo",
    "declaration": true,
    "emitDeclarationOnly": true,
    "outDir": "./resources/embedding-sdk/dist",
    "paths": {
      "*": [
        "./frontend/src/*",
        "./frontend/test/*",
        "./enterprise/frontend/src/*",
        "./enterprise/frontend/test/*"
      ],
      "cljs/*": [
        "./target/cljs_release/*"
      ]
    },
  },
  "include": [
    "frontend/src/**/*.ts",
    "frontend/src/**/*.tsx",
    "enterprise/frontend/src/**/*.ts",
    "enterprise/frontend/src/**/*.tsx"
  ],
  "exclude": [
    "node_modules",
    "**/*.unit.spec.*",
    "**/mocks/*",
    "**/tests/*",
    "**/test/*",
    "**/__support__/*",
    "**/test-utils.ts",
    "**/test-utils.tsx",
    "**/test-helpers.ts",
    "**/testMocks.ts",
    "**/*.stories.tsx"
  ]
}