From 30844310aa0fed0235997784fced937979e4fda9 Mon Sep 17 00:00:00 2001 From: Marius Tobiassen Bungum Date: Mon, 1 Jul 2024 14:46:50 +0200 Subject: [PATCH] :recycle: Name change --- .github/workflows/npm_publish.yaml | 2 +- README.md | 4 ++-- package.json | 4 ++-- radixconfig.yaml | 2 +- tooling/build-and-use.mjs | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/npm_publish.yaml b/.github/workflows/npm_publish.yaml index a1aeaa0..26d074e 100644 --- a/.github/workflows/npm_publish.yaml +++ b/.github/workflows/npm_publish.yaml @@ -20,7 +20,7 @@ jobs: run: npm run test:ci - name: Build Components - run: npm run build-components:ci + run: npm run build - uses: JS-DevTools/npm-publish@v1 with: diff --git a/README.md b/README.md index 50c0c61..c46358a 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ This package contains components, utils, providers and hooks that are used to co // TODO: Setup storybook # Quick links -- [Storybook](https://storybook-amplify-components.app.radix.equinor.com/) +- [Storybook](https://storybook-subsurface-app-management.app.radix.equinor.com/) -# Building and publishing amplify-sam +# Building and publishing Build and publish is done automatically when code is merged into `main` branch, if the package.json version number is higher. diff --git a/package.json b/package.json index 9b282b4..9466dc4 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "types": "dist/types/index.d.ts", "author": "Amplify Team", "license": "ISC", - "homepage": "https://github.com/equinor/amplify-sam#readme", + "homepage": "https://github.com/equinor/subsurface-app-management#readme", "bugs": { - "url": "https://github.com/equinor/amplify-sam/issues" + "url": "https://github.com/equinor/subsurface-app-management/issues" }, "files": [ "dist/*" diff --git a/radixconfig.yaml b/radixconfig.yaml index 721f1e3..25224bc 100644 --- a/radixconfig.yaml +++ b/radixconfig.yaml @@ -1,7 +1,7 @@ apiVersion: radix.equinor.com/v1 kind: RadixApplication metadata: - name: storybook-amplify-sam + name: storybook-subsurface-app-management spec: environments: - name: production diff --git a/tooling/build-and-use.mjs b/tooling/build-and-use.mjs index 0c7691b..b8133f0 100644 --- a/tooling/build-and-use.mjs +++ b/tooling/build-and-use.mjs @@ -69,7 +69,7 @@ async function runTasks() { } const answer = await rl.question( chalk.greenBright( - 'Write name of project you want to copy local amplify-components into:' + 'Write name of project you want to copy local subsurface-app-management into:' ) + `\n> ` ); selectedDir = dirs.find( @@ -106,16 +106,16 @@ async function runTasks() { }); await runTask({ - command: `rm -rf ../${selectedDir}/client/node_modules/@equinor/amplify-sam/dist`, + command: `rm -rf ../${selectedDir}/client/node_modules/@equinor/subsurface-app-management/dist`, name: `Removing old ${chalk.bold.greenBright( - 'amplify-components/dist' + 'subsurface-app-management/dist' )} folder from ${chalk.bold.greenBright( `${selectedDir}/client/node_modules` )}`, }); await runTask({ - command: `cp -r ./dist ../${selectedDir}/client/node_modules/@equinor/amplify-sam/dist`, + command: `cp -r ./dist ../${selectedDir}/client/node_modules/@equinor/subsurface-app-management/dist`, name: `Copying newly built ${chalk.bold.greenBright( 'dist' )} folder into ${chalk.bold.greenBright(