@freckle/i18n-scripts 1.1.21 → 1.1.23
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.
- package/.github/CODEOWNERS +1 -1
- package/.github/workflows/ci.yml +11 -4
- package/.github/workflows/release.yml +0 -1
- package/.nvmrc +1 -0
- package/.prettierrc +1 -1
- package/.releaserc.yaml +0 -4
- package/.restyled.yaml +1 -1
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/eslint.config.mjs +22 -0
- package/package.json +15 -6
- package/.github/commenter.yml +0 -10
- package/.github/workflows/checklist.yml +0 -12
- package/.yarn/releases/yarn-4.18.0.cjs +0 -1000
- package/.yarnrc.yml +0 -12
package/.github/CODEOWNERS
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
* @freckle/
|
|
1
|
+
* @freckle/team-student-activities
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -5,16 +5,23 @@ on:
|
|
|
5
5
|
push:
|
|
6
6
|
branches: main
|
|
7
7
|
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
8
11
|
jobs:
|
|
9
12
|
build:
|
|
10
13
|
runs-on: ubuntu-latest
|
|
11
14
|
steps:
|
|
12
15
|
- uses: actions/checkout@v7
|
|
16
|
+
- uses: pnpm/action-setup@v6
|
|
13
17
|
- uses: actions/setup-node@v7
|
|
14
18
|
with:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
- run:
|
|
19
|
+
node-version-file: .nvmrc
|
|
20
|
+
cache: pnpm
|
|
21
|
+
- run: pnpm install --frozen-lockfile
|
|
22
|
+
- run: pnpm format-check
|
|
23
|
+
- run: pnpm lint
|
|
24
|
+
- run: pnpm build
|
|
18
25
|
- uses: freckle/check-git-clean-action@v1
|
|
19
26
|
with:
|
|
20
|
-
hint: "Run
|
|
27
|
+
hint: "Run pnpm build to update your dist/"
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
24.21.0
|
package/.prettierrc
CHANGED
package/.releaserc.yaml
CHANGED
|
@@ -7,10 +7,6 @@ plugins:
|
|
|
7
7
|
- - '@semantic-release/github'
|
|
8
8
|
- successCommentCondition: false
|
|
9
9
|
|
|
10
|
-
# Update dist, in case Dependabot PRs merged without doing so
|
|
11
|
-
- - '@semantic-release/exec'
|
|
12
|
-
- prepareCmd: 'yarn install && yarn run build'
|
|
13
|
-
|
|
14
10
|
- '@semantic-release/npm'
|
|
15
11
|
|
|
16
12
|
branches:
|
package/.restyled.yaml
CHANGED
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022 Renaissance Learning Inc
|
|
3
|
+
Copyright (c) 2022-present Renaissance Learning Inc
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import freckle from '@freckle/eslint-config'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
|
|
4
|
+
export default [
|
|
5
|
+
// The shared config scopes its rules to `**/*.ts`; this package is plain
|
|
6
|
+
// JavaScript, so without retargeting it would lint nothing.
|
|
7
|
+
...freckle.map(config => (config.files ? {...config, files: ['**/*.js']} : config)),
|
|
8
|
+
{
|
|
9
|
+
files: ['**/*.js'],
|
|
10
|
+
languageOptions: {
|
|
11
|
+
globals: globals.node
|
|
12
|
+
},
|
|
13
|
+
rules: {
|
|
14
|
+
// typescript-eslint turns this off because tsc reports undefined names;
|
|
15
|
+
// nothing type-checks this package, so it has to come back on.
|
|
16
|
+
'no-undef': 'error',
|
|
17
|
+
// The sources are CommonJS until the ESM conversion in #97, which drops
|
|
18
|
+
// this waiver.
|
|
19
|
+
'@typescript-eslint/no-require-imports': 'off'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freckle/i18n-scripts",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "Scripts for i18n",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "Renaissance Learning Inc",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
8
8
|
"check-i18n-variables": "./dist/check-i18n-variables.js",
|
|
@@ -15,15 +15,24 @@
|
|
|
15
15
|
"url": "git+https://github.com/freckle/i18n-scripts-js.git"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "rm -r dist && cp -r src dist"
|
|
18
|
+
"build": "rm -r dist && cp -r src dist",
|
|
19
|
+
"format": "prettier --write 'src/**/*.js'",
|
|
20
|
+
"format-check": "prettier --check 'src/**/*.js'",
|
|
21
|
+
"lint": "eslint"
|
|
19
22
|
},
|
|
20
23
|
"dependencies": {
|
|
21
24
|
"esprima-walk": "0.1.0",
|
|
22
|
-
"flow-parser": "0.
|
|
25
|
+
"flow-parser": "0.332.0",
|
|
23
26
|
"i18next": "26.4.2",
|
|
24
27
|
"i18next-http-backend": "^4.0.2",
|
|
25
28
|
"i18next-icu": "^2.4.4",
|
|
26
|
-
"intl-messageformat": "^12.1.
|
|
29
|
+
"intl-messageformat": "^12.1.2"
|
|
27
30
|
},
|
|
28
|
-
"
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@freckle/eslint-config": "^1.1.0",
|
|
33
|
+
"eslint": "^10.11.0",
|
|
34
|
+
"globals": "^17.12.0",
|
|
35
|
+
"prettier": "^3.9.8"
|
|
36
|
+
},
|
|
37
|
+
"packageManager": "pnpm@12.6.0+sha512.3ef68f951cb111ac204b4a5a16f0b2ddf0da56a96e0413e81d855d9f0b55ef926714709028e1cd00c405c2c5fb7b9e8ec4dc46777c805d0373c2f2ff00fd20ec"
|
|
29
38
|
}
|
package/.github/commenter.yml
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
PRChecklist:
|
|
2
|
-
where:
|
|
3
|
-
path:
|
|
4
|
-
matches: 'src/**/*'
|
|
5
|
-
body: |
|
|
6
|
-
**PR checklist**
|
|
7
|
-
|
|
8
|
-
- [ ] Flow interfaces in `lib/` have been updated to reflect changes in `.d.ts` interfaces, if any.
|
|
9
|
-
- [ ] Version in `package.json` is updated according to semver policy.
|
|
10
|
-
- [ ] Built `dist/` reflects all changes in PR prior to merge.
|