##// END OF EJS Templates
Working on WatchForRendition
cin -
r107:e59104632d14 default
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: new file 100644
NO CONTENT: new file 100644
The requested commit or file is too big and content was truncated. Show full diff
@@ -1,25 +1,33
1 {
1 {
2 "env": {
2 "root": true,
3 "browser": true,
3 "extends": [
4 "amd": true
4 "plugin:react/recommended",
5 },
5 "eslint:recommended",
6 "plugin:@typescript-eslint/eslint-recommended",
7 "plugin:@typescript-eslint/recommended",
8 "plugin:@typescript-eslint/recommended-requiring-type-checking"
9 ],
10 "parser": "@typescript-eslint/parser",
6 "parserOptions": {
11 "parserOptions": {
7 "ecmaFeatures": {
12 "ecmaFeatures": {
8 "jsx": true
13 "jsx": true
9 },
14 },
10 "sourceType": "script"
15 "ecmaVersion": 5,
16 "tsconfigRootDir": "djx/src",
17 "project": ["tsconfig.eslint.json", "*/tsconfig.json"]
11 },
18 },
12 "extends": "eslint:recommended",
19 "plugins": [
20 "@typescript-eslint"
21 ],
13 "rules": {
22 "rules": {
14 "no-const-assign": "warn",
23 "@typescript-eslint/no-empty-function": "off",
15 "no-this-before-super": "warn",
24 "max-classes-per-file": [
16 "no-undef": "error",
25 "error",
17 "no-unreachable": "warn",
26 { "ignoreExpressions": true, "max": 1 }
18 "no-unused-vars": "warn",
27 ],
19 "constructor-super": "warn",
28 "@typescript-eslint/prefer-readonly": ["error"],
20 "valid-typeof": "warn",
29 "semi": "off",
21 "semi" : "warn",
30 "@typescript-eslint/semi": ["error"]
22 "no-invalid-this" : "error",
31
23 "no-console": "off"
24 }
32 }
25 } No newline at end of file
33 }
@@ -1,104 +1,104
1 plugins {
1 plugins {
2 id "org.implab.gradle-typescript" version "1.3.4"
2 id "org.implab.gradle-typescript" version "1.3.4"
3 id "ivy-publish"
3 id "ivy-publish"
4 }
4 }
5
5
6 configurations {
6 configurations {
7 "default" {
7 "default" {
8 canBeConsumed = true
8 canBeConsumed = true
9 canBeResolved = false
9 canBeResolved = false
10 }
10 }
11 }
11 }
12
12
13 typescript {
13 typescript {
14 compilerOptions {
14 compilerOptions {
15 lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
15 lib = ["es5", "dom", "scripthost", "es2015.promise", "es2015.symbol", "es2015.iterable"]
16 // listFiles = true
16 // listFiles = true
17 declaration = true
17 declaration = true
18 strict = true
18 strict = true
19 types = []
19 types = []
20 module = "amd"
20 module = "amd"
21 it.target = "es5"
21 it.target = "es5"
22 experimentalDecorators = true
22 experimentalDecorators = true
23 noUnusedLocals = false
23 noUnusedLocals = false
24 jsx = "react"
24 jsx = "react"
25 jsxFactory = "createElement"
25 jsxFactory = "createElement"
26 moduleResolution = "node"
26 moduleResolution = "node"
27 // dojo-typings are sick
27 // dojo-typings are sick
28 skipLibCheck = true
28 skipLibCheck = true
29 // traceResolution = true
29 // traceResolution = true
30 // baseUrl = "./"
30 // baseUrl = "./"
31 // paths = [ "*": [ "$projectDir/src/typings/*" ] ]
31 // paths = [ "*": [ "$projectDir/src/typings/*" ] ]
32 // baseUrl = "$projectDir/src/typings"
32 // baseUrl = "$projectDir/src/typings"
33 // typeRoots = ["$projectDir/src/typings"]
33 // typeRoots = ["$projectDir/src/typings"]
34 }
34 }
35
35
36 tscCmd = "$projectDir/node_modules/.bin/tsc"
36 tscCmd = "$projectDir/node_modules/.bin/tsc"
37 tsLintCmd = "$projectDir/node_modules/.bin/tslint"
37 tsLintCmd = "$projectDir/node_modules/.bin/tslint"
38 esLintCmd = "$projectDir/node_modules/.bin/eslint"
38 esLintCmd = "$projectDir/node_modules/.bin/eslint"
39 }
39 }
40
40
41 configureTsMain {
41 configureTsMain {
42 sourceFiles {
42 sourceFiles {
43 from sources.main.typings
43 from sources.main.typings
44 }
44 }
45 compilerOptions {
45 compilerOptions {
46 // baseUrl = "$projectDir/src"
46 // baseUrl = "$projectDir/src"
47 /*paths = [
47 /*paths = [
48 "dojo/*" : [ "typings/dojo/*" ],
48 "dojo/*" : [ "typings/dojo/*" ],
49 "dijit/*" : [ "typings/dijit/*" ]
49 "dijit/*" : [ "typings/dijit/*" ]
50 ]*/
50 ]*/
51 types = ["requirejs", "@implab/dojo-typings"]
51 types = ["requirejs", "@implab/dojo-typings", "@implab/dojo-typings/dojo/NodeList-fx"]
52 }
52 }
53 }
53 }
54
54
55 configureTsTest {
55 configureTsTest {
56 compilerOptions {
56 compilerOptions {
57 typeRoots = []
57 typeRoots = []
58 types = ["requirejs", sources.main.output.typingsDir.get().toString() ]
58 types = ["requirejs", sources.main.output.typingsDir.get().toString() ]
59 }
59 }
60 }
60 }
61
61
62 tasks.matching{ it.name =~ /^configureTs/ }.configureEach {
62 tasks.matching{ it.name =~ /^configureTs/ }.configureEach {
63 compilerOptions {
63 compilerOptions {
64 if (symbols != 'none') {
64 if (symbols != 'none') {
65 sourceMap = true
65 sourceMap = true
66 switch(symbols) {
66 switch(symbols) {
67 case "local":
67 case "local":
68 sourceRoot = ( isWindows ? "file:///" : "file://" ) + it.rootDir
68 sourceRoot = ( isWindows ? "file:///" : "file://" ) + it.rootDir
69 break;
69 break;
70 }
70 }
71 }
71 }
72 }
72 }
73 }
73 }
74
74
75 npmPackMeta {
75 npmPackMeta {
76 meta {
76 meta {
77 name = "@$npmScope/$project.name"
77 name = "@$npmScope/$project.name"
78 }
78 }
79 }
79 }
80
80
81 task npmPackTypings(type: Copy) {
81 task npmPackTypings(type: Copy) {
82 dependsOn typings
82 dependsOn typings
83
83
84 npmPackContents.dependsOn it
84 npmPackContents.dependsOn it
85
85
86 from typescript.typingsDir
86 from typescript.typingsDir
87 into npm.packageDir
87 into npm.packageDir
88 }
88 }
89
89
90 task printVersion {
90 task printVersion {
91 doLast {
91 doLast {
92 println "packageName: ${npmPackMeta.metadata.get().name}";
92 println "packageName: ${npmPackMeta.metadata.get().name}";
93 println "version: $version";
93 println "version: $version";
94 println "target: $typescript.compilerOptions.target";
94 println "target: $typescript.compilerOptions.target";
95 println "module: $typescript.compilerOptions.module";
95 println "module: $typescript.compilerOptions.module";
96 println "symbols: $symbols";
96 println "symbols: $symbols";
97 }
97 }
98 }
98 }
99
99
100 artifacts {
100 artifacts {
101 "default" (npm.packageDir) {
101 "default" (npm.packageDir) {
102 builtBy npmAssemblePackage
102 builtBy npmAssemblePackage
103 }
103 }
104 } No newline at end of file
104 }
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
1 NO CONTENT: file renamed from playground/src/main/ts/ProgressBar.tsx to playground/src/main/ts/view/ProgressBar.tsx
NO CONTENT: file renamed from playground/src/main/ts/ProgressBar.tsx to playground/src/main/ts/view/ProgressBar.tsx
1 NO CONTENT: file was removed
NO CONTENT: file was removed
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now