mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-31 13:40:29 +08:00
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
This commit is contained in:
parent
b74644cc56
commit
b8e9cae07b
3
.github/workflows/check-release.yml
vendored
3
.github/workflows/check-release.yml
vendored
@ -21,9 +21,6 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- name: Base Setup
|
||||
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
pip install -e .
|
||||
- name: Check Release
|
||||
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
|
||||
with:
|
||||
|
@ -7,7 +7,6 @@
|
||||
"build:prod": "webpack --mode=production",
|
||||
"clean": "rimraf build && jlpm run clean:static",
|
||||
"clean:static": "rimraf -g \"../notebook/static/!(favicons)\"",
|
||||
"prepublishOnly": "yarn run build",
|
||||
"watch": "webpack --config ./webpack.config.watch.js"
|
||||
},
|
||||
"resolutions": {
|
||||
|
@ -26,7 +26,6 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -w --listEmittedFiles"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"npmClient": "yarn",
|
||||
"useNx": false,
|
||||
"version": "independent",
|
||||
"useWorkspaces": true
|
||||
}
|
||||
|
@ -29,7 +29,6 @@
|
||||
"eslint": "eslint . --ext .ts,.tsx --fix",
|
||||
"eslint:check": "eslint . --ext .ts,.tsx",
|
||||
"eslint:files": "eslint --fix",
|
||||
"install": "lerna bootstrap",
|
||||
"integrity": "node buildutils/lib/ensure-repo.js",
|
||||
"prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
||||
"prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:test": "tsc --build tsconfig.test.json",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "jest",
|
||||
"test:cov": "jest --collect-coverage",
|
||||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"build:prod": "tsc -b",
|
||||
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
||||
"docs": "typedoc src",
|
||||
"prepublishOnly": "npm run build",
|
||||
"watch": "tsc -b --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -35,7 +35,6 @@
|
||||
"cleansvg": "svgo --config svgo.yaml",
|
||||
"docs": "typedoc src",
|
||||
"docs:init": "bash docs/build.sh",
|
||||
"prepublishOnly": "npm run build",
|
||||
"test": "jest",
|
||||
"test:cov": "jest --collect-coverage",
|
||||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
||||
|
@ -187,6 +187,7 @@ before-bump-version = [
|
||||
"python -m pip install hatch"
|
||||
]
|
||||
before-build-npm = [
|
||||
"jlpm clean",
|
||||
"jlpm build:prod"
|
||||
]
|
||||
before-build-python = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user