|
1 | 1 | {
|
2 | 2 | "name": "@figma/code-connect",
|
3 |
| - "version": "1.2.4", |
| 3 | + "version": "1.3.0", |
4 | 4 | "description": "A tool for connecting your design system components in code with your design system in Figma",
|
5 | 5 | "keywords": [],
|
6 | 6 | "author": "Figma",
|
|
29 | 29 | "figma": "bin/figma"
|
30 | 30 | },
|
31 | 31 | "files": [
|
32 |
| - "dist/**/*" |
| 32 | + "dist/**/*", |
| 33 | + "patches/**/*" |
33 | 34 | ],
|
34 | 35 | "engines": {
|
35 | 36 | "node": ">=18"
|
|
40 | 41 | "build:web": "pnpm build",
|
41 | 42 | "build:webpack": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" webpack --mode production",
|
42 | 43 | "test": "npm run test:no-coverage -- --coverage",
|
43 |
| - "test:no-coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest", |
| 44 | + "test:no-coverage": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-deprecation\" npx jest", |
44 | 45 | "test:fast": "npm run test -- --testPathIgnorePatterns=template_rendering.test.ts --testPathIgnorePatterns=e2e_parse_command_swift.test.ts --testPathIgnorePatterns=e2e_wizard_swift.test.ts",
|
45 | 46 | "test:ci": "npm run test:non-mac -- --runInBand",
|
46 | 47 | "test:wizard": "npm run test -- --runInBand --testPathPattern=e2e_wizard_react.test.ts --testPathPattern=e2e_wizard_swift.test.ts",
|
|
58 | 59 | "bundle:cli:win": "npm run bundle:cli -- -o bundle-cli/figma-win --target node18-win-x64",
|
59 | 60 | "publish:npm": "npm install && npm run build && npm run bundle:npm-readme:prepare && npm publish --access public; npm run bundle:npm-readme:restore",
|
60 | 61 | "typecheck": "tsc --noEmit -p tsconfig-typecheck.json",
|
61 |
| - "benchmarking:run": "npx tsx ./src/connect/wizard/__test__/prop_mapping/prop_mapping_benchmarking.ts" |
| 62 | + "benchmarking:run": "npx tsx ./src/connect/wizard/__test__/prop_mapping/prop_mapping_benchmarking.ts", |
| 63 | + "postinstall": "patch-package" |
62 | 64 | },
|
63 | 65 | "devDependencies": {
|
64 | 66 |
|
65 | 67 | "@types/cross-spawn": "^6.0.6",
|
66 | 68 | "@types/jest": "^29.5.13",
|
67 | 69 | "@types/jsdom": "^21.1.7",
|
68 | 70 | "@types/lodash": "^4.17.0",
|
69 |
| - "@types/node": "^20.14.0", |
| 71 | + "@types/node": "^22.10.0", |
70 | 72 | "@types/prettier": "2.7.3",
|
71 | 73 | "@types/prompts": "^2.4.9",
|
72 | 74 | "@types/react": "18.0.26",
|
|
86 | 88 | "@babel/parser": "7.26.0",
|
87 | 89 | "@babel/types": "7.26.0",
|
88 | 90 |
|
89 |
| - "@storybook/csf-tools": "^7.6.7", |
| 91 | + "@storybook/csf-tools": "^8.4.7", |
90 | 92 | "boxen": "5.1.1",
|
91 | 93 | "chalk": "^4.1.2",
|
92 | 94 | "commander": "^11.1.0",
|
|
101 | 103 | "minimatch": "^9.0.3",
|
102 | 104 | "ora": "^5.4.1",
|
103 | 105 | "parse5": "^7.1.2",
|
| 106 | + "patch-package": "^8.0.0", |
104 | 107 | "prettier": "^2.8.8",
|
105 | 108 | "prompts": "^2.4.2",
|
106 | 109 | "strip-ansi": "^6.0.0",
|
|
0 commit comments