Skip to content

Commit

Permalink
feat: create bundler bin (#472)
Browse files Browse the repository at this point in the history
Signed-off-by: hxtree <[email protected]>
  • Loading branch information
hxtree authored Oct 28, 2023
1 parent ce56ba6 commit abd07db
Show file tree
Hide file tree
Showing 36 changed files with 181 additions and 152 deletions.
12 changes: 12 additions & 0 deletions platform/create-bundle/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@cats-cradle/create-bundle",
"entries": [
{
"version": "1.0.1",
"tag": "@cats-cradle/create-bundle_v1.0.1",
"date": "Sat, 28 Oct 2023 04:52:47 GMT",
"comments": {
"patch": [
{
"comment": "change ci"
}
]
}
},
{
"version": "1.0.0",
"tag": "@cats-cradle/create-bundle_v1.0.0",
Expand Down
9 changes: 8 additions & 1 deletion platform/create-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @cats-cradle/create-bundle

This log was last generated on Sat, 28 Oct 2023 03:02:33 GMT and should not be manually modified.
This log was last generated on Sat, 28 Oct 2023 04:52:47 GMT and should not be manually modified.

## 1.0.1
Sat, 28 Oct 2023 04:52:47 GMT

### Patches

- change ci

## 1.0.0
Sat, 28 Oct 2023 03:02:33 GMT
Expand Down
3 changes: 3 additions & 0 deletions platform/create-bundle/bin/create-bundle
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node
// dedicated bin file required due to https://github.com/microsoft/rushstack/issues/1100
require('../dist/create-bundle-bin.js');
4 changes: 2 additions & 2 deletions platform/create-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@cats-cradle/create-bundle",
"license": "MIT",
"bin": {
"create-bundle": "./dist/create-bundle-bin.js"
"create-bundle": "bin/create-bundle"
},
"main": "./dist/index.js",
"version": "1.0.0",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/hxtree/cats-cradle.git"
Expand Down
15 changes: 3 additions & 12 deletions services/admin-client/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --esm --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --esm --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/", "pages/", "components/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
12 changes: 12 additions & 0 deletions services/authentication-service/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@cats-cradle/authentication-service",
"entries": [
{
"version": "1.0.5",
"tag": "@cats-cradle/authentication-service_v1.0.5",
"date": "Sat, 28 Oct 2023 04:52:47 GMT",
"comments": {
"patch": [
{
"comment": "change ci"
}
]
}
},
{
"version": "1.0.4",
"tag": "@cats-cradle/authentication-service_v1.0.4",
Expand Down
9 changes: 8 additions & 1 deletion services/authentication-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @cats-cradle/authentication-service

This log was last generated on Sat, 14 Oct 2023 22:49:51 GMT and should not be manually modified.
This log was last generated on Sat, 28 Oct 2023 04:52:47 GMT and should not be manually modified.

## 1.0.5
Sat, 28 Oct 2023 04:52:47 GMT

### Patches

- change ci

## 1.0.4
Sat, 14 Oct 2023 22:49:51 GMT
Expand Down
15 changes: 3 additions & 12 deletions services/authentication-service/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
5 changes: 3 additions & 2 deletions services/authentication-service/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cats-cradle/authentication-service",
"module": "commonjs",
"version": "1.0.4",
"version": "1.0.5",
"scripts": {
"dev": "nest start --debug --watch",
"build": "tsc",
Expand All @@ -18,7 +18,8 @@
"cdk:diff": "cdk diff",
"cdk:synth": "cdk synth",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:deploy": "create-bundle && cdk deploy",
"cdk:deploy": "cdk deploy",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck",
"typecheck": "tsc --noEmit"
Expand Down
15 changes: 3 additions & 12 deletions services/billing-system/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
1 change: 1 addition & 0 deletions services/billing-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"cdk:diff": "cdk diff",
"cdk:deploy": "cdk deploy",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck"
},
Expand Down
15 changes: 3 additions & 12 deletions services/character-sheet/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
3 changes: 2 additions & 1 deletion services/character-sheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"cdk:diff": "cdk diff",
"cdk:synth": "cdk synth",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:deploy": "create-bundle && cdk deploy",
"cdk:deploy": "cdk deploy",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck",
"typecheck": "tsc --noEmit"
Expand Down
12 changes: 12 additions & 0 deletions services/design-system/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@cats-cradle/design-system",
"entries": [
{
"version": "0.3.4",
"tag": "@cats-cradle/design-system_v0.3.4",
"date": "Sat, 28 Oct 2023 04:52:47 GMT",
"comments": {
"patch": [
{
"comment": "change ci"
}
]
}
},
{
"version": "0.3.3",
"tag": "@cats-cradle/design-system_v0.3.3",
Expand Down
9 changes: 8 additions & 1 deletion services/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @cats-cradle/design-system

This log was last generated on Wed, 04 Oct 2023 03:44:49 GMT and should not be manually modified.
This log was last generated on Sat, 28 Oct 2023 04:52:47 GMT and should not be manually modified.

## 0.3.4
Sat, 28 Oct 2023 04:52:47 GMT

### Patches

- change ci

## 0.3.3
Wed, 04 Oct 2023 03:44:49 GMT
Expand Down
15 changes: 3 additions & 12 deletions services/design-system/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts --esm bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts --esm bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/", "pages/", "components/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
3 changes: 2 additions & 1 deletion services/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cats-cradle/design-system",
"version": "0.3.3",
"version": "0.3.4",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -28,6 +28,7 @@
"cdk:synth": "cdk synth",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:deploy": "storybook build && cdk deploy",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck"
},
Expand Down
12 changes: 12 additions & 0 deletions services/email-service/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@cats-cradle/email-service",
"entries": [
{
"version": "0.0.12",
"tag": "@cats-cradle/email-service_v0.0.12",
"date": "Sat, 28 Oct 2023 04:52:47 GMT",
"comments": {
"patch": [
{
"comment": "change ci"
}
]
}
},
{
"version": "0.0.11",
"tag": "@cats-cradle/email-service_v0.0.11",
Expand Down
9 changes: 8 additions & 1 deletion services/email-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @cats-cradle/email-service

This log was last generated on Sun, 22 Oct 2023 15:17:07 GMT and should not be manually modified.
This log was last generated on Sat, 28 Oct 2023 04:52:47 GMT and should not be manually modified.

## 0.0.12
Sat, 28 Oct 2023 04:52:47 GMT

### Patches

- change ci

## 0.0.11
Sun, 22 Oct 2023 15:17:07 GMT
Expand Down
15 changes: 3 additions & 12 deletions services/email-service/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
3 changes: 2 additions & 1 deletion services/email-service/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cats-cradle/email-service",
"module": "commonjs",
"version": "0.0.11",
"version": "0.0.12",
"scripts": {
"dev": "nest start --debug --watch",
"build": "tsc",
Expand All @@ -19,6 +19,7 @@
"cdk:synth": "cdk synth",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:deploy": "cdk deploy",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck"
},
Expand Down
15 changes: 3 additions & 12 deletions services/graphql/cdk.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"app": "npx ts-node --prefer-ts-exts bin/app.ts",
"app": "create-bundle && npx ts-node --prefer-ts-exts bin/app.ts",
"watch": {
"include": ["dist/"],
"exclude": [
"README.md",
"cdk*.json",
"**/*.d.ts",
"**/*.js",
"tsconfig.json",
"package*.json",
"node_modules",
"__tests__"
]
"include": ["src/", "stacks/"],
"exclude": ["__tests__", "*.test.ts", "*.e2e-spec.ts"]
},
"context": {
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": true,
Expand Down
1 change: 1 addition & 0 deletions services/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"cdk:diff": "cdk diff",
"cdk:deploy": "cdk deploy",
"cdk:hotswap": "cdk deploy --hotswap",
"cdk:watch": "cdk watch",
"cdk:destroy": "cdk destroy",
"depcheck": "npx depcheck"
},
Expand Down
12 changes: 12 additions & 0 deletions services/html-to-pdf/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@cats-cradle/html-to-pdf",
"entries": [
{
"version": "1.0.6",
"tag": "@cats-cradle/html-to-pdf_v1.0.6",
"date": "Sat, 28 Oct 2023 04:52:47 GMT",
"comments": {
"patch": [
{
"comment": "change ci"
}
]
}
},
{
"version": "1.0.5",
"tag": "@cats-cradle/html-to-pdf_v1.0.5",
Expand Down
Loading

0 comments on commit abd07db

Please sign in to comment.