Skip to content
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

TEST3 Release: Prerelease 7.5.0-alpha.5 #24398

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
8c5354b
update react-docgen to 6.0.0-rc.9
danez Apr 30, 2023
0d5b7fd
Merge branch 'next' into pr/danez/22324
ndelangen May 22, 2023
a26c431
fix type issues
ndelangen May 22, 2023
f9b9e76
fix: update to 6.0 final
danez Jun 21, 2023
056719f
Merge branch 'next' into pr/danez/22324
ndelangen Jun 21, 2023
1f0fc81
Merge branch 'next' into react-docgen
ndelangen Jun 21, 2023
d174979
Upgrade to react-docgen 6.0.2
shilman Aug 13, 2023
e874745
Merge branch 'next' into pr/22324
shilman Aug 13, 2023
c6ab522
Docs-tools: Fix react-docgen enum handling
shilman Aug 13, 2023
7875282
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Aug 22, 2023
f5430d3
rename release preparement workflows
JReinhold Aug 28, 2023
8d582d7
merge stable to latest-release instead of next-release, resolving mer…
JReinhold Aug 29, 2023
1161b7a
more renaming of new release workflows
JReinhold Aug 29, 2023
d6297bf
only commit changelog changes when there are actual changes
JReinhold Aug 30, 2023
670bc51
add comments
JReinhold Aug 30, 2023
d5df684
simplify
JReinhold Aug 30, 2023
431ec63
ensure next is always ahead of main during stable releases
JReinhold Aug 31, 2023
5075165
improve readability of publish script
JReinhold Aug 31, 2023
44e988c
pul all release workflows in same concurrency group
JReinhold Aug 31, 2023
bff632d
add todos
JReinhold Sep 1, 2023
8eddd45
Merge branch 'next' of github.com:storybookjs/storybook into release-…
JReinhold Sep 8, 2023
ba8e5fe
cancel any release-preparation runs in progress
JReinhold Sep 8, 2023
a84e270
cleanup
JReinhold Sep 8, 2023
e1a2172
only consider open PRs when looking for frozen state
JReinhold Sep 8, 2023
4d569f2
update tests
JReinhold Sep 8, 2023
79bc783
React-vite: TS strict mode
shilman Sep 11, 2023
33e677c
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Sep 11, 2023
796f4a5
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Sep 13, 2023
d620a34
Update snapshots for improved react-docgen enum handling
shilman Sep 13, 2023
72a8744
Fix default next image loader when src has params
hazzard993 Sep 15, 2023
984d156
Use URL to fix next image loader src params
hazzard993 Sep 15, 2023
c4ba760
Remove double default in next image default loader
hazzard993 Sep 15, 2023
a683939
Merge branch 'next' into fix-next-image-search-params
ndelangen Sep 19, 2023
cb39a1f
Merge branch 'next' into fix-next-image-search-params
ndelangen Sep 21, 2023
00a9089
Merge branch 'next' of github.com:storybookjs/storybook into release-…
JReinhold Sep 24, 2023
4bf6ba4
cleanup
JReinhold Sep 24, 2023
25ebf5c
fix type errors
JReinhold Sep 24, 2023
32ba0d9
Merge branch 'next' of github.com:storybookjs/storybook into release-…
JReinhold Sep 25, 2023
9ca7ed4
cancel when 0 patches to pick
JReinhold Sep 25, 2023
22f12e6
temp rename workflow to test
JReinhold Sep 25, 2023
e719c53
try number when reading pr-count
JReinhold Sep 25, 2023
d757590
compare less than 1
JReinhold Sep 25, 2023
8466a08
check non-null in pr count
JReinhold Sep 25, 2023
d83d422
rename patch workflow
JReinhold Sep 25, 2023
74040b7
Merge branch 'next' into fix-next-image-search-params
valentinpalkovic Oct 2, 2023
2b29cfb
Add code to let the preview decide which story to view if the URL doe…
ndelangen Oct 2, 2023
773d650
Merge branch 'next' into norbert/fix-24292
ndelangen Oct 2, 2023
dee3552
fix unit test
ndelangen Oct 2, 2023
543871f
Update docs to point to addon-styling-webpack
Oct 2, 2023
bc8a496
Use the same Image Context for ESM and CommonJS
martinnabhan Oct 3, 2023
4c49a5a
change test, to hopefully also pass on CI
ndelangen Oct 3, 2023
cea5d61
Fix zone.js legacy deep import
greut Oct 3, 2023
6f5dcd9
Add note about when to use styling addon
Oct 3, 2023
31704fc
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Oct 3, 2023
c78890f
React: Fix react-docgen handling for arrays, records, functions
shilman Oct 2, 2023
617666d
Fix types
shilman Oct 3, 2023
60748de
Fix snapshots
shilman Oct 3, 2023
723481e
Update CHANGELOG.md for v7.4.6 [skip ci]
storybook-bot Oct 3, 2023
ac738ec
Restore chromatic ignore
shilman Oct 3, 2023
9fe358f
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Oct 4, 2023
109eb20
Merge pull request #23825 from storybookjs/shilman/fix-react-docgen-enum
shilman Oct 4, 2023
fb3568f
Revert "disable Angular 15 sandbox in CI"
valentinpalkovic Oct 4, 2023
1404929
Add debugWebpack option to Angular schema
valentinpalkovic Oct 4, 2023
ca7f6f8
hotfix -> patch, next-release -> non-patch-release
JReinhold Oct 4, 2023
15b5933
more renaming
JReinhold Oct 4, 2023
37d6cd5
Downgrade file-system-cache
valentinpalkovic Oct 4, 2023
fb06301
Fix types
valentinpalkovic Oct 4, 2023
b2e5f4b
Merge branch 'next' into fix/gh-24297
valentinpalkovic Oct 4, 2023
614146d
Merge branch 'valentin/fix-angular-sandbox' into fix/gh-24297
valentinpalkovic Oct 4, 2023
d2ed2d4
Merge pull request #24354 from greut/fix/gh-24297
valentinpalkovic Oct 4, 2023
97e0c60
Restrict allowed zone.js version range
valentinpalkovic Oct 4, 2023
ed18a24
move ensure-next-ahead from a bash script to a tested node script
JReinhold Oct 4, 2023
19b8468
add error class to error name
yannbf Oct 4, 2023
1b7d792
Merge branch 'next' into docs/addon-styling
Oct 4, 2023
b4424c1
Pin some package versions
valentinpalkovic Oct 4, 2023
8e83b97
Fix types
valentinpalkovic Oct 4, 2023
abe0d61
Docs: Point to styling-webpack addon in styling docs #24348
Oct 4, 2023
556569e
update @storybook/jest
yannbf Oct 4, 2023
c028ce2
always set --no-link when creating angular sandboxes
yannbf Oct 4, 2023
930adf4
move bash script to cancel preparation runs to tested node script
JReinhold Oct 4, 2023
0b35c18
Merge branch 'next' into release-stable-to-latest
JReinhold Oct 4, 2023
72837ae
fix tests
JReinhold Oct 4, 2023
406e0a5
Merge branch 'release-stable-to-latest' of github.com:storybookjs/sto…
JReinhold Oct 4, 2023
f0a10f7
Merge pull request #24373 from storybookjs/yann/no-link-angular
valentinpalkovic Oct 5, 2023
6946369
Merge branch 'next' into valentin/fix-angular-sandbox
valentinpalkovic Oct 5, 2023
08efdbd
Pin overlayscrollbars to exact version
valentinpalkovic Oct 5, 2023
b838b29
Add Resolutions.md file
valentinpalkovic Oct 5, 2023
7d8a2c6
Merge pull request #24367 from storybookjs/valentin/fix-angular-sandbox
valentinpalkovic Oct 5, 2023
4e11f29
Merge pull request #24187 from json-betsec/fix-next-image-search-params
valentinpalkovic Oct 5, 2023
38de6fc
Merge branch 'next' into bugfix/nextjs-image-context-2
valentinpalkovic Oct 5, 2023
9139e90
Merge pull request #24106 from storybookjs/release-stable-to-latest
JReinhold Oct 5, 2023
33e564e
Merge pull request #24146 from martinnabhan/bugfix/nextjs-image-conte…
valentinpalkovic Oct 5, 2023
5e02480
always run registry when generating angular sandboxes
yannbf Oct 5, 2023
dac7e2f
display webpack errors on build
yannbf Oct 5, 2023
b079ed6
Revert "Release tooling: Release stable releases from `latest-release`"
JReinhold Oct 5, 2023
f4e13cd
Merge pull request #24379 from storybookjs/revert-24106-release-stabl…
JReinhold Oct 5, 2023
7823426
Merge pull request #24377 from storybookjs/yann/display-webpack-error…
ndelangen Oct 5, 2023
a1963a3
Merge pull request #24345 from storybookjs/norbert/fix-24292
ndelangen Oct 5, 2023
3b276e7
Merge pull request #24376 from storybookjs/yann/angular-sandbox-registry
yannbf Oct 5, 2023
9619860
Merge pull request #24371 from storybookjs/yann/add-error-name
yannbf Oct 5, 2023
5184a7a
add more angular options
yannbf Oct 5, 2023
80951d3
Merge pull request #24388 from storybookjs/yann/add-missing-angular-o…
yannbf Oct 5, 2023
4002f56
Write changelog for 7.5.0-alpha.5 [skip ci]
storybook-bot Oct 6, 2023
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
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -555,27 +555,27 @@ workflows:
requires:
- unit-tests
- create-sandboxes:
parallelism: 20
parallelism: 21
requires:
- build
- build-sandboxes:
parallelism: 20
parallelism: 21
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 17
parallelism: 18
requires:
- build-sandboxes
- e2e-production:
parallelism: 17
parallelism: 18
requires:
- build-sandboxes
- e2e-dev:
parallelism: 4
requires:
- create-sandboxes
- test-runner-production:
parallelism: 17
parallelism: 18
requires:
- build-sandboxes
- bench:
Expand Down Expand Up @@ -609,30 +609,30 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 33
parallelism: 34
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 33
parallelism: 34
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 30
parallelism: 31
requires:
- build-sandboxes
- e2e-production:
parallelism: 30
parallelism: 31
requires:
- build-sandboxes
- e2e-dev:
parallelism: 4
requires:
- create-sandboxes
- test-runner-production:
parallelism: 30
parallelism: 31
requires:
- build-sandboxes
# TODO: reenable once we find out the source of flakyness
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 7.4.6

- CLI: Fix Nextjs project detection - [#24346](https://github.com/storybookjs/storybook/pull/24346), thanks [@yannbf](https://github.com/yannbf)!
- Core: Fix missing favicon during dev - [#24356](https://github.com/storybookjs/storybook/pull/24356), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.4.5

- UI: Fix infinite hook call causing browsers to freeze - [#24291](https://github.com/storybookjs/storybook/pull/24291), thanks [@yannbf](https://github.com/yannbf)!
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 7.5.0-alpha.5

- Angular: Add CLI options (debugWebpack, webpackStatsJson, and more) - [#24388](https://github.com/storybookjs/storybook/pull/24388), thanks [@yannbf](https://github.com/yannbf)!
- Angular: Fix Angular 15 support and add zone.js v0.14.x support - [#24367](https://github.com/storybookjs/storybook/pull/24367), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Core: Add class name to Storybook error name - [#24371](https://github.com/storybookjs/storybook/pull/24371), thanks [@yannbf](https://github.com/yannbf)!
- ManagerAPI: Fix bug with story redirection when URL has partial storyId - [#24345](https://github.com/storybookjs/storybook/pull/24345), thanks [@ndelangen](https://github.com/ndelangen)!
- NextJS: Fix Image Context re-use via singleton - [#24146](https://github.com/storybookjs/storybook/pull/24146), thanks [@martinnabhan](https://github.com/martinnabhan)!
- NextJS: Fix default next image loader when src has params - [#24187](https://github.com/storybookjs/storybook/pull/24187), thanks [@json-betsec](https://github.com/json-betsec)!
- React: Upgrade `react-docgen` to 6.0.x and improve argTypes - [#23825](https://github.com/storybookjs/storybook/pull/23825), thanks [@shilman](https://github.com/shilman)!
- Webpack: Display errors on build - [#24377](https://github.com/storybookjs/storybook/pull/24377), thanks [@yannbf](https://github.com/yannbf)!

## 7.5.0-alpha.4

- CLI: Fix Nextjs project detection - [#24346](https://github.com/storybookjs/storybook/pull/24346), thanks [@yannbf](https://github.com/yannbf)!
Expand Down
11 changes: 11 additions & 0 deletions RESOLUTIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resolutions and Exact versions

This file keeps track of any resolutions or exact versions specified in any `package.json` file. Resolutions are used to specify a specific version of a package to be used, even if a different version is specified as a dependency of another package.

## code/renderers/svelte/package.json

svelte-check@3.4.6 (bug: 3.5.x): Type issues

## code/ui/components/package.json

overlayscrollbars@2.2.1 (bug: 2.3.x): The Scrollbar doesn't disappear anymore by default. It might has something to do with the `scrollbars.autoHideSuspend` option, which was introduced in 2.3.0. https://github.com/KingSora/OverlayScrollbars/blob/master/packages/overlayscrollbars/CHANGELOG.md#230
2 changes: 1 addition & 1 deletion code/addons/docs/src/DocsRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ErrorBoundary extends Component<{
const { hasError } = this.state;
const { children } = this.props;

return hasError ? null : children;
return hasError ? null : <>{children}</>;
}
}

Expand Down
14 changes: 7 additions & 7 deletions code/addons/themes/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Takes your provider component, global styles, and theme(s)to wrap your stories in.

```js
import { withThemeFromJSXProvider } from '@storybook/addon-styling';
import { withThemeFromJSXProvider } from '@storybook/addon-themes';

export const decorators = [
withThemeFromJSXProvider({
Expand Down Expand Up @@ -36,7 +36,7 @@ Available options:
Takes your theme class names to apply your parent element to enable your theme(s).

```js
import { withThemeByClassName } from '@storybook/addon-styling';
import { withThemeByClassName } from '@storybook/addon-themes';

export const decorators = [
withThemeByClassName({
Expand All @@ -62,7 +62,7 @@ Available options:
Takes your theme names and data attribute to apply your parent element to enable your theme(s).

```js
import { withThemeByDataAttribute } from '@storybook/addon-styling';
import { withThemeByDataAttribute } from '@storybook/addon-themes';

export const decorators = [
withThemeByDataAttribute({
Expand Down Expand Up @@ -94,7 +94,7 @@ If none of these decorators work for your library there is still hope. We've pro
Pulls the selected theme from storybook's global state.

```js
import { DecoratorHelpers } from '@storybook/addon-styling';
import { DecoratorHelpers } from '@storybook/addon-themes';
const { pluckThemeFromContext } = DecoratorHelpers;

export const myCustomDecorator =
Expand All @@ -111,7 +111,7 @@ export const myCustomDecorator =
Returns the theme parameters for this addon.

```js
import { DecoratorHelpers } from '@storybook/addon-styling';
import { DecoratorHelpers } from '@storybook/addon-themes';
const { useThemeParameters } = DecoratorHelpers;

export const myCustomDecorator =
Expand All @@ -128,7 +128,7 @@ export const myCustomDecorator =
Used to register the themes and defaultTheme with the addon state.

```js
import { DecoratorHelpers } from '@storybook/addon-styling';
import { DecoratorHelpers } from '@storybook/addon-themes';
const { initializeThemeState } = DecoratorHelpers;

export const myCustomDecorator = ({ themes, defaultState, ...rest }) => {
Expand All @@ -147,7 +147,7 @@ Let's use Vuetify as an example. Vuetify uses it's own global state to know whic
```js
// .storybook/withVeutifyTheme.decorator.js

import { DecoratorHelpers } from '@storybook/addon-styling';
import { DecoratorHelpers } from '@storybook/addon-themes';
import { useTheme } from 'vuetify';

const { initializeThemeState, pluckThemeFromContext, useThemeParameters } = DecoratorHelpers;
Expand Down
1 change: 1 addition & 0 deletions code/builders/builder-webpack5/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ const builder: BuilderFunction = async function* builderGeneratorFn({ startTime,
}

if (errors.length > 0) {
errors.forEach((e) => logger.error(e.message));
compiler.close(() => fail(new WebpackCompilationError({ errors })));
return;
}
Expand Down
18 changes: 18 additions & 0 deletions code/e2e-tests/navigation.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { test, expect } from '@playwright/test';
import process from 'process';
import { SbPage } from './util';

const storybookUrl = process.env.STORYBOOK_URL || 'http://localhost:8001';

test.describe('navigating', () => {
test('a URL with a partial storyId will redirect to the first story', async ({ page }) => {
// this is purposefully not using the SbPage class, and the URL is a partial (it does not contain the full storyId)
await page.goto(`${storybookUrl}?path=/story/example-button`);

const sbPage = new SbPage(page);

await sbPage.waitUntilLoaded();

await expect(sbPage.page.url()).toContain('/docs/example-button--docs');
});
});
2 changes: 1 addition & 1 deletion code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"rxjs": "^6.0.0 || ^7.4.0",
"typescript": "^4.0.0 || ^5.0.0",
"zone.js": "^0.8.29 || >= 0.9.0 < 1.0.0"
"zone.js": ">= 0.11.1 < 1.0.0"
},
"peerDependenciesMeta": {
"@angular/cli": {
Expand Down
13 changes: 12 additions & 1 deletion code/frameworks/angular/src/builders/build-storybook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ export type StorybookBuilderOptions = JsonObject & {
} & Pick<
// makes sure the option exists
CLIOptions,
'outputDir' | 'configDir' | 'loglevel' | 'quiet' | 'webpackStatsJson' | 'disableTelemetry'
| 'outputDir'
| 'configDir'
| 'loglevel'
| 'quiet'
| 'webpackStatsJson'
| 'disableTelemetry'
| 'debugWebpack'
| 'previewUrl'
>;

export type StorybookBuilderOutput = JsonObject & BuilderOutput & { [key: string]: any };
Expand Down Expand Up @@ -81,8 +88,10 @@ const commandBuilder: BuilderHandlerFn<StorybookBuilderOptions> = (
quiet,
enableProdMode = true,
webpackStatsJson,
debugWebpack,
disableTelemetry,
assets,
previewUrl,
} = options;

const standaloneOptions: StandaloneBuildOptions = {
Expand All @@ -103,6 +112,8 @@ const commandBuilder: BuilderHandlerFn<StorybookBuilderOptions> = (
},
tsConfig,
webpackStatsJson,
debugWebpack,
previewUrl,
};

return standaloneOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"description": "Controls level of logging during build. Can be one of: [silly, verbose, info (default), warn, error, silent].",
"pattern": "(silly|verbose|info|warn|silent)"
},
"debugWebpack": {
"type": "boolean",
"description": "Debug the Webpack configuration",
"default": false
},
"enableProdMode": {
"type": "boolean",
"description": "Disable Angular's development mode, which turns off assertions and other checks within the framework.",
Expand Down Expand Up @@ -62,6 +67,10 @@
"description": "Write Webpack Stats JSON to disk",
"default": false
},
"previewUrl": {
"type": "string",
"description": "Disables the default storybook preview and lets you use your own"
},
"styles": {
"type": "array",
"description": "Global styles to be included in the build.",
Expand Down
12 changes: 12 additions & 0 deletions code/frameworks/angular/src/builders/start-storybook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export type StorybookBuilderOptions = JsonObject & {
| 'initialPath'
| 'open'
| 'docs'
| 'debugWebpack'
| 'webpackStatsJson'
| 'loglevel'
| 'previewUrl'
>;

export type StorybookBuilderOutput = JsonObject & BuilderOutput & {};
Expand Down Expand Up @@ -103,6 +107,10 @@ const commandBuilder: BuilderHandlerFn<StorybookBuilderOptions> = (options, cont
assets,
initialPath,
open,
debugWebpack,
loglevel,
webpackStatsJson,
previewUrl,
} = options;

const standaloneOptions: StandaloneOptions = {
Expand Down Expand Up @@ -130,6 +138,10 @@ const commandBuilder: BuilderHandlerFn<StorybookBuilderOptions> = (options, cont
tsConfig,
initialPath,
open,
debugWebpack,
loglevel,
webpackStatsJson,
previewUrl,
};

return standaloneOptions;
Expand Down
19 changes: 19 additions & 0 deletions code/frameworks/angular/src/builders/start-storybook/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"pattern": "^[^:\\s]+:[^:\\s]+(:[^\\s]+)?$",
"default": null
},
"debugWebpack": {
"type": "boolean",
"description": "Debug the Webpack configuration",
"default": false
},
"tsConfig": {
"type": "string",
"description": "The full path for the TypeScript configuration file, relative to the current workspace."
Expand Down Expand Up @@ -123,6 +128,20 @@
"initialPath": {
"type": "string",
"description": "URL path to be appended when visiting Storybook for the first time"
},
"webpackStatsJson": {
"type": "string",
"description": "Write Webpack Stats JSON to disk",
"default": false
},
"previewUrl": {
"type": "string",
"description": "Disables the default storybook preview and lets you use your own"
},
"loglevel": {
"type": "string",
"description": "Controls level of logging during build. Can be one of: [silly, verbose, info (default), warn, error, silent].",
"pattern": "(silly|verbose|info|warn|silent)"
}
},
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const printErrorDetails = (error: any): void => {
} else if ((error as any).stats && (error as any).stats.compilation.errors) {
(error as any).stats.compilation.errors.forEach((e: any) => logger.plain(e));
} else {
logger.error(error);
logger.error(error as any);
}
} else if (error.compilation?.errors) {
error.compilation.errors.forEach((e: any) => logger.plain(e));
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/angular/src/client/globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { global } from '@storybook/global';
/** *************************************************************************************************
* Zone JS is required by Angular itself.
*/
import 'zone.js/dist/zone'; // Included with Angular CLI.
import 'zone.js'; // Included with Angular CLI.

/** *************************************************************************************************
* APPLICATION IMPORTS
Expand Down
9 changes: 2 additions & 7 deletions code/frameworks/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./image-context": {
"types": "./dist/image-context.d.ts",
"require": "./dist/image-context.js",
"import": "./dist/image-context.mjs"
},
"./dist/image-context": {
"types": "./dist/image-context.d.ts",
"require": "./dist/image-context.js",
"require": "./dist/image-context.mjs",
"import": "./dist/image-context.mjs"
},
"./preset": {
Expand Down Expand Up @@ -124,7 +119,7 @@
"@types/babel__core": "^7",
"@types/babel__plugin-transform-runtime": "^7",
"@types/babel__preset-env": "^7",
"next": "^13.4.8",
"next": "13.4.19",
"typescript": "^4.9.3",
"webpack": "^5.65.0"
},
Expand Down
Loading