fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #3224 from hey-api/ci/types-npm

ci: publish types to npm

authored by

Lubos and committed by
GitHub
6e91bee0 fac72620

+11 -5
+5
.changeset/publish-types.md
··· 1 + --- 2 + "@hey-api/types": patch 3 + --- 4 + 5 + Publish `@hey-api/types` so workspace packages can resolve it from npm.
-1
packages/codegen-core/tsdown.config.ts
··· 19 19 entry: ['src/index.ts'], 20 20 format: ['cjs', 'esm'], 21 21 minify: false, 22 - noExternal: ['@hey-api/types'], 23 22 shims: false, 24 23 sourcemap: true, 25 24 treeshake: true,
-1
packages/openapi-python/tsdown.config.ts
··· 19 19 entry: ['./src/{index,run}.ts'], 20 20 format: ['cjs', 'esm'], 21 21 minify: false, 22 - noExternal: ['@hey-api/types'], 23 22 shims: false, 24 23 sourcemap: true, 25 24 treeshake: true,
-1
packages/openapi-ts/tsdown.config.ts
··· 32 32 entry: ['./src/{index,internal,run}.ts'], 33 33 format: ['cjs', 'esm'], 34 34 minify: false, 35 - noExternal: ['@hey-api/types'], 36 35 onSuccess: async () => { 37 36 // Copy client files to dist folder for runtime access 38 37 const pluginNames = [
+6 -2
packages/types/package.json
··· 1 1 { 2 2 "name": "@hey-api/types", 3 - "private": true, 3 + "version": "0.1.0", 4 4 "description": "Shared utility types.", 5 5 "type": "module", 6 6 "types": "./src/index.ts", 7 7 "files": [ 8 8 "src" 9 - ] 9 + ], 10 + "license": "MIT", 11 + "publishConfig": { 12 + "access": "public" 13 + } 10 14 }