mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
* docs/clean: formally deprecate `rollupCommonJSResolveHack`
- this has had no effect since 6fb0e75f5328666dca8ff7b11bc956096351a3eb, released in 0.30.0
- that changed the code to always return OS native paths via the NodeJS Path API
- so setting `rollupCommonJSResolveHack` would make no difference either `true` or `false`
- effectively, it's as if it's always `true` now
- formally state now that this is deprecated in the docs
- as well as when that occurred and what it means
- also add a warning in `options` similar to the existing one for `objectHashIgnoreUnknownHack`
- remove the `resolve` dependency as well
- it turns out something in the devDeps still uses it, so it didn't get fully removed in the `package-lock.json`
- `resolve` was never needed anyway as we could've used NodeJS's native `path.resolve` or `require.resolve` instead
- `resolve` was created for `browserify` after all, where one can't use NodeJS APIs
- but we run on NodeJS and can and already do use NodeJS APIs, including both `path.resolve` _and_ `require.resolve`
- I actually started this commit just to remove the dep, then realized the entire code path is obsolete
* fix lint error -- resolved can now be const
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "rollup-plugin-typescript2",
|
|
"version": "0.32.2",
|
|
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",
|
|
"main": "dist/rollup-plugin-typescript2.cjs.js",
|
|
"module": "dist/rollup-plugin-typescript2.es.js",
|
|
"jsnext:main": "dist/rollup-plugin-typescript2.es.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [
|
|
"rollup-plugin-typescript2",
|
|
"rollup-plugin-typescript",
|
|
"rollup-plugin",
|
|
"typescript",
|
|
"es2015",
|
|
"rollup",
|
|
"npm"
|
|
],
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/ezolenko/rollup-plugin-typescript2",
|
|
"author": "@ezolenko",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist/*",
|
|
"build": "rimraf dist/* && rollup -c",
|
|
"watch": "rollup -c rollup.config.self.js -w ",
|
|
"build-self": "rimraf dist/* && rollup -c rollup.config.self.js",
|
|
"lint": "tslint -c ./tslint.json src/*.ts __tests__/*.ts ./*.js",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@rollup/pluginutils": "^4.1.2",
|
|
"find-cache-dir": "^3.3.2",
|
|
"fs-extra": "^10.0.0",
|
|
"tslib": "^2.4.0"
|
|
},
|
|
"peerDependencies": {
|
|
"rollup": ">=1.26.3",
|
|
"typescript": ">=2.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^28.0.3",
|
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
"@rollup/plugin-node-resolve": "13.2.1",
|
|
"@types/find-cache-dir": "^2.0.0",
|
|
"@types/fs-extra": "8.0.1",
|
|
"@types/graphlib": "2.1.7",
|
|
"@types/jest": "^27.5.0",
|
|
"@types/lodash": "4.14.161",
|
|
"@types/node": "8.0.47",
|
|
"@types/object-hash": "1.3.3",
|
|
"@types/resolve": "1.17.1",
|
|
"@types/semver": "7.1.0",
|
|
"colors": "1.4.0",
|
|
"graphlib": "2.1.8",
|
|
"jest": "^28.0.0",
|
|
"lodash": "4.17.21",
|
|
"object-hash": "3.0.0",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "^2.70.2",
|
|
"rollup-plugin-re": "1.0.7",
|
|
"rollup-plugin-typescript2": "0.32.1",
|
|
"ts-jest": "^28.0.0",
|
|
"tslint": "6.1.3",
|
|
"typescript": "^4.6.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ezolenko/rollup-plugin-typescript2.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ezolenko/rollup-plugin-typescript2/issues"
|
|
}
|
|
}
|