Skip to content

Commit

Permalink
Upgrade to Typescript 2.9 (#1067)
Browse files Browse the repository at this point in the history
* v4.0.3

* Upgrade to Typescript 2.9

* Make tsc watchers use the preserveOutput flag
* Remove ts sourcemaps
  • Loading branch information
darthtrevino committed Jun 6, 2018
1 parent 85012f7 commit b3e5c43
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,6 +1,6 @@
{
"lerna": "2.9.0",
"version": "4.0.2",
"version": "4.0.3",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
Expand Down
4 changes: 2 additions & 2 deletions packages/dnd-core/package.json
@@ -1,14 +1,14 @@
{
"name": "dnd-core",
"version": "4.0.2",
"version": "4.0.3",
"description": "Drag and drop sans the GUI",
"license": "BSD-3-Clause",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"clean": "rimraf lib",
"build": "tsc",
"watch": "tsc -w",
"watch": "tsc -w --preserveWatchOutput",
"start": "npm run watch",
"test": "run-s clean build"
},
Expand Down
1 change: 0 additions & 1 deletion packages/dnd-core/tsconfig.json
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"baseUrl": "./src"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/documentation/package.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd-documentation",
"version": "4.0.2",
"version": "4.0.3",
"private": true,
"scripts": {
"clean": "rimraf __site__ __site_prerender__",
Expand Down Expand Up @@ -48,7 +48,7 @@
"lodash": "^4.17.10",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-dnd-test-backend": "^4.0.2",
"react-dnd-test-backend": "^4.0.3",
"react-dom": "^16.4.0",
"react-frame-component": "^3.0.0",
"shallowequal": "^1.0.2"
Expand Down
12 changes: 6 additions & 6 deletions packages/react-dnd-html5-backend/package.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd-html5-backend",
"version": "4.0.2",
"version": "4.0.3",
"description": "HTML5 backend for React DnD",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -16,27 +16,27 @@
"bundle:min": "webpack --mode production --output-filename=ReactDnDHTML5Backend.min.js",
"build": "run-p bundle:* transpile",
"test": "run-s clean build",
"watch": "tsc -w",
"watch": "tsc -w --preserveWatchOutput",
"start": "npm run watch"
},
"dependencies": {
"@types/lodash": "^4.14.109",
"@types/react": "^16.3.16",
"@types/shallowequal": "^0.2.2",
"autobind-decorator": "^2.1.0",
"dnd-core": "^4.0.2",
"dnd-core": "^4.0.3",
"lodash": "^4.17.10",
"shallowequal": "^1.0.2"
},
"devDependencies": {
"@types/node": "^10.3.0",
"npm-run-all": "^4.1.2",
"react": "^16.4.0",
"react-dnd": "^4.0.2",
"react-dnd-test-backend": "^4.0.2",
"react-dnd": "^4.0.3",
"react-dnd-test-backend": "^4.0.3",
"rimraf": "^2.6.2",
"ts-loader": "^4.2.0",
"typescript": "^2.8.3",
"typescript": "^2.9.1",
"webpack": "^4.6.0"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/react-dnd-html5-backend/tsconfig.json
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"baseUrl": "./src"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/react-dnd-test-backend/package.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd-test-backend",
"version": "4.0.2",
"version": "4.0.3",
"description": "A mock backend for testing React DnD apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -16,7 +16,7 @@
},
"dependencies": {
"@types/lodash": "^4.14.109",
"dnd-core": "^4.0.2",
"dnd-core": "^4.0.3",
"lodash": "^4.17.10"
},
"peerDependencies": {
Expand All @@ -25,6 +25,6 @@
"devDependencies": {
"npm-run-all": "^4.1.2",
"rimraf": "^2.6.2",
"typescript": "^2.8.3"
"typescript": "^2.9.1"
}
}
1 change: 0 additions & 1 deletion packages/react-dnd-test-backend/tsconfig.json
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"baseUrl": "./src"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/react-dnd/package.json
@@ -1,6 +1,6 @@
{
"name": "react-dnd",
"version": "4.0.2",
"version": "4.0.3",
"description": "Drag and Drop for React",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -16,7 +16,7 @@
"transpile": "tsc",
"build": "run-p bundle:* transpile",
"test": "run-s clean build",
"watch": "tsc -w",
"watch": "tsc -w --preserveWatchOutput",
"start": "npm run watch"
},
"dependencies": {
Expand All @@ -27,7 +27,7 @@
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"@types/shallowequal": "^0.2.2",
"dnd-core": "^4.0.2",
"dnd-core": "^4.0.3",
"hoist-non-react-statics": "^2.5.0",
"invariant": "^2.1.0",
"lodash": "^4.17.10",
Expand All @@ -41,7 +41,7 @@
"react": "^16.4.0",
"rimraf": "^2.6.2",
"ts-loader": "^4.2.0",
"typescript": "^2.8.3",
"typescript": "^2.9.1",
"webpack": "^4.6.0",
"webpack-cli": "^2.1.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/react-dnd/tsconfig.json
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"baseUrl": "./"
},
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -8497,9 +8497,9 @@ typescript@^2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.1.tgz#6160e4f8f195d5ba81d4876f9c0cc1fbc0820624"

typescript@^2.8.3:
version "2.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.8.3.tgz#5d817f9b6f31bb871835f4edf0089f21abe6c170"
typescript@^2.9.1:
version "2.9.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.1.tgz#fdb19d2c67a15d11995fd15640e373e09ab09961"

ua-parser-js@^0.7.9:
version "0.7.14"
Expand Down

0 comments on commit b3e5c43

Please sign in to comment.