Rename 'frontend' as 'client', 'backend' as 'server'
This commit is contained in:
parent
c4c0b7fc0e
commit
786af18ac7
122 changed files with 28 additions and 28 deletions
4
Gemfile
4
Gemfile
|
@ -1,8 +1,8 @@
|
|||
source "https://rubygems.org"
|
||||
gemspec
|
||||
gem "twenty-cli", path: "./twenty-cli"
|
||||
gem "twenty-backend", path: "./twenty-backend"
|
||||
gem "twenty-frontend", path: "./twenty-frontend"
|
||||
gem "twenty-server", path: "./twenty-server"
|
||||
gem "twenty-client", path: "./twenty-client"
|
||||
|
||||
require 'rbconfig'
|
||||
gem "listen"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require "bundler/setup"
|
||||
require_relative "rakelib/builders"
|
||||
load "twenty-frontend/tasks/nanoc.rake"
|
||||
load "twenty-client/tasks/nanoc.rake"
|
||||
|
||||
namespace :gem do
|
||||
version = File.binread(File.join(Dir.getwd, "VERSION")).chomp
|
||||
|
|
|
@ -3,7 +3,7 @@ class Builder
|
|||
STAGEDIR = File.join(ROOTDIR, "stage")
|
||||
PKGDIR = File.join(ROOTDIR, "pkgs")
|
||||
PARENT = "twenty.rb"
|
||||
CHILDREN = %w[twenty-cli twenty-backend twenty-frontend]
|
||||
CHILDREN = %w[twenty-cli twenty-server twenty-client]
|
||||
include FileUtils
|
||||
|
||||
def self.call(...)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
module Twenty
|
||||
require "json"
|
||||
require "twenty-backend"
|
||||
require "twenty-frontend"
|
||||
require "twenty-server"
|
||||
require "twenty-client"
|
||||
require_relative "twenty-cli/command"
|
||||
end
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|||
*Dir.glob(File.join(__dir__, "bin", "*"))
|
||||
].select { File.file?(_1) }
|
||||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: command-line interface"
|
||||
gem.summary = "twenty: CLI component"
|
||||
gem.description = gem.summary
|
||||
gem.executables = ["twenty", "20"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.2"
|
||||
|
|
|
@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|||
*Dir.glob(File.join(__dir__, "bin", "*"))
|
||||
].select { File.file?(_1) }
|
||||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: command-line interface"
|
||||
gem.summary = "twenty: CLI component"
|
||||
gem.description = gem.summary
|
||||
gem.executables = ["twenty", "20"]
|
||||
gem.add_runtime_dependency "cmd.rb", "~> 0.2"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
twenty-frontend (0.3.4)
|
||||
twenty-client (0.3.5)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
|
@ -102,7 +102,7 @@ DEPENDENCIES
|
|||
rainpress (~> 1.0)
|
||||
rb-kqueue (>= 0.2)
|
||||
sass (~> 3.7)
|
||||
twenty-frontend!
|
||||
twenty-client!
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.3
|
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Gem::Specification.new do |gem|
|
||||
gem.name = "twenty-frontend"
|
||||
gem.name = "twenty-client"
|
||||
gem.authors = ["0x1eef"]
|
||||
gem.email = ["0x1eef@protonmail.com"]
|
||||
gem.homepage = "https://github.com/0x1eef/twenty#readme"
|
||||
|
@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|||
.flat_map { Dir.glob(_1.chomp) }
|
||||
.select { File.file?(_1) }
|
||||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: frontend"
|
||||
gem.summary = "twenty: client-side component"
|
||||
gem.description = gem.summary
|
||||
gem.add_development_dependency "nanoc", "~> 4.12"
|
||||
gem.add_development_dependency "sass", "~> 3.7"
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Gem::Specification.new do |gem|
|
||||
gem.name = "twenty-frontend"
|
||||
gem.name = "twenty-client"
|
||||
gem.authors = ["0x1eef"]
|
||||
gem.email = ["0x1eef@protonmail.com"]
|
||||
gem.homepage = "https://github.com/0x1eef/twenty#readme"
|
||||
|
@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|||
.flat_map { Dir.glob(_1.chomp) }
|
||||
.select { File.file?(_1) }
|
||||
gem.require_paths = ["lib"]
|
||||
gem.summary = "twenty: frontend"
|
||||
gem.summary = "twenty: client-side component"
|
||||
gem.description = gem.summary
|
||||
gem.add_development_dependency "nanoc", "~> 4.12"
|
||||
gem.add_development_dependency "sass", "~> 3.7"
|
|
@ -4,10 +4,10 @@ module Twenty
|
|||
require "fileutils"
|
||||
require "webrick"
|
||||
require "active_record"
|
||||
require_relative "twenty-backend/graphql"
|
||||
require_relative "twenty-backend/servlet"
|
||||
require_relative "twenty-backend/migration"
|
||||
require_relative "twenty-backend/model"
|
||||
require_relative "twenty-server/graphql"
|
||||
require_relative "twenty-server/servlet"
|
||||
require_relative "twenty-server/migration"
|
||||
require_relative "twenty-server/model"
|
||||
extend FileUtils
|
||||
|
||||
##
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue