Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump rollup from 2.79.1 to 3.1.0 #1736

Merged
merged 3 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .codesandbox/ci.json

This file was deleted.

11 changes: 0 additions & 11 deletions .codesandbox/sandbox/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions .codesandbox/sandbox/index.html

This file was deleted.

26 changes: 0 additions & 26 deletions .codesandbox/sandbox/package.json

This file was deleted.

23 changes: 0 additions & 23 deletions .codesandbox/sandbox/src/index.ts

This file was deleted.

16 changes: 0 additions & 16 deletions .codesandbox/sandbox/tsconfig.json

This file was deleted.

6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ updates:
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "daily"
# Enable version updates for the codesandbox script
- package-ecosystem: "npm"
directory: "/.codesandbox/sandbox"
# Check the npm registry for updates every day (weekdays)
schedule:
interval: "daily"
# Enable version updates for the website tooling
- package-ecosystem: "pip"
# Look for `package.json` and `lock` files in the `root` directory
Expand Down
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.23.3",
"license": "MIT",
"scripts": {
"build": "rollup --config rollup.config.js",
"build": "rollup --config rollup.config.mjs",
"docs:clean": "cd docs/api; make clean-all",
"docs:install": "cd docs/api; pip install -r requirements.txt",
"docs:build": "typedoc && cd docs/api && make html dist",
Expand Down Expand Up @@ -178,7 +178,7 @@
"jest": "^27.0.4",
"prettier": "2.7.1",
"rdf-namespaces": "^1.8.0",
"rollup": "^2.76.0",
"rollup": "^3.1.0",
"rollup-plugin-typescript2": "^0.34.0",
"ts-jest": "^27.0.3",
"typedoc": "^0.23.7",
Expand Down
10 changes: 9 additions & 1 deletion rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import pkg from "./package.json";
// The following is only possible from Node 18 onwards
// import pkg from "./package.json" assert { type: "json" };

// Until we only support Node 18+, this should be used instead
// (see https://rollupjs.org/guide/en/#importing-packagejson)
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const pkg = require('./package.json');

import typescript from "rollup-plugin-typescript2";

export default {
Expand Down