Remove checked-in theme JSON files
* Generate the themes on build * In debug builds, watch the theme sources. When they change, re-generate the themes and reload the current theme, removing the need for the `theme_selector::Reload` command. Co-authored-by: Keith Simmons <keith@zed.dev>
This commit is contained in:
co-authored by
Keith Simmons
parent
bdeac6b66a
commit
ec41dd9f18
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"watch": [
|
||||
"./**/*"
|
||||
],
|
||||
"ext": "ts",
|
||||
"ignore": [],
|
||||
"exec": "ts-node src/buildThemes.ts"
|
||||
}
|
||||
Generated
-2005
File diff suppressed because it is too large
Load Diff
+2
-4
@@ -6,8 +6,7 @@
|
||||
"scripts": {
|
||||
"build": "npm run build-themes && npm run build-tokens",
|
||||
"build-themes": "ts-node ./src/buildThemes.ts",
|
||||
"build-tokens": "ts-node ./src/buildTokens.ts",
|
||||
"watch": "nodemon"
|
||||
"build-tokens": "ts-node ./src/buildTokens.ts"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
@@ -16,7 +15,6 @@
|
||||
"@types/node": "^17.0.23",
|
||||
"case-anything": "^2.1.10",
|
||||
"chroma-js": "^2.4.2",
|
||||
"ts-node": "^10.7.0",
|
||||
"nodemon": "^2.0.15"
|
||||
"ts-node": "^10.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user