Added npm-local folder with asc-web-components
This commit is contained in:
parent
9803dc022c
commit
57ac44dd76
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
||||
**/storybook-static/
|
||||
/web/ASC.Web.Components/dist
|
||||
/build/deploy
|
||||
/web/npm-local
|
||||
|
8458
products/ASC.People/Client/package-lock.json
generated
8458
products/ASC.People/Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"homepage": "/products/people",
|
||||
"dependencies": {
|
||||
"asc-web-components": "file:../../../web/ASC.Web.Components/",
|
||||
"asc-web-components": "file:../../../web/npm-local/asc-web-components",
|
||||
"axios": "^0.19.0",
|
||||
"bootstrap": "4.3.1",
|
||||
"connected-react-router": "6.5.0",
|
||||
|
8520
web/ASC.Web.Client/package-lock.json
generated
8520
web/ASC.Web.Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"asc-web-components": "file:../ASC.Web.Components/",
|
||||
"asc-web-components": "file:../npm-local/asc-web-components",
|
||||
"axios": "^0.19.0",
|
||||
"bootstrap": "4.3.1",
|
||||
"connected-react-router": "6.5.0",
|
||||
|
1277
web/ASC.Web.Components/package-lock.json
generated
1277
web/ASC.Web.Components/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -35,7 +35,6 @@
|
||||
"react-datepicker": "^2.7.0",
|
||||
"react-lifecycles-compat": "^3.0.4",
|
||||
"reactstrap": "^8.0.0",
|
||||
"rollup-plugin-postcss": "^2.0.3",
|
||||
"styled-components": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -84,12 +83,14 @@
|
||||
"react-testing-library": "7.0.0",
|
||||
"react-value": "0.2.0",
|
||||
"rimraf": "2.6.3",
|
||||
"rollup": "1.12.1",
|
||||
"rollup-plugin-babel": "4.3.2",
|
||||
"rollup": "1.16.7",
|
||||
"rollup-plugin-babel": "4.3.3",
|
||||
"rollup-plugin-cleanup": "3.1.1",
|
||||
"rollup-plugin-commonjs": "10.0.0",
|
||||
"rollup-plugin-commonjs": "10.0.1",
|
||||
"rollup-plugin-copy": "^3.0.0",
|
||||
"rollup-plugin-json": "4.0.0",
|
||||
"rollup-plugin-node-resolve": "5.0.0",
|
||||
"rollup-plugin-node-resolve": "5.2.0",
|
||||
"rollup-plugin-postcss": "^2.0.3",
|
||||
"rollup-plugin-replace": "2.2.0",
|
||||
"webpack": "4.31.0",
|
||||
"webpack-cli": "3.3.2",
|
||||
|
@ -5,6 +5,7 @@ import babel from "rollup-plugin-babel";
|
||||
import cleanup from "rollup-plugin-cleanup";
|
||||
import replace from "rollup-plugin-replace";
|
||||
import postcss from 'rollup-plugin-postcss';
|
||||
import copy from 'rollup-plugin-copy';
|
||||
import svgrPlugin from "@svgr/rollup";
|
||||
import pkg from "./package.json";
|
||||
|
||||
@ -56,25 +57,16 @@ const configureRollupPlugins = (options = {}) => [
|
||||
}),
|
||||
// To remove comments, trim trailing spaces, compact empty lines,
|
||||
// and normalize line endings
|
||||
cleanup()
|
||||
cleanup()
|
||||
];
|
||||
|
||||
const deps = Object.keys(pkg.dependencies || {});
|
||||
const peerDeps = Object.keys(pkg.peerDependencies || {});
|
||||
const defaultExternal = deps.concat(peerDeps);
|
||||
const defaultExternal = ["stream", ...deps.concat(peerDeps)];
|
||||
|
||||
// We need to define 2 separate configs (`esm` and `cjs`) so that each can be
|
||||
// further customized.
|
||||
const config = [
|
||||
{
|
||||
input: "src/index.js",
|
||||
external: defaultExternal,
|
||||
output: {
|
||||
file: pkg.main,
|
||||
format: "cjs"
|
||||
},
|
||||
plugins: configureRollupPlugins()
|
||||
},
|
||||
{
|
||||
input: "src/index.js",
|
||||
external: defaultExternal,
|
||||
@ -94,6 +86,24 @@ const config = [
|
||||
]
|
||||
}
|
||||
})
|
||||
},
|
||||
{
|
||||
input: "src/index.js",
|
||||
external: defaultExternal,
|
||||
output: {
|
||||
file: pkg.main,
|
||||
format: "cjs"
|
||||
},
|
||||
plugins: [
|
||||
...configureRollupPlugins(),
|
||||
copy({
|
||||
targets: [
|
||||
{ src: 'dist', dest: '../npm-local/asc-web-components' },
|
||||
{ src: 'package.json', dest: '../npm-local/asc-web-components' },
|
||||
{ src: 'README.md', dest: '../npm-local/asc-web-components' },
|
||||
],
|
||||
verbose: true
|
||||
})]
|
||||
}
|
||||
];
|
||||
|
||||
|
8658
web/ASC.Web.Storybook/package-lock.json
generated
8658
web/ASC.Web.Storybook/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,7 +5,7 @@
|
||||
"dependencies": {
|
||||
"@emotion/core": "10.0.14",
|
||||
"@emotion/styled": "10.0.14",
|
||||
"asc-web-components": "file:../ASC.Web.Components/",
|
||||
"asc-web-components": "file:../npm-local/asc-web-components",
|
||||
"bootstrap": "^4.3.1",
|
||||
"lodash": "4.17.11",
|
||||
"lodash-es": "4.17.11",
|
||||
|
Loading…
Reference in New Issue
Block a user