Skip to content
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
37c7cdc
Add TypeScript checking via JSDoc type annotations
GrantASL19 Jul 11, 2025
affda93
Remove "js/ts.implicitProjectConfig.checkJs" setting (unnecessary)
GrantASL19 Jul 16, 2025
f42f2fb
Exclude output directory from type checking
GrantASL19 Jul 16, 2025
b56eac0
Improve file organization and documentation:
GrantASL19 Jul 16, 2025
ec43d3b
Use inputConfig.appId as resolvedConfig.appId if provided (only infer…
GrantASL19 Jul 16, 2025
8f15d90
Merge branch 'main' into feature/add-typescript-checking
GrantASL19 Jul 16, 2025
61e63e4
Rename .scripts directories to scripts
GrantASL19 Jul 16, 2025
cc58ab9
In validateAndNormalizeConfig pass through entryUrl (used in capacito…
GrantASL19 Jul 16, 2025
75355ef
Build into provided output, falling back to `output/${new URL(inputCo…
GrantASL19 Jul 16, 2025
d88047e
Fix type error
GrantASL19 Jul 16, 2025
4894831
In tsconfig.json remove hidden directories from include (renamed .scr…
GrantASL19 Jul 16, 2025
f740949
Separate public (Config/ValidConfig) and internal config (InternalCon…
GrantASL19 Jul 16, 2025
808ca62
Rename InternalConfig["smartDialerConfig"] to InternalConfig["smartDi…
GrantASL19 Jul 16, 2025
56d65e5
Add VS Code configs to auto-format with final newlines and remove tra…
GrantASL19 Jul 17, 2025
9e1bdd0
Rename types and variables: Config → RawBuildConfig, ValidConfig → Va…
GrantASL19 Jul 18, 2025
e13a8fc
Refactor validateRawBuildConfig into isValidRawBuildConfig type guard
GrantASL19 Jul 18, 2025
a210e9b
Improve type descriptions
GrantASL19 Jul 18, 2025
42f83cd
Rename .vscode/settings.json to .vscode.suggestion/settings.json; add…
GrantASL19 Jul 18, 2025
a0ba7ce
Validate that rawBuildConfig.entryUrl is a valid URL; add fallback "a…
GrantASL19 Jul 18, 2025
32519eb
Add https://github.com/google/gts (tsconfig.json, .eslintrc.json, and…
GrantASL19 Jul 23, 2025
f15f821
In resolveBuildConfig replace nested ternary with if...else statements
GrantASL19 Jul 24, 2025
a2059f0
Inline DEFAULT_CONFIG into rawBuildConfig
GrantASL19 Jul 24, 2025
7fa63ea
Rename getYAMLBuildConfig → yamlBuildConfigToObject
GrantASL19 Jul 24, 2025
ec8e4f1
Moved all configuration logic into createConfig.mjs, which validate a…
GrantASL19 Jul 25, 2025
0265c46
Replace SmartDialerConfig type with object
GrantASL19 Jul 30, 2025
303a6e0
Add copyright headers
GrantASL19 Jul 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
insert_final_newline = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
output/
15 changes: 15 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "./node_modules/gts/",
// This is needed until support for mjs files is added to gts
// (https://github.com/google/gts/issues/655)
"overrides": [
{
"files": ["**/*.mjs"],
"parserOptions": {
// 2022 (13) supports import.meta and top-level await
"ecmaVersion": 2022,
"sourceType": "module"
}
}
]
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.DS_Store
.vscode/
config.yaml
output/
node_modules/
tsconfig.tsbuildinfo
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('gts/.prettierrc.json')
}
7 changes: 7 additions & 0 deletions .vscode.suggestion/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode"
]
}
22 changes: 22 additions & 0 deletions .vscode.suggestion/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"files.associations": {
"*.gradle.handlebars": "gradle",
"*.json.handlebars": "handlebars",
"*.kt.handlebars": "kotlin",
"*.md.handlebars": "markdown",
"*.swift.handlebars": "swift",
"*.xml.handlebars": "xml"
},
// Disabled because Kotlin project not configured in this repo, causing errors
// in all .kt.handlebars files
"kotlin.languageServer.enabled": false,
"typescript.preferences.importModuleSpecifier": "relative",
"typescript.preferences.importModuleSpecifierEnding": "auto",
"typescript.preferences.quoteStyle": "single",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"[javascript][json][jsonc][typescript][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ To verify that your system has the necessary dependencies to generate your web w
./doctor
```

### VS Code

If you’re developing in VS Code you may want to copy [`.vscode.suggestion/settings.json`](.vscode.suggestion/settings.json) into `.vscode/settings.json` to apply some development settings.

## Building the app project for **iOS**

> [!WARNING]
Expand Down
13 changes: 13 additions & 0 deletions config-sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
additionalDomains:
- medium.com
appName: 'Jigsaw'
entryUrl: 'https://jigsaw.google.com'
smartDialerConfig:
dns:
- https:
name: 9.9.9.9
tls:
- ''
- split:1
- split:2
- tlsfrag:1
9 changes: 0 additions & 9 deletions config.yaml

This file was deleted.

Loading