Publish top-level .js and .d.ts files (#8354)

Publish top-level .js and .d.ts files
This commit is contained in:
Michael Shilman 2019-10-10 07:58:17 +08:00 committed by GitHub
commit 38d82230e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 129 additions and 79 deletions

View File

@ -24,7 +24,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -23,7 +23,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,10 +17,9 @@
"author": "Leo Y. Li",
"files": [
"dist/**/*",
"register.js",
"preact.js",
"react.js",
"vue.js"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/register.js",
"scripts": {

View File

@ -23,7 +23,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -25,7 +25,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -26,9 +26,8 @@
"react/**/*",
"vue/**/*",
"README.md",
"blocks.js",
"mdx-compiler-plugin.js",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/public_api.js",
"types": "dist/public_api.d.ts",

View File

@ -22,7 +22,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -20,7 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,9 @@
"files": [
"dist/**/*",
"docs/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"jsnext:main": "src/index.js",

View File

@ -26,7 +26,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -20,14 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"angular.js",
"html.js",
"marko.js",
"mithril.js",
"polymer.js",
"react.js",
"vue.js",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -20,8 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"react.js",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -21,8 +21,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js",
"register-panel.js"
"*.js",
"*.d.ts"
],
"main": "dist/public_api.js",
"types": "dist/public_api.d.ts",

View File

@ -18,7 +18,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"scripts": {

View File

@ -22,7 +22,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"scripts": {

View File

@ -18,7 +18,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -20,7 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/public_api.d.ts",

View File

@ -20,7 +20,9 @@
"files": [
"dist/**/*",
"docs/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,9 @@
"files": [
"dist/**/*",
"docs/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,9 @@
"files": [
"dist/**/*",
"docs/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -20,8 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"loader.js",
"register.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"scripts": {

View File

@ -20,8 +20,8 @@
"dist/**/*",
"docs/**/*",
"README.md",
"preview.js",
"register.js"
"*.js",
"*.d.ts"
],
"main": "preview.js",
"scripts": {

View File

@ -19,9 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js",
"demo.js",
"demo.d.ts"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",

View File

@ -16,7 +16,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"jsnext:main": "src/client/index.js",

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",

View File

@ -20,7 +20,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,9 @@
"files": [
"bin/**/*",
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"bin": {
"start-storybook": "./bin/index.js",

View File

@ -20,7 +20,9 @@
"files": [
"bin/**/*",
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"scripts": {

View File

@ -19,8 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js",
"demo.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",

View File

@ -19,7 +19,9 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"standalone.js",
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"bin": {

View File

@ -19,7 +19,8 @@
"bin/**/*",
"dist/**/*",
"README.md",
"standalone.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"types": "dist/client/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/public_api.js",
"types": "dist/public_api.d.ts",

View File

@ -16,7 +16,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -23,7 +23,9 @@
"docs/**/*",
"generators/**/*",
"lib/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"bin": {
"getstorybook": "./bin/index.js",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"jsnext:main": "src/index.js",

View File

@ -18,8 +18,8 @@
"files": [
"dist/**/*",
"README.md",
"html.d.ts",
"html.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,9 +19,8 @@
"dist/**/*",
"dll/**/*",
"README.md",
"server.js",
"standalone.js",
"client.js"
"*.js",
"*.d.ts"
],
"main": "dist/client/index.js",
"scripts": {

View File

@ -17,7 +17,9 @@
"license": "MIT",
"files": [
"dist/**/*",
"README.md"
"README.md",
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -18,8 +18,8 @@
"files": [
"dist/**/*",
"README.md",
"utils.js",
"utils.d.ts"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -19,7 +19,8 @@
"files": [
"dist/**/*",
"README.md",
"preview.js"
"*.js",
"*.d.ts"
],
"main": "dist/server/index.js",
"jsnext:main": "src/server/index.js",

View File

@ -18,8 +18,8 @@
"files": [
"dist/**/*",
"README.md",
"paths.js",
"create.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -18,7 +18,8 @@
"files": [
"dist/**/*",
"README.md",
"paths.js"
"*.js",
"*.d.ts"
],
"main": "dist/index.js",
"scripts": {