1
0
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:
Florian Bouillon 2021-09-28 15:57:36 +02:00 committed by GitHub
parent 44887c3d41
commit 3d02a29bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 6472 additions and 59781 deletions

View File

@ -9,3 +9,7 @@ insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.{yaml|yml}]
indent_style = space
indent_size = 2

View File

@ -5,7 +5,13 @@
version: 2
updates:
- package-ecosystem: "nom" # See documentation for possible values
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "daily"

View File

@ -20,13 +20,24 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn workspaces run build
- run: yarn workspaces run test
- name: Upgrade NPM
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.
# uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
- uses: codecov/codecov-action@v1.0.13

13805
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,15 @@
{
"name": "@dzeio/libs",
"private": true,
"workspaces": {
"packages": [
"packages/*"
"workspaces": [
"packages/config",
"packages/dom-manager",
"packages/easy-sitemap",
"packages/listener",
"packages/logger",
"packages/object-util",
"packages/queue",
"packages/url-manager"
],
"nohoist": [
"**/@types/**"
]
},
"license": "MIT"
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@dzeio/config",
"version": "1.1.3",
"version": "1.1.4",
"description": "global configuration files for programming",
"author": "Avior",
"license": "MIT",
@ -32,7 +32,6 @@
},
"scripts": {
"prepublishOnly": "tsc",
"build": "tsc --noEmit",
"test": "tsc --noEmit"
"build": "tsc --noEmit"
}
}

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
// 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",
"resolveJsonModule": true,
"moduleResolution": "node",

View File

@ -12,13 +12,12 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"parcel": "^1.12.4",
"parcel": "1.12.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"scripts": {
"prepublishOnly": "yarn build",
"build": "parcel build src/browser.ts --out-file browser.js --experimental-scope-hoisting && tsc",
"test": "tsc --noEmit"
"build": "parcel build src/browser.ts --out-file browser.js --experimental-scope-hoisting && tsc"
}
}

View File

@ -16,7 +16,6 @@
},
"scripts": {
"prepublishOnly": "yarn build",
"build": "tsc",
"test": "tsc --noEmit"
"build": "tsc"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@dzeio/logger",
"version": "2.1.0",
"version": "3.0.0",
"description": "My Personnal Logger",
"repository": {
"type": "git",

View File

@ -30,12 +30,6 @@ export default class Logger implements Console {
*/
public static timestamp = false
/**
* Console memory
* (IDK what it is)
*/
public memory = console.memory
// NodeJS console (will be undefined on )
/**
* NODEJS ONLY

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,6 @@
},
"scripts": {
"prepublishOnly": "yarn build",
"build": "tsc",
"test": "tsc --noEmit"
"build": "tsc"
}
}

View File

@ -24,7 +24,7 @@
"@types/chai": "^4.2.12",
"@types/jest": "^26.0.10",
"jest": "^26.4.2",
"parcel": "^1.12.4",
"parcel": "1.12.3",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"