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
563 changes: 264 additions & 299 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions packages/scratch-gui/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@scratch/scratch-gui",
"name": "@smalruby/scratch-gui",
"version": "12.3.1",
"description": "Graphical User Interface for creating and running Scratch 3.0 projects",
"author": "Massachusetts Institute of Technology",
"author": "Ruby Programming Shounendan",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/scratchfoundation/scratch-gui#readme",
"homepage": "https://github.com/smalruby/smalruby3-editor#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-editor.git"
"url": "https://github.com/smalruby/smalruby3-editor.git"
},
"main": "./dist/scratch-gui.js",
"types": "./dist/types/index.d.ts",
Expand Down Expand Up @@ -66,9 +66,9 @@
"@microbit/microbit-universal-hex": "0.2.2",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-context-menu": "2.2.16",
"@scratch/scratch-render": "12.3.1",
"@scratch/scratch-svg-renderer": "12.3.1",
"@scratch/scratch-vm": "12.3.1",
"@smalruby/scratch-render": "12.3.1",
"@smalruby/scratch-svg-renderer": "12.3.1",
"@smalruby/scratch-vm": "12.3.1",
"@tensorflow-models/face-detection": "1.0.3",
"@tensorflow/tfjs": "4.22.0",
"@testing-library/user-event": "14.6.1",
Expand Down Expand Up @@ -213,7 +213,7 @@
"src/test.js"
],
"moduleNameMapper": {
"^@scratch/scratch-vm/(.*)$": "<rootDir>/../scratch-vm/$1",
"^@smalruby/scratch-vm/(.*)$": "<rootDir>/../scratch-vm/$1",
"^scratch-vm/(.*)$": "<rootDir>/../scratch-vm/$1",
"opal": "<rootDir>/opal/opal.min.js",
"opal-parser": "<rootDir>/opal/opal-parser.min.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/scratch-gui/test/helpers/expect-to-equal-blocks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Blocks from '@scratch/scratch-vm/src/engine/blocks';
import Variable from '@scratch/scratch-vm/src/engine/variable';
import Blocks from '@smalruby/scratch-vm/src/engine/blocks';
import Variable from '@smalruby/scratch-vm/src/engine/variable';
import RubyToBlocksConverter from '../../src/lib/ruby-to-blocks-converter';

// for debug
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {PLATFORM} from '../../../src/lib/platform';

import configureStore from 'redux-mock-store';
import {Provider} from 'react-redux';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';

describe('MenuBar Component', () => {
const store = configureStore()({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {renderWithIntl} from '../../helpers/intl-helpers.jsx';
import configureStore from 'redux-mock-store';
import {Provider} from 'react-redux';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';

import SpriteSelectorItemContainer from '../../../src/containers/sprite-selector-item';
import {legacyConfig} from '../../../src/legacy-config';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'web-audio-test-api';

import React from 'react';
import configureStore from 'redux-mock-store';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';
import {LoadingState} from '../../../src/reducers/project-state';
import CloudProvider from '../../../src/lib/cloud-provider';
import {render} from '@testing-library/react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import defineDynamicBlock from '../../../src/lib/define-dynamic-block';

import BlockType from '@scratch/scratch-vm/src/extension-support/block-type';
import BlockType from '@smalruby/scratch-vm/src/extension-support/block-type';

const MockScratchBlocks = {
OUTPUT_SHAPE_HEXAGONAL: 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import configureStore from 'redux-mock-store';
import {render} from '@testing-library/react';
import {LoadingState} from '../../../src/reducers/project-state';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';
import {legacyConfig} from '../../../src/legacy-config';

import projectSaverHOC from '../../../src/lib/project-saver-hoc.jsx';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from 'react';
import configureStore from 'redux-mock-store';
import {renderWithIntl} from '../../helpers/intl-helpers.jsx';
import {LoadingState} from '../../../src/reducers/project-state';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';

import SBFileUploaderHOC from '../../../src/lib/sb-file-uploader-hoc.jsx';
import {IntlProvider} from 'react-intl';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import configureStore from 'redux-mock-store';
import {render} from '@testing-library/react';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';

import vmListenerHOC from '../../../src/lib/vm-listener-hoc.jsx';
import '@testing-library/jest-dom';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WebAudioTestAPI.setState({
import React from 'react';
import configureStore from 'redux-mock-store';
import {render} from '@testing-library/react';
import VM from '@scratch/scratch-vm';
import VM from '@smalruby/scratch-vm';
import {LoadingState} from '../../../src/reducers/project-state';

import vmManagerHOC from '../../../src/lib/vm-manager-hoc.jsx';
Expand Down
10 changes: 5 additions & 5 deletions packages/scratch-gui/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const buildConfig = baseConfig.clone()
...commonHtmlWebpackPluginOptions,
chunks: ['gui'],
template: 'src/playground/index.ejs',
title: 'Scratch 3.0 GUI',
title: 'Smalruby',
originTrials: JSON.parse(fs.readFileSync('origin-trials.json')),
pwa: process.env.NODE_ENV === 'production'
}))
Expand All @@ -219,7 +219,7 @@ const buildConfig = baseConfig.clone()
chunks: ['guistandalone'],
filename: 'standalone.html',
template: 'src/playground/index.ejs',
title: 'Scratch 3.0 GUI: Standalone Mode',
title: 'Smalruby: Standalone Mode',
originTrials: JSON.parse(fs.readFileSync('origin-trials.json')),
pwa: process.env.NODE_ENV === 'production'
}))
Expand All @@ -228,7 +228,7 @@ const buildConfig = baseConfig.clone()
chunks: ['blocksonly'],
filename: 'blocks-only.html',
template: 'src/playground/index.ejs',
title: 'Scratch 3.0 GUI: Blocks Only Example',
title: 'Smalruby: Blocks Only Example',
originTrials: JSON.parse(fs.readFileSync('origin-trials.json')),
pwa: process.env.NODE_ENV === 'production'
}))
Expand All @@ -237,7 +237,7 @@ const buildConfig = baseConfig.clone()
chunks: ['compatibilitytesting'],
filename: 'compatibility-testing.html',
template: 'src/playground/index.ejs',
title: 'Scratch 3.0 GUI: Compatibility Testing',
title: 'Smalruby: Compatibility Testing',
originTrials: JSON.parse(fs.readFileSync('origin-trials.json')),
pwa: process.env.NODE_ENV === 'production'
}))
Expand All @@ -246,7 +246,7 @@ const buildConfig = baseConfig.clone()
chunks: ['player'],
filename: 'player.html',
template: 'src/playground/index.ejs',
title: 'Scratch 3.0 GUI: Player Example',
title: 'Smalruby: Player Example',
originTrials: JSON.parse(fs.readFileSync('origin-trials.json')),
pwa: process.env.NODE_ENV === 'production'
}))
Expand Down
10 changes: 5 additions & 5 deletions packages/scratch-render/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@scratch/scratch-render",
"name": "@smalruby/scratch-render",
"version": "12.3.1",
"description": "WebGL Renderer for Scratch 3.0",
"author": "Massachusetts Institute of Technology",
"author": "Ruby Programming Shounendan",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/scratchfoundation/scratch-render#readme",
"homepage": "https://github.com/smalruby/smalruby3-editor#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-editor.git"
"url": "https://github.com/smalruby/smalruby3-editor.git"
},
"main": "./dist/node/scratch-render.js",
"exports": {
Expand Down Expand Up @@ -46,7 +46,7 @@
"iOS >= 8"
],
"dependencies": {
"@scratch/scratch-svg-renderer": "12.3.1",
"@smalruby/scratch-svg-renderer": "12.3.1",
"grapheme-breaker": "0.3.2",
"hull.js": "0.2.10",
"ify-loader": "1.1.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/scratch-svg-renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@scratch/scratch-svg-renderer",
"name": "@smalruby/scratch-svg-renderer",
"version": "12.3.1",
"description": "SVG renderer for Scratch",
"main": "./dist/node/scratch-svg-renderer.js",
Expand All @@ -25,12 +25,12 @@
"test:unit": "tap ./test/*.js",
"watch": "webpack --watch"
},
"author": "Massachusetts Institute of Technology",
"author": "Ruby Programming Shounendan",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/scratchfoundation/scratch-svg-renderer#readme",
"homepage": "https://github.com/smalruby/smalruby3-editor#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-editor.git"
"url": "https://github.com/smalruby/smalruby3-editor.git"
},
"peerDependencies": {
"scratch-render-fonts": "^1.0.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/scratch-vm/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@scratch/scratch-vm",
"name": "@smalruby/scratch-vm",
"version": "12.3.1",
"description": "Virtual Machine for Scratch 3.0",
"author": "Massachusetts Institute of Technology",
"author": "Ruby Programming Shounendan",
"license": "AGPL-3.0-only",
"homepage": "https://github.com/scratchfoundation/scratch-vm#readme",
"homepage": "https://github.com/smalruby/smalruby3-editor#readme",
"repository": {
"type": "git",
"url": "https://github.com/scratchfoundation/scratch-editor.git"
"url": "https://github.com/smalruby/smalruby3-editor.git"
},
"main": "./dist/node/scratch-vm.js",
"browser": "./dist/web/scratch-vm.js",
Expand Down Expand Up @@ -52,8 +52,8 @@
"allow-incomplete-coverage": true
},
"dependencies": {
"@scratch/scratch-render": "12.3.1",
"@scratch/scratch-svg-renderer": "12.3.1",
"@smalruby/scratch-render": "12.3.1",
"@smalruby/scratch-svg-renderer": "12.3.1",
"@vernier/godirect": "1.8.3",
"arraybuffer-loader": "1.0.8",
"atob": "2.1.2",
Expand Down