Skip to content

Commit

Permalink
feat: remove terser, push human readable javascript to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mason committed Oct 15, 2024
1 parent b7e524a commit 48709b4
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 63 deletions.
1 change: 0 additions & 1 deletion packages/recast-navigation-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/three": "^0.169.0",
"babel-loader": "^9.1.3",
Expand Down
2 changes: 0 additions & 2 deletions packages/recast-navigation-core/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import path from 'path';
import filesize from 'rollup-plugin-filesize';
Expand Down Expand Up @@ -35,7 +34,6 @@ export default [
},
],
plugins: [
terser(),
resolve(),
commonjs(),
typescript({
Expand Down
1 change: 0 additions & 1 deletion packages/recast-navigation-generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.6",
"eslint": "^9.6.0",
"prettier": "^3.1.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/recast-navigation-generators/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import path from 'path';
import filesize from 'rollup-plugin-filesize';
Expand Down Expand Up @@ -35,7 +34,6 @@ export default [
},
],
plugins: [
terser(),
resolve(),
commonjs(),
typescript({
Expand Down
1 change: 0 additions & 1 deletion packages/recast-navigation-playcanvas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.6",
"eslint": "^9.6.0",
"playcanvas": "^2.0.0",
Expand Down
2 changes: 0 additions & 2 deletions packages/recast-navigation-playcanvas/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import path from 'path';
import filesize from 'rollup-plugin-filesize';
Expand Down Expand Up @@ -39,7 +38,6 @@ export default [
},
],
plugins: [
terser(),
resolve(),
commonjs(),
typescript({
Expand Down
1 change: 0 additions & 1 deletion packages/recast-navigation-three/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/three": "^0.169.0",
"eslint": "^9.6.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/recast-navigation-three/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import path from 'path';
import filesize from 'rollup-plugin-filesize';
Expand Down Expand Up @@ -31,6 +30,7 @@ export default [
'@recast-navigation/core',
'@recast-navigation/generators',
'three',
'three/addons',
],
output: [
{
Expand All @@ -39,7 +39,6 @@ export default [
},
],
plugins: [
terser(),
resolve(),
commonjs(),
typescript({
Expand Down
1 change: 0 additions & 1 deletion packages/recast-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.6",
"@storybook/addon-actions": "^8.0.9",
"@storybook/addon-essentials": "^8.0.9",
Expand Down
2 changes: 0 additions & 2 deletions packages/recast-navigation/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import path from 'path';
import filesize from 'rollup-plugin-filesize';
Expand All @@ -25,7 +24,6 @@ const babelOptions = {
};

const plugins = [
terser(),
resolve(),
commonjs(),
typescript({
Expand Down
50 changes: 2 additions & 48 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3969,7 +3969,6 @@ __metadata:
"@rollup/plugin-babel": "npm:^6.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
"@rollup/plugin-terser": "npm:^0.4.3"
"@rollup/plugin-typescript": "npm:^11.1.6"
"@types/three": "npm:^0.169.0"
babel-loader: "npm:^9.1.3"
Expand All @@ -3995,7 +3994,6 @@ __metadata:
"@rollup/plugin-babel": "npm:^6.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
"@rollup/plugin-terser": "npm:^0.4.3"
"@rollup/plugin-typescript": "npm:^11.1.6"
eslint: "npm:^9.6.0"
prettier: "npm:^3.1.0"
Expand All @@ -4019,7 +4017,6 @@ __metadata:
"@rollup/plugin-babel": "npm:^6.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
"@rollup/plugin-terser": "npm:^0.4.3"
"@rollup/plugin-typescript": "npm:^11.1.6"
eslint: "npm:^9.6.0"
playcanvas: "npm:^2.0.0"
Expand All @@ -4046,7 +4043,6 @@ __metadata:
"@rollup/plugin-babel": "npm:^6.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
"@rollup/plugin-terser": "npm:^0.4.3"
"@rollup/plugin-typescript": "npm:^11.1.6"
"@types/three": "npm:^0.169.0"
eslint: "npm:^9.6.0"
Expand Down Expand Up @@ -4133,22 +4129,6 @@ __metadata:
languageName: node
linkType: hard

"@rollup/plugin-terser@npm:^0.4.3":
version: 0.4.4
resolution: "@rollup/plugin-terser@npm:0.4.4"
dependencies:
serialize-javascript: "npm:^6.0.1"
smob: "npm:^1.0.0"
terser: "npm:^5.17.4"
peerDependencies:
rollup: ^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: 10/a5e066ddea55fc8c32188bc8b484cca619713516f10e3a06801881ec98bf37459ca24e5fe8711f93a5fa7f26a6e9132a47bc1a61c01e0b513dfd79a96cdc6eb7
languageName: node
linkType: hard

"@rollup/plugin-typescript@npm:^11.1.6":
version: 11.1.6
resolution: "@rollup/plugin-typescript@npm:11.1.6"
Expand Down Expand Up @@ -13270,15 +13250,6 @@ __metadata:
languageName: node
linkType: hard

"randombytes@npm:^2.1.0":
version: 2.1.0
resolution: "randombytes@npm:2.1.0"
dependencies:
safe-buffer: "npm:^5.1.0"
checksum: 10/4efd1ad3d88db77c2d16588dc54c2b52fd2461e70fe5724611f38d283857094fe09040fa2c9776366803c3152cf133171b452ef717592b65631ce5dc3a2bdafc
languageName: node
linkType: hard

"range-parser@npm:~1.2.1":
version: 1.2.1
resolution: "range-parser@npm:1.2.1"
Expand Down Expand Up @@ -13577,7 +13548,6 @@ __metadata:
"@rollup/plugin-babel": "npm:^6.0.4"
"@rollup/plugin-commonjs": "npm:^25.0.7"
"@rollup/plugin-node-resolve": "npm:^15.0.1"
"@rollup/plugin-terser": "npm:^0.4.3"
"@rollup/plugin-typescript": "npm:^11.1.6"
"@storybook/addon-actions": "npm:^8.0.9"
"@storybook/addon-essentials": "npm:^8.0.9"
Expand Down Expand Up @@ -13977,7 +13947,7 @@ __metadata:
languageName: node
linkType: hard

"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0":
"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
checksum: 10/32872cd0ff68a3ddade7a7617b8f4c2ae8764d8b7d884c651b74457967a9e0e886267d3ecc781220629c44a865167b61c375d2da6c720c840ecd73f45d5d9451
Expand Down Expand Up @@ -14091,15 +14061,6 @@ __metadata:
languageName: node
linkType: hard

"serialize-javascript@npm:^6.0.1":
version: 6.0.2
resolution: "serialize-javascript@npm:6.0.2"
dependencies:
randombytes: "npm:^2.1.0"
checksum: 10/445a420a6fa2eaee4b70cbd884d538e259ab278200a2ededd73253ada17d5d48e91fb1f4cd224a236ab62ea7ba0a70c6af29fc93b4f3d3078bf7da1c031fde58
languageName: node
linkType: hard

"serve-static@npm:1.16.2":
version: 1.16.2
resolution: "serve-static@npm:1.16.2"
Expand Down Expand Up @@ -14291,13 +14252,6 @@ __metadata:
languageName: node
linkType: hard

"smob@npm:^1.0.0":
version: 1.5.0
resolution: "smob@npm:1.5.0"
checksum: 10/a1ea453bcea89989062626ea30a1fcb42c62e96255619c8641ffa1d7ab42baf415975c67c718127036901b9e487d8bf4c46219e50cec54295412c1227700b8fe
languageName: node
linkType: hard

"socks-proxy-agent@npm:^7.0.0":
version: 7.0.0
resolution: "socks-proxy-agent@npm:7.0.0"
Expand Down Expand Up @@ -14796,7 +14750,7 @@ __metadata:
languageName: node
linkType: hard

"terser@npm:^5.10.0, terser@npm:^5.17.4, terser@npm:^5.6.0":
"terser@npm:^5.10.0, terser@npm:^5.6.0":
version: 5.34.0
resolution: "terser@npm:5.34.0"
dependencies:
Expand Down

0 comments on commit 48709b4

Please sign in to comment.