Skip to content

Commit ddb7dbc

Browse files
authored
Merge pull request #976 from basics/feature/renaming-main
Feature/renaming main
2 parents cd219e9 + e788d46 commit ddb7dbc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1610
-1600
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ sw.js
99
.output
1010

1111
src/runtime/tmpl/**/*
12-
src/runtime/components/SpeedkitLayer.vue
12+
src/runtime/components/BoosterLayer.vue
1313
src/supportedBrowserDetector.mjs

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
44
patreon: # Replace with a single Patreon username
5-
open_collective: nuxt-speedkit
5+
open_collective: nuxt-booster
66
ko_fi: # Replace with a single Ko-fi username
77
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
88
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry

.github/workflows/sonar-cloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
uses: sonarsource/sonarcloud-github-action@master
5353
with:
5454
args: >
55-
-Dsonar.organization=grabarzundpartner
56-
-Dsonar.projectKey=GrabarzUndPartner_nuxt-speedkit
55+
-Dsonar.organization=basics
56+
-Dsonar.projectKey=basics_nuxt-booster
5757
-Dsonar.eslint.reportPaths=eslint-report.json
5858
-Dsonar.projectVersion=${{ steps.package-version.outputs.current-version}}
5959
env:

.mailmap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Renovate Bot <[email protected]>
2-
StephanGerbeth <[email protected]> Stephan Gerbeth <[email protected]>
3-
Thorn Walli <[email protected]> Thorn Walli <[email protected]>
2+
StephanGerbeth <[email protected]>
3+
Thorn Walli <[email protected]>
44
semantic-release-bot <[email protected]>

CHANGELOG.md

Lines changed: 1301 additions & 1301 deletions
Large diffs are not rendered by default.

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
58+
reported by contacting the project team at <[email protected]>. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -68,9 +68,9 @@ members of the project's leadership.
6868
## Attribution
6969

7070
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
71+
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
7272

7373
[homepage]: https://www.contributor-covenant.org
7474

7575
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
76+
<https://www.contributor-covenant.org/faq>

CONTRIBUTING.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Contributing to Nuxt-Speedkit
1+
# Contributing to Nuxt-Booster
2+
23
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
34

45
- Reporting a bug
@@ -8,9 +9,11 @@ We love your input! We want to make contributing to this project as easy and tra
89
- Becoming a maintainer
910

1011
## We Develop with Github
12+
1113
We use github to host code, to track issues and feature requests, as well as accept pull requests.
1214

1315
## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests
16+
1417
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:
1518

1619
1. Fork the repo and create your branch from `master`.
@@ -21,12 +24,15 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
2124
6. Issue that pull request!
2225

2326
## Any contributions you make will be under the MIT Software License
27+
2428
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
2529

26-
## Report bugs using Github's [issues](https://github.com/GrabarzUndPartner/nuxt-speedkit/issues)
27-
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/GrabarzUndPartner/nuxt-speedkit/issues/new/choose); it's that easy!
30+
## Report bugs using Github's [issues](https://github.com/basics/nuxt-booster/issues)
31+
32+
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/basics/nuxt-booster/issues/new/choose); it's that easy!
2833

2934
## Write bug reports with detail, background, and sample code
35+
3036
**Great Bug Reports** tend to have:
3137

3238
- A quick summary and/or background
@@ -40,7 +46,9 @@ We use GitHub issues to track public bugs. Report a bug by [opening a new issue]
4046
People *love* thorough bug reports. I'm not even kidding.
4147

4248
## License
49+
4350
By contributing, you agree that your contributions will be licensed under its MIT License.
4451

4552
## References
53+
4654
This document was adapted from the open-source contribution guidelines from [Brian A. Danielak](https://gist.github.com/briandk/3d2e8b3ec8daf5a27a62)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Grabarz & Partner Werbeagentur GmbH
3+
Copyright (c) 2024 basics
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1+
> # 🚨 Please update your dependencies. You can still retrieve version 2 (`nuxt-booster@2`), but it will no longer be maintained
12
2-
> # <span style="color: red;">**Important**</span><br> 🚨 `nuxt-speedkit` becomes `nuxt-booster` with full Nuxt 3 support. Please update your dependencies. You can still retrieve version 2 (`nuxt-booster@2`), but it will no longer be maintained
3+
# Nuxt Booster
34

4-
# Nuxt Speedkit
5-
6-
Nuxt Speedkit takes over the Lighthouse performance optimization of your generated website.
5+
Nuxt Booster takes over the Lighthouse performance optimization of your generated website.
76
All used components and resources are loaded on demand based on the viewport.
87

8+
## Demos
9+
10+
- [Nuxt Booster Example](https://basics.github.io/nuxt-booster/playground/) ([Lighthouse](https://pagespeed.web.dev/report?url=https%3A%2F%2Fbasics.github.io%2Fnuxt-booster%2Fplayground%2F), [Sitespeed](https://basics.github.io/nuxt-booster/reports/sitespeed/nuxt-booster/))
11+
12+
## Getting Started
13+
14+
Please follow the [📖 &nbsp;&nbsp;**Documentation**](https://basics.github.io/nuxt-booster/)
15+
916
## Requirements
1017

1118
- NodeJS `>= 12.x.x`
@@ -29,11 +36,11 @@ All used components and resources are loaded on demand based on the viewport.
2936
- delivery of the minimum required resources based on the current viewport
3037
- if you use the tools as specified you will get a lighthouse performance score of 100/100
3138

32-
📖 &nbsp;&nbsp;[Read more](https://nuxt-speedkit.grabarzundpartner.dev/)
39+
📖 &nbsp;&nbsp;[Read more](https://basics.github.io/nuxt-booster/)
3340

3441
## Browsers support
3542

36-
> You can use `nuxt-speedkit` with **Internet Explorer 11** browser. [Learn more at Browser compatibility](https://nuxt-speedkit.grabarzundpartner.dev/caveats#browser-compatibility)
43+
> You can use `nuxt-booster` with **Internet Explorer 11** browser. [Learn more at Browser compatibility](https://basics.github.io/nuxt-booster/caveats#browser-compatibility)
3744
3845
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari-ios/safari-ios_48x48.png" alt="iOS Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>iOS Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/samsung-internet/samsung-internet_48x48.png" alt="Samsung" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Samsung | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/vivaldi/vivaldi_48x48.png" alt="Vivaldi" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Vivaldi |
3946
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -52,6 +59,10 @@ All used components and resources are loaded on demand based on the viewport.
5259
3. Build and start with express `npm run start:generate` or `yarn start:generate`.
5360
4. Open [http://127.0.0.1:3000](http://127.0.0.1:3000) in Browser.
5461

62+
## Consulting & Support
63+
64+
Do you need further support, a consultation or a code review for an appropriate fee? Just contact us via eMail: <[email protected]>. We are looking forward to your request.
65+
5566
## License
5667

5768
[MIT License](./LICENSE)

jsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"sourceMap": true,
99
"baseUrl": ".",
1010
"paths": {
11-
"nuxt-speedkit/*": [
11+
"nuxt-booster/*": [
1212
"src/runtime/*"
1313
],
14-
"#speedkit": [
14+
"#booster": [
1515
"src/runtime/*"
1616
],
1717
"@/*": [

nuxt-speedkit.code-workspace renamed to nuxt-booster.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"javascript.format.enable": false,
6161
"path-intellisense.mappings": {
62-
"nuxt-speedkit": "${workspaceRoot}/src/runtime",
62+
"nuxt-booster": "${workspaceRoot}/src/runtime",
6363
"@": "${workspaceRoot}/playground",
6464
"@@": "${workspaceRoot}"
6565
},

package-lock.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "nuxt-speedkit",
2+
"name": "nuxt-booster",
33
"version": "2.2.9",
4-
"description": "Nuxt Speedkit takes over the Lighthouse performance optimization of your generated website.",
4+
"description": "Nuxt Booster takes over the Lighthouse performance optimization of your generated website.",
55
"license": "MIT",
66
"contributors": [
77
{
@@ -15,7 +15,7 @@
1515
],
1616
"repository": {
1717
"type": "git",
18-
"url": "https://github.com/GrabarzUndPartner/nuxt-speedkit"
18+
"url": "https://github.com/basics/nuxt-booster"
1919
},
2020
"scripts": {
2121
"build:bundle": "esbuild src/runtime/tmpl/supportedBrowserDetector.mjs --platform=node --bundle --outfile=src/supportedBrowserDetector.mjs --external:browserslist --external:argue-cli --external:easy-table --external:picocolors",

playground/components/InfoLayer.vue

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
<template>
2-
<speedkit-layer class="info-layer" v-bind="$attrs" v-on="$listeners">
2+
<booster-layer class="info-layer" v-bind="$attrs" v-on="$listeners">
33
<div>
44
<p v-font="$getFont('Quicksand', 400, 'normal')">
55
Sorry, but you will have a limited user experience due to a…
66
</p>
77
<ul v-font="$getFont('Quicksand', 700, 'normal')">
8-
<li id="nuxt-speedkit-message-nojs">disabled javascript</li>
9-
<li id="nuxt-speedkit-message-unsupported-browser">outdated browser</li>
10-
<li id="nuxt-speedkit-message-reduced-bandwidth">reduced-bandwidth</li>
11-
<li id="nuxt-speedkit-message-weak-hardware">weak hardware</li>
8+
<li id="nuxt-booster-message-nojs">disabled javascript</li>
9+
<li id="nuxt-booster-message-unsupported-browser">outdated browser</li>
10+
<li id="nuxt-booster-message-reduced-bandwidth">reduced-bandwidth</li>
11+
<li id="nuxt-booster-message-weak-hardware">weak hardware</li>
1212
</ul>
1313
<div class="info-layer-buttons">
14-
<base-button id="nuxt-speedkit-button-init-nojs">
15-
<label for="nuxt-speedkit-layer-close"> Yes </label>
14+
<base-button id="nuxt-booster-button-init-nojs">
15+
<label for="nuxt-booster-layer-close"> Yes </label>
1616
</base-button>
17-
<base-button id="nuxt-speedkit-button-init-reduced-view">
18-
<label for="nuxt-speedkit-layer-close"> No </label>
17+
<base-button id="nuxt-booster-button-init-reduced-view">
18+
<label for="nuxt-booster-layer-close"> No </label>
1919
</base-button>
20-
<base-button id="nuxt-speedkit-button-init-app" label="Yes" />
20+
<base-button id="nuxt-booster-button-init-app" label="Yes" />
2121
</div>
2222
</div>
23-
</speedkit-layer>
23+
</booster-layer>
2424
</template>
2525

2626
<script>
27-
import { getStyleDescription } from '#speedkit/utils/description';
28-
import SpeedkitLayer from '#speedkit/components/SpeedkitLayer';
27+
import { getStyleDescription } from '#booster/utils/description';
28+
import BoosterLayer from '#booster/components/BoosterLayer';
2929
import BaseButton from '@/components/atoms/BaseButton';
3030
3131
export default {
3232
components: {
3333
BaseButton,
34-
SpeedkitLayer
34+
BoosterLayer
3535
},
3636
inheritAttrs: false,
3737
head() {
38-
return this.$speedkit.head({
38+
return this.$booster.head({
3939
noscript: [
4040
getStyleDescription(
4141
'.info-layer > div { animation-delay: initial !important; }',
@@ -50,7 +50,7 @@ export default {
5050

5151
<style lang="postcss" scoped>
5252
.info-layer {
53-
& :deep(#nuxt-speedkit-layer-content) {
53+
& :deep(#nuxt-booster-layer-content) {
5454
position: fixed;
5555
top: 0;
5656
left: 0;
@@ -79,8 +79,8 @@ export default {
7979
}
8080
}
8181
82-
&.nuxt-speedkit-layer-visible {
83-
& :deep(#nuxt-speedkit-layer-content) {
82+
&.nuxt-booster-layer-visible {
83+
& :deep(#nuxt-booster-layer-content) {
8484
animation-delay: initial;
8585
}
8686
}

playground/components/organisms/ImageText.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
]"
1111
>
1212
<div class="image">
13-
<speedkit-picture
13+
<booster-picture
1414
:title="picture.title"
1515
:alt="picture.alt"
1616
:sources="picture.sources"
@@ -26,11 +26,11 @@
2626
</template>
2727

2828
<script>
29-
import SpeedkitPicture from '#speedkit/components/SpeedkitPicture';
29+
import BoosterPicture from '#booster/components/BoosterPicture';
3030
3131
export default {
3232
components: {
33-
SpeedkitPicture
33+
BoosterPicture
3434
},
3535
props: {
3636
alignRight: { type: Boolean, default: false },

playground/components/organisms/Stage.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<document-section class="component-stage" :level="-1">
3-
<speedkit-picture
3+
<booster-picture
44
class="background"
55
:title="picture.title"
66
:alt="picture.alt"
@@ -24,19 +24,19 @@
2424
<span v-if="ready" class="arrow"><svg-chevron-down /></span>
2525
</transition>
2626

27-
<speedkit-image class="logo" v-bind="image" :loading-spinner="null" />
27+
<booster-image class="logo" v-bind="image" :loading-spinner="null" />
2828
</document-section>
2929
</template>
3030

3131
<script>
32-
import SpeedkitPicture from '#speedkit/components/SpeedkitPicture';
33-
import SpeedkitImage from '#speedkit/components/SpeedkitImage';
32+
import BoosterPicture from '#booster/components/BoosterPicture';
33+
import BoosterImage from '#booster/components/BoosterImage';
3434
import SvgChevronDown from '@/assets/svg/chevron-down.svg?vue-template';
3535
3636
export default {
3737
components: {
38-
SpeedkitPicture,
39-
SpeedkitImage,
38+
BoosterPicture,
39+
BoosterImage,
4040
SvgChevronDown
4141
},
4242
@@ -158,9 +158,9 @@ export default {
158158
position: absolute;
159159
top: 0;
160160
left: 0;
161-
object-fit: cover;
162161
width: 100%;
163162
height: 100%;
163+
object-fit: cover;
164164
}
165165
}
166166

playground/components/organisms/VideoVimeo.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
v-font="[$getFont('Merriweather', 400)]"
44
class="video-vimeo"
55
>
6-
<speedkit-vimeo v-bind="$attrs">
6+
<booster-vimeo v-bind="$attrs">
77
<template #default="{ videoData }">
88
<div class="description" v-html="videoData && videoData.description" />
99
</template>
10-
</speedkit-vimeo>
10+
</booster-vimeo>
1111
</document-section>
1212
</template>
1313

1414
<script>
15-
import SpeedkitVimeo from '#speedkit/components/SpeedkitVimeo';
15+
import BoosterVimeo from '#booster/components/BoosterVimeo';
1616
1717
export default {
18-
components: { SpeedkitVimeo },
18+
components: { BoosterVimeo },
1919
2020
inheritAttrs: false,
2121

0 commit comments

Comments
 (0)