Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type declarations #9

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Add type declarations #9

merged 1 commit into from
Jan 11, 2021

Conversation

joeldenning
Copy link
Member

In order for single-spa-angular to use this, it needs type declarations. We already had the types documented in jsdocs, but weren't publishing them properly for them to be picked up by typescript. This fixes that.

"eslint-config-node-important-stuff": "^1.1.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"html-webpack-plugin": "^5.0.0-beta.4",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Necessary because of jantimon/html-webpack-plugin#1526

@@ -42,6 +40,8 @@ exports[`standalone-single-spa-webpack-plugin basic-parcel 1`] = `
singleSpa.mountRootParcel(parcelConfig, { domElement: parcelContainer, name: 'basic-parcel' });
});
</script>
</head>
<body>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this snapshot changes seem... unrelated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they were related to updating the devDependency for html-webpack-plugin. APparently v5 has some breaking changes. Since it's just a dev dependency though it doesn't force the change on any users.

@joeldenning joeldenning merged commit ce73605 into main Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants