mirror of https://github.com/artf/grapesjs.git
13 changed files with 17845 additions and 49 deletions
@ -0,0 +1,36 @@ |
|||
name: Setup Project |
|||
description: 'Sets up the project by installing dependencies, building the project, and installing Turbo.' |
|||
|
|||
inputs: |
|||
pnpm-version: |
|||
description: 'The version of pnpm to use for installing dependencies.' |
|||
required: false |
|||
default: 8.6.3 |
|||
node-version: |
|||
description: 'The version of Node.js to use for building the project.' |
|||
required: false |
|||
default: '20.16.0' |
|||
turbo-version: |
|||
description: 'The version of Turbo to install globally.' |
|||
required: false |
|||
default: 2.0.14 |
|||
|
|||
runs: |
|||
using: composite |
|||
steps: |
|||
- uses: pnpm/action-setup@v4 |
|||
with: |
|||
version: ${{ inputs.pnpm-version }} |
|||
- uses: actions/setup-node@v4 |
|||
with: |
|||
node-version: ${{ inputs.node-version }} |
|||
cache: 'pnpm' |
|||
- name: Install Turbo |
|||
run: npm i -g turbo@${{ inputs.turbo-version }} |
|||
shell: bash |
|||
- name: Install dependencies |
|||
run: pnpm install |
|||
shell: bash |
|||
- name: Build project |
|||
run: pnpm build --force |
|||
shell: bash |
|||
@ -0,0 +1,66 @@ |
|||
{ |
|||
"name": "@grapesjs/monorepo", |
|||
"version": "0.0.0", |
|||
"packageManager": "pnpm@8.6.3", |
|||
"scripts": { |
|||
"start": "turbo start --filter \"grapesjs\"", |
|||
"test": "turbo test --filter \"grapesjs\"", |
|||
"docs": "cd ./packages/core && pnpm run docs", |
|||
"docs:api": "cd ./packages/core && pnpm run docs:api", |
|||
"lint": "eslint .", |
|||
"build": "turbo build", |
|||
"clean": "find . -type d \\( -name \"node_modules\" -o -name \"build\" -o -name \".turbo\" -o -name \"dist\" \\) -exec rm -rf {} + && rm ./pnpm-lock.yaml", |
|||
"format": "prettier . --write", |
|||
"format:check": "prettier . --check" |
|||
}, |
|||
"devDependencies": { |
|||
"@babel/cli": "7.24.8", |
|||
"@babel/core": "7.25.2", |
|||
"@babel/preset-env": "7.25.4", |
|||
"@babel/preset-typescript": "7.24.7", |
|||
"@jest/globals": "29.7.0", |
|||
"@types/jest": "29.5.12", |
|||
"@types/node": "22.4.1", |
|||
"@types/underscore": "^1.11.15", |
|||
"@typescript-eslint/eslint-plugin": "8.1.0", |
|||
"@typescript-eslint/parser": "8.0.1", |
|||
"cross-env": "7.0.3", |
|||
"css-loader": "7.1.2", |
|||
"dotenv": "16.4.5", |
|||
"eslint": "8.57.0", |
|||
"eslint-config-prettier": "9.1.0", |
|||
"eslint-config-standard-with-typescript": "43.0.1", |
|||
"eslint-plugin-import": "2.29.1", |
|||
"eslint-plugin-jest": "28.8.0", |
|||
"eslint-plugin-n": "17.10.2", |
|||
"eslint-plugin-prettier": "5.2.1", |
|||
"eslint-plugin-promise": "7.1.0", |
|||
"eslint-plugin-react-hooks": "4.6.2", |
|||
"jest": "29.7.0", |
|||
"prettier": "3.3.3", |
|||
"ts-jest": "29.2.4", |
|||
"ts-loader": "9.5.1", |
|||
"ts-node": "10.9.2", |
|||
"turbo": "2.0.14", |
|||
"typescript": "5.5.4" |
|||
}, |
|||
"pnpm": { |
|||
"peerDependencyRules": { |
|||
"ignoreMissing": [ |
|||
"@babel/*", |
|||
"typescript", |
|||
"ts-node", |
|||
"@tsconfig/*", |
|||
"@types/*", |
|||
"jest", |
|||
"@jest/*", |
|||
"supertest", |
|||
"prettier" |
|||
] |
|||
} |
|||
}, |
|||
"engines": { |
|||
"node": ">=20", |
|||
"pnpm": ">=8" |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,2 @@ |
|||
packages: |
|||
- "packages/**" |
|||
@ -0,0 +1,24 @@ |
|||
{ |
|||
"$schema": "https://turborepo.org/schema.json", |
|||
"tasks": { |
|||
"lint": { |
|||
"outputs": [] |
|||
}, |
|||
"test": { |
|||
"dependsOn": ["build"], |
|||
"inputs": ["**/*.{ts,tsx,js,jsx}"] |
|||
}, |
|||
"build": { |
|||
"dependsOn": ["^build"], |
|||
"outputs": ["build/**"] |
|||
}, |
|||
"dev": { |
|||
"cache": false, |
|||
"persistent": true |
|||
}, |
|||
"start": { |
|||
"cache": false, |
|||
"persistent": true |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue