Skip to content

Commit bb2e382

Browse files
committed
0.0.3
1 parent bd33702 commit bb2e382

File tree

7 files changed

+155
-183
lines changed

7 files changed

+155
-183
lines changed

packages/correctness/package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"name": "correctness",
3-
"version": "0.0.3-1",
4-
"description": "",
5-
"main": "index.js",
6-
"scripts": {
7-
"test": "pnpm run optimise && pnpm run compare",
8-
"optimise": "pnpm run optimise:w3c",
9-
"optimise:w3c": "cargo run optimise -r -. -o w3c-optimised w3c",
10-
"optimise:oxygen": "cargo run optimise -r -. -o oxygen-optimised oxygen",
11-
"optimise:w3c:none": "cargo run optimise --extends none -r -. -o w3c-none w3c",
12-
"optimise:oxygen:none": "cargo run optimise --extends none -r -. -o oxygen-none oxygen",
13-
"optimise:w3c:safe": "cargo run optimise --extends safe -r -. -o w3c-safe w3c",
14-
"optimise:oxygen:safe": "cargo run optimise --extends safe -r -. -o oxygen-safe oxygen",
15-
"compare": "pnpm run compare:w3c",
16-
"compare:w3c": "node index.js 512 w3c w3c-optimised",
17-
"compare:oxygen": "node index.js 512 oxygen oxygen-optimised",
18-
"compare:w3c:none": "node index.js 512 w3c w3c-none",
19-
"compare:oxygen:none": "node index.js 512 oxygen oxygen-none",
20-
"compare:w3c:safe": "node index.js 512 w3c w3c-safe",
21-
"compare:oxygen:safe": "node index.js 512 oxygen oxygen-safe"
22-
},
23-
"keywords": [],
24-
"author": "",
25-
"license": "MIT",
26-
"packageManager": "[email protected]",
27-
"dependencies": {
28-
"@napi-rs/canvas": "^0.1.68"
29-
}
2+
"name": "correctness",
3+
"version": "0.0.3",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "pnpm run optimise && pnpm run compare",
8+
"optimise": "pnpm run optimise:w3c",
9+
"optimise:w3c": "cargo run optimise -r -. -o w3c-optimised w3c",
10+
"optimise:oxygen": "cargo run optimise -r -. -o oxygen-optimised oxygen",
11+
"optimise:w3c:none": "cargo run optimise --extends none -r -. -o w3c-none w3c",
12+
"optimise:oxygen:none": "cargo run optimise --extends none -r -. -o oxygen-none oxygen",
13+
"optimise:w3c:safe": "cargo run optimise --extends safe -r -. -o w3c-safe w3c",
14+
"optimise:oxygen:safe": "cargo run optimise --extends safe -r -. -o oxygen-safe oxygen",
15+
"compare": "pnpm run compare:w3c",
16+
"compare:w3c": "node index.js 512 w3c w3c-optimised",
17+
"compare:oxygen": "node index.js 512 oxygen oxygen-optimised",
18+
"compare:w3c:none": "node index.js 512 w3c w3c-none",
19+
"compare:oxygen:none": "node index.js 512 oxygen oxygen-none",
20+
"compare:w3c:safe": "node index.js 512 w3c w3c-safe",
21+
"compare:oxygen:safe": "node index.js 512 oxygen oxygen-safe"
22+
},
23+
"keywords": [],
24+
"author": "",
25+
"license": "MIT",
26+
"packageManager": "[email protected]",
27+
"dependencies": {
28+
"@napi-rs/canvas": "^0.1.68"
29+
}
3030
}
Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
{
2-
"name": "@oxvg/napi-darwin-arm64",
3-
"version": "0.0.3-1",
4-
"repository": {
5-
"url": "https://github.com/noahbald/oxvg"
6-
},
7-
"os": [
8-
"darwin"
9-
],
10-
"cpu": [
11-
"x64"
12-
],
13-
"main": "napi.darwin-arm64.node",
14-
"files": [
15-
"napi.darwin-arm64.node"
16-
],
17-
"license": "MIT",
18-
"engines": {
19-
"node": ">= 10"
20-
}
2+
"name": "@oxvg/napi-darwin-arm64",
3+
"version": "0.0.3",
4+
"repository": {
5+
"url": "https://github.com/noahbald/oxvg"
6+
},
7+
"os": ["darwin"],
8+
"cpu": ["x64"],
9+
"main": "napi.darwin-arm64.node",
10+
"files": ["napi.darwin-arm64.node"],
11+
"license": "MIT",
12+
"engines": {
13+
"node": ">= 10"
14+
}
2115
}
Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
{
2-
"name": "@oxvg/napi-darwin-x64",
3-
"version": "0.0.3-1",
4-
"os": [
5-
"darwin"
6-
],
7-
"repository": {
8-
"url": "https://github.com/noahbald/oxvg"
9-
},
10-
"cpu": [
11-
"x64"
12-
],
13-
"main": "napi.darwin-x64.node",
14-
"files": [
15-
"napi.darwin-x64.node"
16-
],
17-
"license": "MIT",
18-
"engines": {
19-
"node": ">= 10"
20-
}
2+
"name": "@oxvg/napi-darwin-x64",
3+
"version": "0.0.3",
4+
"os": ["darwin"],
5+
"repository": {
6+
"url": "https://github.com/noahbald/oxvg"
7+
},
8+
"cpu": ["x64"],
9+
"main": "napi.darwin-x64.node",
10+
"files": ["napi.darwin-x64.node"],
11+
"license": "MIT",
12+
"engines": {
13+
"node": ">= 10"
14+
}
2115
}
Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
{
2-
"name": "@oxvg/napi-linux-x64-gnu",
3-
"version": "0.0.3-1",
4-
"os": [
5-
"linux"
6-
],
7-
"repository": {
8-
"url": "https://github.com/noahbald/oxvg"
9-
},
10-
"cpu": [
11-
"x64"
12-
],
13-
"main": "napi.linux-x64-gnu.node",
14-
"files": [
15-
"napi.linux-x64-gnu.node"
16-
],
17-
"license": "MIT",
18-
"engines": {
19-
"node": ">= 10"
20-
},
21-
"libc": [
22-
"glibc"
23-
]
2+
"name": "@oxvg/napi-linux-x64-gnu",
3+
"version": "0.0.3",
4+
"os": ["linux"],
5+
"repository": {
6+
"url": "https://github.com/noahbald/oxvg"
7+
},
8+
"cpu": ["x64"],
9+
"main": "napi.linux-x64-gnu.node",
10+
"files": ["napi.linux-x64-gnu.node"],
11+
"license": "MIT",
12+
"engines": {
13+
"node": ">= 10"
14+
},
15+
"libc": ["glibc"]
2416
}
Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
{
2-
"name": "@oxvg/napi-win32-x64-msvc",
3-
"version": "0.0.3-1",
4-
"os": [
5-
"win32"
6-
],
7-
"repository": {
8-
"url": "https://github.com/noahbald/oxvg"
9-
},
10-
"cpu": [
11-
"x64"
12-
],
13-
"main": "napi.win32-x64-msvc.node",
14-
"files": [
15-
"napi.win32-x64-msvc.node"
16-
],
17-
"license": "MIT",
18-
"engines": {
19-
"node": ">= 10"
20-
}
2+
"name": "@oxvg/napi-win32-x64-msvc",
3+
"version": "0.0.3",
4+
"os": ["win32"],
5+
"repository": {
6+
"url": "https://github.com/noahbald/oxvg"
7+
},
8+
"cpu": ["x64"],
9+
"main": "napi.win32-x64-msvc.node",
10+
"files": ["napi.win32-x64-msvc.node"],
11+
"license": "MIT",
12+
"engines": {
13+
"node": ">= 10"
14+
}
2115
}

packages/napi/package.json

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
{
2-
"name": "@oxvg/napi",
3-
"version": "0.0.3-1",
4-
"description": "",
5-
"main": "index.js",
6-
"types": "index.d.ts",
7-
"scripts": {
8-
"artifacts": "napi artifacts",
9-
"build": "napi build --platform --release",
10-
"build:debug": "napi build --platform",
11-
"prepublishOnly": "napi prepublish -t npm",
12-
"test": "node ./test.js",
13-
"universal": "napi universal",
14-
"version": "napi version"
15-
},
16-
"repository": {
17-
"url": "https://github.com/noahbald/oxvg",
18-
"type": "git"
19-
},
20-
"keywords": [],
21-
"author": "",
22-
"license": "MIT",
23-
"napi": {
24-
"name": "oxvg",
25-
"triples": {
26-
"defaults": true,
27-
"additional": [
28-
"aarch64-apple-darwin"
29-
]
30-
}
31-
},
32-
"packageManager": "[email protected]",
33-
"devDependencies": {
34-
"@napi-rs/cli": "^3.0.0-alpha.72"
35-
}
2+
"name": "@oxvg/napi",
3+
"version": "0.0.3",
4+
"description": "",
5+
"main": "index.js",
6+
"types": "index.d.ts",
7+
"scripts": {
8+
"artifacts": "napi artifacts",
9+
"build": "napi build --platform --release",
10+
"build:debug": "napi build --platform",
11+
"prepublishOnly": "napi prepublish -t npm",
12+
"test": "node ./test.js",
13+
"universal": "napi universal",
14+
"version": "napi version"
15+
},
16+
"repository": {
17+
"url": "https://github.com/noahbald/oxvg",
18+
"type": "git"
19+
},
20+
"keywords": [],
21+
"author": "",
22+
"license": "MIT",
23+
"napi": {
24+
"name": "oxvg",
25+
"triples": {
26+
"defaults": true,
27+
"additional": ["aarch64-apple-darwin"]
28+
}
29+
},
30+
"packageManager": "[email protected]",
31+
"devDependencies": {
32+
"@napi-rs/cli": "^3.0.0-alpha.72"
33+
}
3634
}

packages/wasm/package.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"name": "@oxvg/wasm",
3-
"version": "0.0.3-1",
4-
"type": "module",
5-
"description": "",
6-
"files": [
7-
"dist/oxvg_wasm_bg.wasm",
8-
"dist/oxvg_wasm_bg.wasm.d.ts",
9-
"dist/oxvg_wasm.js",
10-
"dist/node/oxvg_wasm.js",
11-
"dist/node/oxvg_wasm_bg.wasm",
12-
"dist/oxvg_wasm.d.ts"
13-
],
14-
"exports": {
15-
".": {
16-
"types": "./dist/oxvg_wasm.d.ts",
17-
"node": "./dist/node/oxvg_wasm.cjs",
18-
"default": "./dist/oxvg_wasm.js"
19-
}
20-
},
21-
"main": "dist/oxvg_wasm.js",
22-
"types": "dist/oxvg_wasm.d.ts",
23-
"scripts": {
24-
"build": "pnpm run build:web && pnpm run build:node",
25-
"build:debug": "pnpm run build:debug:web && pnpm run build:debug:node",
26-
"build:web": "wasm-pack build --target web --no-pack --out-dir dist",
27-
"build:node": "wasm-pack build --target nodejs --no-pack --out-dir dist/node && npm run build:node:rename",
28-
"build:debug:web": "wasm-pack build --dev --target web --no-pack --out-dir dist",
29-
"build:debug:node": "wasm-pack build --dev --target nodejs --no-pack --out-dir dist/node && npm run build:node:rename",
30-
"build:node:rename": "mv dist/node/oxvg_wasm.js dist/node/oxvg_wasm.cjs",
31-
"test": "node ./test.cjs"
32-
},
33-
"repository": {
34-
"url": "https://github.com/noahbald/oxvg",
35-
"type": "git"
36-
},
37-
"keywords": [],
38-
"author": "",
39-
"license": "MIT",
40-
"packageManager": "[email protected]",
41-
"devDependencies": {
42-
"wasm-pack": "^0.13.1"
43-
}
2+
"name": "@oxvg/wasm",
3+
"version": "0.0.3",
4+
"type": "module",
5+
"description": "",
6+
"files": [
7+
"dist/oxvg_wasm_bg.wasm",
8+
"dist/oxvg_wasm_bg.wasm.d.ts",
9+
"dist/oxvg_wasm.js",
10+
"dist/node/oxvg_wasm.js",
11+
"dist/node/oxvg_wasm_bg.wasm",
12+
"dist/oxvg_wasm.d.ts"
13+
],
14+
"exports": {
15+
".": {
16+
"types": "./dist/oxvg_wasm.d.ts",
17+
"node": "./dist/node/oxvg_wasm.cjs",
18+
"default": "./dist/oxvg_wasm.js"
19+
}
20+
},
21+
"main": "dist/oxvg_wasm.js",
22+
"types": "dist/oxvg_wasm.d.ts",
23+
"scripts": {
24+
"build": "pnpm run build:web && pnpm run build:node",
25+
"build:debug": "pnpm run build:debug:web && pnpm run build:debug:node",
26+
"build:web": "wasm-pack build --target web --no-pack --out-dir dist",
27+
"build:node": "wasm-pack build --target nodejs --no-pack --out-dir dist/node && npm run build:node:rename",
28+
"build:debug:web": "wasm-pack build --dev --target web --no-pack --out-dir dist",
29+
"build:debug:node": "wasm-pack build --dev --target nodejs --no-pack --out-dir dist/node && npm run build:node:rename",
30+
"build:node:rename": "mv dist/node/oxvg_wasm.js dist/node/oxvg_wasm.cjs",
31+
"test": "node ./test.cjs"
32+
},
33+
"repository": {
34+
"url": "https://github.com/noahbald/oxvg",
35+
"type": "git"
36+
},
37+
"keywords": [],
38+
"author": "",
39+
"license": "MIT",
40+
"packageManager": "[email protected]",
41+
"devDependencies": {
42+
"wasm-pack": "^0.13.1"
43+
}
4444
}

0 commit comments

Comments
 (0)