create-fhevm-playground-pro 1.0.24 → 1.0.26

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.
@@ -48,6 +48,9 @@ async function createExample(options) {
48
48
  // Try to find and overlay the actual example's contracts/tests
49
49
  const exampleDirName = CATEGORY_TO_EXAMPLE_DIR[options.category] || options.category;
50
50
  const searchPaths = [
51
+ // Search relative to package installation
52
+ path_1.default.resolve(__dirname, '..', '..', 'central-repo', 'examples', `${exampleDirName}-premium`),
53
+ // Also search relative to cwd (for development/local use)
51
54
  path_1.default.resolve(process.cwd(), 'central-repo', 'examples', `${exampleDirName}-premium`),
52
55
  path_1.default.resolve(process.cwd(), '..', 'central-repo', 'examples', `${exampleDirName}-premium`),
53
56
  path_1.default.resolve(process.cwd(), '..', '..', 'central-repo', 'examples', `${exampleDirName}-premium`),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fhevm-playground-pro",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "Premium scaffolding CLI for fhEVM Playground Pro – Zama bounty",
5
5
  "main": "dist/create-example.js",
6
6
  "bin": {
@@ -1,7 +0,0 @@
1
- import { expect } from 'chai';
2
-
3
- describe('SimpleCounterPremium (template)', function () {
4
- it('placeholder test - always passes', async function () {
5
- expect(1 + 1).to.equal(2);
6
- });
7
- });