Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

monorepo-react-template

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monorepo-react-template - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

config/custom.webpack.config.js

5

package.json

@@ -5,3 +5,3 @@ {

"name": "monorepo-react-template",
"version": "0.0.5",
"version": "0.0.6",
"description": "This repository is a Monorepo sample based on Lerna that creates a modern build system for managing and publishing multiple packages.",

@@ -27,3 +27,4 @@ "repository": {

"scripts": {
"cra:init": "node custom.webpack.config.js"
"cra:init": "node config/custom.webpack.config.js",
"grpc:init": "node config/grpc.config.js"
},

@@ -30,0 +31,0 @@ "devDependencies": {

6

README_CN.md

@@ -26,5 +26,7 @@ # Monorepo React Template

├── nx.json
├── custom.webpack.config.js ---------------- (设置 `react-scripts` 命令的 webpack 配置)
├── package.json
├── package-lock.json
├── config/
│ └── custom.webpack.config.js ------------ (设置 `react-scripts` 命令的 webpack 配置)
│ └── grpc.config.js ---------------------- (复制 `ts-protoc-gen` 包的文件,为了在 Lerna 环境下独立开发包无法生成 proto 文件)
├── packages/

@@ -71,2 +73,3 @@ │ ├── front-end/ ------------------------- (基于nextjs, 应该进入此目录单独编译它)

$ npm run cra:init
$ npm run grpc:init
$ npx lerna run build

@@ -79,2 +82,3 @@ ```

$ npm run cra:init
$ npm run grpc:init
$ npx lerna run build --scope=plugin-1 --scope=plugin-2 --scope=plugin-component

@@ -81,0 +85,0 @@ ```

@@ -26,5 +26,7 @@ # Monorepo React Template

├── nx.json
├── custom.webpack.config.js ---------------- (set webpack config for `react-scripts`)
├── package.json
├── package-lock.json
├── config/
│ └── custom.webpack.config.js ------------ (set webpack config for `react-scripts`)
│ └── grpc.config.js ---------------------- (copy files of `ts-protoc-gen` package. To generate proto files for the independent development package in Lerna.)
├── packages/

@@ -71,2 +73,3 @@ │ ├── front-end/ ------------------------- (based on nextjs, should enter this directory to compile it separately)

$ npm run cra:init
$ npm run grpc:init
$ npx lerna run build

@@ -79,2 +82,3 @@ ```

$ npm run cra:init
$ npm run grpc:init
$ npx lerna run build --scope=plugin-1 --scope=plugin-2 --scope=plugin-component

@@ -81,0 +85,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc