@shopify/shopify_function 2.0.0-rc.0 → 2.0.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,37 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ permissions:
9
+ contents: write
10
+ id-token: write # Required for OIDC
11
+ pull-requests: write # Required to create release PRs
12
+
13
+ jobs:
14
+ release:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - uses: actions/setup-node@v4
20
+ with:
21
+ node-version: "20"
22
+ registry-url: "https://registry.npmjs.org"
23
+ cache: npm
24
+
25
+ - name: Update npm to latest
26
+ run: npm install -g npm@latest
27
+
28
+ - name: Install dependencies
29
+ run: npm install
30
+
31
+ - name: Create Release Pull Request or Publish
32
+ uses: changesets/action@v1 # Must use latest version!
33
+ with:
34
+ publish: npx changeset publish
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Keep this
37
+ NPM_TOKEN: "" # Forces OIDC authentication
@@ -17,10 +17,10 @@ jobs:
17
17
  with:
18
18
  version: 10
19
19
  - name: Create snapshot version
20
- uses: Shopify/snapit@main
20
+ uses: Shopify/snapit@v0.0.14
21
21
  env:
22
22
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
23
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24
24
  with:
25
25
  build_script: echo "hello"
26
- working_directory: ./
26
+ working_directory: ./
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @shopify/shopify_function
2
+
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d029dea: fix pnpm graphql package duplication
package/package.json CHANGED
@@ -4,19 +4,23 @@
4
4
  "access": "public",
5
5
  "@shopify:registry": "https://registry.npmjs.org/"
6
6
  },
7
- "version": "2.0.0-rc.0",
7
+ "version": "2.0.1",
8
8
  "description": "",
9
9
  "main": "index.ts",
10
10
  "keywords": [],
11
11
  "author": "Surma <surma@shopify.com>",
12
12
  "license": "Apache-2.0",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/Shopify/shopify-function-javascript.git"
16
+ },
13
17
  "dependencies": {
14
- "@graphql-codegen/cli": "5.0.5",
18
+ "@graphql-codegen/cli": "5.0.6",
15
19
  "@graphql-codegen/typescript": "4.1.6",
16
20
  "graphql-config": "5.1.3",
17
- "@graphql-codegen/typescript-operations": "4.6.0",
21
+ "@graphql-codegen/typescript-operations": "4.6.1",
18
22
  "@graphql-tools/url-loader": "8.0.16",
19
- "graphql": "16.11.0",
23
+ "graphql": "^16.10.0",
20
24
  "typescript": "5.8.3"
21
25
  },
22
26
  "devDependencies": {
@@ -1,5 +0,0 @@
1
- ---
2
- "@shopify/shopify_function": major
3
- ---
4
-
5
- Using javy v2 globals for MsgPack IO