create-conformal 0.9.0 → 0.11.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,32 @@
1
1
  # create-conformal
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b0815e8: Use bun as a dev server
8
+
9
+ ### Patch Changes
10
+
11
+ - 37bd8c6: Better versioning for eslint-custom-config
12
+ - 87e9547: Use macos-15 github runner
13
+ - Updated dependencies [37bd8c6]
14
+ - Updated dependencies [b0815e8]
15
+ - @conformal/create-plugin@0.11.0
16
+
17
+ ## 0.10.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 79945ec: Add caching to github actions
22
+
23
+ ### Patch Changes
24
+
25
+ - d2a2998: Put miri builds in a separate target so they don't overwrite regular debug builds
26
+ - 5de8e71: add LTO to template cargo to improve default speed
27
+ - Updated dependencies [beb78dc]
28
+ - @conformal/create-plugin@0.10.0
29
+
3
30
  ## 0.9.0
4
31
 
5
32
  ### Minor Changes
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@conformal/stamp": "^0.4.1",
4
- "@conformal/create-plugin": "^0.9.0",
4
+ "@conformal/create-plugin": "^0.11.0",
5
5
  "@commander-js/extra-typings": "^12.1.0",
6
6
  "commander": "^12.1.0"
7
7
  },
8
8
  "name": "create-conformal",
9
- "version": "0.9.0",
9
+ "version": "0.11.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",
@@ -21,6 +21,7 @@
21
21
  "type": "module",
22
22
  "devDependencies": {
23
23
  "tmp-promise": "catalog:",
24
+ "eslint-config-custom": "workspace:0.0.0",
24
25
  "zod": "catalog:"
25
26
  }
26
27
  }
package/package.json.bak CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@conformal/stamp": "^0.4.1",
4
- "@conformal/create-plugin": "^0.9.0",
4
+ "@conformal/create-plugin": "^0.11.0",
5
5
  "@commander-js/extra-typings": "^12.1.0",
6
6
  "commander": "^12.1.0"
7
7
  },
8
8
  "name": "create-conformal",
9
- "version": "0.9.0",
9
+ "version": "0.11.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",
@@ -21,7 +21,7 @@
21
21
  "type": "module",
22
22
  "devDependencies": {
23
23
  "tmp-promise": "catalog:",
24
- "eslint-config-custom": "workspace:*",
24
+ "eslint-config-custom": "workspace:0.0.0",
25
25
  "zod": "catalog:"
26
26
  }
27
27
  }
@@ -99,7 +99,7 @@ describe("create-conformal template", () => {
99
99
  };
100
100
 
101
101
  // Note that bun skips dependencies when installing packages from local paths :'(,
102
- // so instead, we use `npm pack` to create tarballs.
102
+ // so instead, we use `bun pm pack` to create tarballs.
103
103
 
104
104
  const localDependencies = [
105
105
  "scripts",
@@ -108,7 +108,7 @@ describe("create-conformal template", () => {
108
108
  "create-plugin",
109
109
  ];
110
110
  for (const dep of localDependencies) {
111
- await $`npm pack --pack-destination=${tmpDir}`.cwd(
111
+ await $`bun pm pack --destination=${tmpDir}`.cwd(
112
112
  path.join(workspacePath, "web", dep),
113
113
  );
114
114
  const tgzGlob = new Bun.Glob(`conformal-${dep}-*.tgz`);
@@ -147,7 +147,7 @@ describe("create-conformal template", () => {
147
147
  // Remove the unfixed tarball
148
148
  await unlink(tgzPath);
149
149
  // Re-pack the tarball
150
- await $`npm pack --pack-destination=${tmpDir}`.cwd(extractDir);
150
+ await $`bun pm pack --destination=${tmpDir}`.cwd(extractDir);
151
151
 
152
152
  const rewiredTgzPath = path.join(
153
153
  tmpDir,
@@ -3,9 +3,47 @@ description: "Get ready to run ci or release"
3
3
  runs:
4
4
  using: "composite"
5
5
  steps:
6
- - run: brew install oven-sh/bun/bun
7
- shell: bash
6
+ - name: Setup Bun
7
+ uses: oven-sh/setup-bun@v2
8
+
9
+ - name: Cache bun dependencies
10
+ uses: actions/cache@v4
11
+ with:
12
+ path: ~/.bun/install/cache
13
+ key: bun-$\{{ runner.os }}-$\{{ hashFiles('bun.lock') }}
14
+ restore-keys: bun-$\{{ runner.os }}-
15
+
8
16
  - run: bun install --frozen-lockfile
9
17
  shell: bash
18
+
19
+ - name: Cache VST3 SDK
20
+ id: vst3-cache
21
+ uses: actions/cache@v4
22
+ with:
23
+ path: /tmp/vst3sdk
24
+ key: vst3-$\{{ runner.os }}-v3.8.0_build_66
25
+
26
+ - name: Set VST3_SDK_DIR from cache
27
+ if: steps.vst3-cache.outputs.cache-hit == 'true'
28
+ run: |
29
+ echo "VST3_SDK_DIR=/tmp/vst3sdk" >> "$GITHUB_ENV"
30
+ echo "VST3_SDK_DIR=/tmp/vst3sdk" >> .env
31
+ shell: bash
32
+
33
+ - run: bun run bootstrap-rust-toolchain
34
+ shell: bash
35
+
36
+ - name: Rust cache
37
+ uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
38
+
10
39
  - run: bun run bootstrap --rust-version 1.90.0
11
40
  shell: bash
41
+
42
+ - name: Persist VST3 SDK for caching
43
+ if: steps.vst3-cache.outputs.cache-hit != 'true'
44
+ run: |
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
48
+ fi
49
+ shell: bash
@@ -8,7 +8,7 @@ on:
8
8
 
9
9
  jobs:
10
10
  ci:
11
- runs-on: macos-14
11
+ runs-on: macos-15
12
12
  steps:
13
13
  - uses: actions/checkout@v4
14
14
  with:
@@ -10,7 +10,7 @@ jobs:
10
10
  release:
11
11
  permissions:
12
12
  contents: write
13
- runs-on: macos-14
13
+ runs-on: macos-15
14
14
  steps:
15
15
  - uses: actions/checkout@v4
16
16
  with:
@@ -60,7 +60,7 @@ jobs:
60
60
  DEVELOPER_ID_INSTALLER: $\{{ secrets.DEVELOPER_ID_INSTALLER }}
61
61
  NOTARYTOOL_CREDENTIALS_KEYCHAIN_ITEM: $\{{ secrets.NOTARYTOOL_CREDENTIALS_KEYCHAIN_ITEM }}
62
62
  - name: Release
63
- uses: softprops/action-gh-release@v2
63
+ uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
64
64
  with:
65
65
  prerelease: $\{{ contains(github.ref, '-') }}
66
66
  body: "Release $\{{ github.ref_name }}" # Prevent auto generation of release notes
@@ -6,6 +6,7 @@
6
6
  ],
7
7
  "scripts": {
8
8
  "bootstrap": "conformal-scripts bootstrap",
9
+ "bootstrap-rust-toolchain": "conformal-scripts bootstrap-rust-toolchain",
9
10
  "ci": "conformal-scripts ci",
10
11
  "check-lfs": "conformal-scripts check-lfs",
11
12
  "check-todo": "conformal-scripts check-todo",
@@ -17,7 +18,7 @@
17
18
  "web-build": "conformal-scripts web-script -s build",
18
19
  "web-lint": "conformal-scripts web-script -s lint",
19
20
  "web-test": "bun test",
20
- "rust-miri": "PROPTEST_DISABLE_FAILURE_PERSISTENCE=true MIRIFLAGS='-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE' conformal-scripts cargo +nightly miri test",
21
+ "rust-miri": "CARGO_TARGET_DIR=target/miri PROPTEST_DISABLE_FAILURE_PERSISTENCE=true MIRIFLAGS='-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE' conformal-scripts cargo +nightly miri test",
21
22
  "rust-build": "conformal-scripts cargo build",
22
23
  "rust-lint": "conformal-scripts cargo clippy",
23
24
  "rust-test": "conformal-scripts cargo test",
@@ -50,6 +51,7 @@
50
51
  "globals": "^16.5.0",
51
52
  "@eslint/js": "^9.39.1",
52
53
  "@vitejs/plugin-react": "^5.1.0",
53
- "babel-plugin-react-compiler": "^1.0.0"
54
+ "babel-plugin-react-compiler": "^1.0.0",
55
+ "bun-plugin-react-compiler": "^0.3.2"
54
56
  }
55
57
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-custom",
3
+ "version": "0.0.0",
3
4
  "exports": {
4
5
  ".": {
5
6
  "default": "./index.mjs"
@@ -22,3 +22,6 @@ type_complexity = "allow"
22
22
  cast_sign_loss = "allow"
23
23
  cast_possible_wrap = "allow"
24
24
  default_trait_access = "allow"
25
+
26
+ [profile.release]
27
+ lto = "thin"