-
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.
- Loading branch information
Showing
57 changed files
with
17,078 additions
and
108 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,7 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
indent_size = 4 |
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,53 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ['main'] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: 'pages' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Set up Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'npm' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Build | ||
env: | ||
repo: ${{ github.event.repository.name }} | ||
run: npm run build --repository=/${{ env.repo }}/ | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
# Upload dist repository | ||
path: './dist' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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,2 @@ | ||
/node_modules | ||
/dist |
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 |
---|---|---|
@@ -1,9 +1,19 @@ | ||
image: node:18.16.0 | ||
pages: | ||
stage: deploy | ||
cache: | ||
key: | ||
files: | ||
- package-lock.json | ||
prefix: npm | ||
paths: | ||
- node_modules/ | ||
script: | ||
- mkdir .public | ||
- cp -r * .public | ||
- mv .public public | ||
- npm install | ||
- npm run build --repository=$CI_PROJECT_NAME | ||
- cp -a dist/. public/ | ||
artifacts: | ||
paths: | ||
- public | ||
- public | ||
rules: | ||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH |
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,11 @@ | ||
{ | ||
"tabWidth": 1, | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"semi": true, | ||
"printWidth": 80, | ||
"proseWrap": "always", | ||
"arrayBracketSpacing": false, | ||
"plugins": ["@prettier/plugin-php"] | ||
} | ||
|
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 |
---|---|---|
@@ -1 +1,37 @@ | ||
You can access this tool through [Github URL](https://nuckle.github.io/minecraft-offline-uuid-generator/) and [Gitlab URL](https://w973.gitlab.io/minecraft-offline-uuid-generator/) | ||
# Minecraft Offline UUID Generator | ||
|
||
|
||
|
||
## Preview | ||
|
||
![image_2024-01-22-11-47-03](img/image_2024-01-22-11-47-03.png) | ||
|
||
You can view the page using one of the following URLs: | ||
|
||
- [Github URL](https://nuckle.github.io/minecraft-offline-uuid-generator/) | ||
- [Gitlab URL](https://w973.gitlab.io/minecraft-offline-uuid-generator/) | ||
|
||
## Features | ||
|
||
- supports different syntax (plain text/json) | ||
- ability to download output | ||
- can be locally installed using PWA | ||
|
||
## Requirements | ||
|
||
- `Node.JS` 18.x.x | ||
- `git` | ||
|
||
## Build | ||
|
||
```sh | ||
$ git clone https://gitlab.com/w973/minecraft-offline-uuid-generator.git # or https://nuckle.github.io/minecraft-offline-uuid-generator/ | ||
$ cd minecraft-offline-uuid-generator/ | ||
$ npm install i | ||
$ npm run build | ||
``` | ||
|
||
Your build will be at `dist` directory | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.