ruby_wasm 2.7.0 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +42 -2
- data/Cargo.lock +4 -4
- data/Gemfile +2 -2
- data/README.md +10 -5
- data/Rakefile +7 -1
- data/docs/cheat_sheet.md +11 -11
- data/lib/ruby_wasm/build/product/crossruby.rb +13 -4
- data/lib/ruby_wasm/build/product/product.rb +2 -2
- data/lib/ruby_wasm/build/toolchain.rb +1 -1
- data/lib/ruby_wasm/cli.rb +5 -0
- data/lib/ruby_wasm/packager/core.rb +2 -2
- data/lib/ruby_wasm/version.rb +1 -1
- data/package-lock.json +2150 -1124
- data/package.json +4 -3
- data/rakelib/doc.rake +1 -1
- data/rakelib/version.rake +7 -0
- metadata +2 -3
data/package.json
CHANGED
@@ -6,9 +6,10 @@
|
|
6
6
|
],
|
7
7
|
"devDependencies": {
|
8
8
|
"@bytecodealliance/jco": "1.4.4",
|
9
|
-
"@playwright/test": "^1.
|
9
|
+
"@playwright/test": "^1.49.0",
|
10
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
10
11
|
"@rollup/plugin-json": "^6.1.0",
|
11
|
-
"rollup": "^4.
|
12
|
-
"typedoc": "^0.
|
12
|
+
"rollup": "^4.28.0",
|
13
|
+
"typedoc": "^0.27.2"
|
13
14
|
}
|
14
15
|
}
|
data/rakelib/doc.rake
CHANGED
@@ -16,7 +16,7 @@ desc "Generate TypeScript documentation"
|
|
16
16
|
task :typedoc do
|
17
17
|
sh "npm install"
|
18
18
|
mkdir_p "html/npm/@ruby/wasm-wasi"
|
19
|
-
sh "npx typedoc packages/npm-packages/ruby-wasm-wasi/src/index.ts --sort source-order --out html/npm/@ruby/wasm-wasi"
|
19
|
+
sh "npx typedoc --tsconfig packages/npm-packages/ruby-wasm-wasi/tsconfig.esm.json packages/npm-packages/ruby-wasm-wasi/src/index.ts --sort source-order --out html/npm/@ruby/wasm-wasi"
|
20
20
|
end
|
21
21
|
|
22
22
|
desc "Generate documentation site"
|
data/rakelib/version.rake
CHANGED
@@ -55,4 +55,11 @@ end
|
|
55
55
|
task :bump_dev_version do
|
56
56
|
bump_dev_version_rb("lib/ruby_wasm/version.rb")
|
57
57
|
bump_dev_version_rb("packages/gems/js/lib/js/version.rb")
|
58
|
+
|
59
|
+
# Update Gemfile.lock
|
60
|
+
NPM_PACKAGES.each do |pkg|
|
61
|
+
next unless pkg[:gemfile]
|
62
|
+
vendor_gem_cache(pkg)
|
63
|
+
sh "BUNDLE_GEMFILE=#{pkg[:gemfile]} bundle install"
|
64
|
+
end
|
58
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_wasm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.1
|
5
5
|
platform: ruby
|
6
|
-
original_platform: ''
|
7
6
|
authors:
|
8
7
|
- Yuta Saito
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: Ruby to WebAssembly toolkit. This gem takes Ruby code and Gemfile, and
|
14
13
|
packages them with Ruby runtime into a WebAssembly binary.
|