mirror of
https://github.com/mathuo/dockview
synced 2025-09-03 07:56:47 +00:00
chore: fix builds
This commit is contained in:
parent
b1216dc96d
commit
6b146cf1bf
7
.github/workflows/deploy-docs.yml
vendored
7
.github/workflows/deploy-docs.yml
vendored
@ -21,14 +21,15 @@ jobs:
|
|||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.lock') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npm install
|
- run: yarn install
|
||||||
- run: lerna bootstrap
|
- run: lerna bootstrap
|
||||||
|
- run: npm run build
|
||||||
working-directory: packages/dockview
|
working-directory: packages/dockview
|
||||||
- run: npm build
|
- run: npm run build
|
||||||
working-directory: packages/docs
|
working-directory: packages/docs
|
||||||
- run: npm run deploy-docs
|
- run: npm run deploy-docs
|
||||||
working-directory: packages/docs
|
working-directory: packages/docs
|
||||||
|
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -19,14 +19,13 @@ jobs:
|
|||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.npm
|
path: ~/.npm
|
||||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package.lock') }}
|
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npm install
|
- run: yarn
|
||||||
- run: npm run bootstrap
|
- run: npm run bootstrap
|
||||||
working-directory: packages/dockview
|
- run: npm run build
|
||||||
- run: npm build
|
|
||||||
- run: npm run test:cov
|
- run: npm run test:cov
|
||||||
- name: SonarCloud Scan
|
- name: SonarCloud Scan
|
||||||
uses: SonarSource/sonarcloud-github-action@master
|
uses: SonarSource/sonarcloud-github-action@master
|
||||||
|
@ -2,8 +2,9 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
"useWorkspaces": true,
|
||||||
"version": "1.5.1",
|
"version": "1.5.1",
|
||||||
"npmClient": "npm",
|
"npmClient": "yarn",
|
||||||
"command": {
|
"command": {
|
||||||
"publish": {
|
"publish": {
|
||||||
"message": "chore(release): publish %s"
|
"message": "chore(release): publish %s"
|
||||||
|
53026
package-lock.json
generated
53026
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,20 @@
|
|||||||
{
|
{
|
||||||
"name": "dockview-monorepo-root",
|
"name": "dockview-monorepo-root",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"workspaces": [
|
||||||
|
"packages/*"
|
||||||
|
],
|
||||||
|
"nohoist": [
|
||||||
|
"**/babel-jest",
|
||||||
|
"**/babel-jest/**"
|
||||||
|
],
|
||||||
"description": "Monorepo for https://github.com/mathuo/dockview",
|
"description": "Monorepo for https://github.com/mathuo/dockview",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"lint": "eslint packages/**/src/** --ext .ts,.tsx,.js,.jsx",
|
"lint": "eslint packages/**/src/** --ext .ts,.tsx,.js,.jsx",
|
||||||
"package": "node scripts/package.js",
|
"package": "node scripts/package.js",
|
||||||
"package-all": "lerna run docs --scope dockview && node scripts/package.js",
|
"package-all": "lerna run docs --scope dockview && node scripts/package.js",
|
||||||
|
"build": "lerna run build --scope dockview",
|
||||||
"clean": "lerna run clean",
|
"clean": "lerna run clean",
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"test:cov": "jest --coverage",
|
"test:cov": "jest --coverage",
|
||||||
|
3991
packages/dockview/package-lock.json
generated
3991
packages/dockview/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -48,12 +48,12 @@ const config = {
|
|||||||
alias: {
|
alias: {
|
||||||
react: path.join(
|
react: path.join(
|
||||||
__dirname,
|
__dirname,
|
||||||
'node_modules',
|
'../../node_modules',
|
||||||
'react'
|
'react'
|
||||||
),
|
),
|
||||||
'react-dom': path.join(
|
'react-dom': path.join(
|
||||||
__dirname,
|
__dirname,
|
||||||
'node_modules',
|
'../../node_modules',
|
||||||
'react-dom'
|
'react-dom'
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
22149
packages/docs/package-lock.json
generated
22149
packages/docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -42,8 +42,10 @@
|
|||||||
"typescript": "^4.6.4"
|
"typescript": "^4.6.4"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"react": "^17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "^17.0.2"
|
"react-dom": "17.0.2",
|
||||||
|
"@types/react": "17.0.35",
|
||||||
|
"@types/react-dom": "17.0.11"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user