Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JuroOravec committed Jul 28, 2024
1 parent 13d413b commit 3727360
Show file tree
Hide file tree
Showing 2,744 changed files with 432,318 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/.git_commit_msg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

# ------------------------ >8 ------------------------
# |<---- Using a Maximum Of 50 Characters ---->| Hard limit to 72 -->|
# <type>: <subject>
#
# <description>
#
# fixes #<issue>
#
# ----------------------------------------------------
#
# <type> can be
# feat (new feature)
# fix (bug fix)
# docs (documentation only)
# refactor (refactoring production code)
# style (formatting, missing semicolons, etc. no code change)
# test (adding or refactoring tests; no production code change)
# chore (updating npm scripts etc. no production code change)
# revert (revert a commit
# <subject> must be the reverted commit's title
# <description> must contain "This reverts commit <hash>.")
#
# Remember to
# Not capitalize the subject line
# Use the imperative mood in the subject line
# Do not end the subject line with a period
# Separate subject from body with a blank line (comments don't count)
# Use the body to explain what and why vs. how
#
# If you can't summarize your changes in a single line, they should
# probably be split into multiple commits
23 changes: 23 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Vuetify Contributing Guide
Hello and thank you for your interest in helping make Vuetify better. Please take a few moments to review the following guidelines:

## IMPORTANT INFORMATION
* A detailed guide on how to [develop in Vuetify](https://vuetifyjs.com/getting-started/contributing/) is located in the documentation.
* For general questions, please join [our Discord Community](https://community.vuetifyjs.com/).

## Reporting Issues
* Issues **not** created with https://issues.vuetifyjs.com/ will be immediately closed.
* The issue list of this repo is **exclusively** for Bug Reports and Feature Requests.
* Bug reproductions should be as **concise** as possible.
* **Search** for your issue, it _may_ have been answered.
* See if the error is **reproduceable** with the latest version.
* If reproduceable, please provide a [Codepen](https://template.vuetifyjs.com) or public repository that can be cloned to produce the expected behavior. It is preferred that you create an initial commit with no changes first, then another one that will cause the issue.
* **Never** comment "+1" or "me too!" on issues without leaving additional information, use the :+1: button in the top right instead.

## Pull Requests
* Always work on a new branch. Making changes on your fork's `dev` or `master` branch can cause problems. (See [The beginner's guide to contributing to a GitHub project](https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/))
* Bug fixes should be submitted to the `master` branch.
* New features and breaking changes should be submitted to the `dev` branch.
* Use a descriptive title no more than 64 characters long. This will be used as the commit message when your PR is merged.
* For changes and feature requests, please include an example of what you are trying to solve and an example of the markup. It is preferred that you create an issue first however, as that will allow the team to review your proposal before you start.
* Please reference the issue # that the PR resolves, something like `Fixes #1234` or `Resolves #6458` (See [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
8 changes: 8 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# These are supported funding model platforms

github: [johnleider, KaelWD, MajesticPotatoe, yuwu9145]
patreon: vuetify
open_collective: vuetify
ko_fi: # Replace with a single Ko-fi username
tidelift: npm/vuetify
custom: # Replace with a single custom sponsorship URL
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Vuetify Issue Creator
url: https://issues.vuetifyjs.com
about: Create Vuetify issues here.
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
MAKE SURE TO READ THE CONTRIBUTING GUIDE BEFORE CREATING A PR
https://vuetifyjs.com/getting-started/contributing
Provide a general summary of your changes in the title above
Keep the title short and descriptive, as it will be used as a commit message
PR titles should follow conventional-changelog-angular:
https://vuetifyjs.com/getting-started/contributing/#commit-guidelines
-->

## Description
<!--
Describe your changes in detail. Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
e.g. resolves #4213 or fixes #2312
-->

## Markup:
<!--
Information on how to set up your local development environment can be found here:
https://vuetifyjs.com/getting-started/contributing/#setting-up-your-environment
Remove this section for documentation or test-only changes.
-->

<!-- Paste your FULL packages/vuetify/dev/Playground.vue here --->
```vue
```
31 changes: 31 additions & 0 deletions .github/actions/download-artifact/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Download artifact
description: Wrapper around GitHub's official action, with additional extraction before download
# https://github.com/actions/upload-artifact/issues/199#issuecomment-1516555821

inputs:
name:
description: Artifact name
required: true
path:
description: Destination path
required: false
default: .

runs:
using: composite
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}

- name: Extract artifacts
run: tar -xvf ${{ inputs.name }}.tar
shell: bash
working-directory: ${{ inputs.path }}

- name: Remove archive
run: rm -f ${{ inputs.name }}.tar
shell: bash
working-directory: ${{ inputs.path }}
42 changes: 42 additions & 0 deletions .github/actions/download-locales/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Download translations
description: Download translations from Crowdin

inputs:
crowdin-branch:
description: 'Crowdin branch name'
required: false
default: 'v3'

runs:
using: composite
steps:
- name: Download eo-UY
uses: crowdin/[email protected]
with:
download_language: eo
config: crowdin.yml
upload_sources: false
download_translations: true
push_translations: false
export_only_approved: false
crowdin_branch_name: ${{ inputs.crowdin-branch }}
- name: Download ja-JP
uses: crowdin/[email protected]
with:
download_language: ja
config: crowdin.yml
upload_sources: false
download_translations: true
push_translations: false
export_only_approved: false
crowdin_branch_name: ${{ inputs.crowdin-branch }}
- name: Download zh-CN
uses: crowdin/[email protected]
with:
download_language: zh-CN
config: crowdin.yml
upload_sources: false
download_translations: true
push_translations: false
export_only_approved: false
crowdin_branch_name: ${{ inputs.crowdin-branch }}
69 changes: 69 additions & 0 deletions .github/actions/nightly-release/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Nightly Release
description: Automatically release nightly builds

inputs:
checkout-repo:
description: 'Repository to checkout'
required: true
checkout-ref:
description: 'Ref to checkout'
required: true
release-id:
description: 'Release ID'
required: true
npm-tag:
description: 'NPM tag'
required: true
npm-token:
description: 'NPM token'
required: true

outputs:
full-version:
description: 'Full version'
value: ${{ steps.get-version.outputs.full-version }}

runs:
using: composite
steps:
- run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
shell: bash
- uses: actions/checkout@v4
with:
repository: ${{ inputs.checkout-repo }}
ref: ${{ inputs.checkout-ref }}
fetch-depth: 0
- uses: ./.github/actions/yarn-install
- run: >-
node -e "
const json = require('./lerna.json');
delete json.command.publish.allowBranch;
fs.writeFileSync('./lerna.json', JSON.stringify(json, null, 2))"
shell: bash
- id: get-version
run: echo "full-version=$(node -e "console.log(require('./lerna.json').version)")-${{ inputs.release-id }}" >> $GITHUB_OUTPUT
shell: bash
- run: yarn lerna version ${{ steps.get-version.outputs.full-version }} --no-push --no-commit-hooks --force-publish --yes
shell: bash
- run: yarn conventional-changelog -p angular --outfile ./packages/vuetify/CHANGELOG.md -r 2
shell: bash
- run: >-
node -e "fs.writeFileSync(
'./package.json',
JSON.stringify({ ...require('./package.json'), name: '@vuetify/nightly' }, null, 2)
)"
shell: bash
working-directory: ./packages/vuetify
- run: yarn lerna run build --scope @vuetify/nightly
shell: bash
- run: yarn lerna run build --scope @vuetify/api-generator
shell: bash
- name: NPM Release
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_API_KEY:?}
npm publish ./packages/vuetify --tag ${{ inputs.npm-tag }} --access public
shell: bash
env:
NPM_API_KEY: ${{ inputs.npm-token }}
46 changes: 46 additions & 0 deletions .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Upload artifact
description: Wrapper around GitHub's official action, with additional archiving before upload
# https://github.com/actions/upload-artifact/issues/199#issuecomment-1516555821

inputs:
name:
description: Artifact name
required: true
path:
description: A file, directory or wildcard pattern that describes what to upload
required: true
if-no-files-found:
description: >
The desired behavior if no files are found using the provided path.
Available Options:
warn: Output a warning but do not fail the action
error: Fail the action with an error message
ignore: Do not output any warnings or errors, the action does not fail
required: false
default: warn
retention-days:
description: >
Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day.
Maximum 90 days unless changed from the repository settings page.
required: false
default: '0'

runs:
using: composite
steps:
- name: Archive artifacts
run: tar -cvf ${{ inputs.name }}.tar ${{ inputs.path }}
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
if-no-files-found: ${{ inputs.if-no-files-found }}
name: ${{ inputs.name }}
path: ${{ inputs.name }}.tar
retention-days: ${{ inputs.retention-days }}

- name: Remove archive
run: rm -f ${{ inputs.name }}.tar
shell: bash
17 changes: 17 additions & 0 deletions .github/actions/yarn-install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Yarn install
description: Restore node_modules and cache, then run yarn install

runs:
using: composite
steps:
- uses: actions/cache@v4
with:
path: |
node_modules
**/node_modules
/home/runner/.config/yarn
/home/runner/.cache/yarn
/home/runner/.cache/Cypress
key: yarn-${{ runner.os }}-${{ hashFiles('./yarn.lock') }}
- run: yarn --frozen-lockfile --non-interactive
shell: bash
13 changes: 13 additions & 0 deletions .github/issue-close-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
comment: "Please only create issues with the provided [issue creator](https://issues.vuetifyjs.com). In the boilerplate for creating an issue, it explains that any ticket made without this will be automatically closed. For general questions, please join [the Discord chat room](https://community.vuetifyjs.com). You can also check [reddit](https://www.reddit.com/r/vuetifyjs/) or [stackoverflow](https://stackoverflow.com/questions/tagged/vuetify.js). Thank you."
issueConfigs:
- content:
- "<!-- generated by vuetify-issue-helper. DO NOT REMOVE -->"
- content:
- "<!-- override-close -->"
label: "invalid"
exception:
- "johnleider"
- "KaelWD"
- "MajesticPotatoe"
- "jacekkarczmarczyk"
- "nekosaur"
6 changes: 6 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
daysUntilLock: 365
lockComment: false

pulls:
daysUntilLock: 30
exemptLabels: ['S: on hold', 'S: work in progress']
1 change: 1 addition & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
titleOnly: true
5 changes: 5 additions & 0 deletions .github/sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- label: 'P: sponsor'
members:

- label: 'P: elite sponsor'
members:
Loading

0 comments on commit 3727360

Please sign in to comment.