pull/5507/head
tugcekucukoglu 2024-03-27 16:30:24 +03:00
commit 4b02af4cd4
3 changed files with 1822 additions and 6758 deletions

View File

@ -1,34 +0,0 @@
'use strict';
var gulp = require('gulp'),
concat = require('gulp-concat'),
uglifycss = require('gulp-uglifycss'),
rename = require('gulp-rename'),
flatten = require('gulp-flatten');
/** @deprecated */
gulp.task('build-css', function () {
return gulp
.src(['./components/lib/common/Common.css', './components/**/*.css'])
.pipe(concat('primevue.css'))
.pipe(gulp.dest('dist/resources'))
.pipe(uglifycss({ uglyComments: true }))
.pipe(rename('primevue.min.css'))
.pipe(gulp.dest('dist/resources'));
});
gulp.task('build-primevuecss', function () {
return gulp.src(['./assets/styles/primevue.css']).pipe(concat('primevue.css')).pipe(gulp.dest('dist/resources')).pipe(rename('primevue.min.css')).pipe(gulp.dest('dist/resources'));
});
gulp.task('build-themes', function () {
return gulp.src(['public/themes/**/*']).pipe(gulp.dest('dist/resources/themes'));
});
/** @deprecated */
gulp.task('images', function () {
return gulp.src(['./components/lib/**/images/*.png', './components/lib/**/images/*.gif']).pipe(flatten()).pipe(gulp.dest('dist/resources/images'));
});
//Building project with run sequence
gulp.task('build-styles', gulp.series('build-themes', 'build-primevuecss'));

8538
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
"preview": "nuxt preview", "preview": "nuxt preview",
"postinstall": "nuxt prepare", "postinstall": "nuxt prepare",
"build:lib": "npm run build:check && npm run build:package", "build:lib": "npm run build:check && npm run build:package",
"build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api && gulp build-styles", "build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api",
"build:check": "npm run format:check && npm run security:check", "build:check": "npm run format:check && npm run security:check",
"security:check": "npm audit --production --audit-level high", "security:check": "npm audit --production --audit-level high",
"format": "prettier --write \"**/*.{js,vue,d.ts}\" --cache", "format": "prettier --write \"**/*.{js,vue,d.ts}\" --cache",
@ -56,12 +56,6 @@
"eslint-plugin-nuxt": "^4.0.0", "eslint-plugin-nuxt": "^4.0.0",
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.4.0", "eslint-plugin-vue": "^9.4.0",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.0",
"gulp-flatten": "^0.4.0",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
"gulp-uglifycss": "^1.0.6",
"jsdom": "^19.0.0", "jsdom": "^19.0.0",
"nuxt": "3.3.2", "nuxt": "3.3.2",
"prettier": "2.7.1", "prettier": "2.7.1",