Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

Commit 15f66be

Browse files
author
Eimantas Dumšė
authored
Hotfix/versions exports (#34)
* Strict versions. * Exports and versions.
1 parent a78f22e commit 15f66be

15 files changed

Lines changed: 93 additions & 93 deletions

File tree

packages/webpack-builder-plugin-clean/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"**/*.md"
3232
],
3333
"dependencies": {
34-
"@reactway/webpack-builder": "^2.0.3",
34+
"@reactway/webpack-builder": "2.0.3",
3535
"clean-webpack-plugin": "^3.0.0",
3636
"tslib": "^1.10.0",
3737
"upath": "^1.2.0",

packages/webpack-builder-plugin-clean/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CleanWebpackPlugin } from "clean-webpack-plugin";
22
import { Plugin } from "@reactway/webpack-builder";
33
import { Options } from "./plugin-options";
44

5-
interface CleanPluginOptions extends Partial<Options> {}
5+
export interface CleanPluginOptions extends Partial<Options> {}
66

77
export const CleanPlugin: Plugin<CleanPluginOptions> = (config, projectDirectory) => webpack => {
88
if (webpack.plugins == null) {

packages/webpack-builder-plugin-html/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
"**/*.md"
3232
],
3333
"dependencies": {
34-
"@reactway/webpack-builder": "^2.0.3",
34+
"@reactway/webpack-builder": "2.0.3",
3535
"html-webpack-plugin": "^3.2.0",
3636
"html-webpack-template": "^6.2.0",
37+
"@types/html-webpack-plugin": "^3.2.1",
38+
"@types/html-webpack-template": "^6.0.3",
3739
"tslib": "^1.10.0",
3840
"upath": "^1.2.0"
3941
},
4042
"devDependencies": {
41-
"@types/html-webpack-plugin": "^3.2.1",
42-
"@types/html-webpack-template": "^6.0.3",
4343
"@types/jest": "^24.0.23",
4444
"istanbul-azure-reporter": "^0.1.4",
4545
"jest": "^24.9.0",

packages/webpack-builder-plugin-html/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import HtmlWebpackTemplate from "html-webpack-template";
33
import { Plugin } from "@reactway/webpack-builder";
44

55
// tslint:disable-next-line:no-empty-interface
6-
interface HtmlPluginOptions extends HtmlWebpackPlugin.Options {}
6+
export interface HtmlPluginOptions extends HtmlWebpackPlugin.Options {}
77

88
export const HtmlPlugin: Plugin<HtmlPluginOptions> = (config, projectDirectory) => webpack => {
99
if (webpack.plugins == null) {

packages/webpack-builder-plugin-images/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"**/*.md"
3131
],
3232
"dependencies": {
33-
"@reactway/image-loader": "^2.0.3",
34-
"@reactway/webpack-builder": "^2.0.3",
33+
"@reactway/image-loader": "2.0.3",
34+
"@reactway/webpack-builder": "2.0.3",
3535
"tslib": "^1.10.0",
3636
"upath": "^1.2.0",
3737
"url-loader": "^2.3.0"

packages/webpack-builder-plugin-images/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Plugin } from "@reactway/webpack-builder";
22
import { ReactwayImageLoaderPlugin, ImageLoaderOptions } from "@reactway/image-loader";
33

4-
interface ImagesPluginOptions extends Partial<ImageLoaderOptions> {}
4+
export interface ImagesPluginOptions extends Partial<ImageLoaderOptions> {}
55

66
export const ImagesPlugin: Plugin<ImagesPluginOptions> = (config, projectDirectory) => webpack => {
77
if (webpack.module == null) {

packages/webpack-builder-plugin-styles/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,16 @@
3030
"**/*.md"
3131
],
3232
"dependencies": {
33-
"@reactway/webpack-builder": "^2.0.3",
33+
"@reactway/webpack-builder": "2.0.3",
3434
"autoprefixer": "^9.7.2",
3535
"css-loader": "^3.2.0",
3636
"fibers": "^4.0.2",
3737
"file-loader": "^4.3.0",
3838
"fs-extra": "^8.1.0",
3939
"mini-css-extract-plugin": "^0.8.0",
40+
"@types/mini-css-extract-plugin": "^0.8.0",
4041
"optimize-css-assets-webpack-plugin": "^5.0.3",
42+
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
4143
"postcss-loader": "^3.0.0",
4244
"query-string": "^6.9.0",
4345
"sass-loader": "^8.0.0",
@@ -49,9 +51,7 @@
4951
"devDependencies": {
5052
"@types/fs-extra": "^8.0.1",
5153
"@types/jest": "^24.0.23",
52-
"@types/mini-css-extract-plugin": "^0.8.0",
5354
"@types/node": "^12.12.12",
54-
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
5555
"@types/webpack": "^4.41.0",
5656
"istanbul-azure-reporter": "^0.1.4",
5757
"jest": "^24.9.0",

packages/webpack-builder-plugin-styles/src/plugin.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ const FONTS_OUTPUT_LOCATION: string = "./assets/fonts";
1818
// Public path
1919
const PUBLIC_PATH: string = "./";
2020

21-
type Omit<TType, TKey extends keyof TType> = Pick<TType, Exclude<keyof TType, TKey>>;
22-
type LoaderOptions = Omit<Webpack.RuleSetLoader, "loader">;
21+
export type Omit<TType, TKey extends keyof TType> = Pick<TType, Exclude<keyof TType, TKey>>;
22+
export type LoaderOptions = Omit<Webpack.RuleSetLoader, "loader">;
2323

2424
// Webpack.RuleSetQuery | undefined
25-
type PostCssOptions = { [k: string]: any };
26-
type PostCssPluginsFn = (...args: unknown[]) => unknown[];
25+
export type PostCssOptions = { [k: string]: any };
26+
export type PostCssPluginsFn = (...args: unknown[]) => unknown[];
2727

28-
interface StylesPluginOptions {
28+
export interface StylesPluginOptions {
2929
fontsOutputLocation?: string;
3030
fontsPublicPath?: string;
3131
urlLoaderOptions?: LoaderOptions;

packages/webpack-builder-plugin-typescript/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"@babel/core": "^7.7.4",
3434
"@babel/preset-env": "^7.7.4",
35-
"@reactway/webpack-builder": "^2.0.3",
35+
"@reactway/webpack-builder": "2.0.3",
3636
"babel-loader": "^8.0.6",
3737
"babel-plugin-syntax-dynamic-import": "^6.18.0",
3838
"fork-ts-checker-webpack-plugin": "^3.1.0",
@@ -44,14 +44,14 @@
4444
"tsconfig-paths-webpack-plugin": "^3.2.0",
4545
"tslib": "^1.10.0",
4646
"upath": "^1.2.0",
47-
"webpack": "^4.41.2"
47+
"webpack": "^4.41.2",
48+
"@types/terser-webpack-plugin": "^2.2.0"
4849
},
4950
"devDependencies": {
5051
"@types/fs-extra": "^8.0.1",
5152
"@types/jest": "^24.0.23",
5253
"@types/node": "^12.12.12",
5354
"@types/tapable": "1.0.4",
54-
"@types/terser-webpack-plugin": "^2.2.0",
5555
"@types/webpack": "^4.41.0",
5656
"istanbul-azure-reporter": "^0.1.4",
5757
"jest": "^24.9.0",

packages/webpack-builder-plugin-typescript/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const TSX_EXTENSION: string = ".tsx";
2222
const JS_EXTENSION: string = ".js";
2323
const JSX_EXTENSION: string = ".jsx";
2424

25-
interface TypeScriptPluginOptions {
25+
export interface TypeScriptPluginOptions {
2626
tsLoaderOptions?: Omit<Partial<TsLoaderOptions>, "happyPackMode" | "transpileOnly">;
2727
forkTsCheckerOptions?: Partial<ForkTsCheckerWebpackPluginOptions>;
2828
tsconfigPathsPluginOptions?: Partial<TsconfigPathsPluginOptions>;

0 commit comments

Comments
 (0)