Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/shrihari-prakash/liquid int…
Browse files Browse the repository at this point in the history
…o release
  • Loading branch information
shrihari-prakash committed Mar 11, 2024
2 parents d8bb078 + 8d46543 commit d9723ca
Show file tree
Hide file tree
Showing 141 changed files with 1,748 additions and 1,087 deletions.
23 changes: 12 additions & 11 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
const gulp = require("gulp");
const babel = require("gulp-babel");
const debug = require("gulp-debug");
const replace = require("gulp-replace");
const del = require("del");
import gulp from "gulp";
import babel from "gulp-babel";
import debug from "gulp-debug";
import replace from "gulp-replace";
import { deleteAsync } from "del";

function static_copy() {
export function staticCopy() {
return gulp.src("./src/public/**/*").pipe(gulp.dest("build/public"));
}

function static_clean() {
return del(["./build/public/components"]);
export function staticClean() {
return deleteAsync(["./build/public/components"]);
}

function static_compile() {
export function staticCompile() {
return gulp
.src("./src/public/components/*.js")
.pipe(debug({ title: "Ready for compile" }))
Expand All @@ -24,7 +24,7 @@ function static_compile() {
.pipe(gulp.dest("./build/public/compiled"));
}

function static_swap_react_pdoduction() {
export function staticSwapReactProduction() {
return gulp
.src(["./build/public/index.html"])
.pipe(debug())
Expand All @@ -33,4 +33,5 @@ function static_swap_react_pdoduction() {
.pipe(gulp.dest("./build/public"));
}

exports.static_build = gulp.series(static_copy, static_compile, static_swap_react_pdoduction, static_clean);
export const static_build = gulp.series(staticCopy, staticCompile, staticSwapReactProduction, staticClean);

2 changes: 1 addition & 1 deletion nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
},
"ext": ".ts, .js, .json, .yaml",
"ignore": ["src/public", "app-config.json", "app-config.sample.json"],
"exec": "ts-node ./src/index.ts"
"exec": "tsx ./src/index.ts"
}
Loading

0 comments on commit d9723ca

Please sign in to comment.