rubyjs-vite 1.0.0b → 1.0.0c
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.
- checksums.yaml +4 -4
- data/lib/ruby_js/scaffold.rb +6 -3
- data/lib/ruby_js/version.rb +1 -1
- metadata +31 -51
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c6a3a833d0c2f4ddf8aaeaf49c17759267a70e8b65440949955f6515e482eeb
|
4
|
+
data.tar.gz: 382a0ddb0bd764b2569b7f217a0db8979012667fad6accdb4a839391e76be852
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416fc09a65a430ea89f660b9095e47007cbf7bdf52f2361e03e26e32f86fa196880d17fe2d278ef68b4e4e42a836a893c7de03d4cdfeaeb1b54ac92c9389fe47
|
7
|
+
data.tar.gz: 79250e56ac7eeb2535922a9b003cceead5bdf114d18b5193f158f6a77aaaf3308d8ca32ca13c142ed02d418cde3ca016b941431ca60d9aa5bb9adea7176b435e
|
data/lib/ruby_js/scaffold.rb
CHANGED
@@ -28,11 +28,14 @@ module RubyJS
|
|
28
28
|
if is_done
|
29
29
|
puts "\nDone. Now run:\n\n cd #{project}\n bin/server\n\n"
|
30
30
|
else
|
31
|
+
wspaces = ' '*2
|
31
32
|
puts "\nThe Vite library installation encountered an issue.\n" +
|
32
|
-
"
|
33
|
+
"NodeJS is probably not installed on your machine.\n" +
|
33
34
|
"Please rerun the Vite installation after installing NodeJS.\n" +
|
34
|
-
"
|
35
|
-
"#{
|
35
|
+
"Use these instructions:\n\n" +
|
36
|
+
"#{wspaces}cd #{project}\n" +
|
37
|
+
"#{wspaces}npm install -D vite\n" +
|
38
|
+
"#{wspaces}bin/server"
|
36
39
|
end
|
37
40
|
end
|
38
41
|
end
|
data/lib/ruby_js/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyjs-vite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0c
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filip Vrba
|
@@ -9,56 +9,36 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-11-04 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
be executed with various arguments is available here. \n\n*The following third-party
|
43
|
-
libraries are employed:*\n- [ruby2js](https://rubygems.org/gems/ruby2js)\n- [listen](https://rubygems.org/gems/listen)\n\n##
|
44
|
-
4 Unexpected errors\nWhen using this utility, some problems could happen.\n\n###
|
45
|
-
4.1 Third-party libraries\nCertain library dependencies must be installed for the
|
46
|
-
program to function as a whole. (The section on [development](#3-development) has
|
47
|
-
more details regarding libraries.)\n\n*Use this command if the software indicates
|
48
|
-
that the library was not found:*\n```bash\ngem install ruby2js &&\ngem install listen\n```\n\n###
|
49
|
-
4.2 NPM\nThe process of constructing a project could go wrong. This is because Vite
|
50
|
-
is attempting to be installed using the NPM tool during the scaffolding phase. This
|
51
|
-
indicates that your machine does not have NodeJS installed. [Installing it is necessary!](https://nodejs.org)
|
52
|
-
Run a command in your project to install the Vite library after you've finished
|
53
|
-
the installation.\n\n*Vite installation command:*\n```bash\nnpm install -D vite\n```\n\nYou
|
54
|
-
can launch the server and begin developing your project after the installation has
|
55
|
-
been successfully completed.\n\n*An order to launch the server:*\n```bash\nbin/server\n```\n\n##
|
56
|
-
5 Examples\nHere, I'll outline a few projects where RubyJS Vite was applied to alter
|
57
|
-
code.\n\n- [adb2-weapon-rjs](https://github.com/filipvrba/adb2-weapon-rjs) - Here,
|
58
|
-
a web application was built with scaffolding and uploaded to Vercel.\n- [suitescript-generator](https://github.com/filipvrba/suitescript-generator)
|
59
|
-
- It is a console program that utilizes npm. Here, the file tracking and compilation
|
60
|
-
command is employed. \n\n## 6 Contributors\n- [Filip Vrba](https://github.com/filipvrba)
|
61
|
-
- creator and maintainer\n"
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ruby2js
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '5.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '5.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: listen
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.7'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.7'
|
41
|
+
description: 'To learn more, go to this page: https://github.com/filipvrba/ruby-js'
|
62
42
|
email: filipvrbaxi@gmail.com
|
63
43
|
executables:
|
64
44
|
- rjsv
|