Skip to content

Commit 44c94f7

Browse files
committed
Rename project
1 parent f54d017 commit 44c94f7

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
4747
- name: Test building examples (CJS)
4848
run: |
49-
cd examples/echo-bot-ts
49+
cd examples/echo-bot-ts-cjs
5050
npm run build-sdk
5151
npm install
5252
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-lock.json renamed to examples/echo-bot-ts-cjs/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)