Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-pack
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-pack
Commits
238212f9
Commit
238212f9
authored
Nov 23, 2019
by
劳工
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
!2
parents
63495d5f
4db91944
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
12 deletions
+16
-12
index.es.js
dist/index.es.js
+3
-2
index.es.js.map
dist/index.es.js.map
+1
-1
index.js
dist/index.js
+3
-2
index.js.map
dist/index.js.map
+1
-1
index.umd.js
dist/index.umd.js
+3
-2
index.umd.js.map
dist/index.umd.js.map
+1
-1
package.json
package.json
+1
-1
index.js
src/index.js
+3
-2
No files found.
dist/index.es.js
View file @
238212f9
...
@@ -21,7 +21,7 @@ async function pack(project, options) {
...
@@ -21,7 +21,7 @@ async function pack(project, options) {
}
}
}
}
async
function
packData
(
data
,
{
getProcesses
,
getScripts
})
{
async
function
packData
(
data
,
{
getProcesses
,
getScripts
,
getCustoms
})
{
let
newData
=
{};
let
newData
=
{};
newData
.
options
=
data
.
options
;
newData
.
options
=
data
.
options
;
delete
newData
.
options
.
tpl
;
delete
newData
.
options
.
tpl
;
...
@@ -29,7 +29,6 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -29,7 +29,6 @@ async function packData(data, {getProcesses, getScripts}) {
newData
.
assets
=
data
.
assets
;
newData
.
assets
=
data
.
assets
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
processes
=
data
.
processes
;
newData
.
processes
=
data
.
processes
;
newData
.
customs
=
data
.
customs
;
let
scriptIDs
=
[];
let
scriptIDs
=
[];
for
(
let
view
of
newData
.
views
)
{
for
(
let
view
of
newData
.
views
)
{
...
@@ -74,6 +73,8 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -74,6 +73,8 @@ async function packData(data, {getProcesses, getScripts}) {
}
}
}
}
newData
.
customs
=
data
.
customs
&&
data
.
customs
.
length
>
0
?
await
getCustoms
(
data
.
customs
)
:
[];
return
JSON
.
stringify
(
newData
);
return
JSON
.
stringify
(
newData
);
}
}
...
...
dist/index.es.js.map
View file @
238212f9
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
238212f9
...
@@ -25,7 +25,7 @@ async function pack(project, options) {
...
@@ -25,7 +25,7 @@ async function pack(project, options) {
}
}
}
}
async
function
packData
(
data
,
{
getProcesses
,
getScripts
})
{
async
function
packData
(
data
,
{
getProcesses
,
getScripts
,
getCustoms
})
{
let
newData
=
{};
let
newData
=
{};
newData
.
options
=
data
.
options
;
newData
.
options
=
data
.
options
;
delete
newData
.
options
.
tpl
;
delete
newData
.
options
.
tpl
;
...
@@ -33,7 +33,6 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -33,7 +33,6 @@ async function packData(data, {getProcesses, getScripts}) {
newData
.
assets
=
data
.
assets
;
newData
.
assets
=
data
.
assets
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
processes
=
data
.
processes
;
newData
.
processes
=
data
.
processes
;
newData
.
customs
=
data
.
customs
;
let
scriptIDs
=
[];
let
scriptIDs
=
[];
for
(
let
view
of
newData
.
views
)
{
for
(
let
view
of
newData
.
views
)
{
...
@@ -78,6 +77,8 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -78,6 +77,8 @@ async function packData(data, {getProcesses, getScripts}) {
}
}
}
}
newData
.
customs
=
data
.
customs
&&
data
.
customs
.
length
>
0
?
await
getCustoms
(
data
.
customs
)
:
[];
return
JSON
.
stringify
(
newData
);
return
JSON
.
stringify
(
newData
);
}
}
...
...
dist/index.js.map
View file @
238212f9
This diff is collapsed.
Click to expand it.
dist/index.umd.js
View file @
238212f9
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
}
}
}
}
async
function
packData
(
data
,
{
getProcesses
,
getScripts
})
{
async
function
packData
(
data
,
{
getProcesses
,
getScripts
,
getCustoms
})
{
let
newData
=
{};
let
newData
=
{};
newData
.
options
=
data
.
options
;
newData
.
options
=
data
.
options
;
delete
newData
.
options
.
tpl
;
delete
newData
.
options
.
tpl
;
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
newData
.
assets
=
data
.
assets
;
newData
.
assets
=
data
.
assets
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
processes
=
data
.
processes
;
newData
.
processes
=
data
.
processes
;
newData
.
customs
=
data
.
customs
;
let
scriptIDs
=
[];
let
scriptIDs
=
[];
for
(
let
view
of
newData
.
views
)
{
for
(
let
view
of
newData
.
views
)
{
...
@@ -80,6 +79,8 @@
...
@@ -80,6 +79,8 @@
}
}
}
}
newData
.
customs
=
data
.
customs
&&
data
.
customs
.
length
>
0
?
await
getCustoms
(
data
.
customs
)
:
[];
return
JSON
.
stringify
(
newData
);
return
JSON
.
stringify
(
newData
);
}
}
...
...
dist/index.umd.js.map
View file @
238212f9
This diff is collapsed.
Click to expand it.
package.json
View file @
238212f9
{
{
"name"
:
"zeroing-pack"
,
"name"
:
"zeroing-pack"
,
"version"
:
"1.0.
1
"
,
"version"
:
"1.0.
2
"
,
"main"
:
"dist/index.js"
,
"main"
:
"dist/index.js"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
"dependencies"
:
{
"dependencies"
:
{
...
...
src/index.js
View file @
238212f9
...
@@ -21,7 +21,7 @@ export async function pack(project, options) {
...
@@ -21,7 +21,7 @@ export async function pack(project, options) {
}
}
}
}
async
function
packData
(
data
,
{
getProcesses
,
getScripts
})
{
async
function
packData
(
data
,
{
getProcesses
,
getScripts
,
getCustoms
})
{
let
newData
=
{};
let
newData
=
{};
newData
.
options
=
data
.
options
;
newData
.
options
=
data
.
options
;
delete
newData
.
options
.
tpl
;
delete
newData
.
options
.
tpl
;
...
@@ -29,7 +29,6 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -29,7 +29,6 @@ async function packData(data, {getProcesses, getScripts}) {
newData
.
assets
=
data
.
assets
;
newData
.
assets
=
data
.
assets
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
dataMapping
=
data
.
dataMapping
;
newData
.
processes
=
data
.
processes
;
newData
.
processes
=
data
.
processes
;
newData
.
customs
=
data
.
customs
;
let
scriptIDs
=
[];
let
scriptIDs
=
[];
for
(
let
view
of
newData
.
views
)
{
for
(
let
view
of
newData
.
views
)
{
...
@@ -74,6 +73,8 @@ async function packData(data, {getProcesses, getScripts}) {
...
@@ -74,6 +73,8 @@ async function packData(data, {getProcesses, getScripts}) {
}
}
}
}
newData
.
customs
=
data
.
customs
&&
data
.
customs
.
length
>
0
?
await
getCustoms
(
data
.
customs
)
:
[];
return
JSON
.
stringify
(
newData
);
return
JSON
.
stringify
(
newData
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment