Skip to content

Commit

Permalink
Merge branch 'v8.x' into feature/722-bool-pluralization
Browse files Browse the repository at this point in the history
  • Loading branch information
Soviut committed Sep 16, 2024
2 parents 6b90c38 + deedf4e commit 1d19ace
Show file tree
Hide file tree
Showing 373 changed files with 31,663 additions and 35,001 deletions.
55 changes: 0 additions & 55 deletions .circleci/config.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
11 changes: 8 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ module.exports = {
parserOptions: {
ecmaVersion: 2018,
},
plugins: ['flowtype'],
plugins: ['flowtype', 'ie11', 'no-autofix'],
extends: [
'plugin:vue-libs/recommended',
'plugin:flowtype/recommended'
],
rules: {
'ie11/no-collection-args': [ 'error' ],
'ie11/no-for-in-const': [ 'error' ],
'ie11/no-loop-func': [ 'warn' ],
'ie11/no-weak-collections': [ 'error' ],
'prefer-const': 'off',
'no-autofix/prefer-const': 'warn',
'object-curly-spacing': ['error', 'always'],
'no-multiple-empty-lines': ['error', { max: 2, maxBOF: 1 }]
}
}
}
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.*/node_modules/.*
.*/docs/.*
.*/test/.*
.*/types/.*
.*/config/.*
.*/examples/.*

Expand Down
4 changes: 2 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# These are supported funding model platforms

github: kazupon
patreon: kazupon
patreon: # kazupon
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
issuehunt: kazupon
issuehunt: # kazupon
custom: # Replace with a single custom sponsorship URL
40 changes: 0 additions & 40 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

70 changes: 70 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: "\U0001F41E Bug report"
description: Report an issue
labels: ['Status: Review Needed']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: bug-description
attributes:
label: Reporting a bug?
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: Bug description
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: Expected behavior
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Reproduction
description: |
Please provide a link to a repo that can reproduce the problem you ran into. https://jsfiddle.net/kazupon/rn724baz/3/ A reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "Status: Need More Info" label. If no reproduction is provided after 5 days, it will be closed.
placeholder: Reproduction
validations:
required: true
- type: textarea
id: system-info
attributes:
label: System Info
description: Output of `npx envinfo --system --npmPackages '{vue*,@vue/*,vue-i18n*,@intlify/*,vite*,@vitejs/*}' --binaries --browsers`
render: shell
placeholder: System, Binaries, Browsers
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: Screenshot
description: If applicable, add screenshots to help explain your problem
placeholder: screnshot
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here
placeholder: more context here
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Read the [Contributing Guidelines](https://github.com/kazupon/vue-i18n/blob/v8.x/CONTRIBUTING.md)
required: true
- label: Read the [Documentation](https://kazupon.github.io/vue-i18n/)
required: true
- label: Check that there isn't [already an issue](https://github.com/kazupon/vue-i18n/issues) that reports the same bug to avoid creating a duplicate.
required: true
- label: Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/kazupon/vue-i18n/discussions)
required: true
- label: The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Discord Chat at Vue Land
url: https://chat.vuejs.org/
about: For simple beginner questions, you can get quick answers from Discord
- name: Questions & Discussions
url: https://github.com/kazupon/vue-i18n/discussions
about: Use GitHub discussions for message-board style questions and discussions.
44 changes: 44 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "\U0001F680 New feature proposal"
description: Propose a new feature
labels: ['Status: Proposal']
body:
- type: markdown
attributes:
value: |
Thanks for your interest in the project and taking the time to fill out this feature report!
- type: textarea
id: feature-description
attributes:
label: Clear and concise description of the problem
description: If you intend to submit a PR for this issue, tell us in the description. Thanks!
validations:
required: true
- type: textarea
id: suggested-solution
attributes:
label: Suggested solution
description: 'In module [xy] we could provide following implementation...'
validations:
required: true
- type: textarea
id: alternative
attributes:
label: Alternative
description: Clear and concise description of any alternative solutions or features you've considered.
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Any other context or screenshots about the feature request here.
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Read the [Contributing Guidelines](https://github.com/kazupon/vue-i18n/blob/v8.x/CONTRIBUTING.md)
required: true
- label: Read the [Documentation](https://kazupon.github.io/vue-i18n/)
required: true
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
required: true
Empty file removed .github/PULL_REQUEST_TEMPLATE.md
Empty file.
126 changes: 126 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: Test
on:
push:
branches-ignore:
- gh-pages
- releases/**
pull_request:
branches-ignore:
- gh-pages
- releases/**
types:
- opened
- synchronize
- reopened
env:
CI: true
TZ: Asia/Tokyo
CHROME_BIN: /usr/bin/google-chrome

jobs:
build:
name: "Build on Node.js ${{ matrix.node }} OS: ${{matrix.os}}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout codes
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node}}
cache: 'yarn'

- name: Install
run: yarn install --frozen-lockfile

- name: Build
run: yarn build

- name: Cache dist
uses: actions/cache@v3
with:
path: dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }}

lint:
name: "Lint on Node.js ${{ matrix.node }} OS: ${{matrix.os}}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout codes
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'

- name: Install
run: yarn install --frozen-lockfile

- name: Lint
run: yarn lint

test:
needs:
- build
name: "Test on Node.js ${{ matrix.node }} OS: ${{matrix.os}}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Setup google chrome
uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
- run: chrome --version

- name: Setup firefox
uses: browser-actions/setup-firefox@latest
with:
firefox-version: latest
- run: firefox --version

- name: Checkout codes
uses: actions/checkout@v3

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'yarn'

- name: Install
run: yarn install --frozen-lockfile

- name: Flow Types
run: yarn flow

- name: TS Types
run: yarn test:types

- name: Test Coverage
run: yarn test:cover

- name: Unit tests
run: yarn test:unit:ci

- name: Restore dist cache
uses: actions/cache@v3
with:
path: dist
key: ${{ matrix.os }}-node-v${{ matrix.node }}-${{ github.sha }}

- name: E2E Tests
run: xvfb-run --auto-servernum yarn test:e2e
Loading

0 comments on commit 1d19ace

Please sign in to comment.