##// END OF EJS Templates
fixed dependencies
cin -
r3:fb4d13ff05ae default
parent child
Show More
@@ -1,6 +1,8
1 {
1 {
2 "name": "@implab/djx",
3 "version": "0.0.1-dev",
4 "lockfileVersion": 1,
2 "requires": true,
5 "requires": true,
3 "lockfileVersion": 1,
4 "dependencies": {
6 "dependencies": {
5 "@babel/code-frame": {
7 "@babel/code-frame": {
6 "version": "7.8.3",
8 "version": "7.8.3",
@@ -45,18 +47,7
45 },
47 },
46 "@types/dijit": {
48 "@types/dijit": {
47 "version": "file:src/typings/dijit",
49 "version": "file:src/typings/dijit",
48 "dev": true,
50 "dev": true
49 "requires": {
50 "@types/dojo": "^1.0.0"
51 },
52 "dependencies": {
53 "@types/dojo": {
54 "version": "1.9.42",
55 "resolved": "https://registry.npmjs.org/@types/dojo/-/dojo-1.9.42.tgz",
56 "integrity": "sha512-yFfw7uoOlCy6QgxTWIzii4/QOsIDXq9gX3/6iXQ2nz//Y23yWXFRaYpoQ7GW0fvPN3lKtYkXgv6GXtdtWlHFXg==",
57 "dev": true
58 }
59 }
60 },
51 },
61 "@types/dojo": {
52 "@types/dojo": {
62 "version": "file:src/typings/dojo",
53 "version": "file:src/typings/dojo",
@@ -1,4 +1,18
1 {
1 {
2 "name": "@implab/djx",
3 "version": "0.0.1-dev",
4 "description": "Supports using dojo version 1 with typescript and .tsx files",
5 "keywords": [
6 "dojo",
7 "tsx",
8 "typescript",
9 "widgets"
10 ],
11 "repository": "",
12 "peerDependencies": {
13 "dojo": "1.16.0",
14 "@implab/core-amd": "^1.3.2"
15 },
2 "devDependencies": {
16 "devDependencies": {
3 "@types/requirejs": "2.1.31",
17 "@types/requirejs": "2.1.31",
4 "dojo": "1.16.0",
18 "dojo": "1.16.0",
@@ -2,7 +2,8 import dom = require("dojo/dom-construct
2 import { argumentNotNull } from "@implab/core-amd/safe";
2 import { argumentNotNull } from "@implab/core-amd/safe";
3 import _WidgetBase = require("dijit/_WidgetBase");
3 import _WidgetBase = require("dijit/_WidgetBase");
4 import { BuildContextBase } from "./BuildContextBase";
4 import { BuildContextBase } from "./BuildContextBase";
5 import { _WidgetBaseConstructor } from "dijit/_WidgetBase";
5
6 type _WidgetBaseConstructor = typeof _WidgetBase;
6
7
7 export class WidgetContext extends BuildContextBase {
8 export class WidgetContext extends BuildContextBase {
8 widgetClass: _WidgetBaseConstructor;
9 widgetClass: _WidgetBaseConstructor;
@@ -5,7 +5,6 import { NodeFragmentOrString, Handle, N
5 import { DeclareConstructor } from "dojo/_base/declare";
5 import { DeclareConstructor } from "dojo/_base/declare";
6
6
7 declare namespace _WidgetBase {
7 declare namespace _WidgetBase {
8
9 interface _WidgetBase extends Stateful, Destroyable {
8 interface _WidgetBase extends Stateful, Destroyable {
10
9
11 /**
10 /**
@@ -234,6 +233,7 declare namespace _WidgetBase {
234 interface _WidgetBaseConstructor<W = _WidgetBase> extends DeclareConstructor<W> {
233 interface _WidgetBaseConstructor<W = _WidgetBase> extends DeclareConstructor<W> {
235 new(params: Object, srcNodeRef: NodeOrString): W;
234 new(params: Object, srcNodeRef: NodeOrString): W;
236 }
235 }
236
237 }
237 }
238
238
239 type _WidgetBase = _WidgetBase._WidgetBase;
239 type _WidgetBase = _WidgetBase._WidgetBase;
@@ -1,7 +1,4
1 {
1 {
2 "name": "@types/dijit",
2 "name": "@types/dijit",
3 "version": "1.0.1-rc1",
3 "version": "1.0.1-rc1"
4 "dependencies": {
5 "@types/dojo": "^1.0.0"
6 }
7 } No newline at end of file
4 }
General Comments 0
You need to be logged in to leave comments. Login now