Skip to content

Commit

Permalink
Merge pull request #153 from Shopify/manifest-v3-speedscope
Browse files Browse the repository at this point in the history
Manifest v3 + Moving to speedscope
  • Loading branch information
madmath authored Jan 22, 2025
2 parents 904857f + 6455921 commit 076fd60
Show file tree
Hide file tree
Showing 55 changed files with 3,838 additions and 7,373 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ shared:
matrix:
include:
- <<: *node_container
name: 'Node - build, type-check, and test'
name: 'Node - build, type-check'
script:
- yarn build
- yarn test
- <<: *node_container
name: 'Node - lint'
script:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## v3.0.0 (Jan. 17, 2025)
* [#153](https://github.com/Shopify/shopify-theme-inspector/pull/153) Add support for Manifest v3 and Speedscope

## v2.0.7 (June 6, 2024)
* [#149](https://github.com/Shopify/shopify-theme-inspector/pull/149) Ignore empty partials coming from dynamic sources

Expand Down
39 changes: 39 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
const shopify = require('@shopify/eslint-plugin');
const parser = require('@typescript-eslint/parser');

module.exports = [
{
ignores: [
'**/dist/**',
'**/node_modules/**',
],
},
{
files: ['**/*.{ts,tsx}'],
languageOptions: {
parser: parser,
parserOptions: {
project: './tsconfig.json',
ecmaVersion: 2022,
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
}
},
plugins: {
shopify: shopify,
},
rules: {
'import/extensions': 'off',
'jsx-a11y/control-has-associated-label': 'off',
'node/no-extraneous-require': 'off',
'import/no-cycle': 'off',
'callback-return': 'off',
'import/named': 'off',
'func-style': 'off',
'shopify/jsx-no-hardcoded-content': 'off',
'shopify/restrict-full-import': ['error', 'lodash'],
},
},
];
15 changes: 0 additions & 15 deletions jest-puppeteer.config.js

This file was deleted.

11 changes: 0 additions & 11 deletions jest.config.js

This file was deleted.

61 changes: 19 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"main": "src/background.ts",
"scripts": {
"lint": "eslint '**/*.{ts,tsx}'",
"test": "jest",
"test:watch": "jest --watch",
"build": "webpack --config webpack.prod.js",
"start": "webpack --config webpack.dev.js",
"zip": "yarn build && cd dist && zip -r -X ../shopify_devtools.zip ."
Expand All @@ -25,50 +23,29 @@
},
"homepage": "https://github.com/Shopify/shopify-devtools#readme",
"dependencies": {
"@types/d3": "^5.16.4",
"@types/jsdom": "^12.2.4",
"@types/chrome": "^0.0.297",
"auth0-chrome": "^0.1.2",
"autobind-decorator": "^2.4.0",
"buffer": "^6.0.3",
"copy-webpack-plugin": "^8.1.1",
"crypto-browserify": "^3.12.0",
"d3": "^5.16.0",
"d3-flame-graph": "^2.2.2",
"jsdom": "^15.2.1",
"lodash.debounce": "^4.0.8",
"lodash.escape": "^4.0.1",
"nullthrows": "^1.1.1",
"stream-browserify": "^3.0.0"
"buffer": "^6.0.3"
},
"devDependencies": {
"@types/chrome": "^0.0.91",
"@types/jest": "^24.9.1",
"@types/jest-environment-puppeteer": "^4.4.1",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.escape": "^4.0.6",
"@types/puppeteer": "^1.20.7",
"clean-webpack-plugin": "^3.0.0",
"@babel/core": "^7.x.x",
"@babel/eslint-parser": "^7.x.x",
"@shopify/eslint-plugin": "^46.0.0",
"@typescript-eslint/parser": "^8.20.0",
"clean-webpack-plugin": "^4.0.0",
"closure-webpack-plugin": "^2.5.0",
"css-loader": "^3.6.0",
"eslint": "^6.8.0",
"eslint-plugin-shopify": "^30.0.1",
"google-closure-compiler": "^20210406.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^8.56.0",
"google-closure-compiler": "^20240317.0.0",
"html-webpack-inline-svg-plugin": "^2.3.0",
"html-webpack-plugin": "^5.3.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"jest-fetch-mock": "^2.1.2",
"jest-puppeteer": "^5.0.2",
"mini-css-extract-plugin": "^1.5.0",
"prettier": "^1.19.1",
"puppeteer": "^9.0.0",
"sinon-chrome": "^3.0.1",
"style-loader": "^1.3.0",
"ts-jest": "^24.3.0",
"ts-loader": "^6.2.2",
"typescript": "^3.9.9",
"webpack": "^5.35.1",
"webpack-cli": "^4.6.0",
"webpack-merge": "^4.2.2"
"html-webpack-plugin": "^5.6.3",
"mini-css-extract-plugin": "^2.9.2",
"prettier": "^3.4.2",
"ts-loader": "^9.5.2",
"typescript": "^5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-merge": "^6.0.1"
}
}
Loading

0 comments on commit 076fd60

Please sign in to comment.