-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rewrite package to esmodules (#2)
* feat: rewrite package to esmodules BREAKING CHANGE: The package won't support CJS anymore.
- Loading branch information
Showing
21 changed files
with
4,392 additions
and
3,259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
{ | ||
"name": "example-app", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "npx dotenv -c '.env' ts-node src/app.ts", | ||
"build": "npx tsc -p tsconfig.json", | ||
"knex": "npx knex --knexpath dist/example-app/src/models/index.js --knexfile dist/example-app/src/knexfile.js", | ||
"migrate:up": "yarn knex migrate:latest" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "^4.17.13", | ||
"@types/node": "^16", | ||
"dotenv": "^16.0.1", | ||
"@types/express": "^4.17.17", | ||
"@types/node": "^18", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.2" | ||
"typescript": "^4.9.5" | ||
}, | ||
"dependencies": { | ||
"@adminjs/express": "^5.0.0", | ||
"adminjs": "^6.1.4", | ||
"@adminjs/express": "^5.1.0", | ||
"adminjs": "^6.8.7", | ||
"ajv-formats": "^2.1.1", | ||
"express": "^4.18.1", | ||
"dotenv": "^16.0.3", | ||
"express": "^4.18.2", | ||
"express-formidable": "^1.2.0", | ||
"express-session": "^1.17.3", | ||
"knex": "^2.2.0", | ||
"knex": "^2.4.2", | ||
"objection": "^3.0.1", | ||
"pg": "^8.8.0", | ||
"tslib": "^2.4.0" | ||
"pg": "^8.10.0", | ||
"tslib": "^2.5.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.