Skip to content

Commit

Permalink
[INK-42] updated inkbeard to open https (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 10, 2024
2 parents 1173edb + 2007e0b commit 7979d09
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 43 deletions.
6 changes: 6 additions & 0 deletions .changeset/shiny-singers-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"inkbeard": patch
---

- Set 'dev' script to run with the `--open` flag
- Set `server.https` vite config to `true`
3 changes: 2 additions & 1 deletion apps/inkbeard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "inkbeard",
"version": "0.1.0",
"scripts": {
"dev": "vite",
"dev": "vite --open",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"test": "vitest --run",
Expand All @@ -15,6 +15,7 @@
"stylelint": "stylelint \"**/*.{css,scss,vue}\""
},
"dependencies": {
"@vitejs/plugin-basic-ssl": "^1.0.2",
"pinia": "^2.1.7",
"vue": "^3.4.3",
"vue-router": "^4.2.5"
Expand Down
7 changes: 6 additions & 1 deletion apps/inkbeard/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
import { fileURLToPath, URL } from 'node:url';

import { defineConfig } from 'vite';
// eslint-disable-next-line import/no-extraneous-dependencies
import basicSsl from '@vitejs/plugin-basic-ssl';
import vue from '@vitejs/plugin-vue';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
basicSsl(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
https: true,
},
});
Loading

0 comments on commit 7979d09

Please sign in to comment.