Fixed issues with npm publish
This commit is contained in:
Родитель
c28be2a911
Коммит
3e5a73bbdc
|
@ -23,3 +23,4 @@ npm-debug.log*
|
|||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
/.vs
|
||||
/package-lock.json
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
/dist
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
/.vs
|
||||
/public
|
||||
/src/Examples
|
||||
/src/App.css
|
||||
/src/App.tsx
|
||||
/src/index.tsx
|
||||
/src/index.css
|
||||
/src/App.test.tsx
|
||||
/.npmrc
|
||||
/package-lock.json
|
||||
/tsconfig.json
|
3
.npmrc
3
.npmrc
|
@ -1,3 +1,2 @@
|
|||
registry=https://microsoftit.pkgs.visualstudio.com/_packaging/Finance/npm/registry/
|
||||
|
||||
@microsoft:registry=https://microsoftit.pkgs.visualstudio.com/_packaging/Finance/npm/registry/
|
||||
always-auth=true
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
11
package.json
11
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/autocomplete-search-box",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.14",
|
||||
"private": false,
|
||||
"dependencies": {
|
||||
"@fluentui/react": "^7.155.3"
|
||||
|
@ -36,10 +36,11 @@
|
|||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"clean": "if exist dist rd /s /q dist",
|
||||
"prepare": "npm run clean && mkdir dist & npm version patch --no-git-tag-version",
|
||||
"prepareBuild": "npm run clean && mkdir dist & npm version patch --no-git-tag-version",
|
||||
"compile": "set NODE_ENV=production & babel src/libs --out-dir dist --extensions \".ts,.tsx\" --copy-files",
|
||||
"copy": "cpx \"{package.json,README.md}\" dist",
|
||||
"build": "npm run prepare && npm run compile && tsc && npm run copy"
|
||||
"build": "npm run prepareBuild && npm run compile && tsc && npm run copy",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
|
@ -53,10 +54,6 @@
|
|||
"**/*.stories.js"
|
||||
]
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md"
|
||||
],
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"eslintConfig": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React from 'react';
|
||||
import './App.css';
|
||||
import SearchBoxDemo from "./AutocompleteSearchBoxExample/SearchBoxDemo";
|
||||
import SearchBoxDemo from "./Examples/SearchBoxDemo";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
|
|
Загрузка…
Ссылка в новой задаче