Skip to content

Commit 8b1831d

Browse files
authored
Merge pull request #8 from hyperweb-io/use-makage
use makage
2 parents 31b9119 + 4a987c5 commit 8b1831d

File tree

18 files changed

+2636
-5204
lines changed

18 files changed

+2636
-5204
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"packages/*"
1616
],
1717
"scripts": {
18-
"build": "pnpm -r run build",
18+
"build": "pnpm --filter makage run build && pnpm --filter '!makage' -r run build",
1919
"clean": "pnpm -r run clean",
2020
"test": "pnpm -r run test",
2121
"lint": "pnpm -r run lint",

packages/appstash/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"lint": "eslint . --fix",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31+
"devDependencies": {
32+
"makage": "0.1.3"
33+
},
3134
"keywords": [
3235
"directories",
3336
"config",

packages/create-gen-app/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "esm/index.js",
88
"types": "index.d.ts",
99
"homepage": "https://github.com/hyperweb-io/dev-utils",
10-
"license": "SEE LICENSE IN LICENSE",
10+
"license": "MIT",
1111
"publishConfig": {
1212
"access": "public",
1313
"directory": "dist"
@@ -20,16 +20,19 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"dev": "ts-node dev/index",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
3131
"dependencies": {
3232
"inquirerer": "workspace:*"
3333
},
34+
"devDependencies": {
35+
"makage": "0.1.3"
36+
},
3437
"keywords": []
3538
}

packages/fetch-api-client/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"lint": "eslint . --fix",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
@@ -34,6 +34,7 @@
3434
"isomorphic-fetch": "^3.0.0"
3535
},
3636
"devDependencies": {
37-
"@types/isomorphic-fetch": "^0.0.39"
37+
"@types/isomorphic-fetch": "^0.0.39",
38+
"makage": "0.1.3"
3839
}
3940
}

packages/find-pkg/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"lint": "eslint . --fix",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31+
"devDependencies": {
32+
"makage": "0.1.3"
33+
},
3134
"keywords": []
3235
}

packages/http-errors/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,16 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"lint": "eslint . --fix",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31+
"devDependencies": {
32+
"makage": "0.1.3"
33+
},
3134
"keywords": []
3235
}

packages/inquirerer/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "esm/index.js",
88
"types": "index.d.ts",
99
"homepage": "https://github.com/hyperweb-io/dev-utils",
10-
"license": "SEE LICENSE IN LICENSE",
10+
"license": "MIT",
1111
"publishConfig": {
1212
"access": "public",
1313
"directory": "dist"
@@ -20,10 +20,10 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"dev": "ts-node dev/index",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
@@ -36,6 +36,7 @@
3636
},
3737
"keywords": [],
3838
"devDependencies": {
39-
"@types/minimist": "^1.2.5"
39+
"@types/minimist": "^1.2.5",
40+
"makage": "0.1.3"
4041
}
4142
}

packages/jsonld-tools/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
"jsonld-tools"
2121
],
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
23+
"copy": "makage assets",
2424
"clean": "rimraf dist",
2525
"prepublishOnly": "pnpm run build",
26-
"build": "pnpm run clean && tsc && tsc -p tsconfig.esm.json && pnpm run copy",
26+
"build": "pnpm run clean && makage build-ts && pnpm run copy",
2727
"test": "jest",
2828
"test:watch": "jest --watch",
2929
"test:debug": "node --inspect node_modules/.bin/jest --runInBand"
3030
},
31+
"devDependencies": {
32+
"makage": "0.1.3"
33+
},
3134
"bugs": {
3235
"url": "https://github.com/hyperweb-io/dev-utils/issues"
3336
}

packages/komoji/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@
2020
"url": "https://github.com/hyperweb-io/dev-utils/issues"
2121
},
2222
"scripts": {
23-
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
24-
"clean": "rimraf dist/**",
23+
"copy": "makage assets",
24+
"clean": "rimraf dist",
2525
"prepublishOnly": "npm run build",
26-
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
26+
"build": "npm run clean && makage build-ts && npm run copy",
2727
"lint": "eslint . --fix",
2828
"test": "jest",
2929
"test:watch": "jest --watch"
3030
},
31+
"devDependencies": {
32+
"makage": "0.1.3"
33+
},
3134
"keywords": [
3235
"case",
3336
"camelCase",

packages/makage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"scripts": {
3535
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
36-
"clean": "rimraf dist/**",
36+
"clean": "rimraf dist",
3737
"prepublishOnly": "npm run build",
3838
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
3939
"lint": "eslint . --fix",

0 commit comments

Comments
 (0)