Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
337
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
dd7bf7c1
Commit
dd7bf7c1
authored
7 years ago
by
otofune
Browse files
Options
Downloads
Patches
Plain Diff
[travis] shapeup package.json in release
remove devDependencies from package.json. resolve
#495
.
parent
df8c2868
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis/release.sh
+1
-0
1 addition, 0 deletions
.travis/release.sh
.travis/shapeup.js
+13
-0
13 additions, 0 deletions
.travis/shapeup.js
with
14 additions
and
0 deletions
.travis/release.sh
+
1
−
0
View file @
dd7bf7c1
...
...
@@ -7,6 +7,7 @@ chmod 600 ~/.ssh/id_rsa
echo
-e
"Host github.com
\n\t
StrictHostKeyChecking no
\n
"
>>
~/.ssh/config
git checkout
-b
release
cp
-f
./.travis/.gitignore-release .gitignore
node ./.travis/shapeup.js
git add
--all
git
rm
--cached
`
git ls-files
--full-name
-i
--exclude-standard
`
git config
--global
user.email
"AyaMorisawa4869@gmail.com"
...
...
This diff is collapsed.
Click to expand it.
.travis/shapeup.js
0 → 100644
+
13
−
0
View file @
dd7bf7c1
'
use strict
'
const
fs
=
require
(
'
fs
'
)
const
filename
=
process
.
argv
[
2
]
||
'
package.json
'
fs
.
readFile
(
filename
,
(
err
,
data
)
=>
{
if
(
err
)
process
.
exit
(
2
)
const
object
=
JSON
.
parse
(
data
)
delete
object
.
devDependencies
fs
.
writeFile
(
filename
,
JSON
.
stringify
(
object
,
null
,
4
)
+
'
\n
'
,
err
=>
{
if
(
err
)
process
.
exit
(
3
)
})
})
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