Skip to content

Commit

Permalink
switch to yarn
Browse files Browse the repository at this point in the history
Signed-off-by: Garth <[email protected]>
  • Loading branch information
xgp committed Mar 18, 2024
1 parent 7afcbf7 commit ed5727c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Start the idp-wizard:
```bash
git clone https://github.com/p2-inc/idp-wizard
cd idp-wizard
npm install --legacy-peer-deps && npm run start:dev
yarn install --force && npm run start:dev
```

## License
Expand All @@ -102,5 +102,3 @@ We’ve changed the license of our core extensions from the AGPL v3 to the [Elas
-----

All other documentation, source code and other files in this repository are Copyright 2024 Phase Two, Inc.


6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,16 @@
"license": "MIT",
"private": true,
"scripts": {
"prebuild": "npm run clean",
"dr:surge": "node dr-surge.js",
"build": "webpack --config webpack.prod.js && npm run dr:surge",
"build": "yarn clean && webpack --config webpack.prod.js && yarn dr:surge",
"start": "sirv dist --cors --single --host --port 8080",
"start:dev": "webpack serve --color --progress --config webpack.dev.js",
"test": "jest --watch",
"test:coverage": "jest --coverage",
"eslint": "eslint --ext .tsx,.js ./src/",
"lint": "npm run eslint",
"format": "prettier --check --write ./src/**/*.{tsx,ts}",
"type-check": "tsc --noEmit",
"ci-checks": "npm run type-check && npm run lint && npm run test:coverage",
"build:bundle-profile": "webpack --config webpack.prod.js --profile --json > stats.json",
"bundle-profile:analyze": "npm run build:bundle-profile && webpack-bundle-analyzer ./stats.json",
"clean": "rimraf dist",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook"
Expand Down
21 changes: 9 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,36 +86,33 @@
<version>1.15.0</version>
<executions>
<execution>
<id>setup-node-and-npm</id>
<id>setup-node-and-yarn</id>
<goals>
<goal>install-node-and-npm</goal>
<goal>install-node-and-yarn</goal>
</goals>
<phase>initialize</phase>
</execution>
<execution>
<id>npm-install</id>
<id>yarn-install</id>
<goals>
<goal>npm</goal>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
<phase>initialize</phase>
</execution>
<execution>
<id>npm-build</id>
<id>yarn-build</id>
<goals>
<goal>npm</goal>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>run build</arguments>
<arguments>build</arguments>
</configuration>
<phase>generate-resources</phase>
</execution>
</executions>
<configuration>
<nodeVersion>v16.13.2</nodeVersion>
<npmVersion>8.3.2</npmVersion>
<nodeVersion>v19.1.0</nodeVersion>
<yarnVersion>v1.22.19</yarnVersion>
<workingDirectory>.</workingDirectory>
</configuration>
</plugin>
Expand Down

0 comments on commit ed5727c

Please sign in to comment.