forked from sheetjs/docs.sheetjs.com
		
	steam duk
This commit is contained in:
		
							parent
							
								
									f6c04938a5
								
							
						
					
					
						commit
						b62d074900
					
				| @ -37,7 +37,7 @@ npx nuxt telemetry disable | ||||
| At the time the demo was last tested, this command did not work.  Instead, a | ||||
| option should be added in `nuxt.config.ts` or `nuxt.config.js` for Nuxt 3 sites: | ||||
| 
 | ||||
| ```js | ||||
| ```js title="nuxt.config.js" | ||||
| // ... | ||||
| // highlight-start | ||||
| export default defineNuxtConfig({ | ||||
| @ -278,7 +278,7 @@ not, click Refresh manually or open a new browser window. | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| 6) To verify that hot loading works, open `pres.xlsx` from the `content` folder | ||||
| 6) To verify that live reload works, open `pres.xlsx` from the `content` folder | ||||
| in Excel.  Add a new row to the bottom and save the file: | ||||
| 
 | ||||
|  | ||||
| @ -437,7 +437,7 @@ curl -L -o content/pres.xlsx https://sheetjs.com/pres.xlsx | ||||
| 
 | ||||
| 4) Create the transformer. | ||||
| 
 | ||||
| Two files must be written: | ||||
| Two files must be written at the root of the project: | ||||
| 
 | ||||
| - `sheetformer.ts` (the raw transformer module): | ||||
| 
 | ||||
|  | ||||
| @ -93,7 +93,7 @@ This data loader returns Base64 strings: | ||||
| /// <reference types="astro/client" /> | ||||
| declare module '*.numbers' { | ||||
|   const data: string; | ||||
|  export default data; | ||||
|   export default data; | ||||
| } | ||||
| declare module '*.xlsx' { | ||||
|   const data: string; | ||||
|  | ||||
| @ -50,8 +50,8 @@ As a project from the company, the entire lifecycle uses GitHub offerings: | ||||
| 
 | ||||
| :::caution | ||||
| 
 | ||||
| A GitHub account is required. At the time of writing (2023 February 11), free | ||||
| GitHub accounts have no Actions usage limits for public repositories. | ||||
| A GitHub account is required. When the demo was tested, free GitHub accounts had | ||||
| no Actions usage limits for public repositories. | ||||
| 
 | ||||
| Using private GitHub repositories is not recommended because the Flat Viewer | ||||
| cannot access private repositories. | ||||
|  | ||||
| @ -113,7 +113,12 @@ The resulting `buf` can be written to file with `fwrite`. | ||||
| 
 | ||||
| :::note | ||||
| 
 | ||||
| This demo was tested with Duktape `2.7.0` (`darwin-x64`) on 2023 February 12. | ||||
| This demo was tested in the following deployments: | ||||
| 
 | ||||
| | Architecture | Version | Date       | | ||||
| |:-------------|:--------|:-----------| | ||||
| | `darwin-x64` | `2.7.0` | 2023-02-12 | | ||||
| | `linux-x64`  | `2.7.0` | 2023-06-02 | | ||||
| 
 | ||||
| ::: | ||||
| 
 | ||||
|  | ||||
| @ -119,8 +119,8 @@ generates an XLSB file and writes to the filesystem. | ||||
| 
 | ||||
| :::caution | ||||
| 
 | ||||
| At the time of writing, there were errors in the official V8 embed guide for the | ||||
| macOS platform. The correct instructions are included below. | ||||
| When the demo was last tested, there were errors in the official V8 embed guide. | ||||
| The correct instructions are included below. | ||||
| 
 | ||||
| ::: | ||||
| 
 | ||||
| @ -298,8 +298,6 @@ This demo was last tested in the following deployments: | ||||
| | `linux-x64`  | `0.71.2` | 2023-05-23 | | ||||
| | `win32-x64`  | `0.71.2` | 2023-05-23 | | ||||
| 
 | ||||
| This demo was last tested on 2023 May 22 against `v8` crate version `0.71.2` | ||||
| 
 | ||||
| ::: | ||||
| 
 | ||||
| 1) Create a new project: | ||||
|  | ||||
| @ -116,13 +116,12 @@ while the "CLI Test" demonstrates other concepts using the `quickjs` CLI tool. | ||||
| 
 | ||||
| :::note | ||||
| 
 | ||||
| This demo was last tested on 2023 March 11 against QuickJS commit `2788d71` on | ||||
| a Intel Mac. `gcc -v` printed: | ||||
| This demo was tested in the following deployments: | ||||
| 
 | ||||
| ``` | ||||
| Apple clang version 14.0.0 (clang-1400.0.29.202) | ||||
| Target: x86_64-apple-darwin21.6.0 | ||||
| ``` | ||||
| | Architecture | Git Commit | Date       | | ||||
| |:-------------|:-----------|:-----------| | ||||
| | `darwin-x64` | `2788d71`  | 2023-02-12 | | ||||
| | `linux-x64`  | `2788d71`  | 2023-06-02 | | ||||
| 
 | ||||
| ::: | ||||
| 
 | ||||
| @ -152,7 +151,7 @@ curl -LO https://docs.sheetjs.com/quickjs/sheetjs.quick.c | ||||
| 3) Build the sample application: | ||||
| 
 | ||||
| ```bash | ||||
| gcc -o sheetjs.quick -Wall -lm libquickjs.a sheetjs.quick.c | ||||
| gcc -o sheetjs.quick -Wall -lm sheetjs.quick.c libquickjs.a | ||||
| ``` | ||||
| 
 | ||||
| This program tries to parse the file specified by the first argument | ||||
|  | ||||
| @ -191,6 +191,19 @@ sudo pacman-key --refresh-keys | ||||
| sudo pacman -S base-devel mercurial subversion | ||||
| ``` | ||||
| 
 | ||||
| :::note | ||||
| 
 | ||||
| In local testing on the Steam Deck, some of the C / C++ demos failed to build. | ||||
| This issue was resolved by manually installing `glibc` and `linux-api-headers`: | ||||
| 
 | ||||
| ```bash | ||||
| sudo pacman -S glibc linux-api-headers | ||||
| ``` | ||||
| 
 | ||||
| This is *not required* for building or testing the library. | ||||
| 
 | ||||
| ::: | ||||
| 
 | ||||
| </details> | ||||
| 
 | ||||
| After installing mercurial and subversion, install NodeJS. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user