folib 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ name: Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v6
13
+ - uses: pnpm/action-setup@v4
14
+ with:
15
+ version: latest
16
+ - uses: actions/setup-node@v6
17
+ with:
18
+ node-version: "22"
19
+ cache: pnpm
20
+ - run: pnpm install && pnpm exec eslint src && pnpm exec tsc
21
+ - uses: JS-DevTools/npm-publish@v4.1.1
22
+ with:
23
+ token: ${{ secrets.NPM_TOKEN }}
package/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ Initial release.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ ## FOlib
2
+
3
+ Typescript bindings for Fallout 2.
@@ -0,0 +1,23 @@
1
+ import eslint from '@eslint/js';
2
+ import tseslint from 'typescript-eslint';
3
+
4
+ export default [
5
+ eslint.configs.recommended,
6
+ ...tseslint.configs.recommended,
7
+ {
8
+ rules: {
9
+ '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
10
+ '@typescript-eslint/no-explicit-any': 'off',
11
+ '@typescript-eslint/no-unsafe-function-type': 'off',
12
+ },
13
+ },
14
+ {
15
+ files: ['**/*.d.ts'],
16
+ rules: {
17
+ '@typescript-eslint/no-unused-vars': 'off',
18
+ },
19
+ },
20
+ {
21
+ ignores: ['node_modules/**'],
22
+ }
23
+ ];
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "folib",
3
+ "version": "0.1.1",
4
+ "description": "TypeScript bindings for Fallout 2",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": "./src/index.ts",
8
+ "./sfall": "./src/sfall/index.ts"
9
+ },
10
+ "scripts": {
11
+ "lint": "eslint src",
12
+ "typecheck": "tsc"
13
+ },
14
+ "devDependencies": {
15
+ "@eslint/js": "^9.39.2",
16
+ "eslint": "^9.39.2",
17
+ "typescript": "^5.9.3",
18
+ "typescript-eslint": "^8.50.1"
19
+ },
20
+ "keywords": [
21
+ "Fallout",
22
+ "Fallout 2",
23
+ "sfall",
24
+ "TSSL"
25
+ ]
26
+ }