ts_assets 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +3 -3
- data/CHANGELOG.md +4 -0
- data/Rakefile +1 -1
- data/__tests__/ts_assets_spec.tsx +7 -4
- data/lib/ts_assets.rb +8 -19
- data/lib/ts_assets/application_generator.rb +8 -2
- data/lib/ts_assets/generators/const_generator.rb +2 -0
- data/lib/ts_assets/generators/react_generator.rb +17 -3
- data/lib/ts_assets/version.rb +1 -1
- data/package-lock.json +4250 -2068
- data/package.json +26 -14
- data/tsconfig.json +1 -2
- data/tslint.json +3 -1
- metadata +3 -3
data/package.json
CHANGED
@@ -9,32 +9,44 @@
|
|
9
9
|
},
|
10
10
|
"scripts": {
|
11
11
|
"test": "jest",
|
12
|
-
"lint": "tslint '__tests__/**/*.{ts,tsx}'"
|
12
|
+
"lint": "tslint --format verbose '__tests__/**/*.{ts,tsx}'"
|
13
13
|
},
|
14
14
|
"repository": {
|
15
15
|
"type": "git",
|
16
16
|
"url": "git+ssh://git@github.com/bitjourney/ts_assets-rails.git"
|
17
17
|
},
|
18
|
-
"
|
18
|
+
"conntributors": [
|
19
|
+
{
|
20
|
+
"name": "FUJI Goro",
|
21
|
+
"email": "goro-fuji@bitjourney.com"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"name": "kenju"
|
25
|
+
}
|
26
|
+
],
|
19
27
|
"license": "Apache-2.0",
|
20
28
|
"bugs": {
|
21
29
|
"url": "https://github.com/bitjourney/ts_assets-rails/issues"
|
22
30
|
},
|
23
31
|
"homepage": "https://github.com/bitjourney/ts_assets-rails#readme",
|
24
32
|
"dependencies": {},
|
33
|
+
"peerDependencies": {
|
34
|
+
"react": "^15 || ^16"
|
35
|
+
},
|
25
36
|
"devDependencies": {
|
26
|
-
"@types/enzyme": "
|
27
|
-
"@types/jest": "
|
28
|
-
"@types/react": "
|
29
|
-
"@types/react-dom": "
|
30
|
-
"enzyme": "
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"react
|
34
|
-
"react-
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
37
|
+
"@types/enzyme": "^3",
|
38
|
+
"@types/jest": "^22",
|
39
|
+
"@types/react": "^16",
|
40
|
+
"@types/react-dom": "^16",
|
41
|
+
"enzyme": "^3",
|
42
|
+
"enzyme-adapter-react-16": "^1.1.1",
|
43
|
+
"jest": "^22",
|
44
|
+
"react": "^16",
|
45
|
+
"react-dom": "^16",
|
46
|
+
"react-test-renderer": "^16",
|
47
|
+
"ts-jest": "^22",
|
48
|
+
"tslint": "*",
|
49
|
+
"typescript": "*"
|
38
50
|
},
|
39
51
|
"jest": {
|
40
52
|
"transform": {
|
data/tsconfig.json
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"compilerOptions": {
|
3
|
+
"esModuleInterop": true,
|
3
4
|
"allowUnreachableCode": false,
|
4
5
|
"allowUnusedLabels": false,
|
5
6
|
"strict": true,
|
@@ -7,8 +8,6 @@
|
|
7
8
|
"noUnusedParameters": true,
|
8
9
|
"noUnusedLocals": true,
|
9
10
|
"noEmitOnError": true,
|
10
|
-
"noImplicitAny": true,
|
11
|
-
"noImplicitThis": true,
|
12
11
|
"noImplicitReturns": true,
|
13
12
|
"noFallthroughCasesInSwitch": true,
|
14
13
|
"pretty": true
|
data/tslint.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ts_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenju Wagatsuma
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.6
|
109
|
+
rubygems_version: 2.7.6
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Exports Rails assets to TypeScript as React components
|