WIP: migrate from yarn v1 to npm (#6274)

* WIP: migrate from yarn v1 to npm

* Add tsc mapping script

* More fixes

* Add playwright as script

* Fix more

* more and more people just want more

* Merge branch 'main' into pierremtb/adhoc/npm

* use workspaces and fix circular deps

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fmt

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* New machine-api types

* better lock file

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* ignore typos in machine-api generated files

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* install from root

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fix tsc

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* New machine-api types

* bettter install

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bettter install

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bettter install

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bettter install

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bettter install

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add comment

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* add comment

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Pierre Jacquier
2025-04-11 22:49:49 -04:00
committed by GitHub
parent 95b72d839b
commit 167445ef8a
39 changed files with 22225 additions and 13680 deletions

View File

@ -85,7 +85,7 @@ args = ["server", "--stdio"]
## Development
```bash
$ yarn install
$ npm install
$ cargo build
$ code .
```

View File

@ -118,14 +118,14 @@
}
},
"scripts": {
"vscode:prepublish": "yarn run build-base -- --minify",
"deploy": "vsce publish --yarn",
"vscode:prepublish": "npm run build-base -- --minify",
"deploy": "vsce publish --npm",
"build-base": "esbuild ./client/src/main.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node --target=node16",
"test-compile": "tsc -p ./",
"compile": "cross-env NODE_ENV=production tsc -b",
"build": "yarn run build-base -- --sourcemap",
"watch": "yarn run build-base -- --sourcemap --watch",
"pretest": "yarn run build && yarn test-compile",
"build": "npm run build-base -- --sourcemap",
"watch": "npm run build-base -- --sourcemap --watch",
"pretest": "npm run build && npm run test-compile",
"test": "node ./dist/client/src/test/runTest.js",
"package": "vsce package -o kcl-language-server.vsix"
},

File diff suppressed because it is too large Load Diff