0.0.19 • Published 10 months ago

@startup-engine/shared v0.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Here's a refined version of your instructions, incorporating the changes you mentioned:


@startup-engine/shared

Pre-requisites

  • Ensure that the .npmrc file is present at the root of the project. If you don’t have it, run yarn configure to pull the necessary .npmrc token for authentication.
    • Organization Setup: Before publishing for the first time, you must create an organization on NPM if it hasn't been done already. This allows you to use scoped packages (e.g., @startup-engine/shared).

Step-by-Step: Setting up a New Shared Library

  1. Create NPM Organization (First-Time Only):

    • Go to npmjs.com and create an organization (if not already created).
    • Update the name field in your package.json to follow the scoped convention:
      {
        "name": "@startup-engine/shared",
        "version": "1.0.0",
        "main": "index.js"
      }

Step-by-Step: Updating an Existing Shared Library

  1. Implement Changes:

    • Make your changes to the shared library. Ensure that any new types, functions, or constants are properly exported in index.ts.
  2. Publish the Package:

    • After making the changes, publish the updated package:
      yarn publish
    • For the first-time publish, explicitly set the package to public:
      yarn publish --access public
  3. Update Back-end and Front-end Packages:

    • After publishing, update any dependent projects (e.g., back-end and front-end) to use the latest version of the shared package.

References

Notes

  • First-time publishing will require you to explicitly set the package to public:
    yarn publish --access public
0.0.16

10 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

10 months ago

0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.15

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago