1.0.29 • Published 2 months ago

dedux-common v1.0.29

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

��# dedux-common

DEPRECATED BELOW:

To publish the package for other users, use the package.json script shortcuts.

NOTE: There's an order of operations to publish. Sometimes the web version must be built before publishing to cloud functions. It's not clear why this is the case. Sometimes, for the cloud functions, it is not necessary to build the web version first.

How to

Export your files in index.ts:

  • Ensure you had run npm install -g typescript
  • Set the correct tsconfig.json for either functions or web/chromeext project
  • run tsc
  • update package.json
  • npm login
  • npm publish

How to export to webapp (not Chrome extension)

TODO: confirm if web config would work with the Chrome extension. The chrome ext is always pointing to local instance.

  • Copy tsconfig_web.json to tsconfig.json
  • Run tsc

How to export to Cloud Functions (server app)

  • Copy tsconfig_functions.json to tsconfig.json
  • Run tsc

Publish

  • Update package.json the minor version
  • Run npm publish
  • Go to Cloud Functions and update package.json to new version
  • Run npm install
  • Run serve which will attempt to deploy to staging env and see if there are any errors.

Note:

It' not clear what happens if the server config is used when published and the webapp consumes that library, and vice versa. TODO: determine if it's necessary to use different npm versions for each

Linking to React web app

  • in this dir, run npm link
  • in the ui app, run npm link 'dedux-common'

TODOs

1.0.29

2 months ago

1.0.28

7 months ago

1.0.22

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.27

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.12

2 years ago

1.0.0

2 years ago