Skip to content

Commit

Permalink
V1.1.9
Browse files Browse the repository at this point in the history
- Use Grunt for build
- Update apexcharts
  • Loading branch information
fakoua committed Feb 22, 2024
1 parent e98917c commit 507abcb
Show file tree
Hide file tree
Showing 9 changed files with 6,211 additions and 4,957 deletions.
50 changes: 50 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-prompt");
grunt.loadNpmTasks("grunt-exec");
grunt.initConfig({
prompt: {
version: {
options: {
questions: [
{
config: "version",
type: "input",
message: "Enter new version number",
},
],
then: function (results) {
grunt.config.set("version", results.version);
console.log('Version set to: ' + grunt.config.get("version"))
},
},
},
},
exec: {
fmt: {
command: "deno fmt",
},
lint: {
command: "deno lint",
},
setVersion: {
command: 'deno run -A prepare-spa.ts --action set-version --version <%= grunt.config.get("version") %>',
},
buildQuasar: {
cwd: './q-manui',
command: 'quasar build',
},
spa: {
command: 'deno run -A prepare-spa.ts --action spa',
},
},
});

grunt.registerTask("publish", [
"prompt:version",
"exec:fmt",
"exec:lint",
"exec:setVersion",
"exec:buildQuasar",
"exec:spa",
]);
};
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
},

"lint": {
"exclude": ["q-manui/"]
"exclude": ["q-manui/", "Gruntfile.js"]
},
"fmt": {
"exclude": ["q-manui/"]
"exclude": ["q-manui/", "Gruntfile.js"]
},
"test": {
"exclude": ["q-manui/"]
"exclude": ["q-manui/", "Gruntfile.js"]
}
}
12 changes: 12 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 507abcb

Please sign in to comment.