@w5s/pnpm-plugin-config 1.0.0-alpha.4 → 1.0.0-alpha.5
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/PnpmHooks.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -1266,7 +1266,7 @@ declare const PnpmUserConfig: Readonly<{
|
|
|
1266
1266
|
//#endregion
|
|
1267
1267
|
//#region src/PnpmHooks.d.ts
|
|
1268
1268
|
/** Hooks exported by this plugin's pnpmfile. */
|
|
1269
|
-
interface PnpmHooks {
|
|
1269
|
+
interface PnpmHooks extends Omit<Hooks, 'updateConfig'> {
|
|
1270
1270
|
updateConfig?: (config: PnpmUserConfig) => PnpmUserConfig | Promise<PnpmUserConfig>;
|
|
1271
1271
|
}
|
|
1272
1272
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -87,7 +87,7 @@ const hooks = { updateConfig(config) {
|
|
|
87
87
|
const meta = Object.freeze({
|
|
88
88
|
buildNumber: 1,
|
|
89
89
|
name: "@w5s/pnpm-plugin-config",
|
|
90
|
-
version: "1.0.0-alpha.
|
|
90
|
+
version: "1.0.0-alpha.5"
|
|
91
91
|
});
|
|
92
92
|
//#endregion
|
|
93
93
|
export { PnpmUserConfig, defaultConfig, hooks, meta };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/pnpm-plugin-config",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.5",
|
|
4
4
|
"description": "Shared pnpm configuration plugin with org defaults",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"sideEffect": false,
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "aace76353b4595cc13eb79772d8a4f107e220f35"
|
|
45
45
|
}
|
package/src/PnpmHooks.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/** Mutable config passed to and returned from `updateConfig`. */
|
|
2
2
|
|
|
3
|
+
import type { Hooks } from '@pnpm/pnpmfile';
|
|
4
|
+
|
|
3
5
|
import type { PnpmUserConfig } from './PnpmUserConfig.js';
|
|
4
6
|
|
|
5
7
|
/** Hooks exported by this plugin's pnpmfile. */
|
|
6
|
-
export interface PnpmHooks {
|
|
8
|
+
export interface PnpmHooks extends Omit<Hooks, 'updateConfig'> {
|
|
7
9
|
updateConfig?: (config: PnpmUserConfig) => PnpmUserConfig | Promise<PnpmUserConfig>;
|
|
8
10
|
}
|