Skip to content

Commit

Permalink
update learn
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa committed Apr 11, 2021
1 parent 11aa008 commit 00cc5ea
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 23 deletions.
4 changes: 2 additions & 2 deletions admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"build:copy-files": "node ./scripts/copyFiles",
"build:types": "tsc -p tsconfig.build.json",
"build:css": "NODE_ENV=production tailwindcss-cli build -o ../packages/admin/style.css",
"prepare": "cd ../../admin && yarn build"
"prepare": "yarn build"
},
"dependencies": {
"@headlessui/react": "^0.3.2",
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"publishConfig": {
"access": "public",
"directory": "build"
"directory": "../packages/admin"
},
"gitHead": "8ea3a3ba5792d102345c22606f5d14edb63d7ad8"
}
12 changes: 10 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"version": "2.14.0",
"version": "3.0.0",
"useWorkspaces": false,
"packages": [
"packages/*"
"packages/cli",
"packages/create",
"packages/display",
"packages/generator",
"packages/nexus",
"packages/plugins",
"packages/schema",
"packages/types",
"admin"
],
"npmClient": "yarn",
"command": {
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@paljs/cli",
"description": "Pal cli will be your friend in developing nodejs full-stack projects to auto generate everything for you",
"version": "2.14.0",
"version": "3.0.0",
"author": "Ahmed Elewa @AhmedElywa",
"bin": {
"pal": "./bin/run"
Expand All @@ -11,10 +11,10 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@paljs/create": "^2.14.0",
"@paljs/display": "^2.14.0",
"@paljs/generator": "^2.14.0",
"@paljs/schema": "^2.14.0",
"@paljs/create": "^3.0.0",
"@paljs/display": "^3.0.0",
"@paljs/generator": "^3.0.0",
"@paljs/schema": "^3.0.0",
"@prisma/sdk": "2.20.1",
"cross-spawn": "^7.0.3",
"enquirer": "^2.3.6",
Expand Down
6 changes: 3 additions & 3 deletions packages/create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/create",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/create.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -22,8 +22,8 @@
"prepare": "yarn build"
},
"dependencies": {
"@paljs/display": "^2.14.0",
"@paljs/types": "^2.14.0",
"@paljs/display": "^3.0.0",
"@paljs/types": "^3.0.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"chalk": "^4.1.0",
"cross-spawn": "^7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/display/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/display",
"version": "2.14.0",
"version": "3.0.0",
"description": "Display package for the paljs CLI",
"homepage": "https://paljs.com",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/generator",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/types.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"prepare": "tsdx build"
},
"dependencies": {
"@paljs/types": "^2.14.0",
"@paljs/types": "^3.0.0",
"@prisma/sdk": "2.20.1",
"pkg-dir": "^5.0.0",
"pluralize": "^8.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/nexus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/nexus",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/nexus.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"prepare": "tsdx build"
},
"dependencies": {
"@paljs/plugins": "^2.14.0",
"@paljs/plugins": "^3.0.0",
"fs-extra": "^9.1.0",
"lowdb": "^1.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/plugins",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/plugins.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"prepare": "tsdx build"
},
"dependencies": {
"@paljs/types": "^2.14.0",
"@paljs/types": "^3.0.0",
"graphql-fields": "2.0.3",
"graphql-tag": "2.11.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/schema",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/schema.esm.js",
"types": "dist/index.d.ts",
Expand All @@ -24,8 +24,8 @@
"access": "public"
},
"dependencies": {
"@paljs/display": "^2.14.0",
"@paljs/types": "^2.14.0",
"@paljs/display": "^3.0.0",
"@paljs/types": "^3.0.0",
"@prisma/sdk": "2.20.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/types",
"version": "2.14.0",
"version": "3.0.0",
"main": "dist/index.js",
"module": "dist/types.esm.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 00cc5ea

Please sign in to comment.