Skip to content

Commit

Permalink
fix: publish templates and instructions files to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 7, 2021
1 parent f4145a9 commit cdb8023
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"files": [
"build/adonis-typings",
"build/providers",
"build/src"
"build/templates",
"build/src",
"build/instructions.js",
"build/instructions.d.ts",
"build/instructions.md"
],
"types": "build/adonis-typings/index.d.ts",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions templates/i18n.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ const i18nConfig: I18nConfig = {
loaders: {
fs: {
enabled: true,
location: Application.resourcePath('lang'),
}
}
location: Application.resourcesPath('lang'),
},
},
}

export default i18nConfig
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./node_modules/@adonisjs/mrm-preset/_tsconfig",
"compilerOptions": {
"target": "ES2021",
"module": "node12",
"skipLibCheck": true,
"types": ["@types/node", "@adonisjs/core"]
}
Expand Down

0 comments on commit cdb8023

Please sign in to comment.