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

Commit bfc1438

Browse files
authored
fix(build): package adjustments for semantic release update (#426)
1 parent 1441bf2 commit bfc1438

File tree

4 files changed

+35
-34
lines changed

4 files changed

+35
-34
lines changed

gulpfile.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function copyExamples() {
4545
// Copy package files to dist
4646
function copyPkgFiles() {
4747
return copyToDist([
48+
'./LICENSE.txt',
4849
'./README.md',
4950
'./package.json'
5051
]);
@@ -124,14 +125,14 @@ function copyAssetsLess() {
124125
return '@import \'';
125126
}))
126127
.pipe(rename({dirname: ''}))
127-
.pipe(gulp.dest(libraryDist + '/less'));
128+
.pipe(gulp.dest(libraryDist + '/dist/less'));
128129
}
129130

130131
// Copy component LESS to dist/less in a flattened directory
131132
function copyLess() {
132133
return gulp.src(['./src/app/**/*.less'].concat(globalExcludes))
133134
.pipe(rename({dirname: ''}))
134-
.pipe(gulp.dest(libraryDist + '/less'));
135+
.pipe(gulp.dest(libraryDist + '/dist/less'));
135136
}
136137

137138
/**
@@ -142,7 +143,7 @@ function copyLess() {
142143
function copyCss() {
143144
return gulp.src(['./src/assets/stylesheets/*.css'], {base: './src/assets/stylesheets'})
144145
.pipe(gulp.dest(function (file) {
145-
return libraryDist + '/css' + file.base.slice(__dirname.length); // save directly to dist
146+
return libraryDist + '/dist/css' + file.base.slice(__dirname.length); // save directly to dist
146147
}));
147148
}
148149

package-lock.json

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

src/scripts/bundle/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const resolve = require('rollup-plugin-node-resolve');
88
const rollup = require('rollup');
99

1010
export const LIB_NAME = 'patternfly-ng';
11-
export const PATH_SRC = 'dist/app/';
11+
export const PATH_SRC = 'dist/';
1212
export const PATH_DIST = 'dist/bundles/';
1313

1414
export const config = {

tsconfig-prod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"module": "es2015",
55
"moduleResolution": "node",
66
"baseUrl": ".",
7-
"rootDir": "build/src",
7+
"rootDir": "build/src/app",
88
"outDir": "dist",
99
"allowSyntheticDefaultImports": true,
1010
"allowUnreachableCode": false,

0 commit comments

Comments
 (0)