Skip to content

Commit b8e9cae

Browse files
authored
Enable nx (#6718)
* Enable `nx` * Remove the `install` script * Remove `prepublishOnly`script * try clean before build:prod * debug * more debug * try removing pip install -e . step * Remove debug
1 parent b74644c commit b8e9cae

File tree

17 files changed

+1
-18
lines changed

17 files changed

+1
-18
lines changed

.github/workflows/check-release.yml

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
uses: actions/checkout@v3
2222
- name: Base Setup
2323
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
24-
- name: Install Dependencies
25-
run: |
26-
pip install -e .
2724
- name: Check Release
2825
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
2926
with:

app/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"build:prod": "webpack --mode=production",
88
"clean": "rimraf build && jlpm run clean:static",
99
"clean:static": "rimraf -g \"../notebook/static/!(favicons)\"",
10-
"prepublishOnly": "yarn run build",
1110
"watch": "webpack --config ./webpack.config.watch.js"
1211
},
1312
"resolutions": {

buildutils/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"scripts": {
2727
"build": "tsc",
2828
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
29-
"prepublishOnly": "npm run build",
3029
"watch": "tsc -w --listEmittedFiles"
3130
},
3231
"dependencies": {

lerna.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"npmClient": "yarn",
3-
"useNx": false,
43
"version": "independent",
54
"useWorkspaces": true
65
}

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"eslint": "eslint . --ext .ts,.tsx --fix",
3030
"eslint:check": "eslint . --ext .ts,.tsx",
3131
"eslint:files": "eslint --fix",
32-
"install": "lerna bootstrap",
3332
"integrity": "node buildutils/lib/ensure-repo.js",
3433
"prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
3534
"prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",

packages/application-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/application/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:test": "tsc --build tsconfig.test.json",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"test": "jest",
4039
"test:cov": "jest --collect-coverage",
4140
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",

packages/console-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/docmanager-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/documentsearch-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/help-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/notebook-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/terminal-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/tree-extension/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/tree/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"build:prod": "tsc -b",
3636
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
3737
"docs": "typedoc src",
38-
"prepublishOnly": "npm run build",
3938
"watch": "tsc -b --watch"
4039
},
4140
"dependencies": {

packages/ui-components/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"cleansvg": "svgo --config svgo.yaml",
3636
"docs": "typedoc src",
3737
"docs:init": "bash docs/build.sh",
38-
"prepublishOnly": "npm run build",
3938
"test": "jest",
4039
"test:cov": "jest --collect-coverage",
4140
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ before-bump-version = [
187187
"python -m pip install hatch"
188188
]
189189
before-build-npm = [
190+
"jlpm clean",
190191
"jlpm build:prod"
191192
]
192193
before-build-python = [

0 commit comments

Comments
 (0)