From aa5a0eedf71148345c4735c5a4a1f96e73f268b1 Mon Sep 17 00:00:00 2001 From: Jonathan Fontanez Date: Fri, 16 Nov 2018 15:13:59 -0500 Subject: [PATCH 1/5] Updated to work as a typescript project --- sample.js => examples/sample.js | 0 {types => lib}/application.d.ts | 0 {types => lib}/clipboard.d.ts | 0 {types => lib}/commands.d.ts | 0 {types => lib}/index.d.ts | 0 {types => lib}/scenegraph.d.ts | 0 {types => lib}/uxp.d.ts | 0 package.json | 28 ++++++++++++++++++++++++++++ 8 files changed, 28 insertions(+) rename sample.js => examples/sample.js (100%) rename {types => lib}/application.d.ts (100%) rename {types => lib}/clipboard.d.ts (100%) rename {types => lib}/commands.d.ts (100%) rename {types => lib}/index.d.ts (100%) rename {types => lib}/scenegraph.d.ts (100%) rename {types => lib}/uxp.d.ts (100%) create mode 100644 package.json diff --git a/sample.js b/examples/sample.js similarity index 100% rename from sample.js rename to examples/sample.js diff --git a/types/application.d.ts b/lib/application.d.ts similarity index 100% rename from types/application.d.ts rename to lib/application.d.ts diff --git a/types/clipboard.d.ts b/lib/clipboard.d.ts similarity index 100% rename from types/clipboard.d.ts rename to lib/clipboard.d.ts diff --git a/types/commands.d.ts b/lib/commands.d.ts similarity index 100% rename from types/commands.d.ts rename to lib/commands.d.ts diff --git a/types/index.d.ts b/lib/index.d.ts similarity index 100% rename from types/index.d.ts rename to lib/index.d.ts diff --git a/types/scenegraph.d.ts b/lib/scenegraph.d.ts similarity index 100% rename from types/scenegraph.d.ts rename to lib/scenegraph.d.ts diff --git a/types/uxp.d.ts b/lib/uxp.d.ts similarity index 100% rename from types/uxp.d.ts rename to lib/uxp.d.ts diff --git a/package.json b/package.json new file mode 100644 index 0000000..a8703d3 --- /dev/null +++ b/package.json @@ -0,0 +1,28 @@ +{ + "name": "@types/adobexd", + "version": "0.0.1", + "types": "./lib/index.d.ts", + "description": "Typings for adobexd", + "main": "sample.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/tato123/typings.git" + }, + "keywords": [ + "Typings", + "for", + "adobexd" + ], + "author": "Jonathan Fontanez ", + "license": "MIT", + "bugs": { + "url": "https://github.com/tato123/typings/issues" + }, + "homepage": "https://github.com/tato123/typings#readme", + "dependencies": { + "typescript": "next" + } +} From d408d2b59643005c7892706af4af9667ed7a2f32 Mon Sep 17 00:00:00 2001 From: Jonathan Fontanez Date: Fri, 23 Nov 2018 12:20:05 -0500 Subject: [PATCH 2/5] created typings entry in package.json --- package.json | 19 +++++++------------ examples/sample.js => sample.js | 0 {lib => types}/application.d.ts | 0 {lib => types}/clipboard.d.ts | 0 {lib => types}/commands.d.ts | 0 {lib => types}/index.d.ts | 0 {lib => types}/scenegraph.d.ts | 0 {lib => types}/uxp.d.ts | 0 8 files changed, 7 insertions(+), 12 deletions(-) rename examples/sample.js => sample.js (100%) rename {lib => types}/application.d.ts (100%) rename {lib => types}/clipboard.d.ts (100%) rename {lib => types}/commands.d.ts (100%) rename {lib => types}/index.d.ts (100%) rename {lib => types}/scenegraph.d.ts (100%) rename {lib => types}/uxp.d.ts (100%) diff --git a/package.json b/package.json index a8703d3..f9f85d6 100644 --- a/package.json +++ b/package.json @@ -1,28 +1,23 @@ { - "name": "@types/adobexd", - "version": "0.0.1", - "types": "./lib/index.d.ts", + "name": "@adobexd/typings", + "version": "1.0.1", + "typings": "./types/index.d.ts", "description": "Typings for adobexd", - "main": "sample.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, "repository": { "type": "git", - "url": "git+https://github.com/tato123/typings.git" + "url": "git@github.com:AdobeXD/typings.git" }, "keywords": [ "Typings", "for", "adobexd" ], - "author": "Jonathan Fontanez ", "license": "MIT", "bugs": { - "url": "https://github.com/tato123/typings/issues" + "url": "https://github.com/AdobeXD/typings/issues" }, - "homepage": "https://github.com/tato123/typings#readme", - "dependencies": { + "homepage": "https://github.com/AdobeXD/typings#readme", + "devDependencies": { "typescript": "next" } } diff --git a/examples/sample.js b/sample.js similarity index 100% rename from examples/sample.js rename to sample.js diff --git a/lib/application.d.ts b/types/application.d.ts similarity index 100% rename from lib/application.d.ts rename to types/application.d.ts diff --git a/lib/clipboard.d.ts b/types/clipboard.d.ts similarity index 100% rename from lib/clipboard.d.ts rename to types/clipboard.d.ts diff --git a/lib/commands.d.ts b/types/commands.d.ts similarity index 100% rename from lib/commands.d.ts rename to types/commands.d.ts diff --git a/lib/index.d.ts b/types/index.d.ts similarity index 100% rename from lib/index.d.ts rename to types/index.d.ts diff --git a/lib/scenegraph.d.ts b/types/scenegraph.d.ts similarity index 100% rename from lib/scenegraph.d.ts rename to types/scenegraph.d.ts diff --git a/lib/uxp.d.ts b/types/uxp.d.ts similarity index 100% rename from lib/uxp.d.ts rename to types/uxp.d.ts From f8b2eeac954a6cb147181528c25a3374107a967e Mon Sep 17 00:00:00 2001 From: Jonathan Fontanez Date: Fri, 23 Nov 2018 12:23:41 -0500 Subject: [PATCH 3/5] Add missing contributors field --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f9f85d6..1007093 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,11 @@ "url": "https://github.com/AdobeXD/typings/issues" }, "homepage": "https://github.com/AdobeXD/typings#readme", - "devDependencies": { - "typescript": "next" - } + "contributors": [ + { + "name": "Jonathan Fontanez", + "email": "fontanezj1@gmail.com", + "url": "https://github.com/tato123" + } + ] } From 50f9f9bb9867ddfe006c6eaade0b5e135a82398b Mon Sep 17 00:00:00 2001 From: Jonathan Fontanez Date: Fri, 23 Nov 2018 12:43:47 -0500 Subject: [PATCH 4/5] updated contributors --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 1007093..cf544f2 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,11 @@ "name": "Jonathan Fontanez", "email": "fontanezj1@gmail.com", "url": "https://github.com/tato123" + }, + { + "name": "Pablo Klaschka", + "email": "xdplugins@pabloklaschka.de", + "url": "https://github.com/pklaschka" } ] } From 42e193faa82d13d977be88521560488784b9bbf5 Mon Sep 17 00:00:00 2001 From: Jonathan Fontanez Date: Fri, 23 Nov 2018 12:47:04 -0500 Subject: [PATCH 5/5] added kerri shotts as a contributor and updated the description to match Adobe XD guidelines --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cf544f2..12e76b0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@adobexd/typings", "version": "1.0.1", "typings": "./types/index.d.ts", - "description": "Typings for adobexd", + "description": "Typings for Adobe XD CC", "repository": { "type": "git", "url": "git@github.com:AdobeXD/typings.git" @@ -27,6 +27,11 @@ "name": "Pablo Klaschka", "email": "xdplugins@pabloklaschka.de", "url": "https://github.com/pklaschka" + }, + { + "name": "Kerri Shotts", + "email": "kerrishotts@gmail.com", + "url": "https://github.com/kerrishotts" } ] }