scratch-sb1-converter 0.2.6 → 0.2.8
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/.husky/.gitattributes +1 -0
- package/.husky/commit-msg +4 -0
- package/.nvmrc +1 -0
- package/CHANGELOG.md +11 -0
- package/README.md +18 -1
- package/commitlint.config.js +4 -1
- package/pack/scratch-sb1-converter-0.2.8.tgz +0 -0
- package/package.json +33 -35
- package/playground/main.js +30 -30
- package/playground/view.js +39 -39
- package/release.config.js +14 -0
- package/renovate.json5 +7 -0
- package/src/coders/deflate-stream.js +0 -1
- package/src/coders/proxy-stream.js +0 -2
- package/src/squeak/byte-primitives.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text eol=lf
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v16
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.2.8](https://github.com/scratchfoundation/scratch-sb1-converter/compare/v0.2.7...v0.2.8) (2024-02-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** lock file maintenance ([a68c5c9](https://github.com/scratchfoundation/scratch-sb1-converter/commit/a68c5c9b8ab1577d0980264a5c5930a6abc05936))
|
package/README.md
CHANGED
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
# scratch-sb1-converter
|
|
2
|
+
|
|
3
|
+
## Committing
|
|
4
|
+
|
|
5
|
+
This project uses [semantic release](https://github.com/semantic-release/semantic-release) to ensure version bumps
|
|
6
|
+
follow semver so that projects depending on it don't break unexpectedly.
|
|
7
|
+
|
|
8
|
+
In order to automatically determine version updates, semantic release expects commit messages to follow the
|
|
9
|
+
[conventional-changelog](https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md)
|
|
10
|
+
specification.
|
|
11
|
+
|
|
12
|
+
You can use the [commitizen CLI](https://github.com/commitizen/cz-cli) to make commits formatted in this way:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g commitizen@latest cz-conventional-changelog@latest
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Now you're ready to make commits using `git cz`.
|
package/commitlint.config.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scratch-sb1-converter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Scratch 1 (.sb) to Scratch 2 (.sb2) conversion library for Scratch 3.0",
|
|
5
5
|
"author": "Scratch Foundation",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
|
-
"homepage": "https://github.com/
|
|
7
|
+
"homepage": "https://github.com/scratchfoundation/scratch-sb1-converter#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/scratchfoundation/scratch-sb1-converter.git"
|
|
11
11
|
},
|
|
12
12
|
"main": "playground/main.js",
|
|
13
13
|
"browser": "index.js",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "npm run docs && webpack --progress --colors --bail",
|
|
16
16
|
"commitmsg": "commitlint -e $GIT_PARAMS",
|
|
17
|
-
"coverage": "tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
|
18
17
|
"deploy": "touch playground/.nojekyll && gh-pages -t -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
|
19
18
|
"docs": "jsdoc -c .jsdoc.json",
|
|
20
19
|
"lint": "eslint .",
|
|
20
|
+
"prepare": "husky install",
|
|
21
|
+
"semantic-release": "semantic-release",
|
|
21
22
|
"start": "webpack-dev-server --output-library-target=umd2",
|
|
22
23
|
"test:ci:build": "babel --presets @babel/preset-env . --out-dir dist/test-tmp --only src,test,index.js --source-maps",
|
|
23
24
|
"test:ci:unit": "npm run test:ci:build && tap ./dist/test-tmp/test/unit",
|
|
@@ -25,46 +26,43 @@
|
|
|
25
26
|
"test:ci": "npm run test:ci:build && tap ./dist/test-tmp/test",
|
|
26
27
|
"test:unit": "tap --node-arg=--require --node-arg=@babel/register ./test/unit",
|
|
27
28
|
"test:integration": "tap --node-arg=--require --node-arg=@babel/register ./test/integration",
|
|
29
|
+
"test:coverage": "tap --node-arg=--require --node-arg=@babel/register ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
|
28
30
|
"test": "npm run lint && npm run docs && npm run test:unit && npm run test:integration",
|
|
29
|
-
"watch": "webpack --progress --colors --watch"
|
|
30
|
-
"semantic-release": "semantic-release"
|
|
31
|
+
"watch": "webpack --progress --colors --watch"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"js-md5": "^0.7.3",
|
|
35
|
+
"minilog": "^3.1.0",
|
|
36
|
+
"text-encoding": "^0.7.0"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@babel/cli": "
|
|
39
|
-
"@babel/core": "
|
|
40
|
-
"@babel/
|
|
41
|
-
"@babel/
|
|
42
|
-
"@
|
|
43
|
-
"@commitlint/
|
|
44
|
-
"@commitlint/
|
|
45
|
-
"babel-eslint": "
|
|
46
|
-
"babel-loader": "
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"eslint": "
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"jsdoc": "^3.5.5",
|
|
39
|
+
"@babel/cli": "7.23.9",
|
|
40
|
+
"@babel/core": "7.23.9",
|
|
41
|
+
"@babel/eslint-parser": "7.23.10",
|
|
42
|
+
"@babel/preset-env": "7.23.9",
|
|
43
|
+
"@babel/register": "7.23.7",
|
|
44
|
+
"@commitlint/cli": "18.6.1",
|
|
45
|
+
"@commitlint/config-conventional": "18.6.2",
|
|
46
|
+
"babel-eslint": "10.1.0",
|
|
47
|
+
"babel-loader": "8.3.0",
|
|
48
|
+
"docdash": "1.2.0",
|
|
49
|
+
"eslint": "8.56.0",
|
|
50
|
+
"eslint-config-scratch": "9.0.3",
|
|
51
|
+
"gh-pages": "1.2.0",
|
|
52
|
+
"html-webpack-plugin": "3.2.0",
|
|
53
|
+
"husky": "8.0.3",
|
|
54
|
+
"jsdoc": "3.6.11",
|
|
55
55
|
"json": "^9.0.4",
|
|
56
|
-
"semantic-release": "
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"webpack
|
|
60
|
-
"webpack-
|
|
56
|
+
"scratch-semantic-release-config": "1.0.8",
|
|
57
|
+
"semantic-release": "19.0.5",
|
|
58
|
+
"tap": "12.7.0",
|
|
59
|
+
"webpack": "4.47.0",
|
|
60
|
+
"webpack-cli": "3.3.12",
|
|
61
|
+
"webpack-dev-server": "3.11.3"
|
|
61
62
|
},
|
|
62
63
|
"config": {
|
|
63
64
|
"commitizen": {
|
|
64
|
-
"path": "
|
|
65
|
+
"path": "cz-conventional-changelog"
|
|
65
66
|
}
|
|
66
|
-
},
|
|
67
|
-
"release": {
|
|
68
|
-
"branch": "develop"
|
|
69
67
|
}
|
|
70
68
|
}
|