mirror of
https://github.com/mathuo/dockview
synced 2025-08-26 12:06:29 +00:00
Merge pull request #99 from mathuo/79-new-documentation-website
chore: yarn
This commit is contained in:
commit
df52c808ab
6
.github/workflows/deploy-docs.yml
vendored
6
.github/workflows/deploy-docs.yml
vendored
@ -2,7 +2,7 @@ name: Deploy Docs
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
- cron: '0 3 * * *' # every day at 3 am UTC
|
||||
|
||||
# on: [push]
|
||||
|
||||
@ -27,8 +27,8 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- run: yarn
|
||||
- run: npm run bootstrap-no-hoist
|
||||
- run: yarn install
|
||||
- run: npm run bootstrap
|
||||
- run: npm run build
|
||||
- run: npm run test
|
||||
- run: npm run deploy-docs
|
||||
|
4
.github/workflows/deploy-nightly.yml
vendored
4
.github/workflows/deploy-nightly.yml
vendored
@ -4,6 +4,8 @@ on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # every day at 3 am UTC
|
||||
|
||||
# on: [push]
|
||||
|
||||
jobs:
|
||||
deploy-nightly-demo-app:
|
||||
runs-on: ubuntu-latest
|
||||
@ -26,7 +28,7 @@ jobs:
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- run: yarn
|
||||
- run: npm run bootstrap-no-hoist
|
||||
- run: npm run bootstrap
|
||||
- run: npm run build
|
||||
- run: npm run test
|
||||
- run: npm run package-all
|
||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- run: yarn
|
||||
- run: yarn install
|
||||
- run: npm run bootstrap
|
||||
- run: npm run build
|
||||
- run: npm run test:cov
|
||||
|
@ -19,7 +19,6 @@ A zero dependency layout manager based on the layering of splitview with support
|
||||
|
||||
- [➡️](https://mathuo.github.io/dockview/docs) Documentation
|
||||
- [➡️](https://mathuo.github.io/dockview/) Live demo
|
||||
- [➡️](https://mathuo.github.io/dockview/output/storybook-static) Storybook demo
|
||||
- [➡️](https://github.com/mathuo/dockview/tree/master/packages/dockview-demo/src/stories) Code examples
|
||||
- [➡️](https://mathuo.github.io/dockview/output/docs/index.html) Generated TypeDocs
|
||||
|
||||
|
@ -2,8 +2,9 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"npmClient": "npm",
|
||||
"version": "1.4.0",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"command": {
|
||||
"publish": {
|
||||
"message": "chore(release): publish %s"
|
||||
|
33751
package-lock.json
generated
33751
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,9 @@
|
||||
"name": "dockview-monorepo-root",
|
||||
"private": true,
|
||||
"description": "Monorepo for https://github.com/mathuo/dockview",
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"lint": "eslint packages/**/src/** --ext .ts,.tsx,.js,.jsx",
|
||||
@ -13,7 +16,6 @@
|
||||
"docs": "lerna run docs --scope dockview",
|
||||
"clean": "lerna run clean",
|
||||
"bootstrap": "lerna bootstrap",
|
||||
"bootstrap-no-hoist": "lerna bootstrap",
|
||||
"test:cov": "jest --coverage",
|
||||
"version-beta-build": "lerna version prerelease --preid beta",
|
||||
"publish-app": "lerna publish"
|
||||
|
39172
packages/dockview-demo/package-lock.json
generated
39172
packages/dockview-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
||||
"version": "1.4.0",
|
||||
"description": "Demo project for https://github.com/mathuo/dockview",
|
||||
"scripts": {
|
||||
"build": "npm run build-webpack && npm run build-storybook",
|
||||
"build": "npm run build-webpack",
|
||||
"build-webpack": "cross-env ../../node_modules/.bin/webpack --config webpack.config.js",
|
||||
"start": "cross-env ../../node_modules/.bin/webpack serve --config webpack.config.js",
|
||||
"clean": "rimraf dist/ .build/",
|
||||
|
@ -11,10 +11,10 @@ module.exports = {
|
||||
mode: 'development',
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js', '.tsx', 'jsx'],
|
||||
alias: {
|
||||
react: path.resolve(__dirname, 'node_modules/react'),
|
||||
'react-dom': path.resolve(__dirname, 'node_modules/react-dom'),
|
||||
},
|
||||
// alias: {
|
||||
// react: path.resolve(__dirname, 'node_modules/react'),
|
||||
// 'react-dom': path.resolve(__dirname, 'node_modules/react-dom'),
|
||||
// },
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
@ -4,7 +4,7 @@ import autoLinkHeadings from 'rehype-autolink-headings';
|
||||
import mdx from '@next/mdx';
|
||||
import remarkGfm from 'remark-gfm';
|
||||
|
||||
const withTM = transpile(['dockview', 'dockview-demo'], {
|
||||
const withTM = transpile(['dockview'], {
|
||||
resolveSymlinks: true,
|
||||
});
|
||||
|
||||
@ -51,18 +51,7 @@ export default withTM(
|
||||
test: /\.tsx?|\.ts?$/,
|
||||
use: [options.defaultLoaders.babel],
|
||||
});
|
||||
// config.resolve.alias['react'] = path.resolve(
|
||||
// __dirname,
|
||||
// '.',
|
||||
// 'node_modules',
|
||||
// 'react-dom'
|
||||
// );
|
||||
// config.resolve.alias['react-dom'] = path.resolve(
|
||||
// __dirname,
|
||||
// '.',
|
||||
// 'node_modules',
|
||||
// 'react-dom'
|
||||
// );
|
||||
|
||||
return config;
|
||||
},
|
||||
})
|
||||
|
9367
packages/dockview-docs/package-lock.json
generated
9367
packages/dockview-docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -17,8 +17,8 @@
|
||||
|
||||
A zero dependency layout manager based on the layering of splitview with support for ReactJS components, written in TypeScript.
|
||||
|
||||
- [➡️](https://mathuo.github.io/dockview/docs) Documentation
|
||||
- [➡️](https://mathuo.github.io/dockview/) Live demo
|
||||
- [➡️](https://mathuo.github.io/dockview/output/storybook-static) Storybook demo
|
||||
- [➡️](https://github.com/mathuo/dockview/tree/master/packages/dockview-demo/src/stories) Code examples
|
||||
- [➡️](https://mathuo.github.io/dockview/output/docs/index.html) Generated TypeDocs
|
||||
|
||||
|
3939
packages/dockview/package-lock.json
generated
3939
packages/dockview/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,11 +5,11 @@ const output = path.join(__dirname, '../output');
|
||||
|
||||
const docsDir = path.join(__dirname, '../packages/dockview/typedocs');
|
||||
const webpackAppDir = path.join(__dirname, '../packages/dockview-demo/dist');
|
||||
const storybookAppDir = path.join(
|
||||
__dirname,
|
||||
'../packages/dockview-demo/storybook-static'
|
||||
);
|
||||
// const storybookAppDir = path.join(
|
||||
// __dirname,
|
||||
// '../packages/dockview-demo/storybook-static'
|
||||
// );
|
||||
|
||||
fs.copySync(docsDir, path.join(output, 'typedocs'));
|
||||
fs.copySync(webpackAppDir, path.join(output, 'build'));
|
||||
fs.copySync(storybookAppDir, path.join(output, 'storybook-static'));
|
||||
// fs.copySync(storybookAppDir, path.join(output, 'storybook-static'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user