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 14, 2020
1 parent 27b20a7 commit d22d57b
Show file tree
Hide file tree
Showing 25 changed files with 825 additions and 371 deletions.
3 changes: 2 additions & 1 deletion 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": "yarn workspace create-modular-app build && yarn workspace modular-scripts build && yarn workspace esm-dependency-checker build"
},
"devDependencies": {
"@babel/core": "^7.9.6",
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 d22d57b

Please sign in to comment.