Skip to content

Commit

Permalink
- Remove yarn dependency (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
f8k8 authored Aug 23, 2023
1 parent 5e768a5 commit 7f9c97f
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 12 deletions.
3 changes: 2 additions & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:es": "node ./scripts/build es",
"build:copy-files": "node ./scripts/copyFiles",
"build:types": "tsc -p tsconfig.build.json",
"build:css": "NODE_ENV=production tailwindcss-cli build -o ./dist/style.css"
"build:css": "cross-env NODE_ENV=production tailwindcss-cli build -o ./dist/style.css"
},
"dependencies": {
"@headlessui/react": "^1.5.0",
Expand Down Expand Up @@ -48,6 +48,7 @@
"@types/react-table": "7.7.9",
"autoprefixer": "^10.4.2",
"babel-plugin-module-resolver": "^4.1.0",
"cross-env": "^7.0.3",
"fs-extra": "^10.0.1",
"glob": "^7.2.0",
"graphql-tag": "2.12.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function run(argv) {
);

const command = [
'yarn babel',
'pnpm babel',
'--config-file',
babelConfigPath,
'--extensions',
Expand Down
4 changes: 2 additions & 2 deletions packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"license": "MIT",
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json && yarn build:examples",
"build": "pnpm run clean && tsc -p tsconfig.build.json && pnpm run build:examples",
"build:examples": "wait-on dist/index.js && node updatePalversion.js && rimraf examples/**/node_modules && cpy --dot --parents '!/node_modules/' examples dist",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"dependencies": {
"@paljs/display": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/display/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"author": {
"name": "Ahmed Elywa",
Expand Down Expand Up @@ -34,6 +34,7 @@
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/node": "18.15.3",
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
}
}
3 changes: 2 additions & 1 deletion packages/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"dependencies": {
"@paljs/types": "workspace:*",
Expand All @@ -28,6 +28,7 @@
"@types/node": "18.15.3",
"@types/pluralize": "^0.0.29",
"@types/prettier": "^2.7.2",
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/nexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"peerDependencies": {
"@prisma/client": "^4",
Expand All @@ -37,6 +37,7 @@
"@types/lowdb": "1.0.11",
"graphql": "^16.6.0",
"nexus": "^1.3.0",
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"peerDependencies": {
"@prisma/client": "^4",
Expand All @@ -36,6 +36,7 @@
"@types/prettier": "^2.7.2",
"@apollo/server": "^4.5.0",
"graphql": "^16.6.0",
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"publishConfig": {
"access": "public"
Expand All @@ -25,6 +25,7 @@
"@paljs/utils": "workspace:*"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@prisma/generator-helper": "^5.1.1",
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"files": [
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
"private": false,
"scripts": {
"build": "pnpm run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist node_modules/.cache"
"clean": "rimraf dist node_modules/.cache"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "^5.1.6"
},
"dependencies": {
Expand Down
35 changes: 34 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f9c97f

Please sign in to comment.