Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,819 changes: 702 additions & 3,117 deletions bun.lock

Large diffs are not rendered by default.

44 changes: 1 addition & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
"url": "https://github.com/metabase/metabase/issues"
},
"scripts": {
"build": "./node_modules/webpack/bin/webpack.js --progress",
"build:watch": "./node_modules/webpack/bin/webpack.js --watch",
"redirects": "node lib/update-redirects",
"latest-docs": "node lib/latest-docs.js",
"lint-scripts": "eslint .",
"lint-scripts-fix": "eslint . --fix",
"lint-styles": "stylelint '**/*.scss' --quiet && stylelint '**/*.css' --quiet",
Expand All @@ -26,9 +22,6 @@
"lint-html": "npx linthtml '**/*.{html,htm}'",
"lint-markups": "bun run lint-markdown && bun run lint-html",
"lint-fix": "lint-scripts-fix && lint-styles-fix && lint-markdown-fix",
"test": "tape spec/*.js | tap-spec",
"test-linter": "jest",
"test-linter:watch": "jest --watch",
"lint-links": "node script/_linter/bin/links.js",
"frontMatter-blog": "node script/_linter/bin/front-matter.js --folder _posts --config script/_linter/config/blog.json",
"frontMatter-glossary": "node script/_linter/bin/front-matter.js --config script/_linter/config/glossary.json --folder _glossary",
Expand All @@ -45,76 +38,41 @@
"jekyll:start": "bun run shared-chrome && bundle exec jekyll serve --config _config.dev.yml --livereload --incremental --port=4321",
"jekyll:clean-start": "bun run jekyll:clean && bun run jekyll:start",
"jekyll:build": "bun run shared-chrome && bundle exec jekyll build --config _config.yml",
"frontend:dev": "webpack --watch --mode=development --stats-error-details",
"frontend:build": "webpack --progress --mode=production",
"cloudflare:remove-heavy-files": "find ./_site -type f -size +25M | xargs rm"
},
"homepage": "https://metabase.com",
"dependencies": {
"animateplus": "^1.3.1",
"babel": "^5.8.23",
"babel-loader": "^8.2.5",
"classnames": "^2.1.5",
"cpr": "^0.4.0",
"es6-promise": "^3.1.2",
"glob": "^5.0.10",
"graceful-fs": "^4.2.10",
"gray-matter": "^4.0.3",
"gunzip-maybe": "^1.1.0",
"isomorphic-fetch": "^2.2.1",
"mkdirp": "^0.5.2",
"nugget": "^1.5.1",
"react": "0.14.*",
"react-addons-update": "^0.14.7",
"react-dom": "^0.14.7",
"react-forms": "^2.0.0-beta1",
"react-geomicons": "^2.0.4",
"react-retina-image": "^1.3.3",
"react-syntax-highlighter": "^15.5.0",
"request": "^2.55.0",
"rimraf": "^2.3.3",
"tar-fs": "^1.5.0",
"through2": "^0.6.5",
"titlecase": "^1.0.2",
"yaml-front-matter": "^3.2.3",
"yamljs": "^0.2.3"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.18.6",
"@html-eslint/eslint-plugin": "^0.13.2",
"@html-eslint/parser": "^0.13.2",
"@linthtml/linthtml": "^0.8.6",
"@linthtml/linthtml-config-recommended": "^0.1.0",
"babel-core": "5.6.*",
"babel-runtime": "^5.8.25",
"chai": "^3.3.0",
"chai-immutable": "^1.3.0",
"eslint": "^8.29.0",
"eslint-plugin-frontmatter": "^0.0.8",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-mdx": "^2.0.0",
"eslint-plugin-react": "^7.30.0",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-link-checker": "^0.1.0",
"jest": "^27.0",
"markdownlint-cli": "^0.33.0",
"mocha": "^2.3.3",
"node-libs-browser": "0.5.2",
"prettier": "^1.18.2",
"react-hot-loader": "^1.2.8",
"semver": "^7.7.2",
"stylelint": "^14.9.0",
"stylelint-config-standard-scss": "^4.0.0",
"stylelint-order": "^5.0.0",
"tap-spec": "^4.0.0",
"tape": "^4.0.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
"stylelint-order": "^5.0.0"
},
"resolutions": {
"graceful-fs": "^4.2.9"
Expand Down
12 changes: 0 additions & 12 deletions script/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,3 @@ npm install
```

This command downloads the node_modules.

## Tests

From the metabase.github.io directory, run:

```
npm run test-linter
```

## Adding checks

Add checks to the `lib/checks` directory. You can add unit tests, and update the linter.test.js test for an end-to-end test.
8 changes: 0 additions & 8 deletions script/_linter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,3 @@ npm install
```

This command downloads the node_modules.

## Tests

From the metabase.github.io directory, run:

```
npm run test-linter
```
29 changes: 0 additions & 29 deletions script/_linter/tests/learn-data.test.js

This file was deleted.

93 changes: 0 additions & 93 deletions script/_linter/tests/redirects.test.js

This file was deleted.

104 changes: 0 additions & 104 deletions script/_linter/tests/sample-dir/cross-filtering.md

This file was deleted.

5 changes: 0 additions & 5 deletions script/_linter/tests/sample-dir/learn-config.json

This file was deleted.

Loading