Skip to content

Commit

Permalink
feat: 更新目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
yitan.lgh committed Mar 24, 2021
1 parent ffb876c commit a37ec34
Show file tree
Hide file tree
Showing 428 changed files with 340 additions and 359 deletions.
42 changes: 21 additions & 21 deletions api-config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
// application
application: {
path: 'packages/application/src/index.ts',
path: 'src/packages/application/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -11,7 +11,7 @@ module.exports = {
},
// base
env: {
path: 'packages/base/env/src/index.ts',
path: 'src/packages/base/env/src/index.ts',
// 是否可以按环境拆包
unNeedSplit: true,
pkgInfo: [
Expand All @@ -22,7 +22,7 @@ module.exports = {
],
},
canIUse: {
path: 'packages/base/canIUse/src/index.ts',
path: 'src/packages/base/canIUse/src/index.ts',
// 是否可以按环境拆包
unNeedSplit: true,
pkgInfo: [
Expand All @@ -34,7 +34,7 @@ module.exports = {
},

unitTool: {
path: 'packages/base/unit-tool/src/index.ts',
path: 'src/packages/base/unit-tool/src/index.ts',
unNeedSplit: true,
pkgInfo: [
{
Expand All @@ -48,7 +48,7 @@ module.exports = {
},
// canvas
canvas: {
path: 'packages/canvas/src/index.ts',
path: 'src/packages/canvas/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -58,7 +58,7 @@ module.exports = {
},
// device
accelerometer: {
path: 'packages/device/accelerometer/src/index.ts',
path: 'src/packages/device/accelerometer/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -67,7 +67,7 @@ module.exports = {
],
},
clipboard: {
path: 'packages/device/clipboard/src/index.ts',
path: 'src/packages/device/clipboard/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -76,7 +76,7 @@ module.exports = {
],
},
systemInfo: {
path: 'packages/device/systemInfo/src/index.ts',
path: 'src/packages/device/systemInfo/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -95,7 +95,7 @@ module.exports = {
// },
// file
file: {
path: 'packages/file/src/index.ts',
path: 'src/packages/file/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -105,7 +105,7 @@ module.exports = {
},
// interactive
actionSheet: {
path: 'packages/interactive/actionSheet/src/index.ts',
path: 'src/packages/interactive/actionSheet/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -114,7 +114,7 @@ module.exports = {
],
},
alert: {
path: 'packages/interactive/alert/src/index.ts',
path: 'src/packages/interactive/alert/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand Down Expand Up @@ -151,7 +151,7 @@ module.exports = {
// },

toast: {
path: 'packages/interactive/toast/src/index.ts',
path: 'src/packages/interactive/toast/src/index.ts',
pkgInfo: [
{
version: '1.0.3',
Expand All @@ -160,7 +160,7 @@ module.exports = {
],
},
loading: {
path: 'packages/interactive/loading/src/index.ts',
path: 'src/packages/interactive/loading/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -178,7 +178,7 @@ module.exports = {
// ]
// },
element: {
path: 'packages/interactive/element/src/index.ts',
path: 'src/packages/interactive/element/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -187,7 +187,7 @@ module.exports = {
],
},
intersectionObserver: {
path: 'packages/interactive/intersectionObserver/src/index.ts',
path: 'src/packages/interactive/intersectionObserver/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -196,7 +196,7 @@ module.exports = {
],
},
confirm: {
path: 'packages/interactive/confirm/src/index.ts',
path: 'src/packages/interactive/confirm/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -214,7 +214,7 @@ module.exports = {
// ]
// },
location: {
path: 'packages/location/src/index.ts',
path: 'src/packages/location/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -224,7 +224,7 @@ module.exports = {
},
// media
image: {
path: 'packages/media/image/src/index.ts',
path: 'src/packages/media/image/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand All @@ -234,7 +234,7 @@ module.exports = {
},
// navigate
navigate: {
path: 'packages/navigate/src/index.ts',
path: 'src/packages/navigate/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -244,7 +244,7 @@ module.exports = {
},
// network
request: {
path: 'packages/network/request/src/index.ts',
path: 'src/packages/network/request/src/index.ts',
pkgInfo: [
{
version: '1.0.2',
Expand All @@ -254,7 +254,7 @@ module.exports = {
},
// storage
storage: {
path: 'packages/storage/src/index.ts',
path: 'src/packages/storage/src/index.ts',
pkgInfo: [
{
version: '1.0.1',
Expand Down
24 changes: 0 additions & 24 deletions packages/application/src/ali-miniapp/errorEvent.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/application/src/ali-miniapp/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/application/src/bytedance-microapp/errorEvent.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/application/src/bytedance-microapp/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/application/src/web/errorEvent.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/application/src/web/index.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/application/src/wechat-miniprogram/errorEvent.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/application/src/wechat-miniprogram/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/device/clipboard/src/ali-miniapp/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/interactive/alert/src/ali-miniapp/index.ts

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions packages/interactive/loading/src/ali-miniapp/index.ts

This file was deleted.

Loading

0 comments on commit a37ec34

Please sign in to comment.