npm run build should maybe actually work
This commit is contained in:
parent
0bd5d23dd3
commit
b367c05499
|
@ -1,3 +1,12 @@
|
||||||
# embedded-string-highlighting
|
# embedded-string-highlighting
|
||||||
|
|
||||||
> textmate grammars can't be *that* bad right??
|
> 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
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
"Programming Languages"
|
"Programming Languages"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build.mjs",
|
"build": "tsx build.mts",
|
||||||
"build:watch": "nodemon -e js,mjs,cjs --exec npm run build"
|
"build:watch": "nodemon -e js,mjs,ts,mts --exec npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dprint": "^0.49.0",
|
"dprint": "^0.49.0",
|
||||||
|
|
1644
package-lock.json
generated
1644
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -10,8 +10,8 @@
|
||||||
"Programming Languages"
|
"Programming Languages"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node build.mjs",
|
"build": "tsx build.mts",
|
||||||
"build:watch": "nodemon -e js,mjs,cjs --exec npm run build"
|
"build:watch": "nodemon -e js,mjs,ts,mts --exec npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dprint": "^0.49.0",
|
"dprint": "^0.49.0",
|
||||||
|
|
Loading…
Reference in a new issue