Skip to content

Commit d22d57b

Browse files
committed
Split into create-modular-app and modular-scripts packages
Also, generate the widgets map at transpilation time.
1 parent 27b20a7 commit d22d57b

File tree

25 files changed

+825
-371
lines changed

25 files changed

+825
-371
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"scripts": {
1010
"prettier": "prettier --write .",
1111
"lint": "eslint --cache --fix --ext .js,.ts,.tsx --max-warnings 0 .",
12-
"test": "jest"
12+
"test": "jest",
13+
"build": "yarn workspace create-modular-app build && yarn workspace modular-scripts build && yarn workspace esm-dependency-checker build"
1314
},
1415
"devDependencies": {
1516
"@babel/core": "^7.9.6",

packages/cli/src/cli.ts

Lines changed: 0 additions & 347 deletions
This file was deleted.
File renamed without changes.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "create-modular-app",
3+
"version": "0.0.0",
4+
"license": "Apache-2.0",
5+
"bin": {
6+
"create-modular-app": "build/cli.js"
7+
},
8+
"engines": {
9+
"node": ">=10"
10+
},
11+
"scripts": {
12+
"clean": "rimraf build",
13+
"prebuild": "yarn clean",
14+
"build": "babel --root-mode upward src --out-dir build --extensions .ts --ignore *.test.ts"
15+
},
16+
"dependencies": {
17+
"chalk": "^4.1.0",
18+
"execa": "^4.0.2",
19+
"fs-extra": "^9.0.1"
20+
},
21+
"devDependencies": {
22+
"@types/fs-extra": "^5.0.2",
23+
"@types/node": "*",
24+
"rimraf": "^3.0.2"
25+
}
26+
}

0 commit comments

Comments
 (0)