@shopware-ag/storefront-types 0.1.0 → 0.1.1

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.
@@ -0,0 +1,32 @@
1
+ name: Release
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ jobs:
8
+ publish-npm:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: read
12
+ id-token: write
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Install Node 20.x
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: '20.x'
21
+ registry-url: 'https://registry.npmjs.org'
22
+
23
+ - name: Change version
24
+ run: |
25
+ jq '.version = "${{ github.ref_name }}"' package.json > package.new.json
26
+ cp package.new.json package.json
27
+ rm package.new.json
28
+
29
+ - name: Release package
30
+ run: npm publish --provenance --access public
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/storefront-types",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Provides Shopware Storefront Typescript types",
5
5
  "types": "index.d.ts",
6
6
  "dependencies": {
@@ -11,10 +11,10 @@
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/shopware/storefront-types.git"
14
+ "url": "git+https://github.com/shopwareLabs/storefront-types.git"
15
15
  },
16
16
  "bugs": {
17
- "url": "https://github.com/shopware/storefront-types/issues"
17
+ "url": "https://github.com/shopwareLabs/storefront-types/issues"
18
18
  },
19
19
  "author": "shopware AG",
20
20
  "license": "MIT"