Skip to content

Commit 0741e3b

Browse files
feat: GPTs (#43)
* fix: improve procedure argument references and docs * lock * feat(create-hikkaku): add scaffolding CLI and release flow - add create-hikkaku TypeScript CLI package - detect package manager via package-manager-detector - sync publish workflow to release hikkaku and create-hikkaku together - download template tarball from version tag by default Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> * fix(create-hikkaku): address PR review feedback - show --no-link-claude in help output - keep tar extraction stderr/stdout visible on failure Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> * docs: integrate blockly playground and fix monaco intellisense * fix: address pr42 review feedback - remove external tar dependency in create-hikkaku extraction flow - align docs dependencies for vue-tsc/vitepress compatibility - fix playground warning path and blockly watcher settings - apply biome formatting updates for docs components Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> * fix * feat: gpts * fix * fix * fix --------- Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>
1 parent 355a5d2 commit 0741e3b

12 files changed

Lines changed: 295 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77

88
permissions:
99
id-token: write # Required for OIDC
10-
contents: read
10+
contents: write
1111

1212
jobs:
1313
publish:
1414
runs-on: ubuntu-latest
1515
permissions:
16-
contents: read
16+
contents: write
1717
id-token: write
1818

1919
steps:
@@ -56,6 +56,14 @@ jobs:
5656
- name: Build create-hikkaku
5757
run: bun run --filter create-hikkaku build
5858

59+
- name: Build gpts zip
60+
run: bun run --filter gpts-zip build
61+
62+
- name: Upload gpts.zip release asset
63+
env:
64+
GH_TOKEN: ${{ github.token }}
65+
run: gh release upload '${{ github.event.release.tag_name }}' 'packages/gpts-zip/dist.zip#gpts.zip' --clobber
66+
5967
- name: Publish hikkaku to npm
6068
run: npm publish --provenance --access public
6169
working-directory: packages/hikkaku/dist

bun.lock

Lines changed: 57 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@typescript/native-preview": "^7.0.0-dev.20260210.1",
2222
"monaco-editor": "^0.50.0",
2323
"typescript": "^5",
24+
"vite": "8.0.0-beta.13",
2425
"vitepress": "^1.6.3",
2526
"vue-tsc": "^3.2.4"
2627
},

docs/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
// Some stricter flags (disabled by default)
2626
"noUnusedLocals": false,
2727
"noUnusedParameters": false,
28-
"noPropertyAccessFromIndexSignature": false
28+
"noPropertyAccessFromIndexSignature": false,
29+
30+
"types": ["vite/client"]
2931
},
3032
"include": [
3133
".vitepress/**/*.ts",

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
"fmt": "biome check --fix --unsafe",
1616
"typecheck": "bun run --filter \"*\" typecheck",
1717
"ref:build": "bun run --cwd packages/skill build-blocks",
18-
"ref:check": "bun run --cwd packages/skill build-blocks:check"
18+
"ref:check": "bun run --cwd packages/skill build-blocks:check",
19+
"build": "turbo run build"
1920
},
2021
"devDependencies": {
2122
"@biomejs/biome": "^2.3.11"
22-
}
23+
},
24+
"packageManager": "bun@1.3.9"
2325
}

packages/create-hikkaku/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "create-hikkaku",
33
"version": "0.1.9",
44
"type": "module",
5-
"private": false,
5+
"private": true,
66
"scripts": {
77
"build": "bun build src/main.ts --outdir dist --target=node"
88
},
@@ -16,5 +16,12 @@
1616
"package-manager-detector": "^1.6.0",
1717
"tar": "^7.4.3",
1818
"picocolors": "^1.1.1"
19+
},
20+
"module": "index.ts",
21+
"devDependencies": {
22+
"@types/bun": "latest"
23+
},
24+
"peerDependencies": {
25+
"typescript": "^5"
1926
}
2027
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"compilerOptions": {
3+
// Environment setup & latest features
4+
"lib": ["ESNext"],
5+
"target": "ESNext",
6+
"module": "Preserve",
7+
"moduleDetection": "force",
8+
"jsx": "react-jsx",
9+
"allowJs": true,
10+
11+
// Bundler mode
12+
"moduleResolution": "bundler",
13+
"allowImportingTsExtensions": true,
14+
"verbatimModuleSyntax": true,
15+
"noEmit": true,
16+
17+
// Best practices
18+
"strict": true,
19+
"skipLibCheck": true,
20+
"noFallthroughCasesInSwitch": true,
21+
"noUncheckedIndexedAccess": true,
22+
"noImplicitOverride": true,
23+
24+
// Some stricter flags (disabled by default)
25+
"noUnusedLocals": false,
26+
"noUnusedParameters": false,
27+
"noPropertyAccessFromIndexSignature": false
28+
}
29+
}

packages/gpts-zip/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.tmp
2+
dist.zip

packages/gpts-zip/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Hikkaku for GPTs
2+
3+
Creating zip file used in GPTs.
4+
5+
## Build
6+
7+
```bash
8+
bun run build
9+
```

packages/gpts-zip/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "gpts-zip",
3+
"module": "index.ts",
4+
"type": "module",
5+
"private": true,
6+
"devDependencies": {
7+
"@types/bun": "latest",
8+
"fflate": "^0.8.2"
9+
},
10+
"peerDependencies": {
11+
"typescript": "^5"
12+
},
13+
"scripts": {
14+
"build": "bun scripts/build.ts"
15+
}
16+
}

0 commit comments

Comments
 (0)