Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# See Dependabot documentation for all configuration options:
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
all-github-actions:
patterns: [ "*" ]
reviewers:
- "stuartmorgan"
labels:
- "team"
- "team: infra"
- "autosubmit"
# Updating patch versions for "github-actions" is too chatty.
# See https://github.com/flutter/flutter/issues/158350.
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

# Android example apps.
- package-ecosystem: "gradle"
directories:
- /packages/vector_math/example/android/app
commit-message:
prefix: "[dependabot]"
schedule:
interval: "weekly"
labels:
- "autosubmit"
open-pull-requests-limit: 10
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
9 changes: 9 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'p: vactor_math':
- changed-files:
- any-glob-to-any-file:
- packages/vector_math/**/*

'triage-framework':
- changed-files:
- any-glob-to-any-file:
- packages/vector_math/**/*
27 changes: 27 additions & 0 deletions .github/workflows/pull_request_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow applies labels to pull requests based on the
# paths that are modified in the pull request.
#
# Edit `.github/labeler.yml` and `.github/post_merge_labeler.yml`
# to configure labels.
#
# For more information, see: https://github.com/actions/labeler

name: Pull Request Labeler

on:
pull_request_target:
types: [opened, synchronize, reopened, closed]

# Declare default permissions as read only.
permissions: read-all

jobs:
label:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@f27b608878404679385c85cfa523b85ccb86e213
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
30 changes: 30 additions & 0 deletions .repo_tool_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Repo-specific configuration for the flutter_plugin_tools repository tooling.

repo_name: flutter/core-packages

# The minimum Dart version that can be used as the minimum SDK constraint
# by packages in this repository. For example, if this is set to 3.10.0, then a
# package can have a minimum SDK version of 3.10.0, 3.11.0, 3.12.0, etc., but
# not 3.9.0.
#
# The major and minor version here should match the lowest version analyzed
# in legacy version analysis.
# TODO(stuartmorgan): Set up legacy analysis in this repo. For now this matches
# the N-2 used in flutter/packages, but we aren't actually testing N-1 or N-2.
min_dart: '3.10.0'

# The list of external packages that are allowed as dependencies.
# All entries here must have an explanation for why they are here. See
# https://github.com/flutter/flutter/blob/master/docs/ecosystem/contributing/README.md#Dependencies
allowed_dependencies:
# Dependencies that can be unpinned. Package should only ever be added here if
# we fully trust the package's development and publishing process.
unpinned:
## Allowed by default:
# Dart-team-owned packages
- benchmark_harness
- build_runner
- build_test
- build_web_compilers
- path
- test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ These are the packages hosted in this repository:

| Package | Pub | Points | Usage | Issues | Pull requests |
|---------|-----|--------|-------|--------|---------------|
| [vector\_math](./packages/vector_math/) | [![pub package](https://img.shields.io/pub/v/vector_math.svg)](https://pub.dev/packages/vector_math) | [![pub points](https://img.shields.io/pub/points/vector_math)](https://pub.dev/packages/vector_math/score) | [![downloads](https://img.shields.io/pub/dm/vector_math)](https://pub.dev/packages/vector_math/score) | [![GitHub issues by-label](https://img.shields.io/github/issues/flutter/flutter/p%3A%20vector_math?label=)](https://github.com/flutter/flutter/labels/p%3A%20vector_math) | [![GitHub pull requests by-label](https://img.shields.io/github/issues-pr/flutter/packages/p%3A%20vector_math?label=)](https://github.com/flutter/packages/labels/p%3A%20vector_math) |
| [vector\_math](./packages/vector_math/) | [![pub package](https://img.shields.io/pub/v/vector_math.svg)](https://pub.dev/packages/vector_math) | [![pub points](https://img.shields.io/pub/points/vector_math)](https://pub.dev/packages/vector_math/score) | [![downloads](https://img.shields.io/pub/dm/vector_math)](https://pub.dev/packages/vector_math/score) | [![GitHub issues by-label](https://img.shields.io/github/issues/flutter/flutter/p%3A%20vector_math?label=)](https://github.com/flutter/flutter/labels/p%3A%20vector_math) | [![GitHub pull requests by-label](https://img.shields.io/github/issues-pr/flutter/core-packages/p%3A%20vector_math?label=)](https://github.com/flutter/core-packages/labels/p%3A%20vector_math) |
1 change: 1 addition & 0 deletions packages/vector_math/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Remove the deprecated `SimplexNoise` class.
- Optimized the `identity` constructors on the `Matrix` classes.
- Require Dart 3.10.0 or greater.

## 2.3.0

Expand Down
4 changes: 2 additions & 2 deletions packages/vector_math/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ void main() {

To run the unit tests:

```
```sh
~/src/vector_math/> dart test
```

To automatically generate the latest version of `vector_math_64`:

```
```sh
~/src/vector_math/> dart tool/generate_vector_math_64.dart
```
2 changes: 2 additions & 0 deletions packages/vector_math/ci_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# TODO(stuartmorgan): Remove this; see https://github.com/flutter/flutter/issues/102679
exempt_from_excerpts: true
10 changes: 7 additions & 3 deletions packages/vector_math/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: vector_math
description: A vector math library for 2D and 3D applications, supporting 2D, 3D, and 4D matrices.
repository: https://github.com/flutter/core-packages/tree/main/packages/vector_math
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+vector_math%22
version: 2.4.0-wip
description: A Vector Math library for 2D and 3D applications.
repository: https://github.com/google/vector_math.dart

environment:
sdk: ^3.7.0
sdk: ^3.10.0

dev_dependencies:
benchmark_harness: ^2.0.0
Expand All @@ -16,3 +17,6 @@ dev_dependencies:
build_web_compilers: ^4.1.1
path: ^1.9.0
test: ^1.25.9

topics:
- math
Loading