File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish TypeScript SDK
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ publish :
9+ if : startsWith(github.event.release.tag_name, 'sdks/typescript/')
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : read
13+ id-token : write
14+ defaults :
15+ run :
16+ working-directory : sdks/typescript
17+ steps :
18+ - name : ⬇️ Checkout repo
19+ uses : actions/checkout@v6
20+
21+ - name : 😻 Setup Node.js
22+ uses : actions/setup-node@v6
23+ with :
24+ node-version : 22
25+ registry-url : https://registry.npmjs.org
26+
27+ - name : 📥 Install dependencies
28+ uses : bahmutov/npm-install@v1
29+ with :
30+ working-directory : sdks/typescript
31+
32+ - name : 📦 Publish to npm
33+ run : npm publish --provenance --access public
Original file line number Diff line number Diff line change 11{
2- "." : " 1.0.0"
3- }
2+ "sdks/typescript" : " 0.2.0" ,
3+ "evals/prompts" : " 1.2.0"
4+ }
Original file line number Diff line number Diff line change 11{
2- "release-type" : " simple" ,
32 "include-v-in-tag" : true ,
43 "pull-request-title-pattern" : " chore${scope}: release${component} ${version}" ,
54 "changelog-sections" : [
1312 "section" : " Bug Fixes" ,
1413 "hidden" : false
1514 },
16- {
17- "type" : " chore" ,
18- "section" : " Miscellaneous" ,
19- "hidden" : false
20- },
21- {
22- "type" : " docs" ,
23- "section" : " Documentation" ,
24- "hidden" : false
25- },
2615 {
2716 "type" : " perf" ,
2817 "section" : " Performance Improvements" ,
2918 "hidden" : false
3019 },
3120 {
32- "type" : " test " ,
33- "section" : " Tests " ,
21+ "type" : " revert " ,
22+ "section" : " Reverts " ,
3423 "hidden" : false
3524 },
3625 {
37- "type" : " refactor " ,
38- "section" : " Code Refactoring " ,
26+ "type" : " docs " ,
27+ "section" : " Documentation " ,
3928 "hidden" : false
4029 },
4130 {
42- "type" : " deps " ,
31+ "type" : " build " ,
4332 "section" : " Dependencies" ,
4433 "hidden" : false
4534 },
4635 {
47- "type" : " security " ,
48- "section" : " Security " ,
49- "hidden" : false
36+ "type" : " chore " ,
37+ "section" : " Miscellaneous " ,
38+ "hidden" : true
5039 },
5140 {
52- "type" : " revert" ,
53- "section" : " Reverts" ,
54- "hidden" : false
41+ "type" : " test" ,
42+ "section" : " Tests" ,
43+ "hidden" : true
44+ },
45+ {
46+ "type" : " refactor" ,
47+ "section" : " Code Refactoring" ,
48+ "hidden" : true
5549 }
5650 ],
5751 "packages" : {
58- "." : {}
52+ "sdks/typescript" : {
53+ "release-type" : " node" ,
54+ "changelog-path" : " CHANGELOG.md" ,
55+ "component" : " typescript-sdk"
56+ },
57+ "evals/prompts" : {
58+ "release-type" : " simple" ,
59+ "changelog-path" : " CHANGELOG.md" ,
60+ "component" : " prompts"
61+ }
5962 }
60- }
63+ }
Original file line number Diff line number Diff line change 11# @learning-commons/evaluators
22
3+ [ ![ npm version] ( https://img.shields.io/npm/v/@learning-commons/evaluators )] ( https://www.npmjs.com/package/@learning-commons/evaluators )
4+
35TypeScript SDK for Learning Commons educational text complexity evaluators.
46
57## Installation
Original file line number Diff line number Diff line change 11{
22 "name" : " @learning-commons/evaluators" ,
3- "version" : " 0.1 .0" ,
3+ "version" : " 0.2 .0" ,
44 "description" : " TypeScript SDK for Learning Commons educational evaluators" ,
55 "type" : " module" ,
66 "types" : " ./dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments