scratch-paint 4.0.21 → 4.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy.yml +3 -3
- package/.github/workflows/update-l10n.yml +2 -2
- package/.nvmrc +1 -1
- package/dist/scratch-paint.js +108 -122
- package/dist/scratch-paint.js.map +1 -1
- package/eslint.config.mjs +61 -0
- package/package.json +6 -8
- package/scripts/build-i18n-source.js +1 -1
- package/src/components/paint-editor/paint-editor.jsx +2 -2
- package/src/containers/mode-tools.jsx +3 -3
- package/src/helper/bit-tools/brush-tool.js +1 -1
- package/src/helper/bit-tools/fill-tool.js +1 -1
- package/src/helper/bit-tools/line-tool.js +3 -3
- package/src/helper/bit-tools/oval-tool.js +1 -1
- package/src/helper/bit-tools/rect-tool.js +1 -1
- package/src/helper/bit-tools/select-tool.js +2 -2
- package/src/helper/bitmap.js +13 -15
- package/src/helper/blob-tools/broad-brush-helper.js +1 -2
- package/src/helper/blob-tools/segment-brush-helper.js +4 -5
- package/src/helper/group.js +14 -16
- package/src/helper/hover.js +1 -1
- package/src/helper/layer.js +5 -5
- package/src/helper/math.js +1 -1
- package/src/helper/selection-tools/bounding-box-tool.js +5 -5
- package/src/helper/selection-tools/handle-tool.js +2 -2
- package/src/helper/selection-tools/move-tool.js +3 -3
- package/src/helper/selection-tools/nudge-tool.js +2 -2
- package/src/helper/selection-tools/point-tool.js +1 -1
- package/src/helper/selection-tools/reshape-tool.js +7 -7
- package/src/helper/selection-tools/rotate-tool.js +1 -1
- package/src/helper/selection-tools/scale-tool.js +3 -3
- package/src/helper/selection-tools/select-tool.js +3 -3
- package/src/helper/selection.js +19 -19
- package/src/helper/snapping.js +2 -2
- package/src/helper/style-path.js +8 -8
- package/src/helper/tools/fill-tool.js +1 -1
- package/src/helper/tools/oval-tool.js +1 -1
- package/src/helper/tools/rect-tool.js +1 -1
- package/src/helper/tools/rounded-rect-tool.js +2 -2
- package/src/helper/tools/text-tool.js +4 -4
- package/src/helper/view.js +9 -10
- package/src/playground/playground.jsx +28 -25
- package/src/playground/reducers/intl.js +1 -2
- package/src/reducers/cursor.js +1 -1
- package/src/reducers/hover.js +1 -1
- package/src/reducers/layout.js +1 -1
- package/src/reducers/selected-items.js +1 -1
- package/src/reducers/text-edit-target.js +1 -1
- package/src/reducers/undo.js +2 -2
- package/src/reducers/view-bounds.js +1 -1
- package/.eslintignore +0 -4
- package/.eslintrc.js +0 -3
- package/src/.eslintrc.js +0 -24
- package/tmp.js +0 -0
|
@@ -21,10 +21,10 @@ jobs:
|
|
|
21
21
|
env:
|
|
22
22
|
TRIGGER_DEPLOY: ${{ startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/hotfix') || startsWith(github.ref, 'refs/heads/develop') || startsWith(github.ref, 'refs/heads/beta') }}
|
|
23
23
|
steps:
|
|
24
|
-
- uses: actions/checkout@
|
|
25
|
-
- uses: wagoid/commitlint-github-action@
|
|
24
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
25
|
+
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
|
|
26
26
|
if: github.event_name == 'pull_request'
|
|
27
|
-
- uses: actions/setup-node@
|
|
27
|
+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
|
|
28
28
|
with:
|
|
29
29
|
cache: "npm"
|
|
30
30
|
node-version-file: ".nvmrc"
|
|
@@ -16,10 +16,10 @@ jobs:
|
|
|
16
16
|
update-tx:
|
|
17
17
|
runs-on: ubuntu-latest
|
|
18
18
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
19
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
20
20
|
with:
|
|
21
21
|
ref: 'develop'
|
|
22
|
-
- uses: actions/setup-node@
|
|
22
|
+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
|
|
23
23
|
with:
|
|
24
24
|
cache: 'npm'
|
|
25
25
|
node-version-file: '.nvmrc'
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20.19.5
|