Skip to content

Commit

Permalink
feat(update): remove unused stuff; update deps and code
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed May 9, 2022
1 parent 7baecb0 commit 6e0f6ab
Show file tree
Hide file tree
Showing 33 changed files with 197 additions and 889 deletions.
16 changes: 0 additions & 16 deletions .cypress/.eslintrc

This file was deleted.

5 changes: 0 additions & 5 deletions .cypress/fixtures/example.json

This file was deleted.

20 changes: 0 additions & 20 deletions .cypress/integration/test.spec.js

This file was deleted.

17 changes: 0 additions & 17 deletions .cypress/plugins/index.js

This file was deleted.

25 changes: 0 additions & 25 deletions .cypress/support/commands.js

This file was deleted.

20 changes: 0 additions & 20 deletions .cypress/support/index.js

This file was deleted.

23 changes: 0 additions & 23 deletions .cypress/utils/viewport.js

This file was deleted.

3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
],
"no-debugger": 1,
"no-console": 1,
"no-empty-function": "error"
"no-empty-function": "error",
"vue/multi-word-component-names": "off"
}
}
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,15 @@ jobs:
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
- name: Build
run: |
npm run static --build-analyze --base=/gp-vue-boilerplate/ --website-host=https://grabarzundpartner.github.io/gp-vue-boilerplate
npm run generate --build-analyze --base= --website-host=
mkdir dist/reports dist/reports/webpack
cp -R .reports/webpack/* dist/reports/webpack
touch dist/.nojekyll
env:
DIST_PATH: dist
BASE: /gp-vue-boilerplate/
WEBSITE_HOST: https://grabarzundpartner.github.io/gp-vue-boilerplate
BUILD_ANALYZE: true
- name: Archive Production Artifact
uses: actions/upload-artifact@master
with:
Expand Down
8 changes: 7 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"block-closing-brace-empty-line-before": null,
"max-empty-lines": null,
"selector-class-pattern": null,
"selector-id-pattern": null
"selector-id-pattern": null,
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
]
}
}
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
[![Known Vulnerabilities](https://snyk.io/test/github/GrabarzUndPartner/gp-vue-boilerplate/badge.svg)](https://snyk.io/test/github/GrabarzUndPartner/gp-vue-boilerplate)

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fd03937e022947fe867c7a33fdf707f9)](https://www.codacy.com/app/stephan.gerbeth/gp-vue-boilerplate?utm_source=github.com&utm_medium=referral&utm_content=GrabarzUndPartner/gp-vue-boilerplate&utm_campaign=Badge_Grade)
[![Cypress.io tests](https://img.shields.io/badge/cypress.io-tests-green.svg?style=flat-square)](https://cypress.io)

[![Windows Build Status](https://ci.appveyor.com/api/projects/status/jdxatqwkaoqbfda1/branch/master?svg=true)](https://ci.appveyor.com/project/StephanGerbeth/gp-vue-boilerplate/branch/master)

Expand All @@ -56,8 +55,6 @@ The Grabarz & Partner Boilerplate is a professional front-end template for build
- [webpack modern](https://grabarzundpartner.github.io/gp-vue-boilerplate/reports/webpack/modern.html)
- [webpack server](https://grabarzundpartner.github.io/gp-vue-boilerplate/reports/webpack/server.html)
- [packtracker modern](https://app.packtracker.io/organizations/310/projects/247)
- [cypress](https://grabarzundpartner.github.io/gp-vue-boilerplate/reports/cypress.html)


***

Expand Down Expand Up @@ -159,16 +156,6 @@ http://localhost:8050

***

## Cypress

### Run local test instance

```bash
npm run cypress:open
```

***

## Features

- browserslist support
Expand Down
21 changes: 0 additions & 21 deletions env/static-server.js

This file was deleted.

File renamed without changes.
4 changes: 0 additions & 4 deletions now.json

This file was deleted.

6 changes: 3 additions & 3 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ module.exports = {
modules: [
'nuxt-speedkit',
'@nuxt/content',
'@/modules/codesandbox',
// '@/modules/codesandbox',
'@/modules/svg',
'@/modules/analyzer',
'@nuxtjs/axios',
'nuxt-i18n',
'@nuxtjs/i18n',
[
'nuxt-polyfill', {
features: [
Expand Down Expand Up @@ -396,7 +396,7 @@ module.exports = {
};

function getBasePath () {
return process.env.npm_config_base || process.env.BASE_PATH || '/';
return process.env.npm_config_base || process.env.BASE || '/';
}

function getWebsiteHost () {
Expand Down
Loading

0 comments on commit 6e0f6ab

Please sign in to comment.