Skip to content

Commit

Permalink
Merge pull request #32 from OutpostHQ/migrate-to-parcel
Browse files Browse the repository at this point in the history
feat: migrate build from `tsup` to `parcel` WIP
  • Loading branch information
shubham-kaushal authored Nov 17, 2022
2 parents 8d92722 + a7e0b26 commit 6dc3ccd
Show file tree
Hide file tree
Showing 9 changed files with 3,540 additions and 1,982 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-otters-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tastycss': patch
---

migrate build from `tsup` to `parcel`
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dist-ssr
server/dist
public/dist
.yarn
.parcel-cache


.idea
Expand Down
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,26 @@
"dependencies": {
"@jengaui/react": "^0.2.0",
"@testing-library/react": "^13.4.0",
"@types/node": "18.11.3",
"find-packages": "10.0.1",
"find-up": "^6.3.0",
"@types/node": "18.11.9",
"react-transition-group": "^4.4.5"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.0",
"@changesets/cli": "2.25.2",
"@parcel/packager-ts": "2.8.0",
"@parcel/transformer-typescript-types": "2.8.0",
"@testing-library/jest-dom": "^5.16.5",
"eslint": "8.26.0",
"jest": "29.2.1",
"@types/node": "18.11.3",
"eslint": "8.27.0",
"jest": "29.3.1",
"jest-styled-components": "^7.1.1",
"node-abort-controller": "3.0.1",
"parcel": "2.8.0",
"prettier": "^2.7.1",
"tsup": "^6.3.0",
"turbo": "^1.6.1"
"turbo": "^1.6.3",
"typescript": "^4"
},
"resolutions": {
"typescript": "~4.7"
}
}
22 changes: 11 additions & 11 deletions packages/tastycss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,16 @@
"repository": "OutpostHQ/tasty",
"license": "MIT",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"source": "src/index.ts",
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"files": [
"dist/**"
],
"scripts": {
"build": "JSX=1 tsup src/index.ts --dts --minify --treeshake --splitting",
"watch": "parcel watch",
"build": "parcel build",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"dev": "tsup src/index.ts --minify --treeshake --format esm,cjs --watch --dts --external react && yarn size-limit",
"lint": "TIMING=1 eslint src/**/*.ts* --fix",
Expand All @@ -71,28 +73,26 @@
"last 2 Safari major versions"
],
"dependencies": {
"find-up": "^6.3.0",
"react-is": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "^13.4.0",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.40.1",
"eslint": "8.26.0",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "^29.2.1",
"jest": "^29.3.1",
"prettier": "2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "5.3.6",
"tsup": "^6.3.0",
"typescript": "4.8.4"
"typescript": "~4.9.3"
},
"peerDependencies": {
"react": ">= 18.2.0",
Expand Down
8 changes: 0 additions & 8 deletions packages/tastycss/tsup.config.ts

This file was deleted.

Loading

0 comments on commit 6dc3ccd

Please sign in to comment.