Skip to content

Commit

Permalink
deps: update to latest major
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Mar 3, 2024
1 parent f983003 commit 3709bcf
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 204 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build]
publish = './packages/website/dist'
publish = './packages/website/out'
command = 'yarn website:build'

[[redirects]]
Expand Down
17 changes: 5 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,18 @@
"coverage:watch": "yarn build && vitest watch --coverage --exclude '**/integration.test.ts'",
"website:dev": "yarn build && yarn workspace @figma-export/website dev",
"website:build": "yarn build && yarn workspace @figma-export/website build",
"website:start": "yarn dlx serve packages/website/dist/",
"website:serve": "yarn dlx serve packages/website/out/",
"upgrade:major": "npx npm-check-updates -ws --root -u",
"upgrade:minor": "yarn upgrade:major --target minor",
"ls-engines": "yarn dlx ls-engines",
"version": "yarn && git add yarn.lock",
"pre-commit": "lint-staged -c ./lint-staged.config.js"
},
"author": "Marco Montalbano <me@marcomontalbano.com>",
"c8": {
"all": false,
"include": [
"**/*.js",
"**/*.ts"
]
},
"devDependencies": {
"@types/node": "~20.11.20",
"@typescript-eslint/eslint-plugin": "~7.0.2",
"@typescript-eslint/parser": "~7.0.2",
"@types/node": "~20.11.24",
"@typescript-eslint/eslint-plugin": "~7.1.0",
"@typescript-eslint/parser": "~7.1.0",
"@vitest/coverage-istanbul": "^1.3.1",
"eslint": "~8.57.0",
"eslint-config-airbnb": "~19.0.4",
Expand All @@ -53,7 +46,7 @@
"lerna-changelog": "~2.2.0",
"lint-staged": "~15.2.2",
"ls-engines": "^0.9.1",
"nock": "~13.5.3",
"nock": "~13.5.4",
"npm-check-updates": "^16.14.15",
"ts-node": "~10.9.2",
"typescript": "~5.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@figma-export/types": "^5.0.1",
"axios": "^1.6.7",
"figma-js": "~1.16.0",
"p-limit": "^4.0.0",
"p-retry": "^5.1.2"
"p-limit": "^5.0.0",
"p-retry": "^6.2.0"
},
"overrides": {
"axios": "^1.6.7"
Expand Down
3 changes: 2 additions & 1 deletion packages/website/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.cache
/dist
/output
/.next
/.next
/out
3 changes: 1 addition & 2 deletions packages/website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
const nextConfig = {
// https://nextjs.org/docs/api-reference/next.config.js/react-strict-mode
reactStrictMode: true,
output: 'export',
distDir: 'dist'
output: 'export'
}

module.exports = nextConfig;
17 changes: 8 additions & 9 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,32 @@
"homepage": "https://figma-export.marcomontalbano.com/",
"license": "MIT",
"scripts": {
"clean": "rimraf dist output .next",
"export": "figma-export use-config .figmaexportrc.mjs",
"clean": "rimraf dist output .next out",
"figma:export": "figma-export use-config .figmaexportrc.mjs",
"next:lint": "next lint",
"next:dev": "next dev",
"next:build": "next build",
"next:export": "next export -o dist/",
"dev": "run-s export next:dev",
"build": "run-s clean export next:build"
"dev": "run-s figma:export next:dev",
"build": "run-s clean figma:export next:build"
},
"devDependencies": {
"@figma-export/cli": "^5.0.1",
"@figma-export/utils": "^5.0.0",
"@types/react": "^18.2.58",
"eslint-config-next": "^13.5.6",
"@types/react": "^18.2.61",
"eslint-config-next": "^14.1.1",
"npm-run-all": "~4.1.5",
"rimraf": "~5.0.5",
"sass": "~1.71.1"
},
"dependencies": {
"@svgr/plugin-jsx": "^8.1.0",
"next": "^13.5.6",
"next": "^14.1.1",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"engines": {
"node": ">= 16.14"
"node": ">= 18"
},
"browserslist": [
">0.3%",
Expand Down
Loading

0 comments on commit 3709bcf

Please sign in to comment.