Skip to content

Commit 3eb25f3

Browse files
feat: automatically generate command mapped types (GoogleChromeLabs#243)
1 parent 03faaa6 commit 3eb25f3

File tree

19 files changed

+1289
-2743
lines changed

19 files changed

+1289
-2743
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
with:
2626
fetch-depth: 2
27+
- name: Set up Node.js
28+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
29+
with:
30+
cache: npm
31+
node-version-file: '.nvmrc'
2732
- name: Install cddlconv
2833
run: cargo install [email protected]
2934
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
push:
88
tags:
9-
- "*v*"
9+
- '*v*'
1010

1111
jobs:
1212
npm-publish:

.github/workflows/regenerate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
with:
2424
fetch-depth: 2
25+
26+
- name: Set up Node.js
27+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
28+
with:
29+
cache: npm
30+
node-version-file: '.nvmrc'
2531
- name: Install cddlconv
2632
run: cargo install [email protected]
2733
- name: Install dependencies

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24

.prettierrc.cjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/**
22
* @type {import('prettier').Config}
33
*/
4-
module.exports = require("gts/.prettierrc.json");
4+
module.exports = {
5+
bracketSpacing: false,
6+
singleQuote: true,
7+
trailingComma: 'all',
8+
arrowParens: 'avoid',
9+
};

0 commit comments

Comments
 (0)