Skip to content

Commit 6951993

Browse files
committed
license tab updated with third-party-licenses
1 parent 9f9acc4 commit 6951993

File tree

3 files changed

+7407
-4
lines changed

3 files changed

+7407
-4
lines changed

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
2121
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
2222
"src/**/*.{ts,tsx}",
23-
"schema/*.json"
23+
"schema/*.json",
24+
"LICENSE.txt",
25+
"third-party-licenses.json",
26+
"third-party-licenses.txt"
2427
],
2528
"main": "lib/index.js",
2629
"types": "lib/index.d.ts",
@@ -30,8 +33,8 @@
3033
"url": "https://github.com/harsha-accenture/scheduler-jupyter-plugin.git"
3134
},
3235
"scripts": {
33-
"build": "jlpm build:lib && jlpm build:labextension:dev",
34-
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
36+
"build": "jlpm build:lib && jlpm build:labextension:dev && jlpm generate:licenses",
37+
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension && jlpm generate:licenses",
3538
"build:labextension": "jupyter labextension build .",
3639
"build:labextension:dev": "jupyter labextension build --development True .",
3740
"build:lib": "tsc --sourceMap",
@@ -43,6 +46,7 @@
4346
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
4447
"eslint": "jlpm eslint:check --fix",
4548
"eslint:check": "eslint . --cache --ext .ts,.tsx",
49+
"generate:licenses": "generate-license-file --input package.json --output third-party-licenses.json",
4650
"install:extension": "jlpm build",
4751
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
4852
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
55
[project]
66
name = "scheduler_jupyter_plugin"
77
readme = "README.md"
8-
license = { file = "LICENSE" }
8+
license = { file = "third-party-licenses.txt" }
99
requires-python = ">=3.8"
1010
classifiers = [
1111
"Framework :: Jupyter",

0 commit comments

Comments
 (0)