Skip to content

Commit

Permalink
Split into create-modular-app and modular-scripts packages
Browse files Browse the repository at this point in the history
Also, generate the widgets map at transpilation time.
  • Loading branch information
sebinsua committed Jul 13, 2020
1 parent 27b20a7 commit 8b1326f
Show file tree
Hide file tree
Showing 23 changed files with 808 additions and 364 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"prettier": "prettier --write .",
"lint": "eslint --cache --fix --ext .js,.ts,.tsx --max-warnings 0 .",
"test": "jest"
"test": "jest",
"build": "workspaces-run --ignore eslint-config-modular -- yarn build"
},
"devDependencies": {
"@babel/core": "^7.9.6",
Expand Down Expand Up @@ -41,7 +42,8 @@
"react": "^16.13.1",
"react-dom": "^16.13.1",
"semver": "^7.3.2",
"typescript": "~3.9.3"
"typescript": "~3.9.3",
"workspaces-run": "^1.0.1"
},
"husky": {
"hooks": {
Expand Down
347 changes: 0 additions & 347 deletions packages/cli/src/cli.ts

This file was deleted.

File renamed without changes.
26 changes: 26 additions & 0 deletions packages/create-modular-app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "create-modular-app",
"version": "0.0.0",
"license": "Apache-2.0",
"bin": {
"create-modular-app": "build/cli.js"
},
"engines": {
"node": ">=10"
},
"scripts": {
"clean": "rimraf build",
"prebuild": "yarn clean",
"build": "babel --root-mode upward src --out-dir build --extensions .ts --ignore *.test.ts"
},
"dependencies": {
"chalk": "^4.1.0",
"execa": "^4.0.2",
"fs-extra": "^9.0.1"
},
"devDependencies": {
"@types/fs-extra": "^5.0.2",
"@types/node": "*",
"rimraf": "^3.0.2"
}
}
File renamed without changes.
Loading

0 comments on commit 8b1326f

Please sign in to comment.