Publish version 0.3.8

This commit is contained in:
pengfei.zhou 2020-03-14 10:57:04 +08:00 committed by osborn
parent 98c7d59a70
commit a2e3dea675
8 changed files with 18 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'DoricCore' s.name = 'DoricCore'
s.version = '0.3.7' s.version = '0.3.8'
s.summary = 'Doric iOS SDK' s.summary = 'Doric iOS SDK'

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'DoricDevkit' s.name = 'DoricDevkit'
s.version = '0.3.7' s.version = '0.3.8'
s.summary = 'Doric iOS Devkit' s.summary = 'Doric iOS Devkit'
s.description = <<-DESC s.description = <<-DESC

View File

@ -1 +1 @@
version=0.3.7 version=0.3.8

6
doric-js/index.d.ts vendored
View File

@ -51,7 +51,13 @@ declare module 'doric/lib/src/runtime/global' {
screenWidth: number; screenWidth: number;
screenHeight: number; screenHeight: number;
statusBarHeight: number; statusBarHeight: number;
/**
* ex:Apple or Google
*/
deviceBrand: string; deviceBrand: string;
/**
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string; deviceModel: string;
[index: string]: number | string | boolean | object | undefined; [index: string]: number | string | boolean | object | undefined;
}; };

View File

@ -37,7 +37,13 @@ declare global {
screenWidth: number; screenWidth: number;
screenHeight: number; screenHeight: number;
statusBarHeight: number; statusBarHeight: number;
/**
* ex:Apple or Google
*/
deviceBrand: string; deviceBrand: string;
/**
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string; deviceModel: string;
[index: string]: number | string | boolean | object | undefined; [index: string]: number | string | boolean | object | undefined;
}; };

View File

@ -1,6 +1,6 @@
{ {
"name": "doric", "name": "doric",
"version": "0.3.7", "version": "0.3.8",
"description": "The JS Framework of Doric", "description": "The JS Framework of Doric",
"main": "bundle/doric-vm.js", "main": "bundle/doric-vm.js",
"types": "index.d.ts", "types": "index.d.ts",

View File

@ -1,6 +1,6 @@
{ {
"name": "doric-web", "name": "doric-web",
"version": "0.3.7", "version": "0.3.8",
"description": "Doric library for Web", "description": "Doric library for Web",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {

View File

@ -1 +1 @@
0.3.7 0.3.8