mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-22 10:52:11 +00:00
Move to NPM (#32)
* Update workflow Signed-off-by: Avior <github@avior.me> * Fixed parcel version Signed-off-by: Avior <github@avior.me> * Some more fixes Signed-off-by: Avior <github@avior.me> * Removed console.memory Signed-off-by: Avior <github@avior.me> * Update Signed-off-by: Avior <github@avior.me> * fuck windows Signed-off-by: Avior <github@avior.me> * bump config for better node 12 support Signed-off-by: Avior <github@avior.me>
This commit is contained in:
parent
44887c3d41
commit
3d02a29bc5
@ -9,3 +9,7 @@ insert_final_newline = true
|
|||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yaml|yml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -5,7 +5,13 @@
|
|||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "nom" # See documentation for possible values
|
- package-ecosystem: "npm" # See documentation for possible values
|
||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
# Workflow files stored in the
|
||||||
|
# default location of `.github/workflows`
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
17
.github/workflows/node.js.yml
vendored
17
.github/workflows/node.js.yml
vendored
@ -20,13 +20,24 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: yarn
|
|
||||||
- run: yarn workspaces run build
|
- name: Upgrade NPM
|
||||||
- run: yarn workspaces run test
|
run: npm -g install npm
|
||||||
|
|
||||||
|
- name: Install packages
|
||||||
|
run: npm i --workspaces
|
||||||
|
|
||||||
|
- name: Build packages
|
||||||
|
run: npm run build --workspaces --if-present
|
||||||
|
|
||||||
|
- name: Test packages
|
||||||
|
run: npm run test --workspaces --if-present
|
||||||
|
|
||||||
# You may pin to the exact commit or the version.
|
# You may pin to the exact commit or the version.
|
||||||
# uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
|
# uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
|
||||||
- uses: codecov/codecov-action@v1.0.13
|
- uses: codecov/codecov-action@v1.0.13
|
||||||
|
13809
package-lock.json
generated
13809
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -1,13 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "@dzeio/libs",
|
"name": "@dzeio/libs",
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": {
|
"workspaces": [
|
||||||
"packages": [
|
"packages/config",
|
||||||
"packages/*"
|
"packages/dom-manager",
|
||||||
],
|
"packages/easy-sitemap",
|
||||||
"nohoist": [
|
"packages/listener",
|
||||||
"**/@types/**"
|
"packages/logger",
|
||||||
]
|
"packages/object-util",
|
||||||
},
|
"packages/queue",
|
||||||
|
"packages/url-manager"
|
||||||
|
],
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
6728
packages/config/package-lock.json
generated
6728
packages/config/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dzeio/config",
|
"name": "@dzeio/config",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "global configuration files for programming",
|
"description": "global configuration files for programming",
|
||||||
"author": "Avior",
|
"author": "Avior",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -32,7 +32,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "tsc",
|
"prepublishOnly": "tsc",
|
||||||
"build": "tsc --noEmit",
|
"build": "tsc --noEmit"
|
||||||
"test": "tsc --noEmit"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
// Compilation
|
// Compilation
|
||||||
"target": "ES2020", // Follow NodeJS oldest supported LTS and compare with https://node.green
|
"target": "ES2019", // Follow NodeJS oldest supported LTS and use version from https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
@ -12,13 +12,12 @@
|
|||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"parcel": "^1.12.4",
|
"parcel": "1.12.3",
|
||||||
"ts-node": "^9.0.0",
|
"ts-node": "^9.0.0",
|
||||||
"typescript": "^4.0.3"
|
"typescript": "^4.0.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "yarn build",
|
"prepublishOnly": "yarn build",
|
||||||
"build": "parcel build src/browser.ts --out-file browser.js --experimental-scope-hoisting && tsc",
|
"build": "parcel build src/browser.ts --out-file browser.js --experimental-scope-hoisting && tsc"
|
||||||
"test": "tsc --noEmit"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "yarn build",
|
"prepublishOnly": "yarn build",
|
||||||
"build": "tsc",
|
"build": "tsc"
|
||||||
"test": "tsc --noEmit"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
21608
packages/logger/package-lock.json
generated
21608
packages/logger/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@dzeio/logger",
|
"name": "@dzeio/logger",
|
||||||
"version": "2.1.0",
|
"version": "3.0.0",
|
||||||
"description": "My Personnal Logger",
|
"description": "My Personnal Logger",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -30,12 +30,6 @@ export default class Logger implements Console {
|
|||||||
*/
|
*/
|
||||||
public static timestamp = false
|
public static timestamp = false
|
||||||
|
|
||||||
/**
|
|
||||||
* Console memory
|
|
||||||
* (IDK what it is)
|
|
||||||
*/
|
|
||||||
public memory = console.memory
|
|
||||||
|
|
||||||
// NodeJS console (will be undefined on )
|
// NodeJS console (will be undefined on )
|
||||||
/**
|
/**
|
||||||
* NODEJS ONLY
|
* NODEJS ONLY
|
||||||
|
24033
packages/object-util/package-lock.json
generated
24033
packages/object-util/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,6 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublishOnly": "yarn build",
|
"prepublishOnly": "yarn build",
|
||||||
"build": "tsc",
|
"build": "tsc"
|
||||||
"test": "tsc --noEmit"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"@types/chai": "^4.2.12",
|
"@types/chai": "^4.2.12",
|
||||||
"@types/jest": "^26.0.10",
|
"@types/jest": "^26.0.10",
|
||||||
"jest": "^26.4.2",
|
"jest": "^26.4.2",
|
||||||
"parcel": "^1.12.4",
|
"parcel": "1.12.3",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.4.4",
|
||||||
"ts-node": "^9.0.0",
|
"ts-node": "^9.0.0",
|
||||||
"typescript": "^4.0.2"
|
"typescript": "^4.0.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user