Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
7 changes: 7 additions & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"reject": [
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"eslint"
]
}
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.1.0.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"scripts": {
"debug": "yarn build && node ./packages/cli/bin/run.js use-config .figmaexportrc.example.local.js",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
"postinstall": "husky install",
"clean": "rm -rf node_modules/ output/ */*/node_modules */*/dist */*/tsconfig.tsbuildinfo",
"build": "tsc --build packages/**/tsconfig.json",
"lint": "yarn build && eslint . --ignore-pattern=node_modules --ignore-pattern=output --ignore-pattern=dist --ext .js,.jsx,.ts,.tsx",
Expand All @@ -26,30 +25,31 @@
"website:dev": "yarn build && yarn workspace @figma-export/website dev",
"website:build": "yarn build && yarn workspace @figma-export/website build",
"website:serve": "yarn dlx serve packages/website/out/",
"upgrade:major": "npx npm-check-updates -ws --root -u",
"upgrade:minor": "yarn upgrade:major --target minor",
"dep:major": "npx npm-check-updates -ws --root -u",
"dep:minor": "yarn dep:major --target minor",
"ls-engines": "yarn dlx ls-engines",
"version": "yarn && git add yarn.lock",
"pre-commit": "lint-staged -c ./lint-staged.config.js"
"pre-commit": "lint-staged -c ./lint-staged.config.js",
"prepare": "husky"
},
"author": "Marco Montalbano <me@marcomontalbano.com>",
"devDependencies": {
"@types/node": "~20.12.11",
"@typescript-eslint/eslint-plugin": "~7.8.0",
"@typescript-eslint/parser": "~7.8.0",
"@vitest/coverage-istanbul": "^1.6.0",
"eslint": "~8.57.0",
"@types/node": "~20.16.3",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-istanbul": "^2.0.5",
"eslint": "^8.57.0",
"eslint-config-airbnb": "~19.0.4",
"eslint-plugin-import": "~2.29.1",
"husky": "^9.0.11",
"lerna": "^8.1.2",
"husky": "^9.1.5",
"lerna": "^8.1.8",
"lerna-changelog": "~2.2.0",
"lint-staged": "~15.2.2",
"ls-engines": "^0.9.1",
"nock": "~13.5.4",
"npm-check-updates": "^16.14.20",
"typescript": "~5.4.5",
"vitest": "^1.6.0"
"lint-staged": "~15.2.10",
"ls-engines": "^0.9.3",
"nock": "~13.5.5",
"npm-check-updates": "^17.1.1",
"typescript": "~5.5.4",
"vitest": "^2.0.5"
},
"engines": {
"node": ">= 18.17"
Expand All @@ -72,5 +72,5 @@
"PR: New Feature :rocket:": ":rocket: New Feature"
}
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.4.1"
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@figma-export/core": "^6.0.0",
"@figma-export/types": "^6.0.0",
"ora": "~8.0.1",
"ora": "~8.1.0",
"sade": "~1.8.1"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
},
"dependencies": {
"@figma-export/types": "^6.0.0",
"axios": "^1.6.8",
"axios": "^1.7.7",
"figma-js": "~1.16.0",
"p-limit": "^5.0.0",
"p-limit": "^6.1.0",
"p-retry": "^6.2.0"
},
"overrides": {
"axios": "^1.6.8"
"axios": "^1.7.7"
},
"resolutions": {
"axios": "^1.6.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/transform-svg-with-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@figma-export/types": "^6.0.0",
"@types/svgo": "~2.6.4",
"@types/svgo": "~3.0.0",
"svgo": "~3.3.2"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
"devDependencies": {
"@figma-export/cli": "^6.0.1",
"@figma-export/utils": "^6.0.0",
"@types/react": "^18.3.1",
"eslint-config-next": "^14.2.3",
"@types/react": "^18.3.5",
"eslint-config-next": "^14.2.7",
"npm-run-all": "~4.1.5",
"rimraf": "~5.0.6",
"sass": "~1.77.0"
"rimraf": "~6.0.1",
"sass": "~1.77.8"
},
"dependencies": {
"@svgr/plugin-jsx": "^8.1.0",
"@types/prismjs": "^1.26.4",
"next": "^14.2.3",
"next": "^14.2.7",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
Loading