-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: Update lumos to version 5. * deps: Update lumos. * build: Update to full lumos. * build: Change to packemon and yarn 3. * ci: Update matrix. * ci: Fix danger script. * ci: Change to dangerfile.ts. * fix: Add missing danger config. * ci: Change to require.
- Loading branch information
Showing
34 changed files
with
20,993 additions
and
12,423 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type { LumosConfig } from '@oriflame/lumos'; | ||
|
||
const config: LumosConfig = { | ||
module: '@oriflame/lumos', | ||
drivers: [ | ||
'babel', | ||
'eslint', | ||
'jest', | ||
'prettier', | ||
['typescript', { declarationOnly: true, buildFolder: 'dts' }], | ||
], | ||
settings: { | ||
node: true, | ||
library: true, | ||
env: { | ||
targets: { | ||
node: '12.14', | ||
esmodules: false, | ||
}, | ||
}, | ||
esm: false, | ||
}, | ||
}; | ||
|
||
export default config; |
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,9 @@ | ||
import type { ESLintConfig } from '@oriflame/lumos'; | ||
|
||
const config: ESLintConfig = { | ||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
}, | ||
}; | ||
|
||
export default config; |
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,2 @@ | ||
/.yarn/releases/** binary | ||
/.yarn/plugins/** binary |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.1.1.cjs |
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,3 +1,3 @@ | ||
module.exports = { | ||
extends: ['./packages/conventional-changelog-lint'], | ||
extends: ['@oriflame/conventional-changelog-lint-config'], | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,15 +10,16 @@ | |
"license": "MIT", | ||
"scripts": { | ||
"prepare": "lumos create-config && husky install", | ||
"build": "lumos typescript --build --reference-workspaces", | ||
"build": "packemon build --addEngines --declaration=standard", | ||
"coverage": "yarn run jest --coverage", | ||
"sync-project-refs": "lumos typescript:sync-project-refs", | ||
"lint": "lumos eslint", | ||
"jest": "lumos jest -i", | ||
"prettier": "lumos prettier", | ||
"type": "yarn run build", | ||
"pretest": "yarn run type", | ||
"pretest": "yarn run pack", | ||
"test": "yarn run jest", | ||
"posttest": "yarn run lint", | ||
"pack": "cross-env NODE_ENV=production packemon pack --addEngines --declaration=standard", | ||
"release-alpha": "git reset --hard && lerna publish --canary --force-publish --yes", | ||
"release": "git reset --hard && lumos run-script auto-release", | ||
"link-packages": "lerna exec -- yarn link", | ||
|
@@ -27,35 +28,20 @@ | |
"workspaces": [ | ||
"./packages/*" | ||
], | ||
"lumos": { | ||
"drivers": [ | ||
"babel", | ||
"eslint", | ||
"jest", | ||
"prettier", | ||
"typescript" | ||
], | ||
"settings": { | ||
"node": true, | ||
"library": true | ||
} | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^15.0.0", | ||
"@oriflame/config-babel": "^4.3.0", | ||
"@oriflame/config-danger": "4.3.0", | ||
"@oriflame/config-eslint": "^4.3.0", | ||
"@oriflame/config-jest": "^4.3.0", | ||
"@oriflame/config-prettier": "^4.3.0", | ||
"@oriflame/config-typescript": "^4.3.0", | ||
"@oriflame/lumos": "^4.3.0", | ||
"@types/node": "^16.11.11", | ||
"@types/shelljs": "^0.8.9", | ||
"@commitlint/cli": "^16.0.1", | ||
"@oriflame/config-danger": "^5.0.27", | ||
"@oriflame/lumos": "^5.0.27", | ||
"@types/node": "^17.0.5", | ||
"@types/shelljs": "^0.8.10", | ||
"cross-env": "^7.0.3", | ||
"husky": "^7.0.4", | ||
"lerna": "^4.0.0", | ||
"packemon": "^1.10.0", | ||
"shelljs": "^0.8.4" | ||
}, | ||
"resolutions": { | ||
"caniuse-lite": "^1.0.30001271" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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 |
---|---|---|
|
@@ -3,15 +3,20 @@ | |
"version": "1.1.5", | ||
"description": "Conventional changelog lint config oriflame", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"types": "./dts/index.d.ts", | ||
"repository": { | ||
"url": "https://github.com/Oriflame/conventional-changelog-tools", | ||
"directory": "packages/conventional-changelog-lint" | ||
}, | ||
"author": "Jan Šilhan <[email protected]>", | ||
"license": "MIT", | ||
"files": [ | ||
"lib" | ||
"dts", | ||
"dts/**/*.d.ts", | ||
"lib", | ||
"lib/**/*.{js,map}", | ||
"src", | ||
"src/**/*.{ts,tsx,json}" | ||
], | ||
"keywords": [ | ||
"conventional-changelog", | ||
|
@@ -27,5 +32,14 @@ | |
}, | ||
"peerDependencies": { | ||
"@commitlint/cli": ">=12" | ||
}, | ||
"packemon": { | ||
"format": "lib", | ||
"platform": "node", | ||
"support": "current" | ||
}, | ||
"engines": { | ||
"node": ">=14.16.0", | ||
"npm": ">=6.14.0 || >=7.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"compilerOptions": { | ||
"declarationDir": "dts", | ||
"outDir": "dts", | ||
"rootDir": "src", | ||
"emitDeclarationOnly": true | ||
}, | ||
"exclude": [ | ||
"dts", | ||
"tests" | ||
], | ||
"extends": "../../tsconfig.options.json", | ||
"include": [ | ||
"src/**/*", | ||
"types/**/*", | ||
"../../types/**/*" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../conventional-changelog-types" | ||
} | ||
] | ||
} |
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,21 +1,32 @@ | ||
{ | ||
"name": "@oriflame/conventional-changelog-types", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"types": "./dts/index.d.ts", | ||
"version": "1.0.8", | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=14.16.0", | ||
"npm": ">=6.14.0 || >=7.0.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"lib" | ||
"dts", | ||
"dts/**/*.d.ts", | ||
"lib", | ||
"lib/**/*.{js,map}", | ||
"src", | ||
"src/**/*.{ts,tsx,json}" | ||
], | ||
"repository": { | ||
"url": "https://github.com/Oriflame/conventional-changelog-tools", | ||
"directory": "packages/conventional-changelog-types" | ||
}, | ||
"author": "Jan Silhan", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"packemon": { | ||
"format": "lib", | ||
"platform": "node", | ||
"support": "current" | ||
} | ||
} |
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,19 @@ | ||
{ | ||
"compilerOptions": { | ||
"declarationDir": "dts", | ||
"outDir": "dts", | ||
"rootDir": "src", | ||
"emitDeclarationOnly": true | ||
}, | ||
"exclude": [ | ||
"dts", | ||
"tests" | ||
], | ||
"extends": "../../tsconfig.options.json", | ||
"include": [ | ||
"src/**/*", | ||
"types/**/*", | ||
"../../types/**/*" | ||
], | ||
"references": [] | ||
} |
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.