Skip to content

Commit

Permalink
Merge branch 'edge-tmp' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
hkamran80 committed Sep 4, 2021
2 parents 4ab0b6c + 21097c6 commit cd544f4
Show file tree
Hide file tree
Showing 140 changed files with 23,076 additions and 13,650 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
> 1%
last 2 versions
not dead
iOS >= 12.4
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version = 1
exclude_patterns = ["jsconfig.json", "*.config.js"]
exclude_patterns = ["jsconfig.json", "tsconfig.json", "*.config.js"]

[[analyzers]]
name = "javascript"
Expand Down
47 changes: 47 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
module.exports = {
root: true,

env: {
node: true,
},

extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
"plugin:vuejs-accessibility/recommended",
],

parserOptions: {
ecmaVersion: 2020,
parser: "@typescript-eslint/parser",
},

rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"prettier/prettier": [
"warn",
{
tabWidth: 4,
singleQuote: false,
arrowParens: "always",
trailingComma: "es5",
},
],
},

overrides: [
{
files: [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)",
],
env: {
jest: true,
},
},
],
};
69 changes: 0 additions & 69 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/rdpwa_auditor.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/rdpwa_beta_auditor.yml

This file was deleted.

8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ pnpm-debug.log*
*.sw?
.dccache

changes/
changes.txt
audits/

tmp*

# Temporary - Alpha feature
src/views/NewSchedule.vue
src/components/dialogs/NewSchedule/
tmp*
29 changes: 0 additions & 29 deletions CHANGELOG.md

This file was deleted.

24 changes: 7 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
# Schedules

## An app for all schedules

![Security Headers](https://img.shields.io/security-headers?style=for-the-badge&url=https%3A%2F%2Fschedules.unisontech.org)
![Security Headers (Edge)](https://img.shields.io/security-headers?label=Security%20Headers%20%28Edge%29&style=for-the-badge&url=https%3A%2F%2Fbeta-schedules.unisontech.org)
## The app for all your schedules. Select a schedule and keep track of how much time there is remaining in a period.

### Deployment

- Production: [schedules.unisontech.org](https://schedules.unisontech.org)
- Edge: [beta-schedules.unisontech.org](https://beta-schedules.unisontech.org)

### Debug Mode

To activate debug mode on the site to see the underlying variables displayed, add the parameter `dev` with the value of `true` to the end of the URL (example: `https://beta-schedules.unisontech.org/schedule/ca-auhsd-dls?debug=true`) or click the console button when in the edge or dev environments.
- Production: [schedules.unisontech.org](https://schedules.unisontech.org)
- Edge: [edge-schedules.unisontech.org](https://edge-schedules.unisontech.org)

### Development

- Setting up the project: `npm install`
- Lints and fixes files: `npm run lint`
- Compiles and hot-reloads for development: `npm run serve`
- Compiles and minifies for production: `npm run build`
- Setting up the project: `npm install`
- Lints and fixes files: `npm run lint`
- Compiles and hot-reloads for development: `npm run serve`
- Compiles and minifies for production: `npm run build`
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"]
presets: ["@vue/cli-plugin-babel/preset"],
};
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
preset: "@vue/cli-plugin-unit-jest/presets/typescript-and-babel",
};
11 changes: 0 additions & 11 deletions jsconfig.json

This file was deleted.

32 changes: 32 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Redirects
[[redirects]]
from = "/robots.txt"
to = "/robots.txt"
status = 200

[[redirects]]
from = "/schedules.json"
to = "/schedules.json"
status = 200

[[redirects]]
from = "/precache-manifest.*.js"
to = "/precache-manifest.:splat.js"
status = 200

[[redirects]]
from = "/js/*.js.map"
to = "/js/:splat.js.map"
status = 200

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

# Plugins
[[plugins]]
package = "@sentry/netlify-build-plugin"

[plugins.inputs]
sentryRelease = "3.0.0"
Loading

0 comments on commit cd544f4

Please sign in to comment.