Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FND committed Nov 9, 2023
1 parent 59b27cc commit f221208
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Contributing
Release Process
---------------

1. ensure dependencies are up to date (→ `./bin/update-pkg`)
1. ensure dependencies are up to date (→ `./bin/update-pkg`, then `npm install`)
2. ensure all meta-packages use the same version number (i.e.
`pkg/*/package.json`, both WRT `version` field and faucet-js `dependencies`)
3. `./bin/release`, skipping dependencies' installation (due to meta-packages;
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faucet-pipeline-js",
"version": "3.0.0",
"version": "3.0.1",
"description": "JavaScript module bundling for faucet-pipeline",
"author": "FND",
"contributors": [
Expand All @@ -26,10 +26,10 @@
"node": ">=14"
},
"dependencies": {
"@rollup/plugin-commonjs": "~24.0.0",
"@rollup/plugin-node-resolve": "~15.0.1",
"@rollup/plugin-commonjs": "~25.0.7",
"@rollup/plugin-node-resolve": "~15.2.3",
"faucet-pipeline-core": "^2.0.0",
"rollup": "^3.10.0",
"rollup": "^4.3.0",
"rollup-plugin-cleanup": "~3.2.1"
},
"devDependencies": {
Expand All @@ -38,7 +38,7 @@
"faucet-pipeline-jsmin": "file:pkg/faucet-pipeline-jsmin",
"faucet-pipeline-jsx": "file:pkg/faucet-pipeline-jsx",
"faucet-pipeline-typescript": "file:pkg/faucet-pipeline-typescript",
"json-diff": "^1.0.0",
"json-diff": "^1.0.6",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"release-util-fnd": "^3.0.0"
Expand Down
10 changes: 5 additions & 5 deletions pkg/faucet-pipeline-esnext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faucet-pipeline-esnext",
"version": "3.0.0",
"version": "3.0.1",
"description": "ES6 and beyond for faucet-pipeline",
"author": "FND",
"license": "Apache-2.0",
Expand All @@ -13,9 +13,9 @@
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
},
"dependencies": {
"@babel/core": "~7.20.12",
"@babel/preset-env": "~7.20.2",
"@rollup/plugin-babel": "~6.0.3",
"faucet-pipeline-js": "3.0.0"
"@babel/core": "~7.23.3",
"@babel/preset-env": "~7.23.3",
"@rollup/plugin-babel": "~6.0.4",
"faucet-pipeline-js": "3.0.1"
}
}
4 changes: 2 additions & 2 deletions pkg/faucet-pipeline-jsmin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faucet-pipeline-jsmin",
"version": "3.0.0",
"version": "3.0.1",
"description": "JavaScript minification for faucet-pipeline",
"author": "FND",
"license": "Apache-2.0",
Expand All @@ -13,6 +13,6 @@
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
},
"dependencies": {
"@rollup/plugin-terser": "^0.3.0"
"@rollup/plugin-terser": "^0.4.4"
}
}
6 changes: 3 additions & 3 deletions pkg/faucet-pipeline-jsx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faucet-pipeline-jsx",
"version": "3.0.0",
"version": "3.0.1",
"description": "JSX for faucet-pipeline",
"author": "FND",
"license": "Apache-2.0",
Expand All @@ -13,7 +13,7 @@
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "~7.20.7",
"faucet-pipeline-esnext": "3.0.0"
"@babel/plugin-transform-react-jsx": "~7.22.15",
"faucet-pipeline-esnext": "3.0.1"
}
}
10 changes: 5 additions & 5 deletions pkg/faucet-pipeline-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faucet-pipeline-typescript",
"version": "3.0.0",
"version": "3.0.1",
"description": "TypeScript for faucet-pipeline",
"author": "FND",
"contributors": [
Expand All @@ -16,9 +16,9 @@
"url": "https://github.com/faucet-pipeline/faucet-pipeline-js/issues"
},
"dependencies": {
"@rollup/plugin-typescript": "~11.0.0",
"faucet-pipeline-js": "3.0.0",
"tslib": "~2.4.1",
"typescript": "~4.9.4"
"@rollup/plugin-typescript": "~11.1.5",
"faucet-pipeline-js": "3.0.1",
"tslib": "~2.6.2",
"typescript": "~5.2.2"
}
}
19 changes: 11 additions & 8 deletions test/unit/test_bundling.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ console.log("[\\u2026] ".concat(util)); // eslint-disable-line no-console
filepath: path.resolve(FIXTURES_DIR, "./dist/bundle.js"),
/* eslint-disable max-len */
content: makeBundle(`
var distExports = {};
var dist = {
get exports(){ return distExports; },
set exports(v){ distExports = v; },
};
function getDefaultExportFromCjs (x) {
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
}
var dist = {exports: {}};
/* eslint-disable */
Expand All @@ -110,13 +110,16 @@ var dist = {
module.exports = MYLIB;
}
}());
}());$$$WHITESPACE$$$
} (dist));
var MYLIB = distExports;
var distExports = dist.exports;
var MYLIB = /*@__PURE__*/getDefaultExportFromCjs(distExports);
console.log("[\\u2026] ".concat(MYLIB)); // eslint-disable-line no-console
`)
`).
// fugly workaround for trailing whitespace being generated
replace("$$$WHITESPACE$$$", " ")
/* eslint-enable max-len */
}]);
});
Expand Down

0 comments on commit f221208

Please sign in to comment.