Skip to content

Bump express from 4.18.2 to 4.20.0 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
73eab39
fix (ci): Fix Python issues.
christianwiedemann Jan 8, 2022
b274fb1
v1.2.0-alpha.4
christianwiedemann Jan 9, 2022
0b6a534
feature (docs): Add <Stories> block for docs preview page
christianwiedemann Jan 9, 2022
5fc6b0c
v1.2.0-alpha.5
christianwiedemann Jan 10, 2022
92762cd
v1.2.0-alpha.6
christianwiedemann Jan 10, 2022
174cdd1
v1.2.0-alpha.8
christianwiedemann Jan 12, 2022
c8ce7ed
feature(startApps): Update image export handling
christianwiedemann Jan 13, 2022
04c019d
fix: Fix 'Parsing error: Cannot read property 'map' of undefined' wit…
christianwiedemann Jan 14, 2022
2271a2c
fix: Upgrade yarn.lock
christianwiedemann Jan 14, 2022
1da4d52
Merge pull request #193 from wingsuit-designsystem/release/1_2
christianwiedemann Jan 16, 2022
2a7c0d0
Merge branch 'next' of github.com:wingsuit-designsystem/wingsuit into…
christianwiedemann Jan 16, 2022
a9510ab
chore: Update starterkits themes
christianwiedemann Jan 16, 2022
719422c
fix: Cleanup debug message.
christianwiedemann Jan 16, 2022
c18f749
feat:(pattern) Add rich snippet.
christianwiedemann Jan 17, 2022
acad5ae
feat:(pattern) Add rich snippet.
christianwiedemann Jan 17, 2022
3b22896
fix: Replace jsondiff with standard filediffs.
christianwiedemann Jan 20, 2022
1d6a7bc
v1.2.0-alpha.9
christianwiedemann Jan 20, 2022
e6e1b1a
v1.2.0-alpha.10
christianwiedemann Jan 20, 2022
346182c
v1.2.0-alpha.11
christianwiedemann Jan 21, 2022
22ce822
fix: generalize sync to silo folder
christianwiedemann Jan 21, 2022
b7c8ec4
v1.2.0-alpha.12
christianwiedemann Jan 21, 2022
274dbbd
v1.2.0-alpha.13
christianwiedemann Jan 21, 2022
b199874
refactor: Change compoare logic for plugins
christianwiedemann Jan 29, 2022
4c67c04
fix: Fix storybook controls.
christianwiedemann Jan 29, 2022
15fff02
Update yarn.lock
christianwiedemann Jan 29, 2022
55f66d9
Update yarn.lock
christianwiedemann Jan 29, 2022
1261e45
fix: create silo directory recursive
christianwiedemann Jan 29, 2022
85ce906
fix: Update verdacio server
christianwiedemann Jan 30, 2022
05d72f6
v1.2.0-alpha.14
christianwiedemann Jan 30, 2022
7c885d6
fix(test): Fix typscript scripts
christianwiedemann Jan 30, 2022
293a711
feat(docs): Update docs for wingsuit 1.2
christianwiedemann Jan 30, 2022
619a9f9
Merge pull request #197 from wingsuit-designsystem/next
christianwiedemann Jan 30, 2022
be9bc3e
Merge branch 'master' of github.com:wingsuit-designsystem/wingsuit
christianwiedemann Jan 30, 2022
68dfedb
v1.2.0
christianwiedemann Jan 30, 2022
2e64041
Update readme
christianwiedemann Jan 30, 2022
943416e
fix: Fix background image configuration
christianwiedemann Jan 30, 2022
cfc7c4c
fix: Remove storybook log
christianwiedemann Jan 30, 2022
0d5eef0
v1.2.1
christianwiedemann Jan 30, 2022
b849efe
fix: Switch from node-sass to sass. #206
christianwiedemann Apr 10, 2022
b5d4ce5
v1.2.2
christianwiedemann Apr 10, 2022
8b73952
fix: Fix create_attribute to support maps as string as initial values
christianwiedemann Apr 13, 2022
a907aa5
v1.2.3
christianwiedemann Apr 13, 2022
2ac4d8b
v1.2.4
christianwiedemann Aug 10, 2022
9f1c2f5
v1.2.5
christianwiedemann Aug 10, 2022
836ce7a
v1.2.6
christianwiedemann Aug 10, 2022
7d1e917
v1.2.7
christianwiedemann Aug 17, 2022
9c4226b
feat: Replace drimage with easy responsive image
christianwiedemann Aug 18, 2022
28670ba
fix: Fix hero button configurtion
christianwiedemann Aug 18, 2022
37aaa85
fix: Fix linting
christianwiedemann Aug 18, 2022
26168ee
fix: Upgrade circle docker container
christianwiedemann Aug 18, 2022
4e98f96
chore: Upgrade yarn.lock
christianwiedemann Jan 28, 2023
764c7b1
fix: Add core-js to wingsuit/core
christianwiedemann May 11, 2023
5be49b8
v1.2.8
christianwiedemann May 11, 2023
1b4c933
fix: Add core-js to cli package
christianwiedemann May 20, 2023
5e84036
v1.2.9
christianwiedemann May 20, 2023
8d5b603
Bump express from 4.18.2 to 4.20.0
dependabot[bot] Sep 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ module.exports = {
legacy: true,
},
],
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-object-rest-spread', { loose: true, useBuiltIns: true }],
'babel-plugin-macros',
['emotion', { sourceMap: true, autoLabel: true }],
],
env: {
test: withTests,
Expand All @@ -61,7 +61,7 @@ module.exports = {
'@babel/plugin-syntax-dynamic-import',
['@babel/plugin-proposal-class-properties', { loose: true }],
'babel-plugin-macros',
['emotion', { sourceMap: true, autoLabel: true }],
['@emotion', { sourceMap: true, autoLabel: true }],
'@babel/plugin-transform-react-constant-elements',
'babel-plugin-add-react-displayname',
],
Expand Down Expand Up @@ -91,7 +91,7 @@ module.exports = {
],
],
plugins: [
'emotion',
'@emotion',
'babel-plugin-macros',
'@babel/plugin-transform-arrow-functions',
'@babel/plugin-transform-shorthand-properties',
Expand Down
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aliases:
working_directory: /tmp/storybook
CYPRESS_CACHE_FOLDER:
docker:
- image: circleci/node:14-browsers
- image: cimg/python:3.10.6-browsers

jobs:
install:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
e2e:
working_directory: /tmp/storybook
docker:
- image: cypress/included:4.7.0
- image: cypress/included:4.12.0
environment:
TERM: xterm
steps:
Expand Down Expand Up @@ -313,4 +313,4 @@ workflows:
- install
- docs:
requires:
- build
- build
33 changes: 0 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,6 @@
<img src="https://github.com/wingsuit-designsystem/wingsuit/raw/master/images/wsuit-logo-stacked.svg" width="340px">
</p>

## Tailwind Jit and Postcss 8
In Version`Wingsuit V1 PostCss8 and Jit compiler becomes default.

To upgrade your existing project:

Step 1:
```
yarn add -D @storybook/addon-postcss
yarn add -D @wingsuit-designsystem/preset-postcss8
yarn add @tailwindcss/jit

# Replace
"tailwindcss": "npm:@tailwindcss/postcss7-compat"
with:
"tailwindcss": "^2.0.4"

```
Step 2:
* Add `@wingsuit-designsystem/preset-postcss8` to your `wingsuit.config.js`
* Follow PostCss instructions from https://storybook.js.org/addons/@storybook/addon-postcss

Step 3:

Adjust your postcss config. See https://github.com/wingsuit-designsystem/wingsuit/blob/master/starter-kits/tailwind/postcss.config.js
## Upgrade from BETA.41 to rc.1

Breaking changes:
* From knobs to controls:
Replace `@storybook/addon-knobs` to `@storybook/addon-controls` in your apps/storybook/main.js
* Twig functions `pattern_preview` and `pattern` are now compatible with UI Patterns functions
The arguments order changed from `pattern, variant, variables` to `pattern, variable, variant`.
So search for all `pattern_preview` and `pattern` methods and reorder the variables.

# Build bulletproof TWIG Components in Storybook

1. Describe, develop and test your Pattern in storybook with [twing](https://www.npmjs.com/package/twing).
Expand Down
18 changes: 17 additions & 1 deletion docs/apps/pages/pages/docs.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,25 @@

{% set body %}
{{ pattern('rich_text', {text: content}, 'default') }}
{% if next|length > 0 %}
<div class="pt-6 md:pt-14">
<div class="p-2 my-2.5 uppercase font-bold">NEXT</div>
{% for item in next %}
{{ pattern('next', {
title: item.title,
text: item.text,
button: pattern('button',{
text: item.link_title,
round: true,
size: 'medium',
url: item.href,
}, 'default')
}) }}
{% endfor %}
</div>
{% endif %}
{% endset %}


{% include "@templates/site-container.twig" with {
menu: pattern_preview('menu', {}, 'primary'),
top_menu: pattern_preview('menu', {}, 'top'),
Expand Down
64 changes: 64 additions & 0 deletions docs/apps/pages/pages/guides/showroom-guide/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Showroom
Storybook patterns overwhelm most customer. To provide only the patterns the customer needs Wingsuit (>=1.2)
adds a showroom feature.

To configure the structure of Wingsuit adds a alterStory and alterPattern hook. Open `apps/storybook/preview.js`:

Here a sample for a Drupal Layout Builder centric project.
```js
configure(
module,
[
require.context('./patterns', true, /\.stories(\.jsx|\.js|\.mdx)$/),
require.context('wspatterns', true, /\.stories(\.jsx|\.js|\.mdx)$/),
],
require.context('./config', false, /\.json|\.ya?ml$/),
require.context('wspatterns', true, /\.twig$/),
namespaces,
renderImpl,
{
alterStory: (story) => {
if (process.env.STORYBOOK_DOCS === 'true') {
const docsStories = {
Welcome: 'Welcome',
};
if (docsStories[story.title]) {
return { ...story, ...{ title: docsStories[story.title] } };
}
return null;
}
return story;
},
alterPattern: (pattern) => {
if (process.env.STORYBOOK_DOCS === 'true') {
const docsPages = {
section: 'Section',
section_slider: 'Section',
hero: 'Blocks',
card: 'Blocks',
rich_text: 'Blocks',
button_group: 'Blocks',
avatar: 'Blocks',
};
if (docsPages[pattern.getId()]) {
pattern.setNamespace(docsPages[pattern.getId()]);
return pattern;
}
return null;
}
return pattern;
},
}
```

## Start storybook in showroom mode

Run either
```
yarn ws build --docs
```
or execute
```
yarn ws dev --docs
```
to start storybook in dev mode.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import 'protons';
import MDX from './index.mdx';

const template = require('../../docs.twig');

export default {
path: '/guides/showroom',
template,
MDX,
vars: {
meta_title: 'Showroom',
meta_description: 'Display storybook components for your customer.',

next: [
{
title: 'Configure your app?',
text: 'Check the parameters under the "App details" section and extend your wingsuit.config.js',
link_title: 'Details',
href: '/configurations/details',
},
],
},
};
26 changes: 26 additions & 0 deletions docs/apps/pages/pages/guides/twing-extensions-guide/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Twing extensions
You can add your own twing extensions to wingsuit.

Here a sample to add a new function `apps/storybook/preview.js`:

```js
const renderImpl = new TwingRenderer();
const twingEnvironment = renderImpl.getEnvironment();
let function = new TwingFunction('function_name', function () {
// ...
});
twingEnvironment.addFunction(function);

configure(
module,
[
require.context('./patterns', true, /\.stories(\.jsx|\.js|\.mdx)$/),
require.context('wspatterns', true, /\.stories(\.jsx|\.js|\.mdx)$/),
],
require.context('./config', false, /\.json|\.ya?ml$/),
require.context('wspatterns', true, /\.twig$/),
namespaces,
renderImpl
);
```
[Click here for more infos about twing extensions](https://nightlycommit.github.io/twing/advanced.html#context-aware-filters).
11 changes: 11 additions & 0 deletions docs/apps/pages/pages/guides/twing-extensions-guide/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends:
- page
fields:
content:
preview:
-
id: rich_text
variant: default
fields:
text: 'test'

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import 'protons';
import MDX from './index.mdx';

const template = require('../../docs.twig');

export default {
path: '/guides/twing-extensions-guide',
template,
MDX,
vars: {
meta_title: 'Twing extensions',
meta_description: 'Add twing extensions.',

next: [
{
title: 'Configure your app?',
text: 'Check the parameters under the "App details" section and extend your wingsuit.config.js',
link_title: 'Details',
href: '/configurations/details',
},
],
},
};
1 change: 0 additions & 1 deletion docs/apps/pages/pages/releases/onedotone/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Thanks to [iuscare](https://github.com/iuscare) for these great presets.
## New App `Wingsuit Pages`
With this new App you can build static page with Wingsuit components and feed them with MDX files.
[Click here for more infos](/apps/pages/).
** >> This docs page is build with Wingsuit Pages. << **

## Awesome Drupal Kickstarter
We rebuild the Drupal Kickstarter. We removed Acquia Lightning and build a Layout Builder interface which makes fun to work with.
Expand Down
18 changes: 18 additions & 0 deletions docs/apps/pages/pages/releases/onedottwo/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# What's new in Version 1.2
We added a showroom feature and we updated the performance and starterkit templates.

## Showroom
Now you can run and build storybook in showroom mode
The following example renders storybook in showroom.
```sh
yarn ws build --docs
```
```sh
yarn ws dev --docs
```
[Click here for more infos](/guides/showroom/).
## Performance
Thanks to storybook 6.4 and a updated babel configuration storybook starts now in less than 15 seconds.

## Updated placeholder component.
Image styles are generated automatically.
22 changes: 22 additions & 0 deletions docs/apps/pages/pages/releases/onedottwo/onedottwo.pages.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import 'protons';
import MDX from './index.mdx';

const template = require('../../docs.twig');

export default {
path: '/releases/onedottwo',
template,
MDX,
vars: {
meta_title: 'Wingsuit Version 1.2',
meta_description: 'We have added a lot of new features in Version 1.2.',
next: [
{
title: 'Did we catch your interest?',
text: 'Do the 10 minute quickstart guide!',
href: '/guides/quick-start-guide',
link_title: 'Quickstart',
},
],
},
};
26 changes: 13 additions & 13 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wingsuit-designsystem/docs",
"version": "1.2.0-alpha.3",
"version": "1.2.9",
"description": "Wingsuit documentation.",
"main": "",
"private": true,
Expand Down Expand Up @@ -49,18 +49,18 @@
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@webpack-cli/serve": "^1.3.0",
"@wingsuit-designsystem/cli": "1.2.0-alpha.3",
"@wingsuit-designsystem/core": "1.2.0-alpha.3",
"@wingsuit-designsystem/pattern": "1.2.0-alpha.3",
"@wingsuit-designsystem/pattern-react": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-compression": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-imagemin": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-mdx": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-pages": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-postcss8": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-pwa": "1.2.0-alpha.3",
"@wingsuit-designsystem/preset-tailwind2": "1.2.0-alpha.3",
"@wingsuit-designsystem/storybook": "1.2.0-alpha.3",
"@wingsuit-designsystem/cli": "1.2.9",
"@wingsuit-designsystem/core": "1.2.9",
"@wingsuit-designsystem/pattern": "1.2.9",
"@wingsuit-designsystem/pattern-react": "1.2.9",
"@wingsuit-designsystem/preset-compression": "1.2.9",
"@wingsuit-designsystem/preset-imagemin": "1.2.9",
"@wingsuit-designsystem/preset-mdx": "1.2.9",
"@wingsuit-designsystem/preset-pages": "1.2.9",
"@wingsuit-designsystem/preset-postcss8": "1.2.9",
"@wingsuit-designsystem/preset-pwa": "1.2.9",
"@wingsuit-designsystem/preset-tailwind2": "1.2.9",
"@wingsuit-designsystem/storybook": "1.2.9",
"autoprefixer": "^9.7.4",
"browser-sync-webpack-plugin": "^2.3.0",
"core-js": "^3.4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ menu:
url: "/guides/create-component-guide"
- title: Create new app
url: "/guides/create-app-guide"
- title: Showroom
url: "/guides/showroom"
- title: Twing extensions
url: "/guides/twing-extensions-guide"
- title: CONFIGURATIONS
url: "#"
below:
Expand Down Expand Up @@ -106,8 +110,8 @@ menu:
items:
- title: Documentation
url: "/guides/quick-start-guide/"
- title: <b>What's new in Version 1.1</b>
url: "/releases/onedotone"
- title: <b>What's new in Version 1.2</b>
url: "/releases/onedottwo"
footer:
label: Footer
description: The footer menu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="w-4/6 md:w-2/6 max-w-xs md:max-w-7xl ml-3">
<div class="flex items-center -ml-3 md:ml-0">
{% include "@atoms/logo/logo.twig" only %}
<span class="text-xs text-gray-300">v1.1</span>
<span class="text-xs text-gray-300">v1.2</span>
</div>
</div>
{% if show_hamburger == true %}
Expand Down
Loading