-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: init * feat: container * feat: viewable * feat: add item-meta * feat: add list model * feat: init utils * feat: items-dimensions * feat: add base-dimensions * feat: add container * feat: init item-meta * feat: add ItemMeta * feat: init utils * feat: item-dimensions * feat: init base dimensions * feat: init base dimensions * feat: init models * feat: add Dimension * feat: add Dimension * feat: update Masonry * feat: add types * feat: add dimensions model * feat: init strategies * feat: add strategies * feat: init state * feat: add state * feat: group dimensions * feat: list dimensions * feat: add masonry dimensions * feat: build list * feat: masonry build work * feat: build group * feat: add react-playground * feat: add storybook configuration * feat: support List.stories.tsx * feat: update * feat: update * feat: update * feat: update * feat: add list-dimensions testing * feat: update test * feat: add masonry dimensions test * feat: add test * feat: add test * feat: remove psedo * feat: update * feat: merge group * feat: update react * feat: masonry list * feat: update * feat: update * feat: update * feat: update * feat: update * feat: upadte * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: update * feat: works * feat: works * feat: add list * feat: update
- Loading branch information
Showing
416 changed files
with
35,216 additions
and
17,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"jsc": { | ||
"target": "es2017", | ||
"parser": { | ||
"syntax": "typescript", | ||
"decorators": true, | ||
"dynamicImport": true | ||
}, | ||
"transform": { | ||
"decoratorMetadata": true, | ||
"legacyDecorator": true | ||
}, | ||
"keepClassNames": true, | ||
"externalHelpers": true, | ||
"loose": true | ||
}, | ||
"module": { | ||
"type": "es6" | ||
}, | ||
"sourceMaps": true, | ||
"exclude": [ | ||
"jest.config.ts", | ||
".*\\.spec.tsx?$", | ||
".*\\.test.tsx?$", | ||
"./src/jest-setup.ts$", | ||
"./**/jest-setup.ts$", | ||
".*.js$" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# base-dimensions | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Building | ||
|
||
Run `nx build base-dimensions` to build the library. | ||
|
||
## Running unit tests | ||
|
||
Run `nx test base-dimensions` to execute the unit tests via [Vitest](https://vitest.dev/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const baseConfig = require('../../eslint.config.js'); | ||
|
||
module.exports = [ | ||
...baseConfig, | ||
{ | ||
files: ['**/*.json'], | ||
rules: { | ||
'@nx/dependency-checks': [ | ||
'error', | ||
{ | ||
ignoredFiles: [ | ||
'{projectRoot}/eslint.config.{js,cjs,mjs}', | ||
'{projectRoot}/vite.config.{js,ts,mjs,mts}', | ||
], | ||
}, | ||
], | ||
}, | ||
languageOptions: { | ||
parser: require('jsonc-eslint-parser'), | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "@infinite-list/base-dimensions", | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"@infinite-list/container": "workspace:*", | ||
"@infinite-list/item-meta": "workspace:*", | ||
"@infinite-list/utils": "workspace:*", | ||
"@infinite-list/viewable": "workspace:*", | ||
"@x-oasis/prefix-interval-tree": "^0.2.4" | ||
}, | ||
"main": "./index.cjs", | ||
"module": "./index.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "base-dimensions", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "core/base-dimensions/src", | ||
"projectType": "library", | ||
"release": { | ||
"version": { | ||
"generatorOptions": { | ||
"packageRoot": "dist/{projectRoot}", | ||
"currentVersionResolver": "git-tag" | ||
} | ||
} | ||
}, | ||
"tags": [], | ||
"targets": { | ||
"nx-release-publish": { | ||
"options": { | ||
"packageRoot": "dist/{projectRoot}" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const { withNx } = require('@nx/rollup/with-nx'); | ||
|
||
module.exports = withNx( | ||
{ | ||
main: './src/index.ts', | ||
outputPath: '../../dist/core/base-dimensions', | ||
tsConfig: '../../tsconfig.json', | ||
// tsConfig: './tsconfig.lib.json', | ||
compiler: 'swc', | ||
format: ['cjs', 'esm'], | ||
assets: [{ input: '.', output: '.', glob: '*.md' }], | ||
}, | ||
{ | ||
// Provide additional rollup configuration here. See: https://rollupjs.org/configuration-options | ||
// e.g. | ||
// output: { sourcemap: true }, | ||
} | ||
); |
Oops, something went wrong.