create-conformal 0.12.0 → 0.13.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # create-conformal
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5f3e01f: Use cargo patch to workaround wry bug
8
+
9
+ ### Patch Changes
10
+
11
+ - a498daf: Add UI smoke test to template
12
+ - Updated dependencies [a498daf]
13
+ - Updated dependencies [5f3e01f]
14
+ - @conformal/create-plugin@0.12.1
15
+
16
+ ## 0.12.1
17
+
18
+ ### Patch Changes
19
+
20
+ - 0f26266: Fix for windows CI in template
21
+
3
22
  ## 0.12.0
4
23
 
5
24
  ### Minor Changes
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@conformal/stamp": "^0.5.0",
4
- "@conformal/create-plugin": "^0.12.0",
4
+ "@conformal/create-plugin": "^0.12.1",
5
5
  "@commander-js/extra-typings": "^14.0.0",
6
6
  "commander": "^14.0.3"
7
7
  },
8
8
  "name": "create-conformal",
9
- "version": "0.12.0",
9
+ "version": "0.13.0",
10
10
  "description": "Project generator script for conformal projects",
11
11
  "homepage": "https://russellmcc.github.io/conformal",
12
12
  "bugs": "https://github.com/russellmcc/conformal/issues",
package/package.json.bak CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@conformal/stamp": "^0.5.0",
4
- "@conformal/create-plugin": "^0.12.0",
4
+ "@conformal/create-plugin": "^0.12.1",
5
5
  "@commander-js/extra-typings": "^14.0.0",
6
6
  "commander": "^14.0.3"
7
7
  },
8
8
  "name": "create-conformal",
9
- "version": "0.12.0",
9
+ "version": "0.13.0",
10
10
  "description": "Project generator script for conformal projects",
11
11
  "homepage": "https://russellmcc.github.io/conformal",
12
12
  "bugs": "https://github.com/russellmcc/conformal/issues",
@@ -229,10 +229,14 @@ describe("create-conformal template", () => {
229
229
 
230
230
  // Make sure CI would pass.
231
231
  await $`bun run ci`.cwd(dest);
232
+
233
+ // Package one of the plugins with ad-hoc signing
234
+ // to test that we can build distributable packages.
235
+ await $`bun run package test_plug --dist --ad-hoc-sign`.cwd(dest);
232
236
  },
233
237
  { unsafeCleanup: true, tmpdir: process.env.RUNNER_TEMP },
234
238
  );
235
239
  },
236
- process.platform === "win32" ? 10 * MINUTE : 5 * MINUTE,
240
+ 10 * MINUTE,
237
241
  );
238
242
  });
@@ -1,2 +1,4 @@
1
1
  *.wav filter=lfs diff=lfs merge=lfs -text
2
2
  *.woff2 filter=lfs diff=lfs merge=lfs -text
3
+
4
+ * text=auto eol=lf
@@ -20,14 +20,14 @@ runs:
20
20
  id: vst3-cache
21
21
  uses: actions/cache@v4
22
22
  with:
23
- path: /tmp/vst3sdk
23
+ path: $\{{ runner.temp }}/vst3sdk/vst3sdk
24
24
  key: vst3-$\{{ runner.os }}-v3.8.0_build_66
25
25
 
26
26
  - name: Set VST3_SDK_DIR from cache
27
27
  if: steps.vst3-cache.outputs.cache-hit == 'true'
28
28
  run: |
29
- echo "VST3_SDK_DIR=/tmp/vst3sdk" >> "$GITHUB_ENV"
30
- echo "VST3_SDK_DIR=/tmp/vst3sdk" >> .env
29
+ echo "VST3_SDK_DIR=$RUNNER_TEMP/vst3sdk" >> "$GITHUB_ENV"
30
+ echo "VST3_SDK_DIR=$RUNNER_TEMP/vst3sdk" >> .env
31
31
  shell: bash
32
32
 
33
33
  - run: bun run bootstrap-rust-toolchain --rust-version 1.93.1
@@ -43,7 +43,7 @@ runs:
43
43
  if: steps.vst3-cache.outputs.cache-hit != 'true'
44
44
  run: |
45
45
  VST3_DIR=$(grep "^VST3_SDK_DIR=" .env 2>/dev/null | tail -1 | cut -d= -f2-)
46
- if [ -n "$VST3_DIR" ] && [ -d "$VST3_DIR" ] && [ "$VST3_DIR" != "/tmp/vst3sdk" ]; then
47
- cp -r "$VST3_DIR" /tmp/vst3sdk
46
+ if [ -n "$VST3_DIR" ] && [ -d "$VST3_DIR" ] && [ "$VST3_DIR" != "$RUNNER_TEMP/vst3sdk" ]; then
47
+ cp -r "$VST3_DIR" $RUNNER_TEMP/vst3sdk
48
48
  fi
49
49
  shell: bash
@@ -7,7 +7,7 @@ on:
7
7
  - "*"
8
8
 
9
9
  jobs:
10
- ci:
10
+ ci-macos:
11
11
  runs-on: macos-15
12
12
  steps:
13
13
  - uses: actions/checkout@v4
@@ -15,3 +15,11 @@ jobs:
15
15
  lfs: "true"
16
16
  - uses: ./.github/actions/bootstrap
17
17
  - run: bun run ci
18
+ ci-windows:
19
+ runs-on: windows-2025
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ with:
23
+ lfs: "true"
24
+ - uses: ./.github/actions/bootstrap
25
+ - run: bun run ci
@@ -0,0 +1,2 @@
1
+ [test]
2
+ preload = "./happydom.ts"
@@ -0,0 +1,3 @@
1
+ import { GlobalRegistrator } from "@happy-dom/global-registrator";
2
+
3
+ GlobalRegistrator.register();
@@ -33,6 +33,7 @@
33
33
  "prettier": "^3.8.1",
34
34
  "typescript": "^5.9.3",
35
35
  "@conformal/scripts": "^0.10.0",
36
+ "@happy-dom/global-registrator": "^20.3.3",
36
37
  "tsconfig": "workspace:*"
37
38
  },
38
39
  "catalog": {
@@ -52,6 +53,7 @@
52
53
  "@eslint/js": "^9.39.1",
53
54
  "@vitejs/plugin-react": "^5.1.0",
54
55
  "babel-plugin-react-compiler": "^1.0.0",
55
- "bun-plugin-react-compiler": "^0.3.2"
56
+ "bun-plugin-react-compiler": "^0.3.2",
57
+ "@testing-library/react": "^16.3.2"
56
58
  }
57
59
  }
@@ -25,3 +25,8 @@ default_trait_access = "allow"
25
25
 
26
26
  [profile.release]
27
27
  lto = "thin"
28
+
29
+ # We need these patches to workaround https://github.com/tauri-apps/wry/issues/1675
30
+ [patch.crates-io]
31
+ objc2 = { git = "https://github.com/madsmtm/objc2.git", rev = "0dc236c0e186ed29991798d2a6ff5cdc595b2ffa" }
32
+ wry = { git = "https://github.com/russellmcc/wry.git", rev = "458591b02238d89322b0567ba2918a123ff22dda" }