orphic 0.1.2 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_OF_CONDUCT.md +8 -3
- data/LICENSE.txt +1 -1
- data/bin/console +1 -1
- data/bin/setup +29 -0
- data/lib/orphic.rb +6 -4
- data/lib/orphic/cli.rb +10 -1
- data/lib/orphic/cli/district.rb +65 -0
- data/lib/orphic/cli/node.rb +14 -1
- data/lib/orphic/cli/spools.rb +56 -0
- data/lib/orphic/cli/type.rb +56 -0
- data/lib/orphic/sprites/cursor.rb +56 -0
- data/lib/orphic/sprites/paji.rb +56 -0
- data/lib/orphic/version.rb +1 -1
- data/orphic.gemspec +3 -0
- data/package.json +17 -0
- data/src/main.js +1 -0
- data/tsconfig.json +60 -0
- metadata +56 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec72788fa013f78511661f925b0f1e2b0d77a84bc0c4e39cbee6eae1b88ff4b6
|
4
|
+
data.tar.gz: 6f6d5015587305df31ecdbd5d93a40e83518ed7aac5a45110d59be7bd3f2c59c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48ef4ce4277e26c8ae981311dd5f90f2e3ac10dd93a387780cc406101cc85a7c00b8f2e4a858cfa8935f12d91858223a864c69d904585c72636fe2a81a9e0130
|
7
|
+
data.tar.gz: 1033f2f832ff1222bdb7d4840333d242130dd5459c2169cb4c7a33088c89ddbf2732dd345c466139bbe7a04b8be16e498fd1e016adf0356b1d530b35c50eaa47
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
# Orphic's Ruby CLI
|
1
2
|
# Contributor Covenant Code of Conduct
|
2
3
|
|
3
|
-
##
|
4
|
+
## Orphic's Pledge
|
4
5
|
|
5
6
|
In the interest of fostering an open and welcoming environment, we as
|
6
7
|
contributors and maintainers pledge to making participation in our project and
|
@@ -31,7 +32,7 @@ advances
|
|
31
32
|
* Other conduct which could reasonably be considered inappropriate in a
|
32
33
|
professional setting
|
33
34
|
|
34
|
-
##
|
35
|
+
## Orphic Responsibilities
|
35
36
|
|
36
37
|
Project maintainers are responsible for clarifying the standards of acceptable
|
37
38
|
behavior and are expected to take appropriate and fair corrective action in
|
@@ -55,7 +56,7 @@ further defined and clarified by project maintainers.
|
|
55
56
|
## Enforcement
|
56
57
|
|
57
58
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
59
|
+
reported by contacting the project team at cli@orphic.enterprises. All
|
59
60
|
complaints will be reviewed and investigated and will result in a response that
|
60
61
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
62
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
@@ -72,3 +73,7 @@ available at [https://contributor-covenant.org/version/1/4][version]
|
|
72
73
|
|
73
74
|
[homepage]: https://contributor-covenant.org
|
74
75
|
[version]: https://contributor-covenant.org/version/1/4/
|
76
|
+
|
77
|
+
## License
|
78
|
+
|
79
|
+
Orphic Ruby CLI License info can be found [here](https://github.com/orphic-inc/ruby-orphic-cli/LICENSE).
|
data/LICENSE.txt
CHANGED
data/bin/console
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require "bundler/setup"
|
4
4
|
require "orphic"
|
5
5
|
|
6
|
-
Orphic::
|
6
|
+
Orphic::Mjolnir.start( ARGV )
|
7
7
|
|
8
8
|
# You can add fixtures and/or initialization code here to make experimenting
|
9
9
|
# with your gem easier. You can also use a different console, if you like.
|
data/bin/setup
CHANGED
@@ -6,3 +6,32 @@ set -vx
|
|
6
6
|
bundle install
|
7
7
|
|
8
8
|
# Do any other automated setup that you need to do here
|
9
|
+
# Install nvm, brew, and checkout-js from bash
|
10
|
+
# Checks git status first to test for git
|
11
|
+
/bin/bash -c "$(git status)"
|
12
|
+
|
13
|
+
# If you don't see a git status reflected as a test
|
14
|
+
# You're doing it wrong, need git installed.
|
15
|
+
|
16
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh |)"
|
17
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
18
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/install/master/install.sh)"
|
19
|
+
/bin/bash -c "$(nvm install @stable)"
|
20
|
+
/bin/bash -c "$(nvm install 12)"
|
21
|
+
|
22
|
+
|
23
|
+
/bin/bash -c "($brew doctor)"
|
24
|
+
/bin/bash -c "($brew --version)"
|
25
|
+
/bin/bash -c "($rbenv --versions)"
|
26
|
+
|
27
|
+
# rb isn't installed yet but red test
|
28
|
+
|
29
|
+
## try nvm stable or one we know should work
|
30
|
+
|
31
|
+
# Is npm running, this is the ticket
|
32
|
+
/bin/bash -c "$(npm i -g @obrienk/orphic-cli)"
|
33
|
+
|
34
|
+
# Related things cloned via git during setup.
|
35
|
+
git clone https://github.com/bigcommerce/checkout-js
|
36
|
+
git clone https://github.com/streamwall/streamwall
|
37
|
+
git clone https://github.com/obrien-k/multi-sf-cart
|
data/lib/orphic.rb
CHANGED
@@ -2,8 +2,10 @@ require "orphic/version"
|
|
2
2
|
require "orphic/cli"
|
3
3
|
|
4
4
|
module Orphic
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
# TODO
|
6
|
+
CLI::UI::StdoutRouter.enable
|
7
|
+
CLI::UI::Frame.open('Orphic Developer Experience') do
|
8
|
+
CLI::UI::Frame.open('Ruby CLI') { puts "The Orphic Ruby CLI utilizes the Thor gem for self-documenting commands and cli-ui gem for UI." }
|
9
|
+
puts "Great minds never think alike."
|
10
|
+
end
|
9
11
|
end
|
data/lib/orphic/cli.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'orphic/cli/node'
|
3
|
+
require 'orphic/cli/district'
|
4
|
+
require 'orphic/cli/type'
|
5
|
+
require 'cli/ui'
|
3
6
|
|
4
7
|
module Orphic
|
5
8
|
class Mjolnir < Thor
|
@@ -13,9 +16,15 @@ module Orphic
|
|
13
16
|
def hello( name )
|
14
17
|
greeting = "Hello, #{name}"
|
15
18
|
greeting.upcase! if options[:upcase]
|
16
|
-
|
19
|
+
CLI::UI::Frame.open( greeting ) do
|
20
|
+
puts greeting + " from the frame"
|
21
|
+
end
|
17
22
|
end
|
18
23
|
desc "node COMMANDS", "Node.JS Commands"
|
19
24
|
subcommand "node", Orphic::OrphicCli::Node
|
25
|
+
desc "map DISTRICT ...ARGS", "View map for a district"
|
26
|
+
subcommand "map", Orphic::OrphicCli::District
|
27
|
+
desc "media TYPE", "Interface with various media types"
|
28
|
+
subcommand "media", Orphic::OrphicCli::Type
|
20
29
|
end
|
21
30
|
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class District < Thor
|
4
|
+
desc "district", "Commands for a specific district"
|
5
|
+
long_desc <<-DISTRICT
|
6
|
+
Commands for a specific district.
|
7
|
+
|
8
|
+
View districts with <district>.
|
9
|
+
DISTRICT
|
10
|
+
def district( viewDistrict )
|
11
|
+
# implement viewDistrict
|
12
|
+
CLI::UI::Frame.open( "Map :: District : " + viewDistrict ) do
|
13
|
+
puts "#{viewDistrict}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
desc "createDistrict", "Create a new district with <createDistrict>"
|
17
|
+
long_desc <<-CREATE_DISTRICT
|
18
|
+
Create a new district with createDistrict. Base map includes the following options for branching:
|
19
|
+
|
20
|
+
\x5--AWAKE - The entrypoint. Create command line interfaces, web portals, and related tech.
|
21
|
+
\x5--GROW - User Interfaces and Experiences, projects here relate to front-end like React, CSS, and prototypes.
|
22
|
+
\x5--DISCOVER - Your current location. Educate your peers or yourself.
|
23
|
+
\x5--TRUST - Create authorization, cyphers, and cryptography-related projects.
|
24
|
+
\x5--TRUTH - The gateway. Can be used to verify authorizations and is often tied to the Trust District.
|
25
|
+
\x5--MAGIC - Let the magic begin! Here you can create ephemeral changes and middleware.
|
26
|
+
\x5--POETRY - The poet, the lover, and the coder are of imagination all compact... Code as art.
|
27
|
+
\x5--DRIVE - Real-time commands that will effect a concurrent stream or processes.
|
28
|
+
\x5--WILL - Databases and permanence.
|
29
|
+
\x5--LOYAL - The gauntlet. Test your loyalty with user or unit testing.
|
30
|
+
\x5--ENTHUSE - Live events and promotions.
|
31
|
+
\x5--CLARITY - The endgame, from your command-line, through staging and production.
|
32
|
+
CREATE_DISTRICT
|
33
|
+
option :awake
|
34
|
+
option :grow
|
35
|
+
option :discover
|
36
|
+
option :trust
|
37
|
+
option :truth
|
38
|
+
option :magic
|
39
|
+
option :poetry
|
40
|
+
option :drive
|
41
|
+
option :will
|
42
|
+
option :loyal
|
43
|
+
option :enthuse
|
44
|
+
option :clarity
|
45
|
+
def createDistrict ( createDistrict )
|
46
|
+
puts "Awake District info" if options[:awake]
|
47
|
+
puts "Grow District info" if options[:grow]
|
48
|
+
puts "Discover District info" if options[:discover]
|
49
|
+
puts "Trust District info" if options[:trust]
|
50
|
+
puts "Truth District info" if options[:truth]
|
51
|
+
puts "Magic District info" if options[:magic]
|
52
|
+
puts "Poetry District info" if options[:poetry]
|
53
|
+
puts "Drive District info" if options[:drive]
|
54
|
+
puts "Will District info" if options[:will]
|
55
|
+
puts "Loyal District info" if options[:loyal]
|
56
|
+
puts "Enthuse District info" if options[:enthuse]
|
57
|
+
puts "Clarity District info" if options[:clarity]
|
58
|
+
# implement createDistrict
|
59
|
+
CLI::UI::Frame.open( "Map :: District : Create " + createDistrict ) do
|
60
|
+
puts "#{createDistrict}"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
data/lib/orphic/cli/node.rb
CHANGED
@@ -4,7 +4,20 @@ module Orphic
|
|
4
4
|
desc "help COMMAND", "Get help for the Orphic Node.JS CLI"
|
5
5
|
option :tags
|
6
6
|
def help ( command )
|
7
|
-
|
7
|
+
CLI::UI::Frame.open( "Node :: help : " + command ) do
|
8
|
+
puts "Looks like you are looking for #{command} with tags #{options[:tags]}"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
desc "deploy SITE", "Deploy a Node.JS instance"
|
12
|
+
option :baseDistrict
|
13
|
+
def deploy ( site )
|
14
|
+
CLI::UI::Frame.open( "Node :: deploy : " + site ) do
|
15
|
+
if options[:baseDistrict]
|
16
|
+
puts "Starting deploy #{site} with #{options[:baseDistrict]}"
|
17
|
+
else
|
18
|
+
puts "Starting deploy #{site} with no base district."
|
19
|
+
end
|
20
|
+
end
|
8
21
|
end
|
9
22
|
end
|
10
23
|
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class Type < Thor
|
4
|
+
desc "type", "Interface with specific media TYPEs like mp4, mp3, flac, exe, and app."
|
5
|
+
long_desc <<-TYPE
|
6
|
+
Commands for a specific TYPE.
|
7
|
+
|
8
|
+
Learn more about a type with <type> help. Supported types include: mp3, mp4, flac, exe, app, wav, mkv, bin, jar, rb, js, ts, html, css.
|
9
|
+
TYPE
|
10
|
+
def type( viewType )
|
11
|
+
# implement viewType
|
12
|
+
CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
|
13
|
+
puts "#{viewType}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
desc "createMedia", "Create a new file with a specific TYPE"
|
17
|
+
long_desc <<-CREATE_MEDIA
|
18
|
+
Create a new file with createMedia.
|
19
|
+
CREATE_MEDIA
|
20
|
+
option :mp3
|
21
|
+
option :mp4
|
22
|
+
option :flac
|
23
|
+
option :exe
|
24
|
+
option :app
|
25
|
+
option :wav
|
26
|
+
option :mkv
|
27
|
+
option :bin
|
28
|
+
option :jar
|
29
|
+
option :rb
|
30
|
+
option :js
|
31
|
+
option :ts
|
32
|
+
option :html
|
33
|
+
option :css
|
34
|
+
def createMedia ( createMedia )
|
35
|
+
puts "MP3 file created" if options[:mp3]
|
36
|
+
puts "MP4 file created" if options[:mp4]
|
37
|
+
puts "FLAC file created" if options[:flac]
|
38
|
+
puts "EXE file created" if options[:exe]
|
39
|
+
puts "APP file created" if options[:app]
|
40
|
+
puts "WAV file created" if options[:wav]
|
41
|
+
puts "MKV file created" if options[:mkv]
|
42
|
+
puts "BIN file created" if options[:bin]
|
43
|
+
puts "JAR file created" if options[:jar]
|
44
|
+
puts "RB file created" if options[:rb]
|
45
|
+
puts "JS file created" if options[:js]
|
46
|
+
puts "TS file created" if options[:ts]
|
47
|
+
puts "HTML file created" if options[:html]
|
48
|
+
puts "CSS file created" if options[:css]
|
49
|
+
# implement createDistrict
|
50
|
+
CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
|
51
|
+
puts "#{createMedia}"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class Type < Thor
|
4
|
+
desc "type", "Interface with specific media TYPEs like mp4, mp3, flac, exe, and app."
|
5
|
+
long_desc <<-TYPE
|
6
|
+
Commands for a specific TYPE.
|
7
|
+
|
8
|
+
Learn more about a type with <type> help. Supported types include: mp3, mp4, flac, exe, app, wav, mkv, bin, jar, rb, js, ts, html, css.
|
9
|
+
TYPE
|
10
|
+
def type( viewType )
|
11
|
+
# implement viewType
|
12
|
+
CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
|
13
|
+
puts "#{viewType}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
desc "createMedia", "Create a new file with a specific TYPE"
|
17
|
+
long_desc <<-CREATE_MEDIA
|
18
|
+
Create a new file with createMedia.
|
19
|
+
CREATE_MEDIA
|
20
|
+
option :mp3
|
21
|
+
option :mp4
|
22
|
+
option :flac
|
23
|
+
option :exe
|
24
|
+
option :app
|
25
|
+
option :wav
|
26
|
+
option :mkv
|
27
|
+
option :bin
|
28
|
+
option :jar
|
29
|
+
option :rb
|
30
|
+
option :js
|
31
|
+
option :ts
|
32
|
+
option :html
|
33
|
+
option :css
|
34
|
+
def createMedia ( createMedia )
|
35
|
+
puts "MP3 file created" if options[:mp3]
|
36
|
+
puts "MP4 file created" if options[:mp4]
|
37
|
+
puts "FLAC file created" if options[:flac]
|
38
|
+
puts "EXE file created" if options[:exe]
|
39
|
+
puts "APP file created" if options[:app]
|
40
|
+
puts "WAV file created" if options[:wav]
|
41
|
+
puts "MKV file created" if options[:mkv]
|
42
|
+
puts "BIN file created" if options[:bin]
|
43
|
+
puts "JAR file created" if options[:jar]
|
44
|
+
puts "RB file created" if options[:rb]
|
45
|
+
puts "JS file created" if options[:js]
|
46
|
+
puts "TS file created" if options[:ts]
|
47
|
+
puts "HTML file created" if options[:html]
|
48
|
+
puts "CSS file created" if options[:css]
|
49
|
+
# implement createDistrict
|
50
|
+
CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
|
51
|
+
puts "#{createMedia}"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class Type < Thor
|
4
|
+
desc "type", "Interface with specific media TYPEs like mp4, mp3, flac, exe, and app."
|
5
|
+
long_desc <<-TYPE
|
6
|
+
Commands for a specific TYPE.
|
7
|
+
|
8
|
+
Learn more about a type with <type> help. Supported types include: mp3, mp4, flac, exe, app, wav, mkv, bin, jar, rb, js, ts, html, css.
|
9
|
+
TYPE
|
10
|
+
def type( viewType )
|
11
|
+
# implement viewType
|
12
|
+
CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
|
13
|
+
puts "#{viewType}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
desc "createMedia", "Create a new file with a specific TYPE"
|
17
|
+
long_desc <<-CREATE_MEDIA
|
18
|
+
Create a new file with createMedia.
|
19
|
+
CREATE_MEDIA
|
20
|
+
option :mp3
|
21
|
+
option :mp4
|
22
|
+
option :flac
|
23
|
+
option :exe
|
24
|
+
option :app
|
25
|
+
option :wav
|
26
|
+
option :mkv
|
27
|
+
option :bin
|
28
|
+
option :jar
|
29
|
+
option :rb
|
30
|
+
option :js
|
31
|
+
option :ts
|
32
|
+
option :html
|
33
|
+
option :css
|
34
|
+
def createMedia ( createMedia )
|
35
|
+
puts "MP3 file created" if options[:mp3]
|
36
|
+
puts "MP4 file created" if options[:mp4]
|
37
|
+
puts "FLAC file created" if options[:flac]
|
38
|
+
puts "EXE file created" if options[:exe]
|
39
|
+
puts "APP file created" if options[:app]
|
40
|
+
puts "WAV file created" if options[:wav]
|
41
|
+
puts "MKV file created" if options[:mkv]
|
42
|
+
puts "BIN file created" if options[:bin]
|
43
|
+
puts "JAR file created" if options[:jar]
|
44
|
+
puts "RB file created" if options[:rb]
|
45
|
+
puts "JS file created" if options[:js]
|
46
|
+
puts "TS file created" if options[:ts]
|
47
|
+
puts "HTML file created" if options[:html]
|
48
|
+
puts "CSS file created" if options[:css]
|
49
|
+
# implement createDistrict
|
50
|
+
CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
|
51
|
+
puts "#{createMedia}"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
module Orphic
|
2
|
+
module OrphicCli
|
3
|
+
class Type < Thor
|
4
|
+
desc "type", "Interface with specific media TYPEs like mp4, mp3, flac, exe, and app."
|
5
|
+
long_desc <<-TYPE
|
6
|
+
Commands for a specific TYPE.
|
7
|
+
|
8
|
+
Learn more about a type with <type> help. Supported types include: mp3, mp4, flac, exe, app, wav, mkv, bin, jar, rb, js, ts, html, css.
|
9
|
+
TYPE
|
10
|
+
def type( viewType )
|
11
|
+
# implement viewType
|
12
|
+
CLI::UI::Frame.open( "Media :: Type : " + viewType ) do
|
13
|
+
puts "#{viewType}"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
desc "createMedia", "Create a new file with a specific TYPE"
|
17
|
+
long_desc <<-CREATE_MEDIA
|
18
|
+
Create a new file with createMedia.
|
19
|
+
CREATE_MEDIA
|
20
|
+
option :mp3
|
21
|
+
option :mp4
|
22
|
+
option :flac
|
23
|
+
option :exe
|
24
|
+
option :app
|
25
|
+
option :wav
|
26
|
+
option :mkv
|
27
|
+
option :bin
|
28
|
+
option :jar
|
29
|
+
option :rb
|
30
|
+
option :js
|
31
|
+
option :ts
|
32
|
+
option :html
|
33
|
+
option :css
|
34
|
+
def createMedia ( createMedia )
|
35
|
+
puts "MP3 file created" if options[:mp3]
|
36
|
+
puts "MP4 file created" if options[:mp4]
|
37
|
+
puts "FLAC file created" if options[:flac]
|
38
|
+
puts "EXE file created" if options[:exe]
|
39
|
+
puts "APP file created" if options[:app]
|
40
|
+
puts "WAV file created" if options[:wav]
|
41
|
+
puts "MKV file created" if options[:mkv]
|
42
|
+
puts "BIN file created" if options[:bin]
|
43
|
+
puts "JAR file created" if options[:jar]
|
44
|
+
puts "RB file created" if options[:rb]
|
45
|
+
puts "JS file created" if options[:js]
|
46
|
+
puts "TS file created" if options[:ts]
|
47
|
+
puts "HTML file created" if options[:html]
|
48
|
+
puts "CSS file created" if options[:css]
|
49
|
+
# implement createDistrict
|
50
|
+
CLI::UI::Frame.open( "Map :: Media : Create " + createMedia ) do
|
51
|
+
puts "#{createMedia}"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/lib/orphic/version.rb
CHANGED
data/orphic.gemspec
CHANGED
@@ -29,6 +29,9 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
30
|
spec.require_paths = ["lib"]
|
31
31
|
spec.add_dependency "thor", "~> 0.20"
|
32
|
+
spec.add_dependency "cli-ui", "~> 1.4"
|
33
|
+
spec.add_dependency "stripe", "~> 5.28"
|
34
|
+
spec.add_dependency "rails", "~> 6.0.3"
|
32
35
|
spec.add_development_dependency "rspec"
|
33
36
|
spec.add_development_dependency "rspec-nc"
|
34
37
|
spec.add_development_dependency "guard"
|
data/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "typescript-template",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "tsc",
|
8
|
+
"dev": "tsc --watch",
|
9
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
10
|
+
},
|
11
|
+
"keywords": [],
|
12
|
+
"author": "Kyle <kyle@kyleo.io> (https://kyleo.io)",
|
13
|
+
"license": "MIT",
|
14
|
+
"devDependencies": {
|
15
|
+
"typescript": "^3.3.3333"
|
16
|
+
}
|
17
|
+
}
|
data/src/main.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log('Welcome to the Internet, from TypeScript!');
|
data/tsconfig.json
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
/* Basic Options */
|
4
|
+
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
|
5
|
+
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
6
|
+
// "lib": [WitchSuiteLib], /* Specify library files to be included in the compilation. */
|
7
|
+
// "allowJs": true, /* Allow javascript files to be compiled. */
|
8
|
+
// "checkJs": true, /* Report errors in .js files. */
|
9
|
+
// "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
10
|
+
"declaration": true /* Generates corresponding '.d.ts' file. */,
|
11
|
+
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
12
|
+
"sourceMap": true /* Generates corresponding '.map' file. */,
|
13
|
+
// "outFile": "./", /* Concatenate and emit output to single file. */
|
14
|
+
"outDir": "./dist" /* Redirect output structure to the directory. */,
|
15
|
+
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
16
|
+
// "composite": true, /* Enable project compilation */
|
17
|
+
// "removeComments": true, /* Do not emit comments to output. */
|
18
|
+
// "noEmit": true, /* Do not emit outputs. */
|
19
|
+
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
20
|
+
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
21
|
+
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
22
|
+
|
23
|
+
/* Strict Type-Checking Options */
|
24
|
+
"strict": true /* Enable all strict type-checking options. */,
|
25
|
+
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
26
|
+
// "strictNullChecks": true, /* Enable strict null checks. */
|
27
|
+
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
28
|
+
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
29
|
+
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
30
|
+
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
31
|
+
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
32
|
+
|
33
|
+
/* Additional Checks */
|
34
|
+
// "noUnusedLocals": true, /* Report errors on unused locals. */
|
35
|
+
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
36
|
+
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
37
|
+
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
38
|
+
|
39
|
+
/* Module Resolution Options */
|
40
|
+
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
41
|
+
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
42
|
+
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
43
|
+
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
44
|
+
// "typeRoots": [], /* List of folders to include type definitions from. */
|
45
|
+
// "types": [], /* Type declaration files to be included in compilation. */
|
46
|
+
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
47
|
+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
48
|
+
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
49
|
+
|
50
|
+
/* Source Map Options */
|
51
|
+
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
52
|
+
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
53
|
+
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
54
|
+
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
55
|
+
|
56
|
+
/* Experimental Options */
|
57
|
+
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
58
|
+
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
59
|
+
}
|
60
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orphic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle OBrien
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -24,6 +24,48 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.20'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cli-ui
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.4'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.4'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: stripe
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.28'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.28'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 6.0.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 6.0.3
|
27
69
|
- !ruby/object:Gem::Dependency
|
28
70
|
name: rspec
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -159,9 +201,17 @@ files:
|
|
159
201
|
- exe/orphic
|
160
202
|
- lib/orphic.rb
|
161
203
|
- lib/orphic/cli.rb
|
204
|
+
- lib/orphic/cli/district.rb
|
162
205
|
- lib/orphic/cli/node.rb
|
206
|
+
- lib/orphic/cli/spools.rb
|
207
|
+
- lib/orphic/cli/type.rb
|
208
|
+
- lib/orphic/sprites/cursor.rb
|
209
|
+
- lib/orphic/sprites/paji.rb
|
163
210
|
- lib/orphic/version.rb
|
164
211
|
- orphic.gemspec
|
212
|
+
- package.json
|
213
|
+
- src/main.js
|
214
|
+
- tsconfig.json
|
165
215
|
homepage: https://orphic.enterprises/orphic-cli
|
166
216
|
licenses:
|
167
217
|
- MIT
|
@@ -169,9 +219,9 @@ metadata:
|
|
169
219
|
bug_tracker_uri: https://github.com/orphic-inc/ruby-orphic-cli/issues
|
170
220
|
changlog_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/CHANGELOG.md
|
171
221
|
documentation_uri: https://github.com/orphic-inc/ruby-orphic-cli/blob/main/README.md
|
172
|
-
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.
|
222
|
+
source_code_uri: https://github.com/orphic-inc/ruby-orphic-cli/tree/v0.1.7
|
173
223
|
wiki_uri: https://github.com/orphic-inc/ruby-orphic-cli/wiki
|
174
|
-
post_install_message:
|
224
|
+
post_install_message:
|
175
225
|
rdoc_options: []
|
176
226
|
require_paths:
|
177
227
|
- lib
|
@@ -187,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
237
|
version: '0'
|
188
238
|
requirements: []
|
189
239
|
rubygems_version: 3.1.4
|
190
|
-
signing_key:
|
240
|
+
signing_key:
|
191
241
|
specification_version: 4
|
192
242
|
summary: Orphic is a toolkit for building boilerplate interfaces invoking interaction
|
193
243
|
test_files: []
|