Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
009d8a3
build: added more extensions to webpack configuration
matteobruni Aug 25, 2023
f26a8be
build: updating configs
matteobruni Aug 25, 2023
2406f6d
chore(release): published new version
matteobruni Aug 25, 2023
bf85d1c
build: updated deps
matteobruni Aug 26, 2023
fc3762e
chore(release): published new version
matteobruni Aug 26, 2023
450203e
build: updated deps
matteobruni Sep 10, 2023
7634f4a
build: updated deps and fixed the CI
matteobruni Oct 2, 2023
a9baa83
build: updated deps
matteobruni Oct 2, 2023
d0b0582
chore(release): published new version
matteobruni Oct 2, 2023
c76c741
build: updated deps
matteobruni Oct 22, 2023
5caba76
chore(release): published new version
matteobruni Oct 22, 2023
d1e1743
feat: added effects support
matteobruni Oct 26, 2023
c323c72
chore(release): published new version
matteobruni Oct 26, 2023
68e9424
chore(webpack-plugin): adding support for emitter shapes plugins
matteobruni Nov 1, 2023
bd7ced2
chore(release): published new version
matteobruni Nov 1, 2023
cbc4a5e
build: updated externals
matteobruni Nov 3, 2023
8beff8e
chore(release): published new version
matteobruni Nov 3, 2023
3d90017
build: updated externals
matteobruni Nov 3, 2023
20865e5
chore(release): published new version
matteobruni Nov 3, 2023
eff2011
build: added new plugin, updated deps
matteobruni Nov 7, 2023
c8cb8db
chore(release): published new version
matteobruni Nov 7, 2023
f5ab0e7
build: added new plugin to externals
matteobruni Nov 9, 2023
aad0ce6
chore(release): published new version
matteobruni Nov 9, 2023
0fc3294
build: added new external plugin
matteobruni Nov 13, 2023
c4c7b25
chore(release): published new version
matteobruni Nov 13, 2023
dd084cf
build: added new externals and updated deps
matteobruni Nov 14, 2023
688783b
chore(release): published new version
matteobruni Nov 14, 2023
293d7cd
build: added new external
matteobruni Nov 15, 2023
c75713c
chore(release): published new version
matteobruni Nov 15, 2023
df72d65
build: updated deps and trying to use regex in webpack externals
matteobruni Nov 20, 2023
2e7999e
chore(release): published new version
matteobruni Nov 20, 2023
1b5640d
build: improved externals management
matteobruni Nov 21, 2023
fb6874c
chore(release): published new version
matteobruni Nov 21, 2023
ec9aee8
chore(release): published new version
matteobruni Nov 21, 2023
877d579
build: updated deps
matteobruni Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 73 additions & 14 deletions .github/workflows/node.js-ci.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,83 @@
name: Node.js CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13
with:
number-of-agents: 3
init-commands: |
pnpm exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=3
parallel-commands-on-agents: |
pnpm exec nx affected --target=build --parallel=3
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v3
name: Checkout [main]
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: pnpm/action-setup@v2.4.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm version
id: pnpm-version
run: |
echo "$(pnpm --version)"

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --no-frozen-lockfile
- run: pnpm run build
pr:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: pnpm/action-setup@v2.4.0
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm version
id: pnpm-version
run: |
echo "$(pnpm --version)"

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"

agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13
with:
number-of-agents: 3
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install --no-frozen-lockfile
- run: pnpm run build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ dist
.DS_Store
lerna-debug.log
.idea

.nx/cache
22 changes: 6 additions & 16 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,17 @@
"build": {
"dependsOn": [
"^build"
]
],
"cache": true
},
"build:ci": {
"dependsOn": [
"^build:ci"
]
],
"cache": true
}
},
"extends": "@nrwl/workspace/presets/npm.json",
"npmScope": "tsparticles-utils-root",
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build",
"build:ci"
],
"accessToken": "ZTBkZDI4YTctNmIzNS00MzllLWFmNDktODg3MzM3NDljYmQ2fHJlYWQ="
}
}
},
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": [
Expand All @@ -35,5 +24,6 @@
"production": [
"default"
]
}
},
"nxCloudAccessToken": "ZTBkZDI4YTctNmIzNS00MzllLWFmNDktODg3MzM3NDljYmQ2fHJlYWQ="
}
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
"name": "tsparticles-utils-root",
"private": true,
"scripts": {
"build": "lerna run build"
"build": "lerna run build",
"version:alpha": "lerna version prerelease --preid alpha --conventional-commits",
"version:beta": "lerna version prerelease --preid beta --conventional-commits",
"publish:alpha": "lerna publish from-package --pre-dist-tag alpha --preid alpha",
"publish:beta": "lerna publish from-package --pre-dist-tag beta --preid beta"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@nrwl/workspace": "^16.6.0",
"lerna": "^7.1.4",
"nx": "^16.6.0",
"typescript": "^5.1.6",
"nx-cloud": "^16.2.0"
"@nrwl/workspace": "^17.1.3",
"lerna": "^8.0.0",
"nx": "^17.1.3",
"typescript": "^5.3.2"
}
}
83 changes: 83 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,89 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.8...@tsparticles/eslint-config@2.0.0) (2023-11-21)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.8](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.7...@tsparticles/eslint-config@2.0.0-beta.8) (2023-11-20)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.7](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.6...@tsparticles/eslint-config@2.0.0-beta.7) (2023-11-14)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.6](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.5...@tsparticles/eslint-config@2.0.0-beta.6) (2023-11-07)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.5](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.4...@tsparticles/eslint-config@2.0.0-beta.5) (2023-11-01)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.4](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.3...@tsparticles/eslint-config@2.0.0-beta.4) (2023-10-26)


### Features

* added effects support ([d1e1743](https://github.com/tsparticles/utils/commit/d1e17431a2b1af081f62f0e52bc7436e3b83e863))





# [2.0.0-beta.3](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.2...@tsparticles/eslint-config@2.0.0-beta.3) (2023-10-22)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.2](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.1...@tsparticles/eslint-config@2.0.0-beta.2) (2023-10-02)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.1](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.0...@tsparticles/eslint-config@2.0.0-beta.1) (2023-08-26)

**Note:** Version bump only for package @tsparticles/eslint-config





# [2.0.0-beta.0](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@1.20.0...@tsparticles/eslint-config@2.0.0-beta.0) (2023-08-25)

**Note:** Version bump only for package @tsparticles/eslint-config





# [1.20.0](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@1.19.0...@tsparticles/eslint-config@1.20.0) (2023-08-08)


Expand Down
18 changes: 9 additions & 9 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tsparticles/eslint-config",
"version": "1.20.0",
"version": "2.0.0",
"description": "tsParticles default ESLint Configuration",
"main": "eslint-config.js",
"license": "MIT",
Expand All @@ -11,15 +11,15 @@
"access": "public"
},
"dependencies": {
"@tsparticles/prettier-config": "^1.12.0",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.46.0",
"@tsparticles/prettier-config": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.9.0",
"eslint-plugin-tsdoc": "^0.2.17",
"prettier": "^3.0.1",
"typescript": "^5.1.6"
"prettier": "^3.1.0",
"typescript": "^5.3.2"
}
}
56 changes: 56 additions & 0 deletions packages/prettier-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,62 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.5...@tsparticles/prettier-config@2.0.0) (2023-11-21)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.5](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.4...@tsparticles/prettier-config@2.0.0-beta.5) (2023-11-20)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.4](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.3...@tsparticles/prettier-config@2.0.0-beta.4) (2023-11-14)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.3](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.2...@tsparticles/prettier-config@2.0.0-beta.3) (2023-10-22)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.2](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.1...@tsparticles/prettier-config@2.0.0-beta.2) (2023-10-02)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.1](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.0...@tsparticles/prettier-config@2.0.0-beta.1) (2023-08-26)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0-beta.0](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@1.12.0...@tsparticles/prettier-config@2.0.0-beta.0) (2023-08-25)

**Note:** Version bump only for package @tsparticles/prettier-config





# [1.12.0](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@1.11.0...@tsparticles/prettier-config@1.12.0) (2023-08-03)

**Note:** Version bump only for package @tsparticles/prettier-config
Expand Down
5 changes: 3 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tsparticles/prettier-config",
"version": "1.12.0",
"version": "2.0.0",
"description": "tsParticles default Prettier Configuration",
"main": "prettier-config.json",
"license": "MIT",
Expand All @@ -12,6 +12,7 @@
"access": "public"
},
"dependencies": {
"prettier": "^3.0.1"
"prettier": "^3.1.0",
"prettier-plugin-multiline-arrays": "^3.0.1"
}
}
7 changes: 4 additions & 3 deletions packages/prettier-config/prettier-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "http://json.schemastore.org/prettierrc",
"printWidth": 120,
"endOfLine": "lf",
"plugins": ["prettier-plugin-multiline-arrays"],
"overrides": [
{
"files": [
Expand All @@ -19,13 +20,13 @@
"tabWidth": 4,
"arrowParens": "avoid"
}
}, {
},
{
"files": "*.riot",
"options": {
"parser": "mdx",
"jsxBracketSameLine": true
"bracketSameLine": true
}
}
]
}

Loading