Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ad0c309
added new webpack files
adrianZahra Mar 27, 2023
291b7e0
removed old webpack config file
adrianZahra Mar 27, 2023
790515e
added base for the webpack common file
adrianZahra Mar 27, 2023
f41c888
added base content to the dev and prod webpack files
adrianZahra Mar 28, 2023
1af870e
moddified package.json for the new build configs
adrianZahra Mar 28, 2023
7baa785
removed the old webpack common file from the example
adrianZahra Mar 28, 2023
00f006e
added webpack dev and prod
adrianZahra Mar 28, 2023
54a9a6d
updated the package.json for the typescript example
adrianZahra Mar 28, 2023
bfae2e4
updated the nade of the library variable in the example index.ts
adrianZahra Mar 28, 2023
8a487a8
added symlink to package.json in the example
adrianZahra Mar 28, 2023
447ac01
updated main location and updated npm serve command
adrianZahra Mar 29, 2023
065c7fc
updated webpack config to webpack common to make use of the dev and p…
adrianZahra Mar 29, 2023
7ff11b7
updated the websocket url env to make use of process
adrianZahra Mar 29, 2023
3492e0c
upgraded the tag workflow to use the production builder command
adrianZahra Mar 29, 2023
a27b2b9
updated the tag and pull request workflows to use the new build commands
adrianZahra Mar 29, 2023
994367b
fixed spelling mistake in the pull request workflow
adrianZahra Mar 29, 2023
0e6eff2
updated comments in accordance to comment from luke post merge
adrianZahra Mar 29, 2023
ded28fd
added env template for example and updated git ignore to accomadate this
adrianZahra Mar 29, 2023
86ddce5
updated the pull request test to test all aspects of the library and …
adrianZahra Mar 29, 2023
86695b0
added serve for dev and prod
adrianZahra Mar 29, 2023
0cbcf88
updated the index file to just import the required types
adrianZahra Mar 29, 2023
57089f6
updated the pull request test to test all aspects of the library and …
adrianZahra Mar 30, 2023
da665f8
moved env file and renamed to example also included dontenv plugin to…
adrianZahra Mar 30, 2023
ba8f90a
removed old template
adrianZahra Mar 30, 2023
4bb88df
updated index file to make use of the env if it is not empty
adrianZahra Mar 30, 2023
c8858a6
updated if statement to single queals
adrianZahra Mar 30, 2023
7d2f512
updated the git ignore file for the env.example
adrianZahra Apr 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated main location and updated npm serve command
  • Loading branch information
adrianZahra committed Mar 29, 2023
commit 447ac0151f68eab451913db5652405e436a34332
4 changes: 2 additions & 2 deletions examples/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "spstypescriptexample",
"version": "1.0.0",
"description": "The typescript example for consuming the Scalable Pixel Streaming Frontend",
"main": "index.ts",
"main": "./src/index.ts",
"scripts": {
"build-dev": "npx webpack --config webpack.dev.js",
"build-prod": "npx webpack --config webpack.prod.js",
"watch": "npx webpack --watch",
"start": "npx webpack && open-cli ./dist/index.html",
"serve": "webpack serve",
"serve": "webpack serve --config webpack.dev.js",
"symlink": "npm link ../../library",
"build-all-dev": "cd ../../library && npm install && npm run build-dev && cd ../examples/typescript && npm run symlink && npm run build-dev",
"build-all-prod": "cd ../../library && npm install && npm run build-prod && cd ../examples/typescript && npm run symlink && npm run build-prod"
Expand Down