ctlst 0.1.9 → 0.1.10
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/templates/new/src/setupTests.js +4 -0
- data/templates/new.rb +1 -3
- data/templates/usecase/index.js.erb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b399c7bc910c59eeb7fe8abdd19e54a795e7a39bb902c78a1093d9e80104965
|
|
4
|
+
data.tar.gz: 0ea85d40e3fc4c88740c0035620854204152a18943c9c9a5f87ae5287fffb67c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97e8ea2a4b4bd5c535a6916044af1aa3875199ffbfebcad1e362918d91d1eb6c1b8dc040fda58c532a4ed9db13f806fbff6e727d8199e3378a7375b2ab25f2e0
|
|
7
|
+
data.tar.gz: 7ab935ad3c65f4567fc99101e9491432c5dd83e51986155e7006f05004cf1f381bce7df1423044f21762dcb49e0939ecd8c464699c4fe4964ccb96286303d74c
|
data/templates/new.rb
CHANGED
|
@@ -22,10 +22,8 @@ module Template
|
|
|
22
22
|
`npx create-react-app #{@project_name}`
|
|
23
23
|
Dir.chdir "./#{@project_name}" do
|
|
24
24
|
`git init`
|
|
25
|
-
`npm install storybook`
|
|
26
|
-
`npm install nock`
|
|
27
25
|
`npm install isomorphic-fetch`
|
|
28
|
-
`npm
|
|
26
|
+
`npm i --save-dev storybook@alpha nock enzyme enzyme-adapter-react-16 @storybook/react@alpha @storybook/cli@alpha`
|
|
29
27
|
`storybook init`
|
|
30
28
|
|
|
31
29
|
Templates.create('new', '.', binding)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ctlst
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Faissal Bensefia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ctlst (pronounced 'Catalyst') is a tool similar to the Rails CLI. It
|
|
14
14
|
provides simple commands to build React project that takes advantage of clean architecture,
|
|
@@ -40,6 +40,7 @@ files:
|
|
|
40
40
|
- templates/new/Dockerfile.erb
|
|
41
41
|
- templates/new/Makefile.erb
|
|
42
42
|
- templates/new/docker-compose.yml.erb
|
|
43
|
+
- templates/new/src/setupTests.js
|
|
43
44
|
- templates/usecase.rb
|
|
44
45
|
- templates/usecase/index.js.erb
|
|
45
46
|
- templates/usecase/index.test.js.erb
|