npm run build should maybe actually work

This commit is contained in:
ewin 2025-03-10 01:05:12 -04:00
parent 0bd5d23dd3
commit b367c05499
Signed by: erin
SSH key fingerprint: SHA256:swjoHhREbZPbWe+gyJNi24d4NAxJSyUIm3fpZj4z3wc
4 changed files with 1090 additions and 571 deletions

View file

@ -1,3 +1,12 @@
# embedded-string-highlighting
> textmate grammars can't be *that* bad right??
## how the fuck
`npx tsx build.mts` to turn `*.json.mts` files into `*.json` files which are
actually used by the extension. yes `package.json` is autogenerated by injecting
vs code's extension contribution point nonsense into the contents of the
existing `base.package.json` file. yes it's terrible. no i probably won't ever
bother separating the source files from the built output, that sounds
complicated

View file

@ -10,8 +10,8 @@
"Programming Languages"
],
"scripts": {
"build": "node build.mjs",
"build:watch": "nodemon -e js,mjs,cjs --exec npm run build"
"build": "tsx build.mts",
"build:watch": "nodemon -e js,mjs,ts,mts --exec npm run build"
},
"devDependencies": {
"dprint": "^0.49.0",

1644
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,8 +10,8 @@
"Programming Languages"
],
"scripts": {
"build": "node build.mjs",
"build:watch": "nodemon -e js,mjs,cjs --exec npm run build"
"build": "tsx build.mts",
"build:watch": "nodemon -e js,mjs,ts,mts --exec npm run build"
},
"devDependencies": {
"dprint": "^0.49.0",