Skip to content

Commit 52a1bff

Browse files
committed
Merge branch 'master' into feature/ss-rendering
# Conflicts: # package.json
2 parents 72e8c4f + 3d29f02 commit 52a1bff

40 files changed

+12748
-8847
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

.storybook/main.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
const path = require("path");
22

33
module.exports = {
4-
stories: ["./../**/*.stories.@(mdx|tsx)"],
5-
addons: ["@storybook/addon-actions", "@storybook/addon-links", "@storybook/addon-docs/preset"],
4+
stories: ["../src/**/*.stories.@(mdx|tsx)"],
5+
addons: [
6+
"@storybook/addon-actions",
7+
"@storybook/addon-links",
8+
{
9+
name: "@storybook/addon-docs/preset",
10+
options: {
11+
configureJSX: true,
12+
inlineStories: false,
13+
},
14+
},
15+
],
16+
typescript: {
17+
check: true,
18+
checkOptions: {},
19+
reactDocgen: "react-docgen-typescript",
20+
},
621
webpackFinal: async (config, { configType }) => {
722
if (process.env.NODE === "production") {
823
config.output.publicPath = "/react-spaces/docs";

.storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-spaces-storybook",
3-
"version": "0.2.0",
3+
"version": "0.2.2",
44
"files": [
55
"**/*.*"
66
],

.storybook/preview-head.html

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,21 @@
55
font-family: "Ubuntu", sans-serif;
66
font-size: 12px;
77
}
8-
.sbdocs-wrapper {
9-
padding: 15px !important;
10-
}
11-
.sbdocs-wrapper h2 {
12-
font-weight: 300 !important;
13-
border-bottom: none !important;
14-
margin-bottom: 20px !important;
15-
}
16-
.sbdocs-wrapper h4 {
17-
margin-top: 20px !important;
18-
font-weight: 500 !important;
19-
}
20-
.sbdocs-wrapper p,
21-
.sbdocs-wrapper li {
22-
font-size: 16px !important;
23-
}
24-
.sbdocs-preview > div > div > div {
25-
margin-bottom: 15px;
8+
9+
.docblock-source {
10+
margin: 25px 0 !important;
2611
}
27-
.sbdocs-preview > div > div > div > div > div {
12+
13+
.docs-story > div > div > div > div > div > div {
2814
position: relative;
29-
height: 600px;
15+
height: 600px !important;
3016
outline: 1px solid black;
3117
}
32-
.docblock-source {
33-
margin: 25px 0 !important;
18+
19+
.container-container {
20+
outline: solid black 1px;
3421
}
22+
3523
.spaces-resize-handle {
3624
background-color: red !important;
3725
}

.storybook/preview.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { addParameters } from "@storybook/react";
2+
3+
addParameters({
4+
docs: {
5+
inlineStories: false,
6+
},
7+
});

GitVersion.yml

Whitespace-only changes.

azure-pipelines.yml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,37 @@
44
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
55

66
pool:
7-
vmImage: 'ubuntu-latest'
7+
vmImage: "ubuntu-latest"
88

99
steps:
10+
- task: gitversion/setup@0
11+
inputs:
12+
versionSpec: '5.x'
13+
14+
- task: gitversion/execute@0
15+
16+
- script: echo "##vso[build.updatebuildnumber]$(GitVersion.MajorMinorPatch)"
17+
18+
- task: Bash@3
19+
displayName: Update version number in react-spaces package.json
20+
inputs:
21+
targetType: 'inline'
22+
script: sed -i "s/0.2.2/$GITVERSIONNUMBER/g" package.json
23+
env:
24+
GITVERSIONNUMBER: $(GitVersion.MajorMinorPatch)
25+
26+
- task: Bash@3
27+
displayName: Update version number in react-spaces-storybook package.json
28+
inputs:
29+
targetType: 'inline'
30+
script: sed -i "s/0.2.2/$GITVERSIONNUMBER/g" .storybook/package.json
31+
env:
32+
GITVERSIONNUMBER: $(GitVersion.MajorMinorPatch)
33+
1034
- task: NodeTool@0
1135
inputs:
12-
versionSpec: '10.x'
36+
versionSpec: '12.x'
37+
checkLatest: true
1338
displayName: 'Install Node.js'
1439

1540
- script: |
@@ -23,10 +48,11 @@ steps:
2348
inputs:
2449
SourceFolder: '.storybook'
2550
Contents: 'package.json'
26-
TargetFolder: 'storybook-static'
51+
TargetFolder: './storybook-static'
2752
OverWrite: true
2853

2954
- task: Npm@1
55+
enabled: true
3056
displayName: Publish react-spaces-storybook
3157
inputs:
3258
command: 'publish'

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
See https://www.allaneagle.com/react-spaces/docs/?path=/docs/react-spaces-change-history--page
1+
See https://allaneagle.com/projects/react-spaces/history

0 commit comments

Comments
 (0)