@pnpm/store-controller-types
Advanced tools
Comparing version 8.0.0-alpha.4 to 8.0.0
# @pnpm/store-controller-types | ||
## 8.0.0 | ||
### Major Changes | ||
- 16d1ac0fd: `body.cacheByEngine` removed from `PackageResponse`. | ||
- da091c711: Remove state from store. The store should not store the information about what projects on the computer use what dependencies. This information was needed for pruning in pnpm v4. Also, without this information, we cannot have the `pnpm store usages` command. So `pnpm store usages` is deprecated. | ||
- b6a82072e: Using a content-addressable filesystem for storing packages. | ||
- 802d145fc: `getPackageLocation()` removed from store. Remove `inStoreLocation` from the result of `fetchPackage()`. | ||
- a5febb913: The importPackage function of the store controller is importing packages directly from the side-effects cache. | ||
- a5febb913: The upload function of the store controller accepts `opts.filesIndexFile` instead of `opts.packageId`. | ||
### Minor Changes | ||
- f516d266c: Executables are saved into a separate directory inside the content-addressable storage. | ||
- 42e6490d1: The fetch package to store function does not need the pkgName anymore. | ||
- a5febb913: Package request response contains the path to the files index file. | ||
- a5febb913: sideEffects property added to files index file. | ||
### Patch Changes | ||
- Updated dependencies [da091c711] | ||
- @pnpm/types@6.0.0 | ||
- @pnpm/resolver-base@7.0.1 | ||
## 8.0.0-alpha.4 | ||
@@ -4,0 +28,0 @@ |
@@ -6,9 +6,2 @@ import { DirectoryResolution, PreferredVersions, Resolution, WantedDependency, WorkspacePackages } from '@pnpm/resolver-base'; | ||
export interface StoreController { | ||
getPackageLocation(packageId: string, packageName: string, opts: { | ||
lockfileDir: string; | ||
targetEngine?: string; | ||
}): Promise<{ | ||
dir: string; | ||
isBuilt: boolean; | ||
}>; | ||
requestPackage: RequestPackageFunction; | ||
@@ -29,3 +22,2 @@ fetchPackage: FetchPackageToStoreFunction; | ||
finishing: () => Promise<void>; | ||
inStoreLocation: string; | ||
}; | ||
@@ -85,3 +77,2 @@ export interface FetchPackageToStoreOptions { | ||
resolvedVia?: string; | ||
inStoreLocation?: string; | ||
latest?: string; | ||
@@ -88,0 +79,0 @@ } & ({ |
{ | ||
"name": "@pnpm/store-controller-types", | ||
"version": "8.0.0-alpha.4", | ||
"version": "8.0.0", | ||
"description": "Types for the store controller", | ||
@@ -31,6 +31,6 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@pnpm/resolver-base": "7.0.1-alpha.0", | ||
"@pnpm/types": "6.0.0-alpha.0" | ||
"@pnpm/resolver-base": "7.0.1", | ||
"@pnpm/types": "6.0.0" | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8367
1
95
+ Added@pnpm/resolver-base@7.0.1(transitive)
+ Added@pnpm/types@6.0.0(transitive)
- Removed@pnpm/resolver-base@7.0.1-alpha.0(transitive)
- Removed@pnpm/types@6.0.0-alpha.0(transitive)
Updated@pnpm/resolver-base@7.0.1
Updated@pnpm/types@6.0.0