Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Cleanup and some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 27, 2024
1 parent ebce4bd commit 901fc03
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 2 additions & 0 deletions volto_addon/{{ cookiecutter.addon_name }}/.npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*stylelint*
public-hoist-pattern[]=*cypress*
public-hoist-pattern[]=*process*
public-hoist-pattern[]=*parcel*
7 changes: 1 addition & 6 deletions volto_addon/{{ cookiecutter.addon_name }}/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,20 @@
"description": "{{ cookiecutter.description }}",
"author": "{{ cookiecutter.author }}",
"homepage": "https://github.com/{{ cookiecutter.github_organization }}/{{ cookiecutter.addon_name }}",
"main": "src/index.js",
"license": "MIT",
"keywords": [
"volto-addon",
"volto",
"plone",
"react"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"start": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto start",
"start:prod": "pnpm --filter @plone/volto start:prod",
"build": "pnpm build:deps && VOLTOCONFIG=$(pwd)/volto.config.js pnpm --filter @plone/volto build",
"build:deps": "pnpm --filter @plone/registry --filter @plone/components build",
"i18n": "pnpm --filter addons i18n",
"i18n": "pnpm --filter {{ cookiecutter.npm_package_name }} i18n",
"test": "RAZZLE_JEST_CONFIG=$(pwd)/jest-addon.config.js pnpm --filter @plone/volto test",
"lint": "eslint --max-warnings=0 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'packages/**/src/**/*.{js,jsx,ts,tsx}'",
Expand All @@ -42,7 +38,6 @@
"{{ cookiecutter.npm_package_name }}": "workspace:*"
},
"devDependencies": {
"@plone/scripts": "{{ cookiecutter.__version_plone_scripts }}",
"mrs-developer": "{{ cookiecutter.__version_mrs_developer }}"
},
"packageManager": "pnpm@{{ cookiecutter.__version_pnpm }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"access": "public"
},
"scripts": {
"init:quasar": "missdev --no-config --fetch-https",
"build:deps": "pnpm --filter @plone/registry --filter @plone/components build",
"start": "pnpm build:deps && pnpm --filter @plone/volto start",
"i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
"dry-release": "release-it --dry-run",
"release": "release-it",
Expand All @@ -33,7 +30,6 @@
"@plone/components": "{{ cookiecutter.__version_plone_components }}"
},
"peerDependencies": {
"classnames": "2.2.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-intl": "3.8.0"
Expand Down

0 comments on commit 901fc03

Please sign in to comment.