Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-js
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-js
Commits
b54a3b84
Commit
b54a3b84
authored
2 years ago
by
ko_oler
Browse files
Options
Downloads
Patches
Plain Diff
fix .gitlab-ci.yml
parent
25b9c90c
No related branches found
No related tags found
1 merge request
!1
Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline
#19067
failed
2 years ago
Stage: publish-npm
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/generate.sh
+15
-15
15 additions, 15 deletions
config/generate.sh
config/tsconfig.json
+2
-2
2 additions, 2 deletions
config/tsconfig.json
with
17 additions
and
17 deletions
config/generate.sh
+
15
−
15
View file @
b54a3b84
...
...
@@ -54,30 +54,30 @@ generate_index() {
}
echo
"---deleting existing *.d.ts, *.d.ts.map, *.js, *.js.map files"
find
.
/clients/
*
/
**
/
-path
'*.d.ts'
-delete
find
.
/clients/
*
/
**
/
-path
'*.d.ts.map'
-delete
find
.
/clients/
*
/
**
/
-path
'*.js'
-delete
find
.
/clients/
*
/
**
/
-path
'*.js.map'
-delete
find
.
/clients/
*
/
**
/
-path
'*.ts.bak'
-delete
find
.
/clients
-path
'*.d.ts'
-delete
find
.
/clients
-path
'*.d.ts.map'
-delete
find
.
/clients
-path
'*.js'
-delete
find
.
/clients
-path
'*.js.map'
-delete
find
.
/clients
-path
'*.ts.bak'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
/
-path
'*.d.ts'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
/
-path
'*.d.ts.map'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
/
-path
'*.js'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
/
-path
'*.js.map'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
/
-path
'*.ts.bak'
-delete
find
builds/perxis/perxis-js
/clients
-path
'*.d.ts'
-delete
find
builds/perxis/perxis-js
/clients
-path
'*.d.ts.map'
-delete
find
builds/perxis/perxis-js
/clients
-path
'*.js'
-delete
find
builds/perxis/perxis-js
/clients
-path
'*.js.map'
-delete
find
builds/perxis/perxis-js
/clients
-path
'*.ts.bak'
-delete
echo
"---generating index.ts files"
ts_files
=
$(
find
.
/clients/
**
/
-name
'*.ts'
)
ts_files
=
$(
find
builds/perxis/perxis-js
/clients/
**
/
-name
'*.ts'
)
ts_files_array
=(
$ts_files
)
generate_index
"
${
ts_files_array
[@]
}
"
echo
"---generating *.d.ts, *.d.ts.map, *.js, *.js.map files"
npm i protobufjs@6.11.3
tsc
--project
.
/config
--declaration
--declarationMap
--sourceMap
--rootDir
.
/clients
tsc
--project
builds/perxis/perxis-js
/config
--declaration
--declarationMap
--sourceMap
--rootDir
builds/perxis/perxis-js
/clients
echo
"---deleting created tmp files"
npm uninstall protobufjs@6.11.3
find
.
/clients
-name
'index.ts'
-delete
find
.
/clients/
*
/
**
-name
'index.ts'
-delete
find
.
/
-maxdepth
1
-name
'*.json'
-delete
find
builds/perxis/perxis-js
/clients
-name
'index.ts'
-delete
find
builds/perxis/perxis-js
/clients/
*
/
**
-name
'index.ts'
-delete
find
builds/perxis/perxis-js
/
-maxdepth
1
-name
'*.json'
-delete
echo
"---process finished"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
config/tsconfig.json
+
2
−
2
View file @
b54a3b84
...
...
@@ -98,6 +98,6 @@
//
"skipDefaultLibCheck"
:
true
,
/*
Skip
type
checking
.d.ts
files
that
are
included
with
TypeScript.
*/
"skipLibCheck"
:
true
/*
Skip
type
checking
all
.d.ts
files.
*/
},
"include"
:
[
"
..
/clients/**/*"
],
"exclude"
:
[
"
..
/config/**/*"
]
"include"
:
[
"
builds/perxis/perxis-js
/clients/**/*"
],
"exclude"
:
[
"
builds/perxis/perxis-js
/config/**/*"
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment