@things-factory/dashboard 7.0.1-alpha.5 → 7.0.1-alpha.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/actions/{board-settings.js → board-settings.ts} +3 -2
- package/client/{bootstrap.js → bootstrap.ts} +2 -2
- package/client/{const.js → const.ts} +1 -1
- package/client/index.ts +1 -0
- package/client/pages/{dashboard.js → dashboard.ts} +25 -22
- package/client/tsconfig.json +11 -0
- package/client/viewparts/{dashboard-setting-let.js → dashboard-setting-let.ts} +104 -115
- package/dist-client/actions/board-settings.d.ts +3 -0
- package/dist-client/actions/board-settings.js +29 -0
- package/dist-client/actions/board-settings.js.map +1 -0
- package/dist-client/actions/index.d.ts +1 -0
- package/dist-client/actions/index.js +2 -0
- package/dist-client/actions/index.js.map +1 -0
- package/dist-client/bootstrap.d.ts +2 -0
- package/dist-client/bootstrap.js +31 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/const.d.ts +5 -0
- package/dist-client/const.js +6 -0
- package/dist-client/const.js.map +1 -0
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/dashboard.d.ts +21 -0
- package/dist-client/pages/dashboard.js +97 -0
- package/dist-client/pages/dashboard.js.map +1 -0
- package/dist-client/reducers/board-settings.d.ts +2 -0
- package/dist-client/reducers/board-settings.js +14 -0
- package/dist-client/reducers/board-settings.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +10 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-client/viewparts/dashboard-setting-let.d.ts +26 -0
- package/dist-client/viewparts/dashboard-setting-let.js +219 -0
- package/dist-client/viewparts/dashboard-setting-let.js.map +1 -0
- package/dist-server/index.js +0 -1
- package/dist-server/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -12
- package/server/index.ts +0 -1
- package/server/tsconfig.json +10 -0
- package/things-factory.config.js +2 -2
- package/client/index.js +0 -1
- package/dist-server/migrations/index.js +0 -12
- package/dist-server/migrations/index.js.map +0 -1
- package/server/migrations/index.ts +0 -9
- package/tsconfig.json +0 -9
- /package/client/actions/{index.js → index.ts} +0 -0
- /package/client/reducers/{board-settings.js → board-settings.ts} +0 -0
- /package/client/{route.js → route.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/dashboard",
|
|
3
|
-
"version": "7.0.1-alpha.
|
|
3
|
+
"version": "7.0.1-alpha.52",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
|
-
"browser": "client/index.js",
|
|
5
|
+
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
7
7
|
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
8
8
|
"description": "module for dashboard management",
|
|
@@ -17,17 +17,19 @@
|
|
|
17
17
|
"directory": "packages/dashboard"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
20
|
+
"build": "npm run build:server && npm run build:client",
|
|
21
|
+
"copy:files": "copyfiles -e \"./client/**/*.{ts,js,json}\" -u 1 \"./client/**/*\" dist-client",
|
|
22
|
+
"build:client": "npm run copy:files && npx tsc --p ./client/tsconfig.json",
|
|
23
|
+
"build:server": "npx tsc --p ./server/tsconfig.json",
|
|
24
|
+
"clean:client": "npx rimraf dist-client",
|
|
25
|
+
"clean:server": "npx rimraf dist-server",
|
|
26
|
+
"clean": "npm run clean:server && npm run clean:client"
|
|
25
27
|
},
|
|
26
28
|
"dependencies": {
|
|
27
|
-
"@things-factory/auth-base": "^7.0.1-alpha.
|
|
28
|
-
"@things-factory/board-service": "^7.0.1-alpha.
|
|
29
|
-
"@things-factory/board-ui": "^7.0.1-alpha.
|
|
30
|
-
"@things-factory/setting-base": "^7.0.1-alpha.
|
|
29
|
+
"@things-factory/auth-base": "^7.0.1-alpha.47",
|
|
30
|
+
"@things-factory/board-service": "^7.0.1-alpha.52",
|
|
31
|
+
"@things-factory/board-ui": "^7.0.1-alpha.47",
|
|
32
|
+
"@things-factory/setting-base": "^7.0.1-alpha.47"
|
|
31
33
|
},
|
|
32
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "5a1b7d0f19f4d523e0d1d9eb5d600d54006b6ab5"
|
|
33
35
|
}
|
package/server/index.ts
CHANGED
package/things-factory.config.js
CHANGED
package/client/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './actions'
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.migrations = void 0;
|
|
4
|
-
const glob = require('glob');
|
|
5
|
-
const path = require('path');
|
|
6
|
-
exports.migrations = [];
|
|
7
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function (file) {
|
|
8
|
-
if (file.indexOf('index.js') !== -1)
|
|
9
|
-
return;
|
|
10
|
-
exports.migrations = exports.migrations.concat(Object.values(require(path.resolve(file))) || []);
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../server/migrations/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAEjB,QAAA,UAAU,GAAG,EAAE,CAAA;AAE1B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;IACzE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAAE,OAAM;IAC3C,kBAAU,GAAG,kBAAU,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAA;AAClF,CAAC,CAAC,CAAA","sourcesContent":["const glob = require('glob')\nconst path = require('path')\n\nexport var migrations = []\n\nglob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {\n if (file.indexOf('index.js') !== -1) return\n migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])\n})\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const glob = require('glob')
|
|
2
|
-
const path = require('path')
|
|
3
|
-
|
|
4
|
-
export var migrations = []
|
|
5
|
-
|
|
6
|
-
glob.sync(path.resolve(__dirname, '.', '**', '*.js')).forEach(function(file) {
|
|
7
|
-
if (file.indexOf('index.js') !== -1) return
|
|
8
|
-
migrations = migrations.concat(Object.values(require(path.resolve(file))) || [])
|
|
9
|
-
})
|
package/tsconfig.json
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|