@storybook/preset-react-webpack 7.0.0-alpha.7 → 7.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-HXSBEJGO.mjs +1 -0
- package/dist/framework-preset-cra.js +1 -1
- package/dist/framework-preset-cra.mjs +1 -1
- package/dist/framework-preset-react-docs.d.ts +1 -1
- package/dist/framework-preset-react-docs.js +1 -1
- package/dist/framework-preset-react-docs.mjs +1 -1
- package/dist/framework-preset-react-dom-hack.js +1 -1
- package/dist/framework-preset-react-dom-hack.mjs +1 -1
- package/dist/framework-preset-react.d.ts +1 -1
- package/dist/framework-preset-react.js +1 -1
- package/dist/framework-preset-react.mjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{types-59b58278.d.ts → types-b181cc47.d.ts} +2 -2
- package/package.json +25 -24
- package/LICENSE +0 -21
- package/dist/chunk-SGZKGO2H.mjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __require=(x=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(x,{get:(a,b)=>(typeof require!="undefined"?require:a)[b]}):x)(function(x){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+x+'" is not supported')});export{__require};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
"use strict";var y=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var S=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty;var j=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},m=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of k(e))!w.call(t,s)&&s!==r&&i(t,s,{get:()=>e[s],enumerable:!(o=g(e,s))||o.enumerable});return t};var f=(t,e,r)=>(r=t!=null?y(S(t)):{},m(e||!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t)),P=t=>m(i({},"__esModule",{value:!0}),t);var x={};j(x,{webpackFinal:()=>R});module.exports=P(x);var p=require("@storybook/node-logger");var c=f(require("fs")),n=f(require("path")),h=f(require("semver")),u=require("@storybook/node-logger"),d=c.default.realpathSync(process.cwd()),a;function v({noCache:t}={}){if(a&&!t)return a;let e=c.default.realpathSync(n.default.join(d,"/node_modules/.bin/react-scripts"));try{if(/node_modules[\\/]\.bin[\\/]react-scripts/i.test(e)){let l=c.default.readFileSync(e,"utf8").match(/"\$basedir[\\/]([^\s]+?[\\/]bin[\\/]react-scripts\.js")/i);l&&l.length>1&&(e=n.default.join(d,"/node_modules/.bin/",l[1]))}}catch(o){u.logger.warn(`Error occurred during react-scripts package path resolving: ${o}`)}a=n.default.join(e,"../..");let r=n.default.join(a,"package.json");return c.default.existsSync(r)||(a="react-scripts"),a}function b(t="2.0.0"){try{let e=require(n.default.join(v(),"package.json"));return!h.default.gtr(t,e.version)}catch{return!1}}var N=t=>{t.some(r=>{let o=typeof r=="string"?r:r.name;return/@storybook(\/|\\)preset-create-react-app/.test(o)})||(p.logger.warn("Storybook support for Create React App is now a separate preset."),p.logger.warn("To use the new preset, install `@storybook/preset-create-react-app` and add it to the list of `addons` in your `.storybook/main.js` config file."),p.logger.warn("The built-in preset has been disabled in Storybook 6.0."))},R=(t,{presetsList:e})=>{var r,o;return b()&&e&&N(e),(o=(r=t.module)==null?void 0:r.rules)==null||o.push({test:/\.m?js$/,type:"javascript/auto"},{test:/\.m?js$/,resolve:{fullySpecified:!1}}),t};0&&(module.exports={webpackFinal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__require}from"./chunk-HXSBEJGO.mjs";import{logger as logger2}from"@storybook/node-logger";import fs from"fs";import path from"path";import semver from"semver";import{logger}from"@storybook/node-logger";var appDirectory=fs.realpathSync(process.cwd()),reactScriptsPath;function getReactScriptsPath({noCache}={}){if(reactScriptsPath&&!noCache)return reactScriptsPath;let reactScriptsScriptPath=fs.realpathSync(path.join(appDirectory,"/node_modules/.bin/react-scripts"));try{if(/node_modules[\\/]\.bin[\\/]react-scripts/i.test(reactScriptsScriptPath)){let packagePathMatch=fs.readFileSync(reactScriptsScriptPath,"utf8").match(/"\$basedir[\\/]([^\s]+?[\\/]bin[\\/]react-scripts\.js")/i);packagePathMatch&&packagePathMatch.length>1&&(reactScriptsScriptPath=path.join(appDirectory,"/node_modules/.bin/",packagePathMatch[1]))}}catch(e){logger.warn(`Error occurred during react-scripts package path resolving: ${e}`)}reactScriptsPath=path.join(reactScriptsScriptPath,"../..");let scriptsPkgJson=path.join(reactScriptsPath,"package.json");return fs.existsSync(scriptsPkgJson)||(reactScriptsPath="react-scripts"),reactScriptsPath}function isReactScriptsInstalled(requiredVersion="2.0.0"){try{let reactScriptsJson=__require(path.join(getReactScriptsPath(),"package.json"));return!semver.gtr(requiredVersion,reactScriptsJson.version)}catch{return!1}}var checkForNewPreset=presetsList=>{presetsList.some(preset=>{let presetName=typeof preset=="string"?preset:preset.name;return/@storybook(\/|\\)preset-create-react-app/.test(presetName)})||(logger2.warn("Storybook support for Create React App is now a separate preset."),logger2.warn("To use the new preset, install `@storybook/preset-create-react-app` and add it to the list of `addons` in your `.storybook/main.js` config file."),logger2.warn("The built-in preset has been disabled in Storybook 6.0."))},webpackFinal=(config,{presetsList})=>(isReactScriptsInstalled()&&presetsList&&checkForNewPreset(presetsList),config.module?.rules?.push({test:/\.m?js$/,type:"javascript/auto"},{test:/\.m?js$/,resolve:{fullySpecified:!1}}),config);export{webpackFinal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
"use strict";var y=Object.create;var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var g=(t,r)=>{for(var e in r)o(t,e,{get:r[e],enumerable:!0})},a=(t,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let p of u(r))!m.call(t,p)&&p!==e&&o(t,p,{get:()=>r[p],enumerable:!(s=l(r,p))||s.enumerable});return t};var i=(t,r,e)=>(e=t!=null?y(b(t)):{},a(r||!t||!t.__esModule?o(e,"default",{value:t,enumerable:!0}):e,t)),k=t=>a(o({},"__esModule",{value:!0}),t);var S={};g(S,{babel:()=>j,webpackFinal:()=>C});module.exports=k(S);var c=i(require("@storybook/react-docgen-typescript-plugin")),n=require("@storybook/docs-tools"),j=async(t,r)=>{if(!(0,n.hasDocsOrControls)(r))return t;let e=await r.presets.apply("typescript",{}),{reactDocgen:s}=e||{};return typeof s!="string"?t:{...t,overrides:[...(t==null?void 0:t.overrides)||[],{test:s==="react-docgen"?/\.(cjs|mjs|tsx?|jsx?)$/:/\.(cjs|mjs|jsx?)$/,plugins:[[require.resolve("babel-plugin-react-docgen")]]}]}},C=async(t,r)=>{if(!(0,n.hasDocsOrControls)(r))return t;let e=await r.presets.apply("typescript",{}),{reactDocgen:s,reactDocgenTypescriptOptions:p}=e||{};return s!=="react-docgen-typescript"?t:{...t,plugins:[...t.plugins||[],new c.default({...p,savePropValueAsString:!0})]}};0&&(module.exports={babel,webpackFinal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__require}from"./chunk-HXSBEJGO.mjs";import ReactDocgenTypescriptPlugin from"@storybook/react-docgen-typescript-plugin";import{hasDocsOrControls}from"@storybook/docs-tools";var babel=async(config,options)=>{if(!hasDocsOrControls(options))return config;let typescriptOptions=await options.presets.apply("typescript",{}),{reactDocgen}=typescriptOptions||{};return typeof reactDocgen!="string"?config:{...config,overrides:[...config?.overrides||[],{test:reactDocgen==="react-docgen"?/\.(cjs|mjs|tsx?|jsx?)$/:/\.(cjs|mjs|jsx?)$/,plugins:[[__require.resolve("babel-plugin-react-docgen")]]}]}},webpackFinal=async(config,options)=>{if(!hasDocsOrControls(options))return config;let typescriptOptions=await options.presets.apply("typescript",{}),{reactDocgen,reactDocgenTypescriptOptions}=typescriptOptions||{};return reactDocgen!=="react-docgen-typescript"?config:{...config,plugins:[...config.plugins||[],new ReactDocgenTypescriptPlugin({...reactDocgenTypescriptOptions,savePropValueAsString:!0})]}};export{babel,webpackFinal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
"use strict";var c=Object.create;var s=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var f=(e,r)=>{for(var o in r)s(e,o,{get:r[o],enumerable:!0})},i=(e,r,o,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of b(r))!y.call(e,n)&&n!==o&&s(e,n,{get:()=>r[n],enumerable:!(t=l(r,n))||t.enumerable});return e};var k=(e,r,o)=>(o=e!=null?c(u(e)):{},i(r||!e||!e.__esModule?s(o,"default",{value:e,enumerable:!0}):o,e)),w=e=>i(s({},"__esModule",{value:!0}),e);var g={};f(g,{webpackFinal:()=>d});module.exports=w(g);var a=require("fs-extra"),p=require("webpack"),d=async e=>{var o,t;let r=await(0,a.readJSON)(require.resolve("react-dom/package.json"));return{...e,plugins:[...e.plugins||[],((o=r==null?void 0:r.version)==null?void 0:o.startsWith("18"))||((t=r==null?void 0:r.version)==null?void 0:t.startsWith("0.0.0"))?null:new p.IgnorePlugin({resourceRegExp:/react-dom\/client$/,contextRegExp:/(renderers\/react|renderers\\react|@storybook\/react|@storybook\\react)/})].filter(Boolean)}};0&&(module.exports={webpackFinal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__require}from"./chunk-HXSBEJGO.mjs";import{readJSON}from"fs-extra";import{IgnorePlugin}from"webpack";var webpackFinal=async config=>{let reactDomPkg=await readJSON(__require.resolve("react-dom/package.json"));return{...config,plugins:[...config.plugins||[],reactDomPkg?.version?.startsWith("18")||reactDomPkg?.version?.startsWith("0.0.0")?null:new IgnorePlugin({resourceRegExp:/react-dom\/client$/,contextRegExp:/(renderers\/react|renderers\\react|@storybook\/react|@storybook\\react)/})].filter(Boolean)}};export{webpackFinal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
"use strict";var y=Object.create;var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var k=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},l=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of R(t))!f.call(e,o)&&o!==r&&n(e,o,{get:()=>t[o],enumerable:!(s=b(t,o))||s.enumerable});return e};var a=(e,t,r)=>(r=e!=null?y(h(e)):{},l(t||!e||!e.__esModule?n(r,"default",{value:e,enumerable:!0}):r,e)),w=e=>l(n({},"__esModule",{value:!0}),e);var q={};k(q,{babel:()=>d,babelDefault:()=>x,webpackFinal:()=>S});module.exports=w(q);var p=a(require("path")),c=a(require("@pmmmwh/react-refresh-webpack-plugin")),u=require("@storybook/node-logger"),m=async e=>{let t=e.configType==="DEVELOPMENT",r=await e.presets.apply("framework"),s=typeof r=="object"?r.options:{};return t&&(s.fastRefresh||process.env.FAST_REFRESH==="true")},d=async(e,t)=>await m(t)?{...e,plugins:[[require.resolve("react-refresh/babel"),{},"storybook-react-refresh"],...e.plugins||[]]}:e,i=p.default.dirname(require.resolve("@storybook/preset-react-webpack/package.json")),v=i.includes("node_modules")?p.default.join(i,"../../"):p.default.join(i,"../../node_modules"),O=()=>{try{return require.resolve("react/jsx-runtime",{paths:[v]}),!0}catch{return!1}},x=async e=>{let t=O()?{runtime:"automatic"}:{};return{...e,presets:[...(e==null?void 0:e.presets)||[],[require.resolve("@babel/preset-react"),t]],plugins:[...(e==null?void 0:e.plugins)||[],require.resolve("babel-plugin-add-react-displayname")]}},S=async(e,t)=>{var s;return await m(t)?(s=e.plugins)!=null&&s.find(o=>o.constructor.name==="ReactRefreshPlugin")?(u.logger.warn("=> React refresh is already set. You don't need to set the option"),e):(u.logger.info("=> Using React fast refresh"),{...e,plugins:[...e.plugins||[],new c.default({overlay:{sockIntegration:"whm"}})]}):e};0&&(module.exports={babel,babelDefault,webpackFinal});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__require}from"./chunk-HXSBEJGO.mjs";import path from"path";import ReactRefreshWebpackPlugin from"@pmmmwh/react-refresh-webpack-plugin";import{logger}from"@storybook/node-logger";var applyFastRefresh=async options=>{let isDevelopment=options.configType==="DEVELOPMENT",framework=await options.presets.apply("framework"),reactOptions=typeof framework=="object"?framework.options:{};return isDevelopment&&(reactOptions.fastRefresh||process.env.FAST_REFRESH==="true")},babel=async(config,options)=>await applyFastRefresh(options)?{...config,plugins:[[__require.resolve("react-refresh/babel"),{},"storybook-react-refresh"],...config.plugins||[]]}:config,storybookReactDirName=path.dirname(__require.resolve("@storybook/preset-react-webpack/package.json")),context=storybookReactDirName.includes("node_modules")?path.join(storybookReactDirName,"../../"):path.join(storybookReactDirName,"../../node_modules"),hasJsxRuntime=()=>{try{return __require.resolve("react/jsx-runtime",{paths:[context]}),!0}catch{return!1}},babelDefault=async config=>{let presetReactOptions=hasJsxRuntime()?{runtime:"automatic"}:{};return{...config,presets:[...config?.presets||[],[__require.resolve("@babel/preset-react"),presetReactOptions]],plugins:[...config?.plugins||[],__require.resolve("babel-plugin-add-react-displayname")]}},webpackFinal=async(config,options)=>await applyFastRefresh(options)?config.plugins?.find(p=>p.constructor.name==="ReactRefreshPlugin")?(logger.warn("=> React refresh is already set. You don't need to set the option"),config):(logger.info("=> Using React fast refresh"),{...config,plugins:[...config.plugins||[],new ReactRefreshWebpackPlugin({overlay:{sockIntegration:"whm"}})]}):config;export{babel,babelDefault,webpackFinal};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StorybookConfig } from './types-
|
|
2
|
-
export { R as ReactOptions, S as StorybookConfig, T as TypescriptOptions } from './types-
|
|
1
|
+
import { S as StorybookConfig } from './types-b181cc47.js';
|
|
2
|
+
export { R as ReactOptions, S as StorybookConfig, T as TypescriptOptions } from './types-b181cc47.js';
|
|
3
3
|
export { BuilderResult } from '@storybook/core-webpack';
|
|
4
4
|
import '@storybook/react-docgen-typescript-plugin';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
"use strict";var d=Object.create;var t=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var q=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var v=(e,o)=>{for(var r in o)t(e,r,{get:o[r],enumerable:!0})},p=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of l(o))!u.call(e,s)&&s!==r&&t(e,s,{get:()=>o[s],enumerable:!(n=f(o,s))||n.enumerable});return e};var i=(e,o,r)=>(r=e!=null?d(q(e)):{},p(o||!e||!e.__esModule?t(r,"default",{value:e,enumerable:!0}):r,e)),y=e=>p(t({},"__esModule",{value:!0}),e);var a={};v(a,{addons:()=>m});module.exports=y(a);var m=[require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react"),require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react-dom-hack"),require.resolve("@storybook/preset-react-webpack/dist/framework-preset-cra"),require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react-docs")];0&&(module.exports={addons});
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__require}from"./chunk-HXSBEJGO.mjs";var addons=[__require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react"),__require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react-dom-hack"),__require.resolve("@storybook/preset-react-webpack/dist/framework-preset-cra"),__require.resolve("@storybook/preset-react-webpack/dist/framework-preset-react-docs")];export{addons};
|
|
@@ -13,7 +13,7 @@ interface ReactOptions {
|
|
|
13
13
|
*/
|
|
14
14
|
legacyRootApi?: boolean;
|
|
15
15
|
}
|
|
16
|
-
|
|
16
|
+
type TypescriptOptions = TypescriptOptions$1 & {
|
|
17
17
|
/**
|
|
18
18
|
* Sets the type of Docgen when working with React and TypeScript
|
|
19
19
|
*
|
|
@@ -28,7 +28,7 @@ declare type TypescriptOptions = TypescriptOptions$1 & {
|
|
|
28
28
|
*/
|
|
29
29
|
reactDocgenTypescriptOptions: PluginOptions;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
type StorybookConfig<TWebpackConfiguration = WebpackConfiguration> = StorybookConfig$1<TWebpackConfiguration> & {
|
|
32
32
|
typescript?: Partial<TypescriptOptions>;
|
|
33
33
|
};
|
|
34
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/preset-react-webpack",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.0.0-beta.0",
|
|
4
4
|
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -67,35 +67,33 @@
|
|
|
67
67
|
"*.d.ts"
|
|
68
68
|
],
|
|
69
69
|
"scripts": {
|
|
70
|
-
"
|
|
70
|
+
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
|
|
71
|
+
"prep": "../../../scripts/prepare/bundle.ts"
|
|
71
72
|
},
|
|
72
73
|
"dependencies": {
|
|
73
|
-
"@babel/preset-flow": "^7.
|
|
74
|
-
"@babel/preset-react": "^7.
|
|
74
|
+
"@babel/preset-flow": "^7.18.6",
|
|
75
|
+
"@babel/preset-react": "^7.18.6",
|
|
75
76
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
|
|
76
|
-
"@storybook/core-webpack": "7.0.0-
|
|
77
|
-
"@storybook/docs-tools": "7.0.0-
|
|
78
|
-
"@storybook/node-logger": "7.0.0-
|
|
79
|
-
"@storybook/react": "7.0.0-
|
|
77
|
+
"@storybook/core-webpack": "7.0.0-beta.0",
|
|
78
|
+
"@storybook/docs-tools": "7.0.0-beta.0",
|
|
79
|
+
"@storybook/node-logger": "7.0.0-beta.0",
|
|
80
|
+
"@storybook/react": "7.0.0-beta.0",
|
|
80
81
|
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
|
|
81
|
-
"@
|
|
82
|
-
"@types/
|
|
82
|
+
"@types/node": "^16.0.0",
|
|
83
|
+
"@types/semver": "^7.3.4",
|
|
83
84
|
"babel-plugin-add-react-displayname": "^0.0.5",
|
|
84
85
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
85
|
-
"core-js": "^3.8.2",
|
|
86
86
|
"fs-extra": "^9.0.1",
|
|
87
|
-
"react-refresh": "^0.11.0"
|
|
87
|
+
"react-refresh": "^0.11.0",
|
|
88
|
+
"semver": "^7.3.7"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
|
-
"
|
|
91
|
-
"@types/util-deprecate": "^1.0.0"
|
|
91
|
+
"typescript": "~4.9.3"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@babel/core": "^7.11.5",
|
|
95
|
-
"jest-specific-snapshot": "^4.0.0",
|
|
96
95
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
97
96
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
98
|
-
"require-from-string": "^2.0.2",
|
|
99
97
|
"webpack": "5"
|
|
100
98
|
},
|
|
101
99
|
"peerDependenciesMeta": {
|
|
@@ -112,12 +110,15 @@
|
|
|
112
110
|
"publishConfig": {
|
|
113
111
|
"access": "public"
|
|
114
112
|
},
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
113
|
+
"bundler": {
|
|
114
|
+
"entries": [
|
|
115
|
+
"./src/index.ts",
|
|
116
|
+
"./src/framework-preset-cra.ts",
|
|
117
|
+
"./src/framework-preset-react-docs.ts",
|
|
118
|
+
"./src/framework-preset-react-dom-hack.ts",
|
|
119
|
+
"./src/framework-preset-react.ts"
|
|
120
|
+
],
|
|
121
|
+
"platform": "node"
|
|
122
|
+
},
|
|
123
|
+
"gitHead": "2e4ddde6a0a291266d91fe6a5ecda767bf119e70"
|
|
123
124
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Kadira Inc. <hello@kadira.io>
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
package/dist/chunk-SGZKGO2H.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var f=Object.defineProperty,g=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var d=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var e=(a,b,c)=>b in a?f(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,k=(a,b)=>{for(var c in b||(b={}))i.call(b,c)&&e(a,c,b[c]);if(d)for(var c of d(b))j.call(b,c)&&e(a,c,b[c]);return a},l=(a,b)=>g(a,h(b)),m=(a,b)=>f(a,"name",{value:b,configurable:!0}),n=(a=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(a,{get:(b,c)=>(typeof require!="undefined"?require:b)[c]}):a)(function(a){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+a+'" is not supported')});export{k as a,l as b,m as c,n as d};
|