|
5 | 5 | "license": "MIT", |
6 | 6 | "private": true, |
7 | 7 | "dependencies": { |
8 | | - "@chakra-ui/icons": "^1.1.5", |
9 | | - "@chakra-ui/react": "^1.8.7", |
| 8 | + "@chakra-ui/icons": "^2.1.1", |
| 9 | + "@chakra-ui/react": "^2.5.1", |
10 | 10 | "@codemirror/autocomplete": "^6.3.0", |
11 | 11 | "@codemirror/commands": "6.1.1", |
12 | 12 | "@codemirror/lang-python": "^6.0.2", |
13 | 13 | "@codemirror/language": "^6.2.1", |
14 | 14 | "@codemirror/state": "^6.1.2", |
15 | 15 | "@codemirror/view": "^6.3.0", |
16 | | - "@emotion/react": "^11.7.1", |
17 | | - "@emotion/styled": "^11.6.0", |
| 16 | + "@emotion/react": "^11.10.6", |
| 17 | + "@emotion/styled": "^11.10.6", |
18 | 18 | "@microbit/lunr-languages": "^1.9.0-microbit.1", |
19 | 19 | "@microbit/microbit-fs": "^0.9.2", |
20 | | - "@react-three/fiber": "^7.0.27", |
21 | 20 | "@sanity/block-content-to-react": "^3.0.0", |
22 | 21 | "@sanity/image-url": "^1.0.1", |
23 | 22 | "@testing-library/jest-dom": "^5.14.1", |
24 | | - "@testing-library/react": "^11.2.6", |
25 | | - "@testing-library/user-event": "^12.8.3", |
| 23 | + "@testing-library/react": "^14.0.0", |
| 24 | + "@testing-library/user-event": "^14.4.3", |
26 | 25 | "@types/dompurify": "^2.3.1", |
27 | 26 | "@types/lodash.debounce": "^4.0.6", |
28 | 27 | "@types/lodash.sortby": "^4.7.6", |
29 | 28 | "@types/lunr": "^2.3.4", |
30 | 29 | "@types/marked": "^4.0.1", |
31 | 30 | "@types/node": "^14.17.15", |
32 | | - "@types/react": "^17.0.20", |
33 | | - "@types/react-dom": "^17.0.9", |
| 31 | + "@types/react": "^18.0.0", |
| 32 | + "@types/react-dom": "^18.0.0", |
34 | 33 | "base64-js": "^1.5.1", |
35 | 34 | "crelt": "^1.0.5", |
36 | 35 | "dapjs": "2.2.0", |
37 | 36 | "dompurify": "^2.3.3", |
38 | 37 | "file-saver": "^2.0.5", |
39 | | - "framer-motion": "^5.6.0", |
| 38 | + "framer-motion": "^10.2.4", |
40 | 39 | "lodash.debounce": "^4.0.8", |
41 | 40 | "lodash.sortby": "^4.7.0", |
42 | 41 | "lunr": "^2.3.9", |
43 | 42 | "lzma": "^2.3.2", |
44 | 43 | "marked": "^4.0.15", |
45 | 44 | "mobile-drag-drop": "^2.3.0-rc.2", |
46 | | - "react": "^17.0.2", |
47 | | - "react-dom": "^17.0.2", |
| 45 | + "react": "^18.0.0", |
| 46 | + "react-dom": "^18.0.0", |
48 | 47 | "react-icons": "^4.8.0", |
49 | | - "react-intl": "^5.20.10", |
| 48 | + "react-intl": "^6.2.10", |
50 | 49 | "vscode-jsonrpc": "^8.0.0", |
51 | 50 | "vscode-languageserver-protocol": "^3.16.0", |
52 | 51 | "web-vitals": "^1.1.1", |
53 | 52 | "xterm": "4.14.1", |
54 | 53 | "xterm-addon-fit": "^0.5.0" |
55 | 54 | }, |
56 | 55 | "devDependencies": { |
| 56 | + "@babel/plugin-proposal-private-property-in-object": "^7.21.11", |
| 57 | + "@chakra-ui/cli": "^2.4.1", |
57 | 58 | "@craco/craco": "^7.0.0", |
58 | 59 | "@formatjs/cli": "^4.2.33", |
59 | 60 | "@testing-library/jest-dom": "^5.14.1", |
60 | | - "@testing-library/react": "^11.2.6", |
61 | | - "@testing-library/user-event": "^12.8.3", |
| 61 | + "@testing-library/react": "^14.0.0", |
| 62 | + "@testing-library/user-event": "^14.0.0", |
62 | 63 | "@types/file-saver": "^2.0.3", |
63 | 64 | "@types/jest": "^26.0.24", |
64 | 65 | "cross-env": "^7.0.3", |
65 | 66 | "pptr-testing-library": "^0.7.0", |
66 | 67 | "prettier": "2.3.2", |
67 | | - "puppeteer": "^13.4.0", |
| 68 | + "puppeteer": "13.4.0", |
68 | 69 | "react-scripts": "5.0.0", |
69 | 70 | "source-map-explorer": "^2.5.3", |
70 | 71 | "typescript": "^4.4.2" |
|
77 | 78 | "bundle-size-explorer": "source-map-explorer 'build/static/js/*.js'", |
78 | 79 | "bundle-size-report": "source-map-explorer 'build/static/js/*.js' --html reports/bundle-size.html", |
79 | 80 | "ci": "npm run typecheck && npm run test && npm run build && npm run bundle-size-report", |
| 81 | + "postinstall": "npm run theme", |
80 | 82 | "start": "craco start", |
81 | 83 | "build": "craco build", |
82 | 84 | "test": "craco test --testPathIgnorePatterns=e2e", |
|
86 | 88 | "test:all": "craco test --testTimeout 15000", |
87 | 89 | "test:e2e": "cross-env E2E_HEADLESS=0 craco test --testPathPattern e2e -w 1 --testTimeout 15000", |
88 | 90 | "test:e2e:headless": "cross-env E2E_HEADLESS=1 craco test --testPathPattern e2e -w 1 --testTimeout 15000", |
| 91 | + "theme": "chakra-cli tokens src/deployment/default/theme.ts", |
| 92 | + "theme:watch": "chakra-cli tokens src/deployment/default/theme.ts --watch", |
89 | 93 | "ci:update-version": "update-ci-version", |
90 | 94 | "deploy": "website-deploy-aws", |
91 | 95 | "invalidate": "aws cloudfront create-invalidation --distribution-id $(printenv ${STAGE}_CLOUDFRONT_DISTRIBUTION_ID) --paths \"/*\"", |
|
0 commit comments