From 2f4242f6120149f18017d16bfdb7fb1ef740b5d1 Mon Sep 17 00:00:00 2001 From: Jake Teton-Landis Date: Sun, 11 Feb 2024 18:29:25 -0500 Subject: [PATCH] fix instructions for updating quickjs version --- README.md | 2 +- doc/README.md | 2 +- doc/quickjs-emscripten/README.md | 2 +- package.json | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5150eaec..ac71303f 100644 --- a/README.md +++ b/README.md @@ -830,7 +830,7 @@ to build the C code. The Makefile is generated from a template in ./templates/Va Related NPM scripts: -- `yarn update-quickjs` will sync the ./quickjs folder with a github repo tracking the upstream QuickJS. +- `yarn vendor:update` updates vendor/quickjs and vendor/quickjs-ng to the latest versions on Github. - `yarn build:codegen` updates the ./packages from the template script `./prepareVariants.ts` and Variant.mk. - `yarn build:packages` builds the variant packages in parallel. diff --git a/doc/README.md b/doc/README.md index b0846b30..d2369516 100644 --- a/doc/README.md +++ b/doc/README.md @@ -834,7 +834,7 @@ to build the C code. The Makefile is generated from a template in ./templates/Va Related NPM scripts: -- `yarn update-quickjs` will sync the ./quickjs folder with a github repo tracking the upstream QuickJS. +- `yarn vendor:update` updates vendor/quickjs and vendor/quickjs-ng to the latest versions on Github. - `yarn build:codegen` updates the ./packages from the template script `./prepareVariants.ts` and Variant.mk. - `yarn build:packages` builds the variant packages in parallel. diff --git a/doc/quickjs-emscripten/README.md b/doc/quickjs-emscripten/README.md index 3ffca4e4..0a4d03b2 100644 --- a/doc/quickjs-emscripten/README.md +++ b/doc/quickjs-emscripten/README.md @@ -854,7 +854,7 @@ to build the C code. The Makefile is generated from a template in ./templates/Va Related NPM scripts: -- `yarn update-quickjs` will sync the ./quickjs folder with a github repo tracking the upstream QuickJS. +- `yarn vendor:update` updates vendor/quickjs and vendor/quickjs-ng to the latest versions on Github. - `yarn build:codegen` updates the ./packages from the template script `./prepareVariants.ts` and Variant.mk. - `yarn build:packages` builds the variant packages in parallel. diff --git a/package.json b/package.json index 24445017..14e60b8b 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "vendor:ng:subtree": "git subtree $ACTION --prefix=vendor/quickjs-ng --squash git@github.com:quickjs-ng/quickjs.git master", "vendor:ng:pull": "ACTION=pull yarn vendor:ng:subtree", "vendor:ng:add": "ACTION=add yarn vendor:ng:subtree", + "vendor:update": "yarn vendor:quickjs:pull && yarn vendor:ng:pull", "smoketest-node": "yarn tarball && ./scripts/smoketest-node-minimal.ts && ./scripts/smoketest-node.ts", "smoketest-cra": "yarn tarball && ./scripts/smoketest-create-react-app.ts", "smoketest-vite": "yarn tarball && ./scripts/smoketest-vite.ts",