Skip to content

Commit

Permalink
Quasar 2, Vue 3, Node 22.8.0 SSR support
Browse files Browse the repository at this point in the history
  • Loading branch information
mobycrypt committed Sep 21, 2024
1 parent 0a61e31 commit a4c1c40
Show file tree
Hide file tree
Showing 60 changed files with 4,662 additions and 15,993 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

52 changes: 0 additions & 52 deletions .eslintrc.js

This file was deleted.

12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# Quasar core related directories
.quasar
/dist
/quasar.config.*.temporary.compiled*

# Cordova related directories and files
/src-cordova/node_modules
Expand All @@ -16,10 +17,6 @@ node_modules
/src-capacitor/www
/src-capacitor/node_modules

# BEX related directories and files
/src-bex/www
/src-bex/js/core

# Log files
npm-debug.log*
yarn-debug.log*
Expand All @@ -31,3 +28,10 @@ yarn-error.log*
*.ntvs*
*.njsproj
*.sln

# local .env files
.env.local*

docker-compose.yaml
zbuduj_i_push.sh
textencrypter_prod.tar.gz
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# pnpm-related options
shamefully-hoist=true
strict-peer-dependencies=false
2 changes: 2 additions & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

v22.8.0
8 changes: 0 additions & 8 deletions .postcssrc.js

This file was deleted.

35 changes: 0 additions & 35 deletions .stylintrc

This file was deleted.

13 changes: 13 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"recommendations": [
"editorconfig.editorconfig",
"vue.volar",
"wayou.vscode-todo-highlight"
],
"unwantedRecommendations": [
"octref.vetur",
"hookyqr.beautify",
"dbaeumer.jshint",
"ms-vscode.vscode-typescript-tslint-plugin"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Changelog:
## [2.0.0] (21.09.2024)
- migrated to Qusar 2 & Vue 3
- upgrade to Node 22.8.0
- SSR build
- eslint removed (no eslint now)
- small fixes for Quasar 2 & Vue 3
- updated labels to year 2024
## [1.0.7] (1.06.2021)
##### Modified:
- changed pthomann.pl on mobycrypt.com
Expand Down
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:22.8.0-alpine

WORKDIR /
ADD ssr /
RUN npm install
EXPOSE 3000
CMD ["npm", "start"]
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,27 @@ Encryption specification:
- PKCS7 encryption payload padding

Dependencies:
- Quasar framework 2, Vue 3
- aes-js
- js-sha256
- Quasar framework
- file-saver

Tool works offline.

## Install the dependencies
```bash
nvm use 14.15.5
nvm use
npm install
```

### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
quasar dev
```

### Lint the files
```bash
npm run lint
npm run dev
```

### Build the app for production
```bash
quasar build
npm run build
```

### Customize the configuration
Expand Down
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<title><%= productName %></title>

<meta charset="utf-8">
<meta name="description" content="<%= productDescription %>">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">


<link rel="icon" type="image/png" href="icons/android-chrome-144x144.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="icons/mstile-150x150.png">
<link rel="icon" type="image/ico" href="icons/favicon.ico">
</head>
<body>
<!-- quasar:entry-point -->
</body>
</html>
37 changes: 28 additions & 9 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,38 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"src/*": ["src/*"],
"app/*": ["*"],
"components/*": ["src/components/*"],
"layouts/*": ["src/layouts/*"],
"pages/*": ["src/pages/*"],
"assets/*": ["src/assets/*"],
"boot/*": ["src/boot/*"],
"vue$": ["node_modules/vue/dist/vue.esm.js"]
"src/*": [
"src/*"
],
"app/*": [
"*"
],
"components/*": [
"src/components/*"
],
"layouts/*": [
"src/layouts/*"
],
"pages/*": [
"src/pages/*"
],
"assets/*": [
"src/assets/*"
],
"boot/*": [
"src/boot/*"
],
"stores/*": [
"src/stores/*"
],
"vue$": [
"node_modules/vue/dist/vue.runtime.esm-bundler.js"
]
}
},
"exclude": [
"dist",
".quasar",
"node_modules"
]
}
}
Loading

0 comments on commit a4c1c40

Please sign in to comment.