Skip to content

Commit

Permalink
refactor: drop node 14 and cjs
Browse files Browse the repository at this point in the history
BREAKING CHANGE: dropped node 14 and cjs
  • Loading branch information
christophehurpeau committed Nov 15, 2022
1 parent 2b13f38 commit 9a8ca06
Show file tree
Hide file tree
Showing 135 changed files with 219 additions and 3,996 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions lint-staged.config.cjs

This file was deleted.

3 changes: 3 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import createLintStagedConfig from '@pob/root/createLintStagedConfig';

export default createLintStagedConfig();
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
"@pob/eslint-config": "49.4.0",
"@pob/eslint-config-typescript": "49.4.0",
"@pob/lerna-light": "6.0.0",
"@pob/root": "7.0.0",
"@pob/root": "7.1.1",
"@types/jest": "29.2.3",
"@types/node": "18.11.9",
"check-package-dependencies": "3.10.0",
"eslint": "8.27.0",
"jest": "29.3.1",
"pob-babel": "35.0.0",
"pob-babel": "35.2.0",
"typedoc": "0.23.21",
"typescript": "4.8.4"
"typescript": "4.9.3"
}
}
67 changes: 0 additions & 67 deletions packages/nightingale-ansi-formatter/dist/index-browser.cjs.js

This file was deleted.

This file was deleted.

67 changes: 0 additions & 67 deletions packages/nightingale-ansi-formatter/dist/index-node16.cjs

This file was deleted.

This file was deleted.

13 changes: 4 additions & 9 deletions packages/nightingale-ansi-formatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@
"./package.json": "./package.json",
".": {
"node": {
"import": "./dist/index-node16.mjs",
"require": "./dist/index-node16.cjs"
"import": "./dist/index-node16.mjs"
},
"browser": {
"import": "./dist/index-browser.es.js",
"require": "./dist/index-browser.cjs.js"
"import": "./dist/index-browser.es.js"
}
}
},
"module:node": "./dist/index-node16.mjs",
"sideEffects": false,
"scripts": {
"build": "yarn clean:build && rollup --config rollup.config.mjs && yarn run build:definitions",
Expand All @@ -60,14 +57,12 @@
"target": "node",
"version": "16",
"formats": [
"cjs",
"es"
]
},
{
"target": "browser",
"formats": [
"cjs",
"es"
]
}
Expand All @@ -85,7 +80,7 @@
"devDependencies": {
"@babel/core": "7.20.2",
"@babel/preset-env": "7.20.2",
"pob-babel": "35.0.0",
"typescript": "4.8.4"
"pob-babel": "35.2.0",
"typescript": "4.9.3"
}
}
30 changes: 0 additions & 30 deletions packages/nightingale-app-console/dist/index-browser.cjs.js

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions packages/nightingale-app-console/dist/index-node16.cjs

This file was deleted.

Loading

0 comments on commit 9a8ca06

Please sign in to comment.