Commit ba6ce49
chore: add eslint-plugin-sort and eslint-plugin-prettier (#20)
* wip
* feat: add list-template-ids option
* chore: use list-template-ids to dynamically populate template list
* chore: run e2e test nightly and with dispatch
* chore: update dependencies
* chore: add eslint-plugin-sort and eslint-plugin-prettier
* chore: add lefthook to automate linting/formatting
* fix: file/folder renaming and content replacement in init script (solana-foundation#196)
* fix: fully support file/folder renaming and content replacement in init script
* chore: remove extra underscrore
* fix: logging and avoid inline if-statements
* Revert "fix: file/folder renaming and content replacement in init script (solana-foundation#196)" (solana-foundation#203)
This reverts commit 096f365.
* chore: publish PRs to pkg.pr.new (solana-foundation#204)
* feat: add --minimal flag to that selects 'gill-next-tailwind-minimal'
* fix: update solana docs url
* Version Packages (solana-foundation#206)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(test): error handling in search-and-replace test
Description
-----------
The "should handle errors gracefully" test was intentionally
triggering errors to verify error handling, but `console.error`
was not mocked to suppress output, causing noisy `stderr` logs
during test despite all tests passing.
Testing the introduced fix
--------------------------
```
npm run test
```
All tests will now pass cleanly without `stderr` error output.
* refactor: remove repokit dependency and replace with local utilities
* fix: update imports and Zod types for compatibility
* Version Packages
* fix: run ci script as part of e2e test
* test: skip community in regular tests
* skip again test workflow on PR since we tested it now skips community
* feat: make Kit Framework templates the default
* fix: remove buggy deduplication in init-script-rename
* chore: remove test templates job (solana-foundation#221)
* fix: apply path rename only to entry name, not full path
* Version Packages
* fix: enable automated npm publish to latest tag
* Version Packages
* feat: show setup progress for anchor templates
Add a dedicated task that runs the `setup` script (if present) with a descriptive message "Running setup (building program, generating client)" to improve UX during anchor template installation.
* Version Packages
* feat: support local template install for testing
* feat: add warning for installing local templates
* Potential fix for code scanning alert no. 1: Regular expression injection (#8)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix: upgrade zod from 4.1.5 to 4.1.8 (#3)
Snyk has created this PR to upgrade zod from 4.1.5 to 4.1.8.
See this package in npm:
zod
See this project in Snyk:
https://app.snyk.io/org/apichanmittare/project/0c3e0cce-7a92-4f94-90ba-e7eaa0eac00f?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* fix: upgrade commander from 14.0.0 to 14.0.1 (#4)
Snyk has created this PR to upgrade commander from 14.0.0 to 14.0.1.
See this package in npm:
commander
See this project in Snyk:
https://app.snyk.io/org/apichanmittare/project/0c3e0cce-7a92-4f94-90ba-e7eaa0eac00f?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* fix: upgrade semver from 7.7.2 to 7.7.3 (#5)
Snyk has created this PR to upgrade semver from 7.7.2 to 7.7.3.
See this package in npm:
semver
See this project in Snyk:
https://app.snyk.io/org/apichanmittare/project/0c3e0cce-7a92-4f94-90ba-e7eaa0eac00f?utm_source=github&utm_medium=referral&page=upgrade-pr
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
* Version Packages (solana-foundation#206) (#7)
* fix: update solana docs url
* Version Packages (solana-foundation#206)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(test): error handling in search-and-replace test
Description
-----------
The "should handle errors gracefully" test was intentionally
triggering errors to verify error handling, but `console.error`
was not mocked to suppress output, causing noisy `stderr` logs
during test despite all tests passing.
Testing the introduced fix
--------------------------
```
npm run test
```
All tests will now pass cleanly without `stderr` error output.
* refactor: remove repokit dependency and replace with local utilities
* fix: update imports and Zod types for compatibility
* Version Packages
* fix: run ci script as part of e2e test
* test: skip community in regular tests
* skip again test workflow on PR since we tested it now skips community
* feat: make Kit Framework templates the default
* fix: remove buggy deduplication in init-script-rename
* chore: remove test templates job (solana-foundation#221)
* fix: apply path rename only to entry name, not full path
* Version Packages
* fix: enable automated npm publish to latest tag
* Version Packages
* feat: show setup progress for anchor templates
Add a dedicated task that runs the `setup` script (if present) with a descriptive message "Running setup (building program, generating client)" to improve UX during anchor template installation.
* Version Packages
* feat: support local template install for testing
* feat: add warning for installing local templates
---------
Co-authored-by: Bram Borggreve <beeman@beeman.nl>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 0xObsidian <131651958+0xObsidian@users.noreply.github.com>
Co-authored-by: guibibeau <g.bibeaulaviolette@gmail.com>
Co-authored-by: Gui Bibeau <GuiBibeau@gmail.com>
Co-authored-by: Sourav Mishra <sourav.m.bt@gmail.com>
* Create config.yml (#13)
* Create config.yml
148313f
484b187
49c4050
4539b38
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Update .circleci/config.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Add .circleci/config.yml (#14)
* feat: support `in` alias for rename entries (#15)
in commit `813773d4`, @beeman mentioned that `paths`
should be renamed to `in`.
This PR basically adds support for it + maintain
backward compatibility.
Feat added
----------
- Accepts `in` alias alongside `paths` in rename entries
- Normalizes `in` to `paths` in `InitScriptSchemaRename`
- Added tests for alias and existing `paths` behavior
Implementation test
-------------------
pnpm vitest run test/init-script-schema.test.ts
pnpm test
Co-authored-by: 0xObsidian <131651958+0xObsidian@users.noreply.github.com>
* Update publish-pkg-pr-new.yml (#18)
Replace the GitHub Actions-based npm snapshot publishing workflow with a CircleCI-style workflow that runs tests using Bun via the CircleCI Node orb.
CI:
Introduce a new CircleCI-style test job using the node orb and Bun to run the test suite.
Remove the previous GitHub Actions steps that built the project and published npm snapshots to pkg.pr.new.
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
---------
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Bram Borggreve <beeman@beeman.nl>
Co-authored-by: Arjun Porwal <65214523+ap211unitech@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 0xObsidian <131651958+0xObsidian@users.noreply.github.com>
Co-authored-by: guibibeau <g.bibeaulaviolette@gmail.com>
Co-authored-by: Gui Bibeau <GuiBibeau@gmail.com>
Co-authored-by: Sourav Mishra <sourav.m.bt@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>1 parent 891a380 commit ba6ce49
54 files changed
Lines changed: 3017 additions & 1539 deletions
File tree
- .circleci
- .github/workflows
- actions/install-dependencies
- .husky
- src
- utils
- vendor
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
3 | 81 | | |
4 | 82 | | |
5 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
17 | 26 | | |
18 | | - | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
21 | 33 | | |
22 | 34 | | |
23 | | - | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments