publish-all.ts now does a tsc → dist/ build per package before pack, then rewrites package.json's main/types/exports to point at the built artefacts and ensures `files: ["dist"]` so the tarball ships only the built code. The in-repo package.json is restored in the finally block so dev/typecheck keep working without a build pass. Why: strict-mode consumers (Cyndr) were forced to recompile Shade source under their own tsconfig and tripped on internal `process.env.X` accesses and implicit-any parameters. Shipping pre-built `.js` + `.d.ts` makes the strictness contract live entirely inside Shade.
38 lines
867 B
JSON
38 lines
867 B
JSON
{
|
|
"name": "@shade/storage-encrypted",
|
|
"version": "4.11.1",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"browser": "./src/index.browser.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./crypto": "./src/crypto.ts",
|
|
"./sqlite": "./src/sqlite.ts",
|
|
"./postgres": "./src/postgres.ts",
|
|
"./idb": "./src/idb.ts"
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^2.0.1",
|
|
"@shade/core": "workspace:*",
|
|
"@shade/crypto-web": "workspace:*",
|
|
"@shade/storage-postgres": "workspace:*",
|
|
"@shade/storage-sqlite": "workspace:*",
|
|
"idb": "^8.0.3",
|
|
"postgres": "^3.4.9"
|
|
},
|
|
"devDependencies": {
|
|
"fake-indexeddb": "^6.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@shade/keychain": "workspace:*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@shade/keychain": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|