Skip to content

Commit 115d4de

Browse files
committed
feat(command/build): implement support for router.base setting
adapt test for recent changes and new implementation
1 parent fc1d5e5 commit 115d4de

File tree

9 files changed

+352
-231
lines changed

9 files changed

+352
-231
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
| Statements | Branches | Functions | Lines |
88
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
9-
| ![Statements](https://img.shields.io/badge/Coverage-99.11%25-brightgreen.svg) | ![Branches](https://img.shields.io/badge/Coverage-98.11%25-brightgreen.svg) | ![Functions](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Lines](https://img.shields.io/badge/Coverage-99.1%25-brightgreen.svg) |
9+
| ![Statements](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Branches](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Functions](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) | ![Lines](https://img.shields.io/badge/Coverage-100%25-brightgreen.svg) |
1010

1111
This package allows to develop a nuxt SPA as frontend for a laravel backend.
1212
The implementation is based on [laravel-nuxt-js](https://github.com/skyrpex/laravel-nuxt-js) by [skyrpex](https://github.com/skyrpex).

dist/subcommands/build.js

+30-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+42-35
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
},
1414
"scripts": {
1515
"build": "tsc -p tsconfig.build.json",
16-
"build:dev": "npm run build -- --sourceMap",
17-
"build:clean": "rimraf dist .nuxt public storage && npm run build",
16+
"build:dev": "npm run build",
17+
"build:clean": "npm run clean && npm run build",
18+
"clean": "rimraf dist .nuxt public storage",
1819
"lint": "tslint -p .",
1920
"lint:fix": "npm run lint -- --fix",
2021
"lint:check": "tslint-config-prettier-check ./tslint.json",
@@ -92,4 +93,4 @@
9293
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
9394
}
9495
}
95-
}
96+
}

0 commit comments

Comments
 (0)