-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New controllers: - [x] Launchpad Mini Mk3 support thanks to @chrneumann New features & improvements: - [x] Introduce a JSON compatible declarative configuration of layouts to make preset authoring easier - [x] Sampler palette layout - [x] Basic RGB LED support for HOTCUEs - [x] RGB LED support for samplers - [x] Library maximize / minimize button Fixes: - [x] Loopjump and beatjump modifiers work more consistently with the rest of the controls - [x] Fixed retain attack mode bug causing incorrect behavior when shift/control changed between attack/release Breaking changes: - [x] Drop compatibility with Mixxx < 2.4 (old JS engine) Developers: - [x] Completely rewrite in TypeScript, ES2022 - [x] Simplify the code a lot, especially around Presets. - [x] Remove lodash from dependencies, switched to using corejs polyfills. - [x] Remove 'standard' style, using prettier for formatting - [x] Using `engine.makeConnection` API to register control listeners - [x] Refactor and moved `Component` and `MidiDevice` into `mixxx` package - [x] Using ES modules and top-level await in tooling scripts - [x] Update tooling to Node.js 18 --------- Co-authored-by: Christian Neumann <[email protected]> Contains BREAKING CHANGE
- Loading branch information
1 parent
11a15c8
commit b3ec92f
Showing
128 changed files
with
6,207 additions
and
15,824 deletions.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
dist | ||
node_modules | ||
flow-typed |
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,57 +1,9 @@ | ||
env: | ||
node: true | ||
es6: true | ||
|
||
extends: standard | ||
parser: "@babel/eslint-parser" | ||
extends: | ||
- prettier | ||
- 'plugin:@typescript-eslint/recommended' | ||
parser: '@typescript-eslint/parser' | ||
plugins: | ||
- import | ||
- flowtype | ||
- '@typescript-eslint' | ||
rules: | ||
# sort-imports: error | ||
import/no-duplicates: error | ||
no-duplicate-imports: off # see https://github.com/babel/eslint-plugin-babel/issues/59 | ||
flowtype/boolean-style: | ||
- 2 | ||
- boolean | ||
flowtype/define-flow-type: 1 | ||
flowtype/delimiter-dangle: | ||
- 2 | ||
- never | ||
flowtype/generic-spacing: | ||
- 2 | ||
- never | ||
flowtype/no-primitive-constructor-types: 2 | ||
# flowtype/no-weak-types: 2 | ||
flowtype/object-type-delimiter: | ||
- 2 | ||
- comma | ||
# flowtype/require-parameter-type: 2 | ||
# flowtype/require-return-type: | ||
# - 2 | ||
# - always | ||
# - annotateUndefined: never | ||
flowtype/require-valid-file-annotation: 2 | ||
flowtype/semi: | ||
- 2 | ||
- never | ||
flowtype/space-after-type-colon: | ||
- 2 | ||
- always | ||
flowtype/space-before-generic-bracket: | ||
- 2 | ||
- never | ||
flowtype/space-before-type-colon: | ||
- 2 | ||
- never | ||
flowtype/type-id-match: | ||
- 2 | ||
- "^([A-Z][a-z0-9]+)+$" | ||
flowtype/union-intersection-spacing: | ||
- 2 | ||
- always | ||
flowtype/use-flow-type: 1 | ||
flowtype/valid-syntax: 1 | ||
settings: | ||
flowtype: | ||
onlyFilesWithFlowAnnotation: false | ||
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }] | ||
no-warning-comments: warn |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/dist | ||
**/node_modules | ||
**/tmp |
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,4 @@ | ||
trailingComma: 'all' | ||
semi: false | ||
singleQuote: true | ||
tabWidth: 2 |
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,23 +1,23 @@ | ||
branches: | ||
- master | ||
- master | ||
plugins: | ||
- - "@semantic-release/commit-analyzer" | ||
- - '@semantic-release/commit-analyzer' | ||
- preset: conventionalcommits | ||
parserOpts: | ||
mergePattern: 'Merge pull request #(.*) from (.*)$' | ||
mergeCorrespondence: | ||
- pr | ||
- branch | ||
- - "@semantic-release/release-notes-generator" | ||
- - '@semantic-release/release-notes-generator' | ||
- preset: conventionalcommits | ||
parserOpts: | ||
mergePattern: 'Merge pull request #(.*) from (.*)$' | ||
mergeCorrespondence: | ||
- pr | ||
- branch | ||
- - "@semantic-release/exec" | ||
- - '@semantic-release/exec' | ||
- prepareCmd: make release builddir=dist/release version=${nextRelease.version} | ||
- - "@semantic-release/github" | ||
- - '@semantic-release/github' | ||
- assets: | ||
- path: dist/release/*.zip | ||
label: Mixxx distribution | ||
- path: dist/release/*.zip | ||
label: Mixxx distribution |
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 @@ | ||
ARG WORKDIR=/mixxx-launchpad | ||
ARG UID=65532 | ||
|
||
FROM node:current-alpine AS deps | ||
RUN apk add jq make bash | ||
ARG WORKDIR | ||
ARG UID | ||
USER $UID | ||
WORKDIR $WORKDIR | ||
COPY <<-EOF $WORKDIR/.npmrc | ||
cache=$WORKDIR/.npm | ||
EOF | ||
COPY package.json package-lock.json . | ||
COPY packages/mixxx/package.json packages/mixxx/package.json | ||
COPY packages/app/package.json packages/app/package.json | ||
COPY packages/mk1/package.json packages/mk1/package.json | ||
COPY packages/mk2/package.json packages/mk2/package.json | ||
COPY packages/mini-mk3/package.json packages/mini-mk3/package.json | ||
RUN --mount=type=cache,target=$WORKDIR/.npm,uid=$UID npm ci | ||
|
||
FROM deps as build | ||
COPY Makefile babel.config.js tsconfig.json . | ||
COPY scripts scripts | ||
COPY packages packages | ||
RUN --mount=type=cache,target=$WORKDIR/dist,uid=$UID make | ||
|
||
FROM scratch as dist | ||
ARG WORKDIR | ||
ARG UID | ||
USER $UID | ||
COPY --from=build --chown=$UID $WORKDIR/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
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
Oops, something went wrong.