Skip to content

Commit

Permalink
add missing dep to lint plugin (#1045)
Browse files Browse the repository at this point in the history
* add missing dep to lint plugin

* fix type issue

* type issue

* fix: types plugin exports

* fix: rearrange type deps

* changeset

---------

Co-authored-by: Kawika Bader <[email protected]>
  • Loading branch information
mmason2-godaddy and kawikabader authored Mar 6, 2025
1 parent 32ae71a commit 87ea998
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 44 deletions.
15 changes: 15 additions & 0 deletions .changeset/odd-parrots-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@gasket/plugin-dynamic-plugins": patch
"@gasket/plugin-service-worker": patch
"@gasket/plugin-https-proxy": patch
"@gasket/plugin-middleware": patch
"@gasket/plugin-metadata": patch
"@gasket/plugin-analyze": patch
"@gasket/plugin-command": patch
"@gasket/plugin-swagger": patch
"@gasket/plugin-https": patch
"@gasket/plugin-mocha": patch
"@gasket/plugin-lint": patch
---

Add missing dep to lint plugin, adjust TS type exports
2 changes: 1 addition & 1 deletion packages/gasket-plugin-analyze/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
},
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-analyze",
"dependencies": {
"@types/webpack-bundle-analyzer": "^4.7.0",
"deepmerge": "^4.3.1",
"webpack-bundle-analyzer": "^4.10.2"
},
"devDependencies": {
"@gasket/core": "workspace:^",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@gasket/plugin-metadata": "workspace:^",
"@gasket/plugin-webpack": "workspace:^",
"@types/jest": "^29.5.14",
Expand Down
2 changes: 0 additions & 2 deletions packages/gasket-plugin-command/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,5 @@ declare module '@gasket/core' {
}
}

declare module '@gasket/plugin-command' {
}
declare const plugin: Plugin;
export default plugin;
7 changes: 2 additions & 5 deletions packages/gasket-plugin-dynamic-plugins/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@ declare module '@gasket/core' {
}
}


declare module '@gasket/plugin-dynamic-plugins' {
const plugin: Plugin;
export default plugin;
}
declare const plugin: Plugin;
export default plugin;
8 changes: 2 additions & 6 deletions packages/gasket-plugin-https-proxy/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ declare module '@gasket/core' {
}
}



declare module '@gasket/plugin-https-proxy' {
const plugin: Plugin;
export default plugin;
}
declare const plugin: Plugin;
export default plugin;
2 changes: 1 addition & 1 deletion packages/gasket-plugin-https/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-https",
"dependencies": {
"@godaddy/terminus": "^4.12.1",
"@types/http-proxy": "^1.17.16",
"create-servers": "^3.3.0",
"diagnostics": "^2.0.2",
"errs": "^0.3.2",
Expand All @@ -51,6 +50,7 @@
"@gasket/plugin-metadata": "workspace:^",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.19",
"@types/http-proxy": "^1.17.16",
"create-gasket-app": "workspace:^",
"cross-env": "^7.0.3",
"eslint": "catalog:",
Expand Down
1 change: 1 addition & 0 deletions packages/gasket-plugin-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@gasket/plugin-metadata": "workspace:^",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.19",
"@typescript-eslint/parser": "^6.21.0",
"create-gasket-app": "workspace:^",
"cross-env": "^7.0.3",
"eslint": "catalog:",
Expand Down
1 change: 0 additions & 1 deletion packages/gasket-plugin-metadata/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,5 @@ declare module '@gasket/core' {
}
}

// Export plugin separately
declare const plugin: Plugin;
export default plugin;
6 changes: 2 additions & 4 deletions packages/gasket-plugin-middleware/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,5 @@ declare module '@gasket/core' {
}
}

declare module '@gasket/plugin-middleware' {
const plugin: Plugin;
export default plugin;
}
declare const plugin: Plugin;
export default plugin;
7 changes: 2 additions & 5 deletions packages/gasket-plugin-mocha/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import type { Plugin } from '@gasket/core';


declare module '@gasket/plugin-mocha' {
const plugin: Plugin;
export default plugin;
}
declare const plugin: Plugin;
export default plugin;
4 changes: 2 additions & 2 deletions packages/gasket-plugin-service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
},
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-service-worker",
"dependencies": {
"@types/lru-cache": "^5.1.1",
"@types/uglify-js": "^3.17.5",
"deepmerge": "^4.3.1",
"lru-cache": "^5.1.1",
"mkdirp": "^1.0.4",
Expand All @@ -46,6 +44,8 @@
},
"devDependencies": {
"@gasket/core": "workspace:^",
"@types/lru-cache": "^5.1.1",
"@types/uglify-js": "^3.17.5",
"@gasket/plugin-command": "workspace:^",
"@gasket/plugin-express": "workspace:^",
"@gasket/plugin-fastify": "workspace:^",
Expand Down
7 changes: 2 additions & 5 deletions packages/gasket-plugin-swagger/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,5 @@ export function promptSwagger(
prompt: CreatePrompt
): Promise<CreateContext>


declare module '@gasket/plugin-swagger' {
const plugin: Plugin;
export default plugin;
}
declare const plugin: Plugin;
export default plugin;
27 changes: 15 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87ea998

Please sign in to comment.