Merge pull request #99 from mathuo/79-new-documentation-website

chore: yarn
This commit is contained in:
mathuo 2022-05-08 21:57:10 +01:00 committed by GitHub
commit df52c808ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 17754 additions and 86261 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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"

File diff suppressed because it is too large Load Diff

View File

@ -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/",

View File

@ -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: [

View File

@ -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;
},
})

File diff suppressed because it is too large Load Diff

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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'));

17729
yarn.lock Normal file

File diff suppressed because it is too large Load Diff