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

Commit 96c0060

Browse files
author
Eimantas Dumse
committed
Updated path to upath.
1 parent b67ae08 commit 96c0060

File tree

22 files changed

+188
-107
lines changed

22 files changed

+188
-107
lines changed

common/config/rush/shrinkwrap.yaml

Lines changed: 109 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"dependencies": {
1919
"@reactway/webpack-builder": "1.0.0-alpha",
2020
"tslib": "^1.9.3",
21-
"clean-webpack-plugin": "^2.0.1"
21+
"clean-webpack-plugin": "^2.0.1",
22+
"upath": "^1.1.2"
2223
},
2324
"devDependencies": {
2425
"istanbul-azure-reporter": "^0.1.4",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { Builder, Configuration } from "@reactway/webpack-builder";
2-
import * as path from "path";
2+
import upath from "upath";
33
import { CleanPlugin } from "../plugin";
44

55
let SAMPLE_CONFIGURATION: Configuration = {};
6-
const TEST_PROJECT_LOCATION: string = path.resolve(__dirname, "./test-project");
6+
const TEST_PROJECT_LOCATION: string = upath.resolve(__dirname, "./test-project");
77

88
beforeEach(() => {
99
SAMPLE_CONFIGURATION = {
1010
entry: "./src/index.ts",
1111
mode: "development",
1212
output: {
13-
path: path.resolve(TEST_PROJECT_LOCATION, "dist"),
13+
path: upath.resolve(TEST_PROJECT_LOCATION, "dist"),
1414
filename: "[name].bundle.js",
1515
chunkFilename: "[name].bundle.js",
1616
publicPath: "./"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"@reactway/webpack-builder": "1.0.0-alpha",
2020
"tslib": "^1.9.3",
2121
"html-webpack-plugin": "^3.2.0",
22-
"html-webpack-template": "^6.2.0"
22+
"html-webpack-template": "^6.2.0",
23+
"upath": "^1.1.2"
2324
},
2425
"devDependencies": {
2526
"istanbul-azure-reporter": "^0.1.4",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { Builder, Configuration } from "@reactway/webpack-builder";
2-
import * as path from "path";
2+
import upath from "upath";
33
import { HtmlPlugin } from "../plugin";
44

55
let SAMPLE_CONFIGURATION: Configuration = {};
6-
const TEST_PROJECT_LOCATION: string = path.resolve(__dirname, "./test-project");
6+
const TEST_PROJECT_LOCATION: string = upath.resolve(__dirname, "./test-project");
77

88
beforeEach(() => {
99
SAMPLE_CONFIGURATION = {
1010
entry: "./src/index.ts",
1111
mode: "development",
1212
output: {
13-
path: path.resolve(TEST_PROJECT_LOCATION, "dist"),
13+
path: upath.resolve(TEST_PROJECT_LOCATION, "dist"),
1414
filename: "[name].bundle.js",
1515
chunkFilename: "[name].bundle.js",
1616
publicPath: "./"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"dependencies": {
1919
"@reactway/webpack-builder": "1.0.0-alpha",
2020
"tslib": "^1.9.3",
21-
"url-loader": "^1.1.2"
21+
"url-loader": "^1.1.2",
22+
"upath": "^1.1.2"
2223
},
2324
"devDependencies": {
2425
"istanbul-azure-reporter": "^0.1.4",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { Builder, Configuration } from "@reactway/webpack-builder";
2-
import * as path from "path";
2+
import upath from "upath";
33
import { ImagesPlugin } from "../plugin";
44

55
let SAMPLE_CONFIGURATION: Configuration = {};
6-
const TEST_PROJECT_LOCATION: string = path.resolve(__dirname, "./test-project");
6+
const TEST_PROJECT_LOCATION: string = upath.resolve(__dirname, "./test-project");
77

88
beforeEach(() => {
99
SAMPLE_CONFIGURATION = {
1010
entry: "./src/index.ts",
1111
mode: "development",
1212
output: {
13-
path: path.resolve(TEST_PROJECT_LOCATION, "dist"),
13+
path: upath.resolve(TEST_PROJECT_LOCATION, "dist"),
1414
filename: "[name].bundle.js",
1515
chunkFilename: "[name].bundle.js",
1616
publicPath: "./"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"dependencies": {
1919
"@reactway/webpack-builder": "1.0.0-alpha",
2020
"fs-extra": "^7.0.1",
21-
"tslib": "^1.9.3"
21+
"tslib": "^1.9.3",
22+
"upath": "^1.1.2"
2223
},
2324
"devDependencies": {
2425
"istanbul-azure-reporter": "^0.1.4",

0 commit comments

Comments
 (0)