2 Commits

6 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,9 @@ try {
const dryRunOutput = execSync('npx semantic-release --dry-run').toString(); const dryRunOutput = execSync('npx semantic-release --dry-run').toString();
// Extract the version number from the semantic-release output // Extract the version number from the semantic-release output
const versionMatch = dryRunOutput.match(/next version in .* is ([\d.]+)/); const versionMatch = dryRunOutput.match(
/The next release version is ([\S]+)/
);
if (!versionMatch) { if (!versionMatch) {
throw new Error('Version number not found in semantic-release output'); throw new Error('Version number not found in semantic-release output');
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "oys_bab", "name": "oys_bab",
"version": "0.6.2", "version": "0.0.0",
"description": "Manage a Borrow a Boat program for a Yacht Club", "description": "Manage a Borrow a Boat program for a Yacht Club",
"productName": "OYS Borrow a Boat", "productName": "OYS Borrow a Boat",
"author": "Patrick Toal <ptoal@takeflight.ca>", "author": "Patrick Toal <ptoal@takeflight.ca>",

View File

@@ -9,10 +9,8 @@
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
const { configure } = require('quasar/wrappers'); const { configure } = require('quasar/wrappers');
const packageJson = require('./package.json');
const gitCommitInfo = require('git-commit-info');
module.exports = configure(function ({ dev }) { module.exports = configure(function () {
return { return {
eslint: { eslint: {
// fix: true, // fix: true,

View File

@@ -22,7 +22,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref } from 'vue'; import { ref } from 'vue';
import LeftDrawer from 'components/LeftDrawer.vue'; import LeftDrawer from 'components/LeftDrawer.vue';
import APP_VERSION from 'version.js'; import { APP_VERSION } from 'src/version';
const leftDrawerOpen = ref(false); const leftDrawerOpen = ref(false);
function toggleLeftDrawer() { function toggleLeftDrawer() {

View File

@@ -83,7 +83,7 @@ import { Dialog, Notify } from 'quasar';
import { useAuthStore } from 'src/stores/auth'; import { useAuthStore } from 'src/stores/auth';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { AppwriteException } from 'appwrite'; import { AppwriteException } from 'appwrite';
import { APP_VERSION } from 'version.js'; import { APP_VERSION } from 'src/version.js';
const email = ref(''); const email = ref('');
const token = ref(''); const token = ref('');

View File

@@ -61,7 +61,7 @@ import { useAuthStore } from 'src/stores/auth';
import NewPasswordComponent from 'src/components/NewPasswordComponent.vue'; import NewPasswordComponent from 'src/components/NewPasswordComponent.vue';
import { Dialog } from 'quasar'; import { Dialog } from 'quasar';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { APP_VERSION } from 'version.js'; import { APP_VERSION } from 'src/version.js';
const email = ref(''); const email = ref('');
const password = ref(''); const password = ref('');