From 2c7c448108c9f8cfb7702c0b838c3b1cc1caad72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Mon, 27 Jan 2025 22:32:25 +0100 Subject: [PATCH] Refactor Dockerfile and package.json (#2089) --- .changeset/seven-islands-act.md | 5 +++++ Dockerfile | 2 +- gulpfile.js | 2 +- package.json | 3 +-- 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .changeset/seven-islands-act.md diff --git a/.changeset/seven-islands-act.md b/.changeset/seven-islands-act.md new file mode 100644 index 000000000..d40ca7a26 --- /dev/null +++ b/.changeset/seven-islands-act.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Refactor Dockerfile and package.json diff --git a/Dockerfile b/Dockerfile index 26f3919d3..38cb6f41d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,4 @@ EXPOSE 3000 # website management (browser auto reload) EXPOSE 3001 # run tabler -ENTRYPOINT [ "pnpm", "run", "start-plugins" ] +ENTRYPOINT [ "pnpm", "run", "start" ] diff --git a/gulpfile.js b/gulpfile.js index f46c89117..5742e130d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -69,7 +69,7 @@ gulp.task('clean-dirs', () => { */ gulp.task('sass', () => { return gulp - .src(argv.withPlugins || BUILD ? `${srcDir}/scss/!(_)*.scss` : `${srcDir}/scss/+(tabler|demo).scss`) + .src(`${srcDir}/scss/!(_)*.scss`) .pipe(debug()) .pipe(sass({ includePaths: ['node_modules'], diff --git a/package.json b/package.json index 7ede13ae5..abc5dc081 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,8 @@ "description": "Premium and Open Source dashboard template with responsive and high quality UI.", "homepage": "https://tabler.io", "scripts": { - "dev": "pnpm run start-plugins", + "dev": "pnpm run start", "start": "gulp start", - "start-plugins": "gulp start --with-plugins", "build": "gulp build", "build-docs": "mkdir public && touch public/index.html && echo 'ok'", "preview": "gulp build --preview",