parent
fa0f059745
commit
c6fae8bb0e
@ -1,17 +0,0 @@ |
||||
# This file has been generated by node2nix 1.9.0. Do not edit! |
||||
|
||||
{pkgs ? import <nixpkgs> { |
||||
inherit system; |
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}: |
||||
|
||||
let |
||||
nodeEnv = import ../../../../../development/node-packages/node-env.nix { |
||||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript; |
||||
inherit pkgs nodejs; |
||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; |
||||
}; |
||||
in |
||||
import ./node-packages.nix { |
||||
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; |
||||
inherit nodeEnv; |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,93 +0,0 @@ |
||||
{ |
||||
"name": "codemirror-promql", |
||||
"version": "0.17.0", |
||||
"description": "a CodeMirror mode for the PromQL language", |
||||
"main": "cjs/index.js", |
||||
"module": "esm/index.js", |
||||
"scripts": { |
||||
"start": "webpack-dev-server --config webpack.config.cjs --open", |
||||
"build": "npm run build:grammar && npm run build:lib && npm run build:app", |
||||
"build:grammar": "lezer-generator src/lang-promql/grammar/promql.grammar -o src/lang-promql/grammar/parser", |
||||
"build:lib": "bash ./build.sh", |
||||
"build:app": "webpack --config webpack.config.cjs", |
||||
"test": "npm run build:grammar && ts-mocha -p tsconfig.json src/**/*.test.ts", |
||||
"test-coverage": "npm run build:grammar && nyc ts-mocha -p ./tsconfig.json ./**/*.test.ts", |
||||
"codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
||||
"lint": "eslint src/ --ext .ts", |
||||
"lint:fix": "eslint --fix src/ --ext .ts" |
||||
}, |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "git+https://github.com/prometheus-community/codemirror-promql.git" |
||||
}, |
||||
"keywords": [ |
||||
"promql", |
||||
"codemirror", |
||||
"mode", |
||||
"prometheus" |
||||
], |
||||
"author": "Prometheus Authors <prometheus-developers@googlegroups.com>", |
||||
"license": "MIT", |
||||
"bugs": { |
||||
"url": "https://github.com/prometheus-community/codemirror-promql/issues" |
||||
}, |
||||
"homepage": "https://github.com/prometheus-community/codemirror-promql/blob/master/README.md", |
||||
"dependencies": { |
||||
"lru-cache": "^6.0.0" |
||||
}, |
||||
"devDependencies": { |
||||
"@codemirror/autocomplete": "^0.18.3", |
||||
"@codemirror/basic-setup": "^0.18.0", |
||||
"@codemirror/highlight": "^0.18.3", |
||||
"@codemirror/language": "^0.18.0", |
||||
"@codemirror/lint": "^0.18.1", |
||||
"@codemirror/state": "^0.18.2", |
||||
"@codemirror/view": "^0.18.1", |
||||
"@types/chai": "^4.2.12", |
||||
"@types/lru-cache": "^5.1.0", |
||||
"@types/mocha": "^8.0.3", |
||||
"@types/node": "^14.0.13", |
||||
"@typescript-eslint/eslint-plugin": "^2.22.0", |
||||
"@typescript-eslint/parser": "^2.22.0", |
||||
"chai": "^4.2.0", |
||||
"clean-webpack-plugin": "^3.0.0", |
||||
"codecov": "^3.8.1", |
||||
"eslint": "^6.8.0", |
||||
"eslint-config-prettier": "^6.11.0", |
||||
"eslint-plugin-flowtype": "^5.2.0", |
||||
"eslint-plugin-import": "^2.22.0", |
||||
"eslint-plugin-prettier": "^3.1.4", |
||||
"html-webpack-plugin": "^4.3.0", |
||||
"isomorphic-fetch": "^3.0.0", |
||||
"lezer": "^0.13.1", |
||||
"lezer-generator": "^0.13.1", |
||||
"mocha": "^8.1.2", |
||||
"nock": "^13.0.11", |
||||
"nyc": "^15.1.0", |
||||
"prettier": "^2.0.5", |
||||
"ts-loader": "^7.0.4", |
||||
"ts-mocha": "^8.0.0", |
||||
"ts-node": "^9.0.0", |
||||
"typescript": "^4.2.3", |
||||
"webpack": "^4.43.0", |
||||
"webpack-cli": "^3.3.11", |
||||
"webpack-dev-server": "^3.11.0" |
||||
}, |
||||
"peerDependencies": { |
||||
"@codemirror/autocomplete": "^0.18.3", |
||||
"@codemirror/highlight": "^0.18.3", |
||||
"@codemirror/language": "^0.18.0", |
||||
"@codemirror/lint": "^0.18.1", |
||||
"@codemirror/state": "^0.18.2", |
||||
"@codemirror/view": "^0.18.1", |
||||
"lezer": "^0.13.0" |
||||
}, |
||||
"prettier": { |
||||
"singleQuote": true, |
||||
"trailingComma": "es5", |
||||
"printWidth": 150 |
||||
}, |
||||
"engines": { |
||||
"node": ">=12.0.0" |
||||
} |
||||
} |
@ -1,32 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p nodePackages.node2nix |
||||
set -euo pipefail |
||||
|
||||
if [[ "$#" -ne 1 || "$1" == -* ]]; then |
||||
echo "Regenerates the npm dependency lock files for the prometheus package." |
||||
echo "Usage: $0 <git release tag>" |
||||
exit 1 |
||||
fi |
||||
|
||||
update() { |
||||
RELEASE_TAG=$1 |
||||
GIT_PATH=$2 |
||||
OUTPUT_PATH=$3 |
||||
NODE_ENV=$4 |
||||
|
||||
PROM_WEB_SRC="https://raw.githubusercontent.com/prometheus/prometheus/$1" |
||||
wget "$PROM_WEB_SRC/$GIT_PATH/package.json" -O package.json |
||||
wget "$PROM_WEB_SRC/$GIT_PATH/package-lock.json" -O package-lock.json |
||||
|
||||
node2nix \ |
||||
--lock package-lock.json \ |
||||
--development \ |
||||
--node-env $NODE_ENV \ |
||||
--no-copy-node-env |
||||
|
||||
mkdir -p $OUTPUT_PATH |
||||
mv default.nix node-packages.nix package.json package-lock.json $OUTPUT_PATH |
||||
} |
||||
|
||||
update $1 "web/ui/module/codemirror-promql" "codemirror-promql" ../../../../../development/node-packages/node-env.nix |
||||
update $1 "web/ui/react-app" "webui" ../../../../../development/node-packages/node-env.nix |
@ -1,17 +0,0 @@ |
||||
# This file has been generated by node2nix 1.9.0. Do not edit! |
||||
|
||||
{pkgs ? import <nixpkgs> { |
||||
inherit system; |
||||
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}: |
||||
|
||||
let |
||||
nodeEnv = import ../../../../../development/node-packages/node-env.nix { |
||||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript; |
||||
inherit pkgs nodejs; |
||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; |
||||
}; |
||||
in |
||||
import ./node-packages.nix { |
||||
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; |
||||
inherit nodeEnv; |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,109 +0,0 @@ |
||||
{ |
||||
"name": "graph", |
||||
"version": "0.1.0", |
||||
"private": true, |
||||
"dependencies": { |
||||
"@codemirror/autocomplete": "^0.18.3", |
||||
"@codemirror/closebrackets": "^0.18.0", |
||||
"@codemirror/commands": "^0.18.0", |
||||
"@codemirror/comment": "^0.18.0", |
||||
"@codemirror/highlight": "^0.18.3", |
||||
"@codemirror/history": "^0.18.0", |
||||
"@codemirror/language": "^0.18.0", |
||||
"@codemirror/lint": "^0.18.1", |
||||
"@codemirror/matchbrackets": "^0.18.0", |
||||
"@codemirror/search": "^0.18.2", |
||||
"@codemirror/state": "^0.18.2", |
||||
"@codemirror/view": "^0.18.3", |
||||
"@forevolve/bootstrap-dark": "^1.0.0", |
||||
"@fortawesome/fontawesome-svg-core": "^1.2.14", |
||||
"@fortawesome/free-solid-svg-icons": "^5.7.1", |
||||
"@fortawesome/react-fontawesome": "^0.1.4", |
||||
"@nexucis/fuzzy": "^0.3.0", |
||||
"bootstrap": "^4.6.0", |
||||
"codemirror-promql": "^0.17.0", |
||||
"css.escape": "^1.5.1", |
||||
"downshift": "^3.4.8", |
||||
"i": "^0.3.6", |
||||
"jquery": "^3.5.1", |
||||
"jquery.flot.tooltip": "^0.9.0", |
||||
"jsdom": "^16.4.0", |
||||
"moment": "^2.24.0", |
||||
"moment-timezone": "^0.5.23", |
||||
"popper.js": "^1.14.3", |
||||
"react": "^16.7.0", |
||||
"react-copy-to-clipboard": "^5.0.1", |
||||
"react-dom": "^16.7.0", |
||||
"react-resize-detector": "^5.0.7", |
||||
"react-router-dom": "^5.2.1", |
||||
"react-test-renderer": "^16.9.0", |
||||
"reactstrap": "^8.9.0", |
||||
"sanitize-html": "^2.3.3", |
||||
"sass": "1.39.0", |
||||
"tempusdominus-bootstrap-4": "^5.1.2", |
||||
"tempusdominus-core": "^5.0.3", |
||||
"use-media": "^1.4.0" |
||||
}, |
||||
"scripts": { |
||||
"start": "react-scripts start", |
||||
"build": "react-scripts build", |
||||
"test": "react-scripts test --runInBand --resetMocks=false", |
||||
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache", |
||||
"eject": "react-scripts eject", |
||||
"lint:ci": "eslint --quiet \"src/**/*.{ts,tsx}\"", |
||||
"lint": "eslint --fix \"src/**/*.{ts,tsx}\"" |
||||
}, |
||||
"prettier": { |
||||
"singleQuote": true, |
||||
"trailingComma": "es5", |
||||
"printWidth": 125 |
||||
}, |
||||
"browserslist": [ |
||||
">0.2%", |
||||
"not dead", |
||||
"not ie <= 11", |
||||
"not op_mini all" |
||||
], |
||||
"devDependencies": { |
||||
"@testing-library/react-hooks": "^3.1.1", |
||||
"@types/enzyme": "^3.10.3", |
||||
"@types/enzyme-adapter-react-16": "^1.0.5", |
||||
"@types/flot": "0.0.32", |
||||
"@types/jest": "^27.0.0", |
||||
"@types/jquery": "^3.5.1", |
||||
"@types/moment-timezone": "^0.5.10", |
||||
"@types/node": "^12.11.1", |
||||
"@types/react": "^16.8.2", |
||||
"@types/react-copy-to-clipboard": "^5.0.0", |
||||
"@types/react-dom": "^16.8.0", |
||||
"@types/react-resize-detector": "^5.0.0", |
||||
"@types/react-router-dom": "^5.1.8", |
||||
"@types/reactstrap": "^8.7.2", |
||||
"@types/sanitize-html": "^1.20.2", |
||||
"@types/sinon": "^9.0.4", |
||||
"enzyme": "^3.10.0", |
||||
"enzyme-adapter-react-16": "^1.15.1", |
||||
"enzyme-to-json": "^3.4.3", |
||||
"eslint-config-prettier": "^8.3.0", |
||||
"eslint-config-react-app": "^6.0.0", |
||||
"eslint-plugin-prettier": "^4.0.0", |
||||
"jest-fetch-mock": "^3.0.3", |
||||
"mutationobserver-shim": "^0.3.7", |
||||
"prettier": "^2.3.2", |
||||
"react-scripts": "4.0.3", |
||||
"sinon": "^9.0.3", |
||||
"typescript": "^4.4.2" |
||||
}, |
||||
"proxy": "http://localhost:9090", |
||||
"jest": { |
||||
"snapshotSerializers": [ |
||||
"enzyme-to-json/serializer" |
||||
], |
||||
"transformIgnorePatterns": [ |
||||
"/node_modules/(?!codemirror-promql).+(js|jsx)$" |
||||
] |
||||
}, |
||||
"optionalDependencies": { |
||||
"fsevents": "^2.3.2" |
||||
} |
||||
} |
Loading…
Reference in new issue