Skip to content

Commit 1c4b948

Browse files
committed
Rename project
1 parent 8a6a8a5 commit 1c4b948

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
4949
- name: Test building examples (CJS)
5050
run: |
51-
cd examples/echo-bot-ts
51+
cd examples/echo-bot-ts-cjs
5252
npm run build-sdk
5353
npm install
5454
npm run build
File renamed without changes.

examples/echo-bot-ts/README.md renamed to examples/echo-bot-ts-cjs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LINE Echo Bot with TypeScript
1+
# LINE Echo Bot with TypeScript (CJS)
22

33
An example LINE bot to echo message with TypeScript. The bot is coded according to TypeScript's best practices.
44

File renamed without changes.
File renamed without changes.

examples/echo-bot-ts/package.json renamed to examples/echo-bot-ts-cjs/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "echo-bot-ts",
2+
"name": "echo-bot-ts-cjs",
33
"version": "0.0.0",
44
"description": "An example LINE bot with TypeScript made to echo messages",
55
"main": "./dist/index.js",
@@ -9,7 +9,6 @@
99
"build-sdk": "cd ../../; npm i; npm run build",
1010
"start": "node dist/index.js"
1111
},
12-
"author": "Nicholas Dwiarto <[email protected]> (https://nicholasdw.com)",
1312
"dependencies": {
1413
"@line/bot-sdk": "../../",
1514
"express": "^4.18.2"
File renamed without changes.

tsconfig.cjs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"outDir": "./dist/cjs",
55
"sourceMap": true,
66
"declarationMap": true,
7-
"declaration": true
7+
"declaration": true,
8+
"rootDirs": ["lib"]
89
},
910
"include": [
1011
"lib/**/*.ts",

0 commit comments

Comments
 (0)