Skip to content

Commit

Permalink
Merge pull request #48 from njt1982/upgrade
Browse files Browse the repository at this point in the history
Upgrade
  • Loading branch information
njt1982 authored Apr 1, 2024
2 parents 3ea52c4 + da01a21 commit 5c19411
Show file tree
Hide file tree
Showing 24 changed files with 3,982 additions and 9,901 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-prettier/skip-formatting'
],
parserOptions: {
ecmaVersion: 'latest'
}
}
23 changes: 9 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '14'
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: 'package-lock.json'

- name: Install
uses: borales/actions-yarn@v4.2.0
with:
cmd: install
run: npm ci

- name: Build
uses: borales/actions-yarn@v4.2.0
with:
cmd: build
run: npm run build

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
branch: gh-pages
folder: 'dist'
clean: true
folder: 'dist'
24 changes: 20 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
.DS_Store
node_modules/
/dist/
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

*.tsbuildinfo
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/iron
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

35 changes: 35 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">

<link rel="apple-touch-icon" sizes="57x57" href="/kids-word-search/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/kids-word-search/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/kids-word-search/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/kids-word-search/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/kids-word-search/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/kids-word-search/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/kids-word-search/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/kids-word-search/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/kids-word-search/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/kids-word-search/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/kids-word-search/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/kids-word-search/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/kids-word-search/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/kids-word-search/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">

<title>Kids Word Search Game</title>
<meta name="description" content="Customisable open source childrens wordsearch game. Share with friends!">
<link href="https://fonts.googleapis.com/css?family=Ruluko&display=swap" rel="stylesheet" type="text/css">
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
8 changes: 8 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
},
"exclude": ["node_modules", "dist"]
}
Loading

0 comments on commit 5c19411

Please sign in to comment.