@inriver/inri 1.15.0 → 1.16.0

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.
@@ -1,6 +1,20 @@
1
1
  name: $(Build.SourceBranchName).$(Date:MM.dd)$(Rev:.r)
2
2
 
3
- trigger: none
3
+ trigger:
4
+ - main
4
5
 
5
6
  stages:
6
- - template: templates/deployFramework.yml
7
+ - template: templates/deployFramework.yml
8
+
9
+ - stage: Publish
10
+ condition: |
11
+ and(
12
+ succeeded(),
13
+ contains(variables['Build.SourceBranch'], 'refs/heads/main')
14
+ )
15
+ displayName: Publish framwork
16
+ dependsOn: Deploy
17
+ variables:
18
+ - group: inri-access-token
19
+ jobs:
20
+ - template: templates/publishFramwork.yml
@@ -1,7 +1,5 @@
1
1
  stages:
2
2
  - stage: Deploy
3
- variables:
4
- - group: inri-access-token
5
3
  jobs:
6
4
  - job: Deploy
7
5
  displayName: Deploy inri framework
@@ -13,10 +11,6 @@ stages:
13
11
  path: $(Pipeline.Workspace)/.pnpm-store
14
12
  displayName: Cache pnpm
15
13
 
16
- - script: |
17
- echo $(NPM_TOKEN)
18
- displayName: test token
19
-
20
14
  - script: |
21
15
  corepack enable
22
16
  corepack prepare pnpm@latest-8 --activate
@@ -33,18 +27,4 @@ stages:
33
27
  - script: |
34
28
  npm install -g pnpm
35
29
  pnpm install --frozen-lockfile
36
- env:
37
- NPM_TOKEN: $(NPM_TOKEN)
38
30
  displayName: pnpm install
39
-
40
- - bash: |
41
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
42
- env:
43
- NPM_TOKEN: $(NPM_TOKEN)
44
- displayName: Init .npmrc file
45
-
46
- - script: |
47
- pnpm publish:ci --no-git-checks
48
- env:
49
- NPM_TOKEN: $(NPM_TOKEN)
50
- displayName: Publish inri framework
@@ -0,0 +1,39 @@
1
+ jobs:
2
+ - job: Publish
3
+ displayName: Publish inri framework
4
+ steps:
5
+ - bash: |
6
+ echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
7
+ env:
8
+ NPM_TOKEN: $(NPM_TOKEN)
9
+ displayName: Init .npmrc file
10
+
11
+ - task: Cache@2
12
+ inputs:
13
+ key: 'pnpm | "$(Agent.OS)" | pnpm-lock.yaml'
14
+ path: $(Pipeline.Workspace)/.pnpm-store
15
+ displayName: Cache pnpm
16
+
17
+ - script: |
18
+ corepack enable
19
+ corepack prepare pnpm@latest-8 --activate
20
+ displayName: Setup pnpm
21
+
22
+ - script: pnpm config set store-dir $(Pipeline.Workspace)/.pnpm-store
23
+ displayName: setup pnpm config
24
+
25
+ - task: NodeTool@0
26
+ inputs:
27
+ versionSpec: 16.x
28
+ displayName: Install Node.js
29
+
30
+ - script: |
31
+ npm install -g pnpm
32
+ pnpm install --frozen-lockfile
33
+ displayName: Install pnpm
34
+
35
+ - script: |
36
+ pnpm publish:ci --no-git-checks
37
+ env:
38
+ NPM_TOKEN: $(NPM_TOKEN)
39
+ displayName: Publish inri framework
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inriver/inri",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "peerDependencies": {
5
5
  "quasar": "2.12.1",
6
6
  "vue": "^3.3.4",