eitri-cli 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitbucket-pipelines.yml +0 -22
- package/index.js +1 -1
- package/package.json +1 -1
package/bitbucket-pipelines.yml
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
1
|
image: node:14
|
|
2
2
|
pipelines:
|
|
3
3
|
default:
|
|
4
|
-
- step: &runDitto
|
|
5
|
-
name: Run Ditto
|
|
6
|
-
script:
|
|
7
|
-
- pipe: atlassian/trigger-pipeline:4.2.1
|
|
8
|
-
variables:
|
|
9
|
-
BITBUCKET_USERNAME: $BITBUCKET_USERNAME
|
|
10
|
-
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
|
|
11
|
-
REPOSITORY: "ditto-e2e"
|
|
12
|
-
BRANCH_NAME: "develop"
|
|
13
|
-
PIPELINE_VARIABLES: >
|
|
14
|
-
[{
|
|
15
|
-
"key": "AME_APP_TOOLS_BRANCH",
|
|
16
|
-
"value": "$BITBUCKET_BRANCH"
|
|
17
|
-
}]
|
|
18
|
-
- step: &test
|
|
19
|
-
name: Construção e teste
|
|
20
|
-
caches:
|
|
21
|
-
- node
|
|
22
|
-
script:
|
|
23
|
-
- ./install
|
|
24
|
-
- echo $USER_AME_CONF > ~/.ame.conf.js
|
|
25
|
-
- yarn && yarn test-ame
|
|
26
4
|
- step: &npmPublish
|
|
27
5
|
name: Publicação no NPM
|
|
28
6
|
caches:
|
package/index.js
CHANGED
|
@@ -128,7 +128,7 @@ const run = async () => {
|
|
|
128
128
|
.description('Desinstala a versao antiga e instala a mais nova')
|
|
129
129
|
.action(() => {
|
|
130
130
|
require('child_process').execSync(
|
|
131
|
-
'npm uninstall -g eitri && npm i eitri -g',
|
|
131
|
+
'npm uninstall -g eitri-cli && npm i eitri-cli -g',
|
|
132
132
|
{stdio: 'inherit'}
|
|
133
133
|
)
|
|
134
134
|
})
|