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