-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from PxaMMaxP/dev/link-trash-calender-arnsberg
Download link added.
- Loading branch information
Showing
7 changed files
with
135 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
//bump-version.js | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
|
||
const packageJsonPath = path.join(__dirname, 'package.json'); | ||
const packageJson = require(packageJsonPath); | ||
|
||
// Bestimmen des Versionsteils, der erhöht werden soll | ||
const versionPart = process.argv[2]; // 'major', 'minor', 'patch' | ||
|
||
let versionParts = packageJson.version.split('.').map(part => parseInt(part)); | ||
|
||
switch (versionPart) { | ||
case 'major': | ||
versionParts[0]++; | ||
versionParts[1] = 0; | ||
versionParts[2] = 0; | ||
break; | ||
case 'minor': | ||
versionParts[1]++; | ||
versionParts[2] = 0; | ||
break; | ||
case 'patch': | ||
default: | ||
versionParts[2]++; | ||
break; | ||
} | ||
|
||
packageJson.version = versionParts.join('.'); | ||
|
||
// Zurückschreiben der package.json | ||
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); | ||
console.log(`Version updated to ${packageJson.version}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//copy-release-docs.js | ||
// Zweck: Kopiert die Dateien aus dem Ordner "public" in den Ordner "docs" und die Datei "dist/bundle.js" in den Ordner "docs/bundle.js" | ||
const copy = require('fs-extra').copy; | ||
|
||
// Funktion zum Kopieren von Dateien | ||
async function copyFiles() { | ||
try { | ||
await copy('public', 'docs'); | ||
await copy('dist/bundle.js', 'docs/bundle.js'); | ||
console.log('Dateien erfolgreich kopiert.'); | ||
} catch (error) { | ||
console.error('Fehler beim Kopieren der Dateien:', error); | ||
} | ||
} | ||
|
||
// Kopiervorgang starten | ||
copyFiles(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.github-corner:hover .octo-arm { | ||
animation: octocat-wave 560ms ease-in-out | ||
} | ||
|
||
@keyframes octocat-wave { | ||
|
||
0%, | ||
100% { | ||
transform: rotate(0) | ||
} | ||
|
||
20%, | ||
60% { | ||
transform: rotate(-25deg) | ||
} | ||
|
||
40%, | ||
80% { | ||
transform: rotate(10deg) | ||
} | ||
} | ||
|
||
@media (max-width:500px) { | ||
.github-corner:hover .octo-arm { | ||
animation: none | ||
} | ||
|
||
.github-corner .octo-arm { | ||
animation: octocat-wave 560ms ease-in-out | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters