Eirik Sletteberg
f74a04a411
Make Storybook esbuild-compatible
...
This would be a good fundament for adding Snowpack/Vite
builder support. Currently, Storybook UI can be built by
Webpack or tsc, but esbuild transpiles .ts file-by-file
and therefore has some caveats:
https://esbuild.github.io/content-types/#typescript-caveats
This change adds isolatedModules: true to tsconfig.json,
and fixes a few places in the Storybook source code.
The result has been briefly tested with esbuild - with
these changes, it's possible to build Storybook UI
using Vite.
2021-03-29 22:18:41 +02:00
Gaëtan Maisse
d4cb03cb2c
chore: clean usage of skipLibCheck
and skipDefaultLibCheck
TS option
...
`skipDefaultLibCheck` is deprecated so there is no need to add it
anymore.
I added `skipLibCheck` in the angular example because it looks like
there are some type incompatibility between some types coming from
node_modules we have in the monorepo. (Not really a surprise with the
number of deps we have)
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-02-13 18:01:24 +01:00
ThibaudAv
09857a085a
test: add test for RenderNgAppService
...
Configure app/angular package as jest projects
Allow to use jest-preset-angular for app/angular tests
2020-12-02 23:57:20 +01:00
Norbert de Langen
736389950a
upgrades
2020-11-26 17:16:23 +01:00
Aaron Jensen
844e4f981c
Only use node types where necessary
...
Fixes #8343 .
2019-12-21 11:56:41 +01:00
Kai Roeder
60a085065b
WIP; Migrate @storybook/angular to typescript
2019-04-20 15:54:27 +02:00
Kai Röder
ef57974684
Add skipLibCheck to make things faster
2019-03-31 09:54:56 +02:00
Kai Röder
bfce809c68
Fix ts issues during yarn dev
2019-03-30 21:02:40 +01:00
Kai Röder
aa9fa9ecf9
Potential jest fix for app/angular
2019-03-24 00:47:31 +01:00
Kai Röder
29db6ad307
Set experimentalDecorators: true in root/tsconfig.json because jest fails in app/angular otherwise
2019-03-23 17:33:24 +01:00
Norbert de Langen
c1d2ba6449
WIP
2019-03-20 16:55:38 +01:00
Norbert de Langen
ad1651956a
Merge branch '5.0.0' into tech/overhaul-ui
...
# Conflicts:
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/backgrounds/src/__tests__/BackgroundPanel.js
# addons/backgrounds/src/__tests__/Swatch.js
# addons/cssresources/package.json
# addons/events/package.json
# addons/google-analytics/package.json
# addons/info/package.json
# addons/jest/package.json
# addons/knobs/package.json
# addons/knobs/src/components/__tests__/Panel.js
# addons/links/package.json
# addons/notes/package.json
# addons/notes/src/index.ts
# addons/notes/src/register.tsx
# addons/notes/src/typings.d.ts
# addons/storyshots/storyshots-core/package.json
# addons/viewport/package.json
# app/react/package.json
# docs/package.json
# docs/yarn.lock
# examples/cra-kitchen-sink/package.json
# examples/official-storybook/package.json
# examples/preact-kitchen-sink/package.json
# lib/addons/package.json
# lib/addons/src/index.js
# lib/channel-websocket/package.json
# lib/components/package.json
# lib/core/package.json
# lib/ui/package.json
# yarn.lock
2018-12-27 15:46:11 +01:00
Kai Röder
33ad47629e
Set jsx to react
2018-12-24 01:13:41 +01:00
Kai Röder
ec0a8c28f8
Still trying to fix CI
2018-12-23 02:41:14 +01:00
Kai Röder
9d2f1fcf1b
WIP working on migration for @storybook/addons
2018-12-17 14:37:12 +01:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues
2018-12-17 11:35:39 +01:00
Kai Röder
49b467d894
Re-enabled noImplicitAny again
2018-12-08 14:30:01 +01:00
Kai Roeder
b51f8d1d5d
Moved addon tsconfig configuration to root tsconfig
2018-11-11 22:32:12 +01:00
Kai Röder
3bf2c8ac65
Added @types/node for allowing the use of 'module'
2018-11-11 15:16:26 +01:00
Kai Röder
8891dd4957
Removed addon-react since it's not used anymore
...
Added 'types' file path in package.json
Moved addon-notes tsconfig configurations into the root tsconfig
2018-11-11 11:10:36 +01:00
Kai Röder
aaf78daae9
First poc approach with addon-notes
2018-11-09 14:38:25 +01:00
igor
330b800680
Set compiling target to es5 (the default is es3)
2018-01-29 16:07:14 +02:00
igor
9d13ba220b
Add tslint to the linting pipe
2018-01-08 13:08:02 +02:00