ReviewOS

also looking at this

stacks/ts-tokens

chore(deps): update all non-major dependencies

#418
Closed chris wants to merge buddy-bot/update-non-major-updates-1770683029988 into main
11 files +442 -40

Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.

.github/workflows/docs.ymladded+60-0
Changes to .github/workflows/docs.yml
@@ -0,0 +1,60 @@
1name: Deploy Docs
2
3on:
4 push:
5 branches: [main]
6 paths:
7 - 'docs/**'
8 - '.github/workflows/docs.yml'
9 workflow_dispatch:
10
11permissions:
12 contents: read
13 pages: write
14 id-token: write
15
16concurrency:
17 group: pages
18 cancel-in-progress: false
19
20jobs:
21 build:
22 runs-on: ubuntu-latest
23 steps:
24 - name: Checkout
25 uses: actions/checkout@v4
26 with:
27 fetch-depth: 0
28
29 - name: Setup Bun
30 uses: oven-sh/setup-bun@v2
31
32 - name: Use Cached node_modules
33 uses: actions/cache@v4
34 with:
35 path: node_modules
36 key: node-modules-${{ hashFiles('**/bun.lock') }}
37 restore-keys: |
38 node-modules-
39
40 - name: Install Dependencies
41 run: bun install
42
43 - name: Build Documentation
44 run: bun run build:docs
45
46 - name: Upload Pages Artifact
47 uses: actions/upload-pages-artifact@v3
48 with:
49 path: docs/.vitepress/dist
50
51 deploy:
52 environment:
53 name: github-pages
54 url: ${{ steps.deployment.outputs.page_url }}
55 needs: build
56 runs-on: ubuntu-latest
57 steps:
58 - name: Deploy to GitHub Pages
59 id: deployment
60 uses: actions/deploy-pages@v4.0.5
packages/react/package.jsonmodified+2-1
Changes to packages/react/package.json
@@ -43,7 +43,8 @@
4343 "dist"
4444 ],
4545 "scripts": {
46 "build": "bun build ./src/index.ts --outdir ./dist --target browser",
46 "dev": "vite --config vite.config.ts",
47 "build": "bun build ./src/index.ts --outdir ./dist --target browser --sourcemap=external",
4748 "lint": "bunx --bun eslint .",
4849 "lint:fix": "bunx --bun eslint . --fix",
4950 "release": "bun publish --access public --provenance",
packages/ts-tokens/package.jsonmodified+1-0
Changes to packages/ts-tokens/package.json
@@ -161,6 +161,7 @@
161161 "prepublishOnly": "bun --bun run build && bun run compile:all",
162162 "release": "bun publish --access public --provenance",
163163 "test": "bun test",
164 "test:binary": "bash scripts/test-binary.sh",
164165 "typecheck": "bun --bun tsc --noEmit"
165166 },
166167 "dependencies": {
packages/vscode-extension/package.jsonadded+110-0
Changes to packages/vscode-extension/package.json
@@ -0,0 +1,110 @@
1{
2 "name": "ts-tokens-vscode",
3 "displayName": "ts-tokens",
4 "description": "VS Code extension for ts-tokens — Solana token and NFT development",
5 "version": "0.1.0",
6 "publisher": "stacksjs",
7 "license": "MIT",
8 "engines": {
9 "vscode": "^1.85.0"
10 },
11 "categories": [
12 "Snippets",
13 "Other"
14 ],
15 "keywords": [
16 "solana",
17 "tokens",
18 "nft",
19 "typescript",
20 "web3"
21 ],
22 "repository": {
23 "type": "git",
24 "url": "https://github.com/stacksjs/ts-tokens.git",
25 "directory": "packages/vscode-extension"
26 },
27 "main": "./dist/extension.js",
28 "activationEvents": [
29 "workspaceContains:tokens.config.ts",
30 "workspaceContains:tokens.config.js"
31 ],
32 "contributes": {
33 "snippets": [
34 {
35 "language": "typescript",
36 "path": "./snippets/ts-tokens.json"
37 },
38 {
39 "language": "typescriptreact",
40 "path": "./snippets/ts-tokens.json"
41 }
42 ],
43 "problemMatchers": [
44 {
45 "name": "ts-tokens",
46 "owner": "ts-tokens",
47 "fileLocation": "absolute",
48 "pattern": [
49 {
50 "regexp": "^\\[ERROR\\]\\s+(.+)$",
51 "message": 1
52 }
53 ],
54 "background": {
55 "activeOnStart": true,
56 "beginsPattern": "^\\[ts-tokens\\]",
57 "endsPattern": "^\\[ts-tokens\\] (Done|Error)"
58 }
59 },
60 {
61 "name": "ts-tokens-transaction",
62 "owner": "ts-tokens",
63 "fileLocation": "absolute",
64 "severity": "error",
65 "pattern": [
66 {
67 "regexp": "^Transaction failed:\\s+(.+)\\s+\\(signature:\\s+(\\S+)\\)",
68 "message": 1,
69 "code": 2
70 }
71 ]
72 },
73 {
74 "name": "ts-tokens-validation",
75 "owner": "ts-tokens",
76 "fileLocation": "relative",
77 "severity": "warning",
78 "pattern": [
79 {
80 "regexp": "^Validation error in (.+):(\\d+):\\s+(.+)$",
81 "file": 1,
82 "line": 2,
83 "message": 3
84 }
85 ]
86 }
87 ],
88 "taskDefinitions": [
89 {
90 "type": "ts-tokens",
91 "required": [
92 "command"
93 ],
94 "properties": {
95 "command": {
96 "type": "string",
97 "description": "The ts-tokens CLI command to run"
98 }
99 }
100 }
101 ]
102 },
103 "scripts": {
104 "build": "bun build ./src/extension.ts --outdir ./dist --target node --format esm",
105 "typecheck": "bun --bun tsc --noEmit"
106 },
107 "devDependencies": {
108 "@types/vscode": "^1.109.0"
109 }
110}