Skip to content

Commit

Permalink
Merge pull request #13 from iamvishnusankar/development
Browse files Browse the repository at this point in the history
Changed folder structure
  • Loading branch information
iamvishnusankar authored Aug 11, 2020
2 parents c4e0095 + 43c5ac9 commit 819b526
Show file tree
Hide file tree
Showing 25 changed files with 732 additions and 1,247 deletions.
2 changes: 2 additions & 0 deletions packages/next-sitemap/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.js
*.d.ts
3 changes: 1 addition & 2 deletions packages/next-sitemap/.npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src
lib
tsconfig.json
tsconfig.tsbuildinfo
jest.config.js
2 changes: 1 addition & 1 deletion packages/next-sitemap/bin/next-sitemap
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../dist/index.js')
require('../index')
2 changes: 1 addition & 1 deletion packages/next-sitemap/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
testPathIgnorePatterns: ['^.+\\.*.js$'],
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/next-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "next-sitemap",
"version": "1.0.0",
"description": "Sitemap generator for next.js",
"main": "./dist/index.js",
"main": "index.js",
"types": "@types/index.d.ts",
"repository": "https://github.com/iamvishnusankar/next-sitemap.git",
"author": "Vishnu Sankar (@iamvishnusankar)",
"license": "MIT",
Expand Down
13 changes: 6 additions & 7 deletions packages/next-sitemap/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"extends": "@corex/tsconfig",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"noEmit": false,
"module": "CommonJS",
"target": "ESNext",
"esModuleInterop": true
"outDir": ".",
"rootDir": "lib",
"declarationDir": "@types"
},
"include": ["src"]
"include": ["lib"],
"exclude": ["node_modules"]
}
1,954 changes: 719 additions & 1,235 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 819b526

Please sign in to comment.